Lines Matching defs:state
188 explicit ComplexityGuard(State *state) : state_(state) { in ComplexityGuard()
255 static void InitState(State *state, const char *mangled, char *out, in InitState()
271 static inline const char *RemainingInput(State *state) { in RemainingInput()
278 static bool ParseOneCharToken(State *state, const char one_char_token) { in ParseOneCharToken()
281 if (RemainingInput(state)[0] == one_char_token) { in ParseOneCharToken() local
291 static bool ParseTwoCharToken(State *state, const char *two_char_token) { in ParseTwoCharToken()
304 static bool ParseCharClass(State *state, const char *char_class) { in ParseCharClass()
307 if (RemainingInput(state)[0] == '\0') { in ParseCharClass() local
320 static bool ParseDigit(State *state, int *digit) { in ParseDigit()
336 static bool OneOrMore(ParseFunc parse_func, State *state) { in OneOrMore()
349 static bool ZeroOrMore(ParseFunc parse_func, State *state) { in ZeroOrMore()
358 static void Append(State *state, const char *const str, const int length) { in Append()
410 static bool EndsWith(State *state, const char chr) { in EndsWith()
416 static void MaybeAppendWithLength(State *state, const char *const str, in MaybeAppendWithLength()
434 static bool MaybeAppendDecimal(State *state, unsigned int val) { in MaybeAppendDecimal()
459 static bool MaybeAppend(State *state, const char *const str) { in MaybeAppend()
468 static bool EnterNestedName(State *state) { in EnterNestedName()
474 static bool LeaveNestedName(State *state, int16_t prev_value) { in LeaveNestedName()
480 static bool DisableAppend(State *state) { in DisableAppend()
486 static bool RestoreAppend(State *state, bool prev_value) { in RestoreAppend()
492 static void MaybeIncreaseNestLevel(State *state) { in MaybeIncreaseNestLevel()
499 static void MaybeAppendSeparator(State *state) { in MaybeAppendSeparator()
506 static void MaybeCancelLastSeparator(State *state) { in MaybeCancelLastSeparator()
516 static bool IdentifierIsAnonymousNamespace(State *state, int length) { in IdentifierIsAnonymousNamespace()
599 static bool ParseMangledName(State *state) { in ParseMangledName()
608 static bool ParseEncoding(State *state) { in ParseEncoding()
630 static bool ParseName(State *state) { in ParseName()
660 static bool ParseUnscopedName(State *state) { in ParseUnscopedName()
678 static inline bool ParseRefQualifier(State *state) { in ParseRefQualifier()
686 static bool ParseNestedName(State *state) { in ParseNestedName()
712 static bool ParsePrefix(State *state) { in ParsePrefix()
741 static bool ParseUnqualifiedName(State *state) { in ParseUnqualifiedName()
750 static bool ParseSourceName(State *state) { in ParseSourceName()
767 static bool ParseLocalSourceName(State *state) { in ParseLocalSourceName()
783 static bool ParseUnnamedTypeName(State *state) { in ParseUnnamedTypeName()
822 static bool ParseNumber(State *state, int *number_out) { in ParseNumber()
857 static bool ParseFloatNumber(State *state) { in ParseFloatNumber()
875 static bool ParseSeqId(State *state) { in ParseSeqId()
892 static bool ParseIdentifier(State *state, int length) { in ParseIdentifier()
910 static bool ParseOperatorName(State *state, int *arity) { in ParseOperatorName()
979 static bool ParseSpecialName(State *state) { in ParseSpecialName()
1041 static bool ParseCallOffset(State *state) { in ParseCallOffset()
1061 static bool ParseNVOffset(State *state) { in ParseNVOffset()
1068 static bool ParseVOffset(State *state) { in ParseVOffset()
1085 static bool ParseCtorDtorName(State *state) { in ParseCtorDtorName()
1111 static bool ParseDecltype(State *state) { in ParseDecltype()
1143 static bool ParseType(State *state) { in ParseType()
1214 static bool ParseCVQualifiers(State *state) { in ParseCVQualifiers()
1231 static bool ParseBuiltinType(State *state) { in ParseBuiltinType()
1257 static bool ParseFunctionType(State *state) { in ParseFunctionType()
1271 static bool ParseBareFunctionType(State *state) { in ParseBareFunctionType()
1286 static bool ParseClassEnumType(State *state) { in ParseClassEnumType()
1294 static bool ParseArrayType(State *state) { in ParseArrayType()
1313 static bool ParsePointerToMemberType(State *state) { in ParsePointerToMemberType()
1326 static bool ParseTemplateParam(State *state) { in ParseTemplateParam()
1346 static bool ParseTemplateTemplateParam(State *state) { in ParseTemplateTemplateParam()
1355 static bool ParseTemplateArgs(State *state) { in ParseTemplateArgs()
1374 static bool ParseTemplateArg(State *state) { in ParseTemplateArg()
1479 static inline bool ParseUnresolvedType(State *state) { in ParseUnresolvedType()
1486 static inline bool ParseSimpleId(State *state) { in ParseSimpleId()
1497 static bool ParseBaseUnresolvedName(State *state) { in ParseBaseUnresolvedName()
1527 static bool ParseUnresolvedName(State *state) { in ParseUnresolvedName()
1582 static bool ParseExpression(State *state) { in ParseExpression()
1706 static bool ParseExprPrimary(State *state) { in ParseExprPrimary()
1739 static bool ParseExprCastValue(State *state) { in ParseExprCastValue()
1768 static bool ParseLocalNameSuffix(State *state) { in ParseLocalNameSuffix()
1787 static bool ParseLocalName(State *state) { in ParseLocalName()
1800 static bool ParseDiscriminator(State *state) { in ParseDiscriminator()
1822 static bool ParseSubstitution(State *state, bool accept_std) { in ParseSubstitution()
1860 static bool ParseTopLevelMangledName(State *state) { in ParseTopLevelMangledName()
1864 if (RemainingInput(state)[0] != '\0') { in ParseTopLevelMangledName() local
1871 if (RemainingInput(state)[0] == '@') { in ParseTopLevelMangledName() local
1882 static bool Overflowed(const State *state) { in Overflowed()
1888 State state; in Demangle() local