Home
last modified time | relevance | path

Searched refs:NextChar (Results 1 – 18 of 18) sorted by relevance

/external/chromium_org/base/json/
Djson_parser.cc242 if (!CanConsume(1) || (NextChar() && GetNextToken() != T_END_OF_INPUT)) { in Parse()
343 const char* JSONParser::NextChar() { in NextChar() function in base::internal::JSONParser
411 NextChar(); in EatWhitespaceAndComments()
427 char next_char = *NextChar(); in EatComment()
431 char next_char = *NextChar(); in EatComment()
439 next_char = *NextChar(); in EatComment()
444 NextChar(); in EatComment()
494 NextChar(); in ConsumeDictionary()
509 NextChar(); in ConsumeDictionary()
517 NextChar(); in ConsumeDictionary()
[all …]
Djson_parser_unittest.cc26 EXPECT_EQ(',', *parser->NextChar()); in TestLastThree()
27 EXPECT_EQ('|', *parser->NextChar()); in TestLastThree()
28 EXPECT_EQ('\0', *parser->NextChar()); in TestLastThree()
33 TEST_F(JSONParserTest, NextChar) { in TEST_F() argument
39 EXPECT_EQ(input[i], *parser->NextChar()); in TEST_F()
41 EXPECT_EQ(parser->end_pos_, parser->NextChar()); in TEST_F()
Djson_parser.h151 const char* NextChar();
257 FRIEND_TEST_ALL_PREFIXES(JSONParserTest, NextChar);
/external/protobuf/src/google/protobuf/io/
Dtokenizer.cc212 void Tokenizer::NextChar() { in NextChar() function in google::protobuf::io::Tokenizer
293 NextChar(); in TryConsumeOne()
302 NextChar(); in TryConsume()
312 NextChar(); in ConsumeZeroOrMore()
322 NextChar(); in ConsumeOneOrMore()
342 NextChar(); in ConsumeString()
362 NextChar(); in ConsumeString()
365 NextChar(); in ConsumeString()
429 NextChar(); in ConsumeLineComment()
442 NextChar(); in ConsumeBlockComment()
[all …]
Dtokenizer.h215 void NextChar();
/external/llvm/include/llvm/Bitcode/
DBitstreamReader.h171 size_t NextChar; variable
204 BitstreamCursor() : BitStream(0), NextChar(0) { in BitstreamCursor()
206 BitstreamCursor(const BitstreamCursor &RHS) : BitStream(0), NextChar(0) { in BitstreamCursor()
211 NextChar = 0; in BitstreamCursor()
221 NextChar = 0; in init()
252 return BitsInCurWord == 0 && isEndPos(NextChar); in AtEndOfStream()
260 return NextChar*CHAR_BIT - BitsInCurWord; in GetCurrentBitNo()
331 NextChar = ByteNo; in JumpToBit()
358 if (isEndPos(NextChar)) { in Read()
369 BitStream->getBitcodeBytes().readBytes(NextChar, sizeof(Array), Array); in Read()
[all …]
/external/llvm/lib/TableGen/
DTGLexer.cpp138 int NextChar = 0; in LexToken() local
145 NextChar = peekNextChar(i++); in LexToken()
146 } while (isdigit(NextChar)); in LexToken()
148 if (NextChar == 'x' || NextChar == 'b') { in LexToken()
156 if (NextChar == 'b') in LexToken()
163 if (NextChar == 'x') in LexToken()
170 if (isalpha(NextChar) || NextChar == '_') in LexToken()
/external/chromium_org/components/policy/core/common/
Dpreg_parser_win.cc54 int NextChar(const uint8** cursor, const uint8* end) { in NextChar() function
93 while ((current = NextChar(cursor, end)) > 0x0000) in ReadFieldString()
250 if (NextChar(&cursor, end) != kDelimBracketOpen) in ReadFile()
263 int current = NextChar(&cursor, end); in ReadFile()
267 current = NextChar(&cursor, end); in ReadFile()
273 current = NextChar(&cursor, end); in ReadFile()
279 current = NextChar(&cursor, end); in ReadFile()
288 current = NextChar(&cursor, end); in ReadFile()
/external/chromium_org/third_party/protobuf/src/google/protobuf/io/
Dtokenizer.cc219 void Tokenizer::NextChar() { in NextChar() function in google::protobuf::io::Tokenizer
311 NextChar(); in TryConsumeOne()
320 NextChar(); in TryConsume()
330 NextChar(); in ConsumeZeroOrMore()
340 NextChar(); in ConsumeOneOrMore()
360 NextChar(); in ConsumeString()
401 NextChar(); in ConsumeString()
404 NextChar(); in ConsumeString()
470 NextChar(); in ConsumeLineComment()
488 NextChar(); in ConsumeBlockComment()
[all …]
Dtokenizer.h270 void NextChar();
/external/chromium/base/json/
Djson_reader.cc27 wchar_t first = token.NextChar(); in ReadInt()
35 c = token.NextChar(); in ReadInt()
359 c = token.NextChar(); in ParseNumberToken()
366 c = token.NextChar(); in ParseNumberToken()
371 c = token.NextChar(); in ParseNumberToken()
377 c = token.NextChar(); in ParseNumberToken()
380 c = token.NextChar(); in ParseNumberToken()
406 wchar_t c = token.NextChar(); in ParseStringToken()
410 c = token.NextChar(); in ParseStringToken()
444 c = token.NextChar(); in ParseStringToken()
Djson_reader.h74 wchar_t NextChar() { in NextChar() function
/external/chromium_org/chrome/browser/ui/app_list/search/
Dtokenized_string_char_iterator_unittest.cc33 ASSERT_FALSE(iter->NextChar()); in TestBeyondTheEnd()
47 iter.NextChar(); in TestEveryChar()
76 if (iter.NextChar()) in TestFirstTwoCharInEveryToken()
Dtokenized_string_match.cc68 query_iter.NextChar(); in Calculate()
69 text_iter.NextChar(); in Calculate()
Dtokenized_string_char_iterator.h28 bool NextChar();
Dtokenized_string_char_iterator.cc23 bool TokenizedStringCharIterator::NextChar() { in NextChar() function in app_list::TokenizedStringCharIterator
/external/llvm/lib/Bitcode/Reader/
DBitstreamReader.cpp22 NextChar = RHS.NextChar; in operator =()
185 NextChar = BitStream->getBitcodeBytes().getExtent(); in skipRecord()
256 NextChar = BitStream->getBitcodeBytes().getExtent(); in readRecord()
/external/llvm/lib/MC/MCParser/
DAsmParser.cpp1854 const char *NextChar = getTok().getEndLoc().getPointer(); in ParseMacroArgument() local
1855 if (*NextChar == ' ') in ParseMacroArgument()