Lines Matching defs:state
189 explicit ComplexityGuard(State *state) : state_(state) { in ComplexityGuard()
256 static void InitState(State *state, const char *mangled, char *out, in InitState()
272 static inline const char *RemainingInput(State *state) { in RemainingInput()
279 static bool ParseOneCharToken(State *state, const char one_char_token) { in ParseOneCharToken()
282 if (RemainingInput(state)[0] == one_char_token) { in ParseOneCharToken() local
292 static bool ParseTwoCharToken(State *state, const char *two_char_token) { in ParseTwoCharToken()
305 static bool ParseCharClass(State *state, const char *char_class) { in ParseCharClass()
308 if (RemainingInput(state)[0] == '\0') { in ParseCharClass() local
321 static bool ParseDigit(State *state, int *digit) { in ParseDigit()
337 static bool OneOrMore(ParseFunc parse_func, State *state) { in OneOrMore()
350 static bool ZeroOrMore(ParseFunc parse_func, State *state) { in ZeroOrMore()
359 static void Append(State *state, const char *const str, const int length) { in Append()
411 static bool EndsWith(State *state, const char chr) { in EndsWith()
418 static void MaybeAppendWithLength(State *state, const char *const str, in MaybeAppendWithLength()
438 static bool MaybeAppendDecimal(State *state, unsigned int val) { in MaybeAppendDecimal()
463 static bool MaybeAppend(State *state, const char *const str) { in MaybeAppend()
472 static bool EnterNestedName(State *state) { in EnterNestedName()
478 static bool LeaveNestedName(State *state, int16_t prev_value) { in LeaveNestedName()
484 static bool DisableAppend(State *state) { in DisableAppend()
490 static bool RestoreAppend(State *state, bool prev_value) { in RestoreAppend()
496 static void MaybeIncreaseNestLevel(State *state) { in MaybeIncreaseNestLevel()
503 static void MaybeAppendSeparator(State *state) { in MaybeAppendSeparator()
510 static void MaybeCancelLastSeparator(State *state) { in MaybeCancelLastSeparator()
520 static bool IdentifierIsAnonymousNamespace(State *state, int length) { in IdentifierIsAnonymousNamespace()
603 static bool ParseMangledName(State *state) { in ParseMangledName()
612 static bool ParseEncoding(State *state) { in ParseEncoding()
634 static bool ParseName(State *state) { in ParseName()
664 static bool ParseUnscopedName(State *state) { in ParseUnscopedName()
682 static inline bool ParseRefQualifier(State *state) { in ParseRefQualifier()
690 static bool ParseNestedName(State *state) { in ParseNestedName()
716 static bool ParsePrefix(State *state) { in ParsePrefix()
745 static bool ParseUnqualifiedName(State *state) { in ParseUnqualifiedName()
754 static bool ParseSourceName(State *state) { in ParseSourceName()
771 static bool ParseLocalSourceName(State *state) { in ParseLocalSourceName()
787 static bool ParseUnnamedTypeName(State *state) { in ParseUnnamedTypeName()
826 static bool ParseNumber(State *state, int *number_out) { in ParseNumber()
861 static bool ParseFloatNumber(State *state) { in ParseFloatNumber()
879 static bool ParseSeqId(State *state) { in ParseSeqId()
896 static bool ParseIdentifier(State *state, int length) { in ParseIdentifier()
914 static bool ParseOperatorName(State *state, int *arity) { in ParseOperatorName()
984 static bool ParseSpecialName(State *state) { in ParseSpecialName()
1046 static bool ParseCallOffset(State *state) { in ParseCallOffset()
1066 static bool ParseNVOffset(State *state) { in ParseNVOffset()
1073 static bool ParseVOffset(State *state) { in ParseVOffset()
1092 static bool ParseCtorDtorName(State *state) { in ParseCtorDtorName()
1124 static bool ParseDecltype(State *state) { in ParseDecltype()
1157 static bool ParseType(State *state) { in ParseType()
1234 static bool ParseCVQualifiers(State *state) { in ParseCVQualifiers()
1251 static bool ParseBuiltinType(State *state) { in ParseBuiltinType()
1283 static bool ParseExceptionSpec(State *state) { in ParseExceptionSpec()
1305 static bool ParseFunctionType(State *state) { in ParseFunctionType()
1320 static bool ParseBareFunctionType(State *state) { in ParseBareFunctionType()
1335 static bool ParseClassEnumType(State *state) { in ParseClassEnumType()
1343 static bool ParseArrayType(State *state) { in ParseArrayType()
1362 static bool ParsePointerToMemberType(State *state) { in ParsePointerToMemberType()
1375 static bool ParseTemplateParam(State *state) { in ParseTemplateParam()
1395 static bool ParseTemplateTemplateParam(State *state) { in ParseTemplateTemplateParam()
1404 static bool ParseTemplateArgs(State *state) { in ParseTemplateArgs()
1423 static bool ParseTemplateArg(State *state) { in ParseTemplateArg()
1528 static inline bool ParseUnresolvedType(State *state) { in ParseUnresolvedType()
1535 static inline bool ParseSimpleId(State *state) { in ParseSimpleId()
1546 static bool ParseBaseUnresolvedName(State *state) { in ParseBaseUnresolvedName()
1576 static bool ParseUnresolvedName(State *state) { in ParseUnresolvedName()
1631 static bool ParseExpression(State *state) { in ParseExpression()
1755 static bool ParseExprPrimary(State *state) { in ParseExprPrimary()
1788 static bool ParseExprCastValue(State *state) { in ParseExprCastValue()
1817 static bool ParseLocalNameSuffix(State *state) { in ParseLocalNameSuffix()
1836 static bool ParseLocalName(State *state) { in ParseLocalName()
1849 static bool ParseDiscriminator(State *state) { in ParseDiscriminator()
1871 static bool ParseSubstitution(State *state, bool accept_std) { in ParseSubstitution()
1909 static bool ParseTopLevelMangledName(State *state) { in ParseTopLevelMangledName()
1913 if (RemainingInput(state)[0] != '\0') { in ParseTopLevelMangledName() local
1920 if (RemainingInput(state)[0] == '@') { in ParseTopLevelMangledName() local
1931 static bool Overflowed(const State *state) { in Overflowed()
1937 State state; in Demangle() local