Lines Matching defs:state

209 void UpdateHighWaterMark(State *state) {  in UpdateHighWaterMark()
215 void ReportHighWaterMark(State *state) { in ReportHighWaterMark()
243 explicit ComplexityGuard(State *state) : state_(state) { in ComplexityGuard()
316 static void InitState(State* state, in InitState()
338 static inline const char *RemainingInput(State *state) { in RemainingInput()
345 static bool ParseOneCharToken(State *state, const char one_char_token) { in ParseOneCharToken()
348 if (RemainingInput(state)[0] == one_char_token) { in ParseOneCharToken() local
359 static bool ParseTwoCharToken(State *state, const char *two_char_token) { in ParseTwoCharToken()
374 static bool ParseThreeCharToken(State *state, const char *three_char_token) { in ParseThreeCharToken()
389 static bool ParseLongToken(State *state, const char *long_token) { in ParseLongToken()
397 if (RemainingInput(state)[i] != long_token[i]) return false; in ParseLongToken() local
406 static bool ParseCharClass(State *state, const char *char_class) { in ParseCharClass()
409 if (RemainingInput(state)[0] == '\0') { in ParseCharClass() local
423 static bool ParseDigit(State *state, int *digit) { in ParseDigit()
439 static bool OneOrMore(ParseFunc parse_func, State *state) { in OneOrMore()
452 static bool ZeroOrMore(ParseFunc parse_func, State *state) { in ZeroOrMore()
461 static void Append(State *state, const char *const str, const size_t length) { in Append()
517 static bool EndsWith(State *state, const char chr) { in EndsWith()
524 static void MaybeAppendWithLength(State *state, const char *const str, in MaybeAppendWithLength()
544 static bool MaybeAppendDecimal(State *state, int val) { in MaybeAppendDecimal()
569 static bool MaybeAppend(State *state, const char *const str) { in MaybeAppend()
578 static bool EnterNestedName(State *state) { in EnterNestedName()
584 static bool LeaveNestedName(State *state, int16_t prev_value) { in LeaveNestedName()
590 static bool DisableAppend(State *state) { in DisableAppend()
596 static bool RestoreAppend(State *state, bool prev_value) { in RestoreAppend()
602 static void MaybeIncreaseNestLevel(State *state) { in MaybeIncreaseNestLevel()
609 static void MaybeAppendSeparator(State *state) { in MaybeAppendSeparator()
616 static void MaybeCancelLastSeparator(State *state) { in MaybeCancelLastSeparator()
626 static bool IdentifierIsAnonymousNamespace(State *state, size_t length) { in IdentifierIsAnonymousNamespace()
723 static bool ParseMangledName(State *state) { in ParseMangledName()
735 static bool ParseEncoding(State *state) { in ParseEncoding()
766 static bool ParseName(State *state) { in ParseName()
796 static bool ParseUnscopedName(State *state) { in ParseUnscopedName()
814 static inline bool ParseRefQualifier(State *state) { in ParseRefQualifier()
822 static bool ParseNestedName(State *state) { in ParseNestedName()
850 static bool ParsePrefix(State *state) { in ParsePrefix()
892 static bool ParseUnqualifiedName(State *state) { in ParseUnqualifiedName()
922 static bool ParseAbiTags(State *state) { in ParseAbiTags()
941 static bool ParseSourceName(State *state) { in ParseSourceName()
959 static bool ParseLocalSourceName(State *state) { in ParseLocalSourceName()
979 static bool ParseUnnamedTypeName(State *state) { in ParseUnnamedTypeName()
1019 static bool ParseNumber(State *state, int *number_out) { in ParseNumber()
1055 static bool ParseFloatNumber(State *state) { in ParseFloatNumber()
1074 static bool ParseSeqId(State *state) { in ParseSeqId()
1092 static bool ParseIdentifier(State *state, size_t length) { in ParseIdentifier()
1112 static bool ParseOperatorName(State *state, int *arity) { in ParseOperatorName()
1178 static bool ParseConversionOperatorType(State *state) { in ParseConversionOperatorType()
1258 static bool ParseSpecialName(State *state) { in ParseSpecialName()
1365 static bool ParseCallOffset(State *state) { in ParseCallOffset()
1385 static bool ParseNVOffset(State *state) { in ParseNVOffset()
1392 static bool ParseVOffset(State *state) { in ParseVOffset()
1411 static bool ParseCtorDtorName(State *state) { in ParseCtorDtorName()
1443 static bool ParseDecltype(State *state) { in ParseDecltype()
1477 static bool ParseType(State *state) { in ParseType()
1566 static bool ParseCVQualifiers(State *state) { in ParseCVQualifiers()
1578 static bool ParseExtendedQualifier(State *state) { in ParseExtendedQualifier()
1609 static bool ParseBuiltinType(State *state) { in ParseBuiltinType()
1683 static bool ParseVendorExtendedType(State *state) { in ParseVendorExtendedType()
1703 static bool ParseExceptionSpec(State *state) { in ParseExceptionSpec()
1728 static bool ParseFunctionType(State *state) { in ParseFunctionType()
1755 static bool ParseBareFunctionType(State *state) { in ParseBareFunctionType()
1778 static bool ParseOverloadAttribute(State *state) { in ParseOverloadAttribute()
1795 static bool ParseClassEnumType(State *state) { in ParseClassEnumType()
1811 static bool ParseArrayType(State *state) { in ParseArrayType()
1830 static bool ParsePointerToMemberType(State *state) { in ParsePointerToMemberType()
1845 static bool ParseTemplateParam(State *state) { in ParseTemplateParam()
1887 static bool ParseTemplateParamDecl(State *state) { in ParseTemplateParamDecl()
1925 static bool ParseTemplateTemplateParam(State *state) { in ParseTemplateTemplateParam()
1934 static bool ParseTemplateArgs(State *state) { in ParseTemplateArgs()
1955 static bool ParseTemplateArg(State *state) { in ParseTemplateArg()
2066 static inline bool ParseUnresolvedType(State *state) { in ParseUnresolvedType()
2073 static inline bool ParseSimpleId(State *state) { in ParseSimpleId()
2084 static bool ParseBaseUnresolvedName(State *state) { in ParseBaseUnresolvedName()
2121 static bool ParseUnresolvedName(State *state) { in ParseUnresolvedName()
2171 static bool ParseUnresolvedQualifierLevel(State *state) { in ParseUnresolvedQualifierLevel()
2189 static bool ParseUnionSelector(State *state) { in ParseUnionSelector()
2198 static bool ParseFunctionParam(State *state) { in ParseFunctionParam()
2226 static bool ParseBracedExpression(State *state) { in ParseBracedExpression()
2302 static bool ParseExpression(State *state) { in ParseExpression()
2579 static bool ParseInitializer(State *state) { in ParseInitializer()
2625 static bool ParseExprPrimary(State *state) { in ParseExprPrimary()
2660 if (RemainingInput(state)[0] == 'A' /* an array type follows */) { in ParseExprPrimary() local
2683 static bool ParseExprCastValueAndTrailingE(State *state) { in ParseExprCastValueAndTrailingE()
2727 static bool ParseQRequiresClauseExpr(State *state) { in ParseQRequiresClauseExpr()
2751 static bool ParseRequirement(State *state) { in ParseRequirement()
2776 static bool ParseTypeConstraint(State *state) { in ParseTypeConstraint()
2791 static bool ParseLocalNameSuffix(State *state) { in ParseLocalNameSuffix()
2840 static bool ParseLocalName(State *state) { in ParseLocalName()
2854 static bool ParseDiscriminator(State *state) { in ParseDiscriminator()
2885 static bool ParseSubstitution(State *state, bool accept_std) { in ParseSubstitution()
2924 static bool ParseTopLevelMangledName(State *state) { in ParseTopLevelMangledName()
2928 if (RemainingInput(state)[0] != '\0') { in ParseTopLevelMangledName() local
2935 if (RemainingInput(state)[0] == '@') { in ParseTopLevelMangledName() local
2949 static bool Overflowed(const State *state) { in Overflowed()
2959 State state; in Demangle() local