/third_party/gn/src/gn/ |
H A D | tokenizer.cc | 202 Token::Type Tokenizer::ClassifyToken(char next_char, char following_char) { 203 if (base::IsAsciiDigit(next_char)) 205 if (next_char == '"') 209 if (next_char != '-' && CouldBeOperator(next_char)) 212 if (IsIdentifierFirstChar(next_char)) 215 if (next_char == '[') 217 if (next_char == ']') 219 if (next_char == '(') 221 if (next_char [all...] |
H A D | tokenizer.h | 52 static Token::Type ClassifyToken(char next_char, char following_char);
|
/third_party/rust/crates/regex/src/ |
H A D | input.rs | 74 fn next_char(&self, at: InputAt) -> Char; in next_char() functions 109 fn next_char(&self, at: InputAt) -> Char { in next_char() functions 110 (**self).next_char(at) in next_char() 167 fn next_char(&self, at: InputAt) -> Char { in next_char() functions 183 let c = self.next_char(at); in is_empty_match() 189 let (c1, c2) = (self.previous_char(at), self.next_char(at)); in is_empty_match() 193 let (c1, c2) = (self.previous_char(at), self.next_char(at)); in is_empty_match() 197 let (c1, c2) = (self.previous_char(at), self.next_char(at)); in is_empty_match() 201 let (c1, c2) = (self.previous_char(at), self.next_char(at)); in is_empty_match() 260 fn next_char( functions [all...] |
/third_party/libphonenumber/cpp/src/phonenumbers/ |
H A D | asyoutypeformatter.cc | 305 const string& AsYouTypeFormatter::InputDigit(char32 next_char, string* result) { in InputDigit() argument 308 InputDigitWithOptionToRememberPosition(next_char, false, ¤t_output_); in InputDigit() 314 char32 next_char, in InputDigitAndRememberPosition() 318 InputDigitWithOptionToRememberPosition(next_char, true, ¤t_output_); in InputDigitAndRememberPosition() 324 char32 next_char, in InputDigitWithOptionToRememberPosition() 329 accrued_input_.append(next_char); in InputDigitWithOptionToRememberPosition() 336 UnicodeString(next_char).toUTF8String(next_char_string); in InputDigitWithOptionToRememberPosition() 340 (accrued_input_.length() == 1 && next_char == kPlusSign))) { in InputDigitWithOptionToRememberPosition() 345 NormalizeAndAccrueDigitsAndPlusSign(next_char, remember_position); in InputDigitWithOptionToRememberPosition() 705 char32 next_char, in NormalizeAndAccrueDigitsAndPlusSign() 313 InputDigitAndRememberPosition( char32 next_char, string* result) InputDigitAndRememberPosition() argument 323 InputDigitWithOptionToRememberPosition( char32 next_char, bool remember_position, string* phone_number) InputDigitWithOptionToRememberPosition() argument 704 NormalizeAndAccrueDigitsAndPlusSign( char32 next_char, bool remember_position) NormalizeAndAccrueDigitsAndPlusSign() argument 725 InputDigitHelper(char next_char, string* number) InputDigitHelper() argument [all...] |
H A D | asyoutypeformatter.h | 63 // next_char is the most recently entered digit of a phone number. Formatting 69 const string& InputDigit(char32 next_char, string* result); 71 // Same as InputDigit, but remembers the position where next_char is inserted, 74 // characters are later inserted/removed in front of next_char. 77 const string& InputDigitAndRememberPosition(char32 next_char, string* result); 116 void InputDigitWithOptionToRememberPosition(char32 next_char, 168 // later use. If next_char contains a digit in non-ASCII format (e.g the 170 // version. The return value is next_char itself, or its normalized version, 171 // if next_char is a digit in non-ASCII format. 172 char NormalizeAndAccrueDigitsAndPlusSign(char32 next_char, [all...] |
H A D | phonenumbermatcher.cc | 98 char next_char = candidate[found + 1]; in ContainsOnlyValidXChars() local 99 if (next_char == 'x' || next_char == 'X') { in ContainsOnlyValidXChars() 498 char32 next_char; in ParseAndVerify() local 502 EncodingUtils::DecodeUTF8Char(next_char_ptr, &next_char); in ParseAndVerify() 503 if (IsInvalidPunctuationSymbol(next_char) || IsLatinLetter(next_char)) { in ParseAndVerify()
|
/third_party/glslang/SPIRV/ |
H A D | hex_float.h | 733 auto next_char = is.peek(); in RejectParseDueToLeadingSign() local 734 if (next_char == '-' || next_char == '+') { in RejectParseDueToLeadingSign() 849 auto next_char = is.peek(); in operator >>() local 852 if (next_char != '-' && next_char != '0') { in operator >>() 856 if (next_char == '-') { in operator >>() 859 next_char = is.peek(); in operator >>() 862 if (next_char == '0') { in operator >>() 884 while ((next_char in operator >>() [all...] |
/third_party/skia/third_party/externals/spirv-tools/source/util/ |
H A D | hex_float.h | 816 auto next_char = is.peek(); in RejectParseDueToLeadingSign() local 817 if (next_char == '-' || next_char == '+') { in RejectParseDueToLeadingSign() 932 auto next_char = is.peek(); in operator >>() local 935 if (next_char != '-' && next_char != '0') { in operator >>() 939 if (next_char == '-') { in operator >>() 942 next_char = is.peek(); in operator >>() 945 if (next_char == '0') { in operator >>() 967 while ((next_char in operator >>() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/util/ |
H A D | hex_float.h | 816 auto next_char = is.peek(); in RejectParseDueToLeadingSign() local 817 if (next_char == '-' || next_char == '+') { in RejectParseDueToLeadingSign() 932 auto next_char = is.peek(); in operator >>() local 935 if (next_char != '-' && next_char != '0') { in operator >>() 939 if (next_char == '-') { in operator >>() 942 next_char = is.peek(); in operator >>() 945 if (next_char == '0') { in operator >>() 967 while ((next_char in operator >>() [all...] |
/third_party/spirv-tools/source/util/ |
H A D | hex_float.h | 817 auto next_char = is.peek(); in RejectParseDueToLeadingSign() local 818 if (next_char == '-' || next_char == '+') { in RejectParseDueToLeadingSign() 974 auto next_char = is.peek(); in operator >>() local 977 if (next_char != '-' && next_char != '0') { in operator >>() 981 if (next_char == '-') { in operator >>() 984 next_char = is.peek(); in operator >>() 987 if (next_char == '0') { in operator >>() 1015 while ((next_char in operator >>() [all...] |
/third_party/gn/src/base/json/ |
H A D | json_parser.cc | 453 uint32_t next_char = 0; in ConsumeStringRaw() local 456 &next_char) || in ConsumeStringRaw() 457 !IsValidCharacter(next_char)) { in ConsumeStringRaw() 467 if (next_char == '"') { in ConsumeStringRaw() 471 } else if (next_char != '\\') { in ConsumeStringRaw() 474 string.Append(next_char); in ConsumeStringRaw()
|
/third_party/skia/third_party/externals/harfbuzz/src/ |
H A D | hb-ot-shape-normalize.cc | 111 next_char (hb_buffer_t *buffer, hb_codepoint_t glyph) in next_char() function 176 next_char (buffer, glyph); in decompose_current_character() 188 next_char (buffer, glyph); in decompose_current_character() 199 next_char (buffer, space_glyph); in decompose_current_character() 212 next_char (buffer, other_glyph); in decompose_current_character() 217 next_char (buffer, glyph); /* glyph is initialized in earlier branches. */ in decompose_current_character()
|
/third_party/python/Lib/ |
H A D | datetime.py | 377 next_char = tstr[pos:pos+1] 380 has_sep = next_char == ':' 382 if not next_char or comp >= 2: 385 if has_sep and next_char != ':': 386 raise ValueError("Invalid time separator: %c" % next_char)
|