Home
last modified time | relevance | path

Searched refs:next_char (Results 1 – 15 of 15) sorted by relevance

/external/chromium_org/tools/gn/
Dtokenizer.cc171 char next_char = cur_char(); in ClassifyCurrent() local
172 if (IsAsciiDigit(next_char)) in ClassifyCurrent()
174 if (next_char == '"') in ClassifyCurrent()
178 if (next_char != '-' && CouldBeOperator(next_char)) in ClassifyCurrent()
181 if (IsIdentifierFirstChar(next_char)) in ClassifyCurrent()
184 if (next_char == '[') in ClassifyCurrent()
186 if (next_char == ']') in ClassifyCurrent()
188 if (next_char == '(') in ClassifyCurrent()
190 if (next_char == ')') in ClassifyCurrent()
192 if (next_char == '{') in ClassifyCurrent()
[all …]
/external/chromium_org/base/json/
Djson_parser.cc427 char next_char = *NextChar(); in EatComment() local
428 if (next_char == '/') { in EatComment()
431 char next_char = *NextChar(); in EatComment() local
432 if (next_char == '\n' || next_char == '\r') in EatComment()
435 } else if (next_char == '*') { in EatComment()
439 next_char = *NextChar(); in EatComment()
440 if (previous_char == '*' && next_char == '/') { in EatComment()
447 previous_char = next_char; in EatComment()
615 int32 next_char = 0; in ConsumeStringRaw() local
619 CBU8_NEXT(start_pos_, index_, length, next_char); in ConsumeStringRaw()
[all …]
/external/chromium_org/third_party/libphonenumber/src/phonenumbers/
Dasyoutypeformatter.cc332 const string& AsYouTypeFormatter::InputDigit(char32 next_char, string* result) { in InputDigit() argument
335 InputDigitWithOptionToRememberPosition(next_char, false, &current_output_); in InputDigit()
341 char32 next_char, in InputDigitAndRememberPosition() argument
345 InputDigitWithOptionToRememberPosition(next_char, true, &current_output_); in InputDigitAndRememberPosition()
351 char32 next_char, in InputDigitWithOptionToRememberPosition() argument
356 accrued_input_.append(next_char); in InputDigitWithOptionToRememberPosition()
363 UnicodeString(next_char).toUTF8String(next_char_string); in InputDigitWithOptionToRememberPosition()
367 (accrued_input_.length() == 1 && next_char == kPlusSign))) { in InputDigitWithOptionToRememberPosition()
372 NormalizeAndAccrueDigitsAndPlusSign(next_char, remember_position); in InputDigitWithOptionToRememberPosition()
706 char32 next_char, in NormalizeAndAccrueDigitsAndPlusSign() argument
[all …]
Dasyoutypeformatter.h65 const string& InputDigit(char32 next_char, string* result);
73 const string& InputDigitAndRememberPosition(char32 next_char, string* result);
112 void InputDigitWithOptionToRememberPosition(char32 next_char,
166 char NormalizeAndAccrueDigitsAndPlusSign(char32 next_char,
169 void InputDigitHelper(char next_char, string* number);
Dphonenumbermatcher.cc94 char next_char = candidate[found + 1]; in ContainsOnlyValidXChars() local
95 if (next_char == 'x' || next_char == 'X') { in ContainsOnlyValidXChars()
439 char32 next_char; in ParseAndVerify() local
443 EncodingUtils::DecodeUTF8Char(next_char_ptr, &next_char); in ParseAndVerify()
444 if (IsInvalidPunctuationSymbol(next_char) || IsLatinLetter(next_char)) { in ParseAndVerify()
/external/chromium_org/third_party/libjingle/source/talk/base/
Dbase64_unittest.cc1009 char next_char; in TEST() local
1010 EXPECT_TRUE(Base64::GetNextBase64Char('A', &next_char)); in TEST()
1011 EXPECT_EQ('B', next_char); in TEST()
1012 EXPECT_TRUE(Base64::GetNextBase64Char('Z', &next_char)); in TEST()
1013 EXPECT_EQ('a', next_char); in TEST()
1014 EXPECT_TRUE(Base64::GetNextBase64Char('/', &next_char)); in TEST()
1015 EXPECT_EQ('A', next_char); in TEST()
1016 EXPECT_FALSE(Base64::GetNextBase64Char('&', &next_char)); in TEST()
/external/chromium_org/third_party/webrtc/base/
Dbase64_unittest.cc992 char next_char; in TEST() local
993 EXPECT_TRUE(Base64::GetNextBase64Char('A', &next_char)); in TEST()
994 EXPECT_EQ('B', next_char); in TEST()
995 EXPECT_TRUE(Base64::GetNextBase64Char('Z', &next_char)); in TEST()
996 EXPECT_EQ('a', next_char); in TEST()
997 EXPECT_TRUE(Base64::GetNextBase64Char('/', &next_char)); in TEST()
998 EXPECT_EQ('A', next_char); in TEST()
999 EXPECT_FALSE(Base64::GetNextBase64Char('&', &next_char)); in TEST()
/external/chromium_org/tools/telemetry/telemetry/core/
Dvideo.py145 next_char = ''
146 while next_char != '\n':
147 next_char = stderr.read(1)
148 line += next_char
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_suppressions.cc107 const char *next_char = StripPrefix(line, kTypeStrings[type]); in Parse() local
108 if (next_char && *next_char == ':') { in Parse()
109 line = ++next_char; in Parse()
/external/chromium_org/third_party/libjingle/source/talk/media/base/
Dyuvframegenerator.cc167 char next_char; in ComputeBarcodeDigits() local
168 result->get(next_char); in ComputeBarcodeDigits()
169 uint8 digit = next_char - '0'; in ComputeBarcodeDigits()
202 char next_char; in DrawBarcode() local
203 value_str_stream.get(next_char); in DrawBarcode()
210 uint8 digit = next_char - '0'; in DrawBarcode()
/external/harfbuzz_ng/src/
Dhb-ot-shape-normalize.cc118 next_char (hb_buffer_t *buffer, hb_codepoint_t glyph) in next_char() function
204 next_char (buffer, glyph); in decompose_current_character()
208 next_char (buffer, glyph); in decompose_current_character()
212 next_char (buffer, glyph); /* glyph is initialized in earlier branches. */ in decompose_current_character()
/external/chromium_org/third_party/harfbuzz-ng/src/
Dhb-ot-shape-normalize.cc118 next_char (hb_buffer_t *buffer, hb_codepoint_t glyph) in next_char() function
204 next_char (buffer, glyph); in decompose_current_character()
208 next_char (buffer, glyph); in decompose_current_character()
212 next_char (buffer, glyph); /* glyph is initialized in earlier branches. */ in decompose_current_character()
/external/chromium_org/ui/gfx/
Drender_text_win.cc177 size_t* next_char) { in BreakRunAtWidth() argument
187 *next_char = i + 1; in BreakRunAtWidth()
211 *next_char = std::max(word->first, start_char); in BreakRunAtWidth()
215 *next_char = i; in BreakRunAtWidth()
218 *next_char = i + 1; in BreakRunAtWidth()
225 *next_char = run.range.end(); in BreakRunAtWidth()
403 size_t next_char = run->range.start(); in BreakRun() local
406 while (next_char < run->range.end()) { in BreakRun()
407 const size_t current_char = next_char; in BreakRun()
409 max_width_ - line_x_, line_x_ == 0, &width, &next_char); in BreakRun()
[all …]
/external/chromium_org/third_party/handlebar/
Dhandlebar.py880 next_char = self.NextCharacter()
881 if next_char != char:
882 parse_error = 'Expected \'%s\'. got \'%s\'' % (char, next_char)
/external/chromium_org/v8/src/
Dscanner.cc953 uc32 next_char = c0_; in ScanIdentifierOrKeyword() local
955 AddLiteralChar(next_char); in ScanIdentifierOrKeyword()