Home
last modified time | relevance | path

Searched refs:ParseState (Results 1 – 20 of 20) sorted by relevance

/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/number/
DNumberSkeletonImpl.java48 static enum ParseState { enum in NumberSkeletonImpl
582 ParseState stem = ParseState.STATE_NULL; in parseSkeleton()
594 if (stem == ParseState.STATE_NULL) { in parseSkeleton()
607 if (stem == ParseState.STATE_NULL) { in parseSkeleton()
621 } else if (stem != ParseState.STATE_NULL) { in parseSkeleton()
631 if (isOptionSeparator && stem == ParseState.STATE_NULL) { in parseSkeleton()
637 if (isTokenSeparator && stem != ParseState.STATE_NULL) { in parseSkeleton()
653 stem = ParseState.STATE_NULL; in parseSkeleton()
659 assert stem == ParseState.STATE_NULL; in parseSkeleton()
668 …private static ParseState parseStem(StringSegment segment, CharsTrie stemTrie, MacroProps macros) { in parseStem()
[all …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/number/
DNumberSkeletonImpl.java45 static enum ParseState { enum in NumberSkeletonImpl
557 ParseState stem = ParseState.STATE_NULL; in parseSkeleton()
569 if (stem == ParseState.STATE_NULL) { in parseSkeleton()
582 if (stem == ParseState.STATE_NULL) { in parseSkeleton()
596 } else if (stem != ParseState.STATE_NULL) { in parseSkeleton()
606 if (isOptionSeparator && stem == ParseState.STATE_NULL) { in parseSkeleton()
612 if (isTokenSeparator && stem != ParseState.STATE_NULL) { in parseSkeleton()
626 stem = ParseState.STATE_NULL; in parseSkeleton()
632 assert stem == ParseState.STATE_NULL; in parseSkeleton()
641 …private static ParseState parseStem(StringSegment segment, CharsTrie stemTrie, MacroProps macros) { in parseStem()
[all …]
/third_party/skia/third_party/externals/abseil-cpp/absl/debugging/internal/
Ddemangle.cc164 } ParseState; typedef
166 static_assert(sizeof(ParseState) == 4 * sizeof(int),
181 ParseState parse_state; // Backtrackable state copied for most frames.
653 ParseState copy = state->parse_state; in ParseName()
675 ParseState copy = state->parse_state; in ParseUnscopedName()
697 ParseState copy = state->parse_state; in ParseNestedName()
761 ParseState copy = state->parse_state; in ParseSourceName()
778 ParseState copy = state->parse_state; in ParseLocalSourceName()
794 ParseState copy = state->parse_state; in ParseUnnamedTypeName()
925 ParseState copy = state->parse_state; in ParseOperatorName()
[all …]
/third_party/skia/third_party/externals/icu/source/tools/genrb/
Dparse.cpp122 } ParseState; typedef
125 ParseResourceFunction(ParseState* state, char *tag, uint32_t startline, const struct UString* comme…
127 static struct SResource *parseResource(ParseState* state, char *tag, const struct UString *comment,…
143 initLookahead(ParseState* state, UCHARBUF *buf, UErrorCode *status) in initLookahead()
171 cleanupLookahead(ParseState* state) in cleanupLookahead()
183 getToken(ParseState* state, struct UString **tokenValue, struct UString* comment, uint32_t *linenum… in getToken()
217 peekToken(ParseState* state, uint32_t lookaheadCount, struct UString **tokenValue, uint32_t *linenu… in peekToken()
250 expect(ParseState* state, enum ETokenType expectedToken, struct UString **tokenValue, struct UStrin… in expect()
277 static char *getInvariantString(ParseState* state, uint32_t *line, struct UString *comment, in getInvariantString()
310 parseUCARules(ParseState* state, char *tag, uint32_t startline, const struct UString* /*comment*/, … in parseUCARules()
[all …]
/third_party/rust/crates/clap/src/parser/
Dparser.rs62 let mut parse_state = ParseState::ValuesDone; in get_matches_with()
104 || !matches!(parse_state, ParseState::Opt(_) | ParseState::Pos(_)) in get_matches_with()
121 if matches!(&parse_state, ParseState::Opt(opt) | ParseState::Pos(opt) if in get_matches_with()
149 parse_state = ParseState::ValuesDone; in get_matches_with()
153 parse_state = ParseState::Opt(id); in get_matches_with()
222 parse_state = ParseState::ValuesDone; in get_matches_with()
226 parse_state = ParseState::Opt(id); in get_matches_with()
282 if let ParseState::Opt(id) = &parse_state { in get_matches_with()
302 ParseResult::Opt(id) => ParseState::Opt(id), in get_matches_with()
303 ParseResult::ValuesDone => ParseState::ValuesDone, in get_matches_with()
[all …]
Dmod.rs18 pub(crate) use self::parser::{ParseState, Parser};
Dvalidator.rs6 use crate::parser::{ArgMatcher, ParseState};
26 parse_state: ParseState, in validate() argument
33 if let ParseState::Opt(a) = parse_state { in validate()
/third_party/node/deps/icu-small/source/tools/genrb/
Dparse.cpp130 } ParseState; typedef
133 ParseResourceFunction(ParseState* state, char *tag, uint32_t startline, const struct UString* comme…
135 static struct SResource *parseResource(ParseState* state, char *tag, const struct UString *comment,…
151 initLookahead(ParseState* state, UCHARBUF *buf, UErrorCode *status) in initLookahead()
179 cleanupLookahead(ParseState* state) in cleanupLookahead()
191 getToken(ParseState* state, struct UString **tokenValue, struct UString* comment, uint32_t *linenum… in getToken()
225 peekToken(ParseState* state, uint32_t lookaheadCount, struct UString **tokenValue, uint32_t *linenu… in peekToken()
258 expect(ParseState* state, enum ETokenType expectedToken, struct UString **tokenValue, struct UStrin… in expect()
285 static char *getInvariantString(ParseState* state, uint32_t *line, struct UString *comment, in getInvariantString()
318 parseUCARules(ParseState* state, char *tag, uint32_t startline, const struct UString* /*comment*/, … in parseUCARules()
[all …]
/third_party/icu/icu4c/source/tools/genrb/
Dparse.cpp130 } ParseState; typedef
133 ParseResourceFunction(ParseState* state, char *tag, uint32_t startline, const struct UString* comme…
135 static struct SResource *parseResource(ParseState* state, char *tag, const struct UString *comment,…
151 initLookahead(ParseState* state, UCHARBUF *buf, UErrorCode *status) in initLookahead()
179 cleanupLookahead(ParseState* state) in cleanupLookahead()
191 getToken(ParseState* state, struct UString **tokenValue, struct UString* comment, uint32_t *linenum… in getToken()
225 peekToken(ParseState* state, uint32_t lookaheadCount, struct UString **tokenValue, uint32_t *linenu… in peekToken()
258 expect(ParseState* state, enum ETokenType expectedToken, struct UString **tokenValue, struct UStrin… in expect()
285 static char *getInvariantString(ParseState* state, uint32_t *line, struct UString *comment, in getInvariantString()
318 parseUCARules(ParseState* state, char *tag, uint32_t startline, const struct UString* /*comment*/, … in parseUCARules()
[all …]
/third_party/skia/third_party/externals/icu/source/i18n/
Dnumber_skeletons.h35 enum ParseState { enum
175 ParseState parseStem(const StringSegment& segment, const UCharsTrie& stemTrie, SeenMacroProps& seen,
184 ParseState
185 parseOption(ParseState stem, const StringSegment& segment, MacroProps& macros, UErrorCode& status);
Dnumber_skeletons.cpp511 ParseState stem = STATE_NULL; in parseSkeleton()
605 ParseState
792 ParseState skeleton::parseOption(ParseState stem, const StringSegment& segment, MacroProps& macros, in parseOption()
/third_party/node/deps/icu-small/source/i18n/
Dnumber_skeletons.h35 enum ParseState { enum
176 ParseState parseStem(const StringSegment& segment, const UCharsTrie& stemTrie, SeenMacroProps& seen,
185 ParseState
186 parseOption(ParseState stem, const StringSegment& segment, MacroProps& macros, UErrorCode& status);
Dnumber_skeletons.cpp512 ParseState stem = STATE_NULL; in parseSkeleton()
606 ParseState
798 ParseState skeleton::parseOption(ParseState stem, const StringSegment& segment, MacroProps& macros, in parseOption()
/third_party/icu/icu4c/source/i18n/
Dnumber_skeletons.h35 enum ParseState { enum
176 ParseState parseStem(const StringSegment& segment, const UCharsTrie& stemTrie, SeenMacroProps& seen,
185 ParseState
186 parseOption(ParseState stem, const StringSegment& segment, MacroProps& macros, UErrorCode& status);
Dnumber_skeletons.cpp512 ParseState stem = STATE_NULL; in parseSkeleton()
606 ParseState
798 ParseState skeleton::parseOption(ParseState stem, const StringSegment& segment, MacroProps& macros, in parseOption()
/third_party/node/src/crypto/
Dcrypto_clienthello.h80 enum ParseState { enum
111 ParseState state_;
/third_party/node/deps/v8/src/inspector/
Dv8-inspector-session-impl.cc49 std::unique_ptr<protocol::DictionaryValue> ParseState(StringView state) { in ParseState() function
106 m_state(ParseState(savedState)), in V8InspectorSessionImpl()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DYAMLTraits.h585 enum ParseState {
590 ParseState State = Default;
/third_party/gstreamer/gstplugins_base/gst-libs/gst/sdp/
Dgstmikey.c1746 } ParseState; typedef
1751 payloads_from_bytes (ParseState state, GArray * payloads, const guint8 * d, in payloads_from_bytes()
2069 ParseState state; in gst_mikey_message_new_from_data()
/third_party/libabigail/tests/lib/
Dcatch.hpp9047 class ParseState { class
9050 ParseState( ParseResultType type, TokenStream const &remainingTokens ) in ParseState() function in Catch::clara::detail::ParseState
9065 using InternalParseResult = BasicResult<ParseState>;
9324 return InternalParseResult::ok( ParseState( ParseResultType::NoMatch, tokens ) ); in parse()
9355 … return InternalParseResult::ok( ParseState( ParseResultType::NoMatch, remainingTokens ) ); in parse()
9364 … return InternalParseResult::ok( ParseState( ParseResultType::Matched, ++remainingTokens ) ); in parse()
9439 … return InternalParseResult::ok( ParseState( result.value(), remainingTokens ) ); in parse()
9452 … return InternalParseResult::ok( ParseState( result.value(), remainingTokens ) ); in parse()
9454 … return InternalParseResult::ok( ParseState( ParseResultType::Matched, ++remainingTokens ) ); in parse()
9457 … return InternalParseResult::ok( ParseState( ParseResultType::NoMatch, remainingTokens ) ); in parse()
[all …]