/third_party/libphonenumber/cpp/src/phonenumbers/ |
H A D | regexp_adapter.h | 37 // Consume() method of RegExp which may differ depending on its various 48 // phonenumberutil.cc. Consume(), Match() and Replace() methods must be 61 virtual bool Consume(RegExpInput* input_string, 70 // Helper methods calling the Consume method that assume the match must start 72 inline bool Consume(RegExpInput* input_string, string* matched_string1, in Consume() function in i18n::phonenumbers::RegExp 78 return Consume(input_string, true, matched_string1, matched_string2, in Consume() 83 inline bool Consume(RegExpInput* input_string, string* matched_string1, in Consume() function in i18n::phonenumbers::RegExp 88 return Consume(input_string, true, matched_string1, matched_string2, in Consume() 92 inline bool Consume(RegExpInput* input_string, string* matched_string1, in Consume() function in i18n::phonenumbers::RegExp 96 return Consume(input_strin in Consume() 103 inline bool Consume(RegExpInput* input_string, Consume() function in i18n::phonenumbers::RegExp 111 inline bool Consume(RegExpInput* input_string, Consume() function in i18n::phonenumbers::RegExp 118 inline bool Consume(RegExpInput* input_string, string* matched_string) const { Consume() function in i18n::phonenumbers::RegExp 123 inline bool Consume(RegExpInput* input_string) const { Consume() function in i18n::phonenumbers::RegExp [all...] |
H A D | asyoutypeformatter.cc | 78 cache->GetRegExp(new_pattern).Consume(consume_input.get(), group); in MatchAllGroups() 223 last_leading_digits_pattern)).Consume(input.get())) { in NarrowDownPossibleFormats() 624 if (pattern.Consume(consumed_input.get())) { in RemoveNationalPrefixFromNationalNumber() 652 if (international_prefix.Consume(consumed_input.get())) { in AttemptToExtractIdd()
|
H A D | regex_based_matcher.cc | 62 return regexp.Consume(normalized_number_input.get()) in Match()
|
H A D | phonenumberutil.cc | 1004 return reg_exps_->plus_chars_pattern_->Consume(number_string_piece.get()); in StartsWithPlusCharsPattern() 1729 it->leading_digits_pattern(size - 1)).Consume( in ChooseFormattingPatternForNumber() 1786 if (reg_exps_->separator_pattern_->Consume(number.get())) { in FormatNsnUsingPatternWithCarrier() 1937 GetRegExp(metadata->leading_digits()).Consume(number.get())) { in GetRegionCodeForNumberFromRegionList() 2153 if (!reg_exps_->plus_chars_pattern_->Consume(number.get())) { in CheckRegionForParsing() 2265 (reg_exps_->plus_chars_pattern_->Consume(number_string_piece.get()))) { in ParseHelper() 2788 if (idd_pattern.Consume(number_copy.get())) { in ParsePrefixAsIdd() 2824 if (reg_exps_->plus_chars_pattern_->Consume(number_string_piece.get())) { in MaybeStripInternationalPrefixAndNormalize() 2858 // We use two copies here since Consume modifies the phone number, and if the in MaybeStripNationalPrefixAndCarrierCode() 2876 (possible_national_prefix_pattern.Consume( in MaybeStripNationalPrefixAndCarrierCode() [all...] |
H A D | phonenumbermatcher.cc | 483 !reg_exps_->lead_class_pattern_->Consume(candidate_input.get())) { in ParseAndVerify() 632 if (reg_exps_->time_stamps_suffix_->Consume(following_text.get())) { in ExtractMatch() 734 it->leading_digits_pattern(0)).Consume(nsn_input.get())) { in CheckNumberGroupingIsValid()
|
H A D | regexp_adapter_re2.cc | 99 virtual bool Consume(RegExpInput* input_string, in Consume() function in i18n::phonenumbers::RE2RegExp
|
H A D | regexp_adapter_icu.cc | 88 // call to ConsumeRegExp() or RegExp::Consume() advances the position in the 126 virtual bool Consume(RegExpInput* input_string, in Consume() function in i18n::phonenumbers::IcuRegExp
|
/third_party/protobuf/src/google/protobuf/compiler/ |
H A D | parser.cc | 215 bool Parser::Consume(const char* text, const char* error) { in Consume() function in google::protobuf::compiler::Parser 224 bool Parser::Consume(const char* text) { in Consume() function in google::protobuf::compiler::Parser 683 DO(Consume( in ParseSyntaxIdentifier() 686 DO(Consume("=")); in ParseSyntaxIdentifier() 755 DO(Consume("message")); in ParseMessageDefinition() 1002 DO(Consume("<")); in ParseMessageFieldNoLabel() 1004 DO(Consume(",")); in ParseMessageFieldNoLabel() 1006 DO(Consume(">")); in ParseMessageFieldNoLabel() 1057 DO(Consume("=", "Missing field number.")); in ParseMessageFieldNoLabel() 1203 DO(Consume("[")); in ParseFieldOptions() [all...] |
H A D | parser.h | 126 // Consume the rest of the current statement. This consumes tokens 137 // Consume the rest of the current block, including nested blocks, 162 // Consume a token with the exact text given. 163 bool Consume(const char* text, const char* error); 166 bool Consume(const char* text); 167 // Consume a token of type IDENTIFIER and store its text in "output". 169 // Consume an integer and store its value in "output". 171 // Consume a signed integer and store its value in "output". 173 // Consume a 64-bit integer and store its value in "output". If the value 176 // Consume [all...] |
/third_party/gn/src/gn/ |
H A D | parser.cc | 385 Consume(); in Match() 389 const Token& Parser::Consume(Token::Type type, const char* error_message) { in Consume() function in Parser 391 return Consume(types, 1, error_message); in Consume() 394 const Token& Parser::Consume(Token::Type* types, in Consume() function in Parser 415 return Consume(); in Consume() 421 const Token& Parser::Consume() { in Consume() function in Parser 433 const Token& token = Consume(); in ParseExpression() 447 const Token& next_token = Consume(); in ParseExpression() 487 Consume(Token::RIGHT_PAREN, "Expected ')'"); in Group() 509 Consume(Toke in List() [all...] |
H A D | parser.h | 98 const Token& Consume(Token::Type type, const char* error_message); 99 const Token& Consume(Token::Type* types, 102 const Token& Consume();
|
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/ |
H A D | cord_rep_consume.cc | 58 void Consume(bool forward, CordRep* rep, ConsumeFn consume_fn) { in Consume() function 119 void Consume(CordRep* rep, ConsumeFn consume_fn) { in Consume() function 120 return Consume(true, rep, std::move(consume_fn)); in Consume() 124 return Consume(false, rep, std::move(consume_fn)); in ReverseConsume()
|
H A D | cord_rep_consume_test.cc | 87 TEST(CordRepConsumeTest, Consume) { in TEST() 97 Consume(tree, consume.AsStdFunction()); in TEST() 114 Consume(CordRep::Ref(tree), consume.AsStdFunction()); in TEST() 165 Consume(tree, consume.AsStdFunction()); in TEST()
|
H A D | cord_rep_btree.cc | 143 inline absl::string_view Consume(absl::string_view s, size_t n) { in Consume() function 148 inline absl::string_view Consume(char* dst, absl::string_view s, size_t n) { in Consume() function 485 data = Consume<kBack>(flat->Data(), data, flat->length); in NewLeaf() 504 data = Consume<kFront>(flat->Data(), data, flat->length); in NewLeaf() 523 data = Consume<kBack>(flat->Data(), data, n); in AddData() 539 data = Consume<kFront>(flat->Data(), data, n); in AddData() 588 data = Consume<edge_type>(data, result.tree->length); in AddData() 903 Consume(rep, consume); in CreateSlow() 915 Consume(rep, consume); in AppendSlow()
|
H A D | cord_rep_consume.h | 27 // Functor for the Consume() and ReverseConsume() functions: 29 // See the Consume() and ReverseConsume() function comments for documentation. 32 // Consume() and ReverseConsume() consume CONCAT based trees and invoke the 43 void Consume(CordRep* rep, ConsumeFn consume_fn);
|
/third_party/libphonenumber/cpp/test/phonenumbers/ |
H A D | regexp_adapter_test.cc | 93 // When 'true' is passed to Consume(), the match occurs from the beginning in TEST_F() 95 ASSERT_FALSE(context.digits->Consume( in TEST_F() 101 ASSERT_FALSE(context.parentheses_digits->Consume( in TEST_F() 118 ASSERT_TRUE(plus_sign->Consume(input.get(), true, NULL, NULL, NULL, NULL, in TEST_F() 133 ASSERT_TRUE(context.two_digit_groups->Consume( in TEST_F() 151 // When 'false' is passed to Consume(), the match can occur from any place in TEST_F() 153 ASSERT_TRUE(context.digits->Consume(input.get(), false, NULL, NULL, NULL, in TEST_F() 158 ASSERT_TRUE(context.digits->Consume(input.get(), false, NULL, NULL, NULL, in TEST_F() 163 ASSERT_FALSE(context.parentheses_digits->Consume( in TEST_F() 169 ASSERT_TRUE(context.two_digit_groups->Consume( in TEST_F() [all...] |
/third_party/protobuf/python/google/protobuf/ |
H A D | text_format.py | 865 tokenizer.Consume(']') 870 tokenizer.Consume('{') 914 tokenizer.Consume(']') 960 tokenizer.Consume(':') 971 tokenizer.Consume(',') 987 # Consume "type.googleapis.com/". 989 tokenizer.Consume('.') 991 tokenizer.Consume('.') 993 tokenizer.Consume('/') 994 # Consume th 1310 def Consume(self, token): global() member in Tokenizer [all...] |
/third_party/node/deps/v8/src/parsing/ |
H A D | parser-base.h | 886 V8_INLINE void Consume(Token::Value token) { in Consume() function in v8::internal::ParseFunctionFlag::ParserBase 896 Consume(next); in Check() 946 Consume(Token::IDENTIFIER); in CheckContextualKeyword() 1908 Consume(token); in ParsePrimaryExpression() 1950 Consume(Token::THIS); in ParsePrimaryExpression() 1974 Consume(Token::LPAREN); in ParsePrimaryExpression() 2104 Consume(Token::ELLIPSIS); in ParseArrowParametersWithRest() 2147 Consume(Token::LBRACK); in ParseArrayLiteral() 2254 Consume(Token::PRIVATE_NAME); in ParseProperty() 2268 Consume(Toke in ParseProperty() [all...] |
/third_party/node/deps/v8/src/asmjs/ |
H A D | asm-parser.cc | 394 stdlib_name_ = Consume(); in ValidateModuleParameters() 400 foreign_name_ = Consume(); in ValidateModuleParameters() 409 heap_name_ = Consume(); in ValidateModuleParameters() 445 VarInfo* info = GetVarInfo(Consume()); in ValidateModuleVar() 499 VarInfo* src_info = GetVarInfo(Consume()); in ValidateModuleVarFromGlobal() 576 switch (Consume()) { in ValidateModuleVarNewStdlib() 597 switch (Consume()) { in ValidateModuleVarStdlib() 640 Consume(); in ValidateExport() 645 VarInfo* info = GetVarInfo(Consume()); in ValidateExport() 662 VarInfo* info = GetVarInfo(Consume()); in ValidateExport() [all...] |
/third_party/protobuf/src/google/protobuf/ |
H A D | text_format.cc | 276 // Consume the starting token. in ParserImpl() 286 // Consume fields until we cannot do so anymore. in Parse() 363 DO(Consume(delimiter)); in ConsumeMessage() 367 // Consume either "<" or "{". 372 DO(Consume("{")); in ConsumeMessageDelimiter() 398 DO(Consume("]")); in ConsumeField() 428 DO(Consume("]")); in ConsumeField() 564 DO(Consume(":")); in ConsumeField() 581 DO(Consume(",")); in ConsumeField() 614 DO(Consume("]")); in SkipField() 1149 bool Consume(const std::string& value) { Consume() function in google::protobuf::TextFormat::Parser::ParserImpl [all...] |
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/str_format/ |
H A D | parser_test.cc | 81 std::pair<string_view, string_view> Consume(string_view src) { in Consume() function in absl::str_format_internal::__anon19391::ConsumeUnboundConversionTest 123 EXPECT_THAT(Consume(e.src), Pair(e.out, e.src_post)); in TEST_F()
|
/third_party/protobuf/src/google/protobuf/stubs/ |
H A D | stringpiece_unittest.cc | 682 // Consume in TEST() 684 EXPECT_TRUE(a.Consume("foo")); in TEST() 686 EXPECT_FALSE(a.Consume("foo")); in TEST() 687 EXPECT_FALSE(a.Consume("barbar")); in TEST() 688 EXPECT_FALSE(a.Consume("ar")); in TEST()
|
/third_party/skia/third_party/externals/spirv-tools/test/link/ |
H A D | linker_fixture.h | 132 RE2::Consume(&temp2, "([^{]*)", &common); in ExpandAndLink()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/link/ |
H A D | linker_fixture.h | 132 RE2::Consume(&temp2, "([^{]*)", &common); in ExpandAndLink()
|
/third_party/spirv-tools/test/link/ |
H A D | linker_fixture.h | 132 RE2::Consume(&temp2, "([^{]*)", &common); in ExpandAndLink()
|