Home
last modified time | relevance | path

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

12

/external/swiftshader/third_party/llvm-10.0/llvm/lib/TableGen/
DTGLexer.cpp209 int NextChar = 0; in LexToken() local
216 NextChar = peekNextChar(i++); in LexToken()
217 } while (isdigit(NextChar)); in LexToken()
219 if (NextChar == 'x' || NextChar == 'b') { in LexToken()
227 if (NextChar == 'b') in LexToken()
234 if (NextChar == 'x') in LexToken()
241 if (isalpha(NextChar) || NextChar == '_') in LexToken()
602 int NextChar = *CurPtr; in prepIsDirective() local
606 if (NextChar != PreprocessorDirs[ID].Word[I]) { in prepIsDirective()
611 NextChar = peekNextChar(I + 1); in prepIsDirective()
[all …]
/external/llvm-project/llvm/lib/TableGen/
DTGLexer.cpp222 int NextChar = 0; in LexToken() local
229 NextChar = peekNextChar(i++); in LexToken()
230 } while (isdigit(NextChar)); in LexToken()
232 if (NextChar == 'x' || NextChar == 'b') { in LexToken()
240 if (NextChar == 'b') in LexToken()
247 if (NextChar == 'x') in LexToken()
254 if (isalpha(NextChar) || NextChar == '_') in LexToken()
628 int NextChar = *CurPtr; in prepIsDirective() local
632 if (NextChar != PreprocessorDirs[ID].Word[I]) { in prepIsDirective()
637 NextChar = peekNextChar(I + 1); in prepIsDirective()
[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/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Bitstream/
DBitstreamReader.h82 size_t NextChar = 0; variable
116 return BitsInCurWord == 0 && BitcodeBytes.size() <= NextChar; in AtEndOfStream()
121 return NextChar*CHAR_BIT - BitsInCurWord; in GetCurrentBitNo()
136 NextChar = ByteNo; in JumpToBit()
164 if (NextChar >= BitcodeBytes.size()) in fillCurWord()
167 NextChar, BitcodeBytes.size()); in fillCurWord()
170 const uint8_t *NextCharPtr = BitcodeBytes.data() + NextChar; in fillCurWord()
172 if (BitcodeBytes.size() >= NextChar + sizeof(word_t)) { in fillCurWord()
179 BytesRead = BitcodeBytes.size() - NextChar; in fillCurWord()
184 NextChar += BytesRead; in fillCurWord()
[all …]
/external/llvm-project/llvm/include/llvm/Bitstream/
DBitstreamReader.h83 size_t NextChar = 0; variable
117 return BitsInCurWord == 0 && BitcodeBytes.size() <= NextChar; in AtEndOfStream()
122 return NextChar*CHAR_BIT - BitsInCurWord; in GetCurrentBitNo()
137 NextChar = ByteNo; in JumpToBit()
165 if (NextChar >= BitcodeBytes.size()) in fillCurWord()
168 NextChar, BitcodeBytes.size()); in fillCurWord()
171 const uint8_t *NextCharPtr = BitcodeBytes.data() + NextChar; in fillCurWord()
173 if (BitcodeBytes.size() >= NextChar + sizeof(word_t)) { in fillCurWord()
180 BytesRead = BitcodeBytes.size() - NextChar; in fillCurWord()
185 NextChar += BytesRead; in fillCurWord()
[all …]
/external/protobuf/src/google/protobuf/io/
Dtokenizer.cc229 void Tokenizer::NextChar() { in NextChar() function in google::protobuf::io::Tokenizer
323 NextChar(); in TryConsumeOne()
332 NextChar(); in TryConsume()
342 NextChar(); in ConsumeZeroOrMore()
352 NextChar(); in ConsumeOneOrMore()
373 NextChar(); in ConsumeString()
379 NextChar(); in ConsumeString()
416 NextChar(); in ConsumeString()
419 NextChar(); in ConsumeString()
485 NextChar(); in ConsumeLineComment()
[all …]
Dtokenizer.h299 void NextChar();
/external/llvm/include/llvm/Bitcode/
DBitstreamReader.h137 size_t NextChar = 0; variable
175 return Size <= NextChar; in AtEndOfStream()
182 return NextChar*CHAR_BIT - BitsInCurWord; in GetCurrentBitNo()
198 NextChar = ByteNo; in JumpToBit()
238 if (Size != 0 && NextChar >= Size) in fillCurWord()
245 R->getBitcodeBytes().readBytes(Array, sizeof(Array), NextChar); in fillCurWord()
251 Size = NextChar; in fillCurWord()
258 NextChar += BytesRead; in fillCurWord()
354 void skipToEnd() { NextChar = R->getBitcodeBytes().getExtent(); } in skipToEnd()
/external/libchrome/components/policy/core/common/
Dpreg_parser.cc83 int NextChar(const uint8_t** cursor, const uint8_t* end) { in NextChar() function
128 while ((current = NextChar(cursor, end)) > 0x0000) in ReadFieldString()
354 if (NextChar(&cursor, end) != kDelimBracketOpen) in ReadDataInternal()
367 int current = NextChar(&cursor, end); in ReadDataInternal()
371 current = NextChar(&cursor, end); in ReadDataInternal()
377 current = NextChar(&cursor, end); in ReadDataInternal()
383 current = NextChar(&cursor, end); in ReadDataInternal()
392 current = NextChar(&cursor, end); in ReadDataInternal()
/external/llvm-project/llvm/lib/ExecutionEngine/JITLink/
DEHFrameSupport.cpp548 uint8_t NextChar; in parseAugmentationString() local
551 if (auto Err = RecordReader.readInteger(NextChar)) in parseAugmentationString()
554 while (NextChar != 0) { in parseAugmentationString()
555 switch (NextChar) { in parseAugmentationString()
560 if (auto Err = RecordReader.readInteger(NextChar)) in parseAugmentationString()
562 if (NextChar != 'h') in parseAugmentationString()
564 Twine(NextChar) + in parseAugmentationString()
571 *NextField++ = NextChar; in parseAugmentationString()
575 Twine(NextChar) + in parseAugmentationString()
579 if (auto Err = RecordReader.readInteger(NextChar)) in parseAugmentationString()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/JITLink/
DEHFrameSupport.cpp546 uint8_t NextChar; in parseAugmentationString() local
549 if (auto Err = RecordReader.readInteger(NextChar)) in parseAugmentationString()
552 while (NextChar != 0) { in parseAugmentationString()
553 switch (NextChar) { in parseAugmentationString()
558 if (auto Err = RecordReader.readInteger(NextChar)) in parseAugmentationString()
560 if (NextChar != 'h') in parseAugmentationString()
562 Twine(NextChar) + in parseAugmentationString()
569 *NextField++ = NextChar; in parseAugmentationString()
573 Twine(NextChar) + in parseAugmentationString()
577 if (auto Err = RecordReader.readInteger(NextChar)) in parseAugmentationString()
/external/swiftshader/third_party/subzero/pnacl-llvm/include/llvm/Bitcode/NaCl/
DNaClBitstreamReader.h406 size_t NextChar; variable
501 NextChar = (BitStream == nullptr) ? 0 : BitStream->getInitialAddress(); in init()
534 return Size == NextChar; in AtEndOfStream()
546 return NextChar * CHAR_BIT - BitsInCurWord; in GetCurrentBitNo()
649 NextChar = ByteNo; in JumpToBit()
658 assert(Size == 0 || NextChar < (unsigned)Size); in fillCurWord()
663 uint64_t BytesRead = fillBuffer(Array, sizeof(Array), NextChar); in fillCurWord()
667 Size = NextChar; in fillCurWord()
674 NextChar += BytesRead; in fillCurWord()
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/
DUseAutoCheck.cpp40 const CharType NextChar = in GetTypeNameLength() local
47 if (NextChar != Space) { in GetTypeNameLength()
49 if (LastChar == Space && NextChar == Alpha && BeforeSpace == Alpha) in GetTypeNameLength()
51 BeforeSpace = NextChar; in GetTypeNameLength()
53 LastChar = NextChar; in GetTypeNameLength()
/external/llvm-project/clang-tools-extra/clangd/unittests/
DSemanticHighlightingTests.cpp90 unsigned NextChar = 0; in annotate() local
95 assert(NextChar <= StartOffset); in annotate()
97 Result += Input.substr(NextChar, StartOffset - NextChar); in annotate()
101 NextChar = EndOffset; in annotate()
103 Result += Input.substr(NextChar); in annotate()
DRenameTests.cpp81 unsigned NextChar = 0; in expectedResult() local
84 assert(R.Begin <= R.End && NextChar <= R.Begin); in expectedResult()
85 Result += Code.substr(NextChar, R.Begin - NextChar); in expectedResult()
87 NextChar = R.End; in expectedResult()
89 Result += Code.substr(NextChar); in expectedResult()
/external/llvm-project/flang/lib/Parser/
Dprescan.cpp307 void Prescanner::NextChar() { in NextChar() function in Fortran::parser::Prescanner
369 NextChar(); in SkipSpaces()
428 NextChar(); in NextToken()
600 NextChar(); in QuotedCharacterLiteral()
607 NextChar(); in QuotedCharacterLiteral()
632 NextChar(); in Hollerith()
654 NextChar(); in Hollerith()
Dprescan.h135 NextChar(); in EmitCharAndAdvance()
155 void NextChar();
/external/llvm-project/flang/include/flang/Common/
Dformat.h120 CHAR NextChar(); in ENUM_CLASS()
152 template <typename CHAR> CHAR FormatValidator<CHAR>::NextChar() { in NextChar() function
183 CHAR c{NextChar()}; in NextToken()
214 c = NextChar(); in NextToken()
/external/libchrome/base/json/
Djson_parser.h241 FRIEND_TEST_ALL_PREFIXES(JSONParserTest, NextChar);
Djson_parser_unittest.cc52 TEST_F(JSONParserTest, NextChar) { in TEST_F() argument
/external/llvm/utils/FileCheck/
DFileCheck.cpp732 char NextChar = Buffer[Prefix.size()]; in FindCheckType() local
735 if (NextChar == ':') in FindCheckType()
738 if (NextChar != '-') in FindCheckType()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DFileCheck.cpp977 char NextChar = Buffer[Prefix.size()]; in FindCheckType() local
981 if (NextChar == ':') in FindCheckType()
984 if (NextChar != '-') in FindCheckType()
/external/llvm-project/llvm/lib/FileCheck/
DFileCheck.cpp1628 char NextChar = Buffer[Prefix.size()]; in FindCheckType() local
1634 if (NextChar == ':') in FindCheckType()
1641 if (NextChar == ':') in FindCheckType()
1644 if (NextChar != '-') in FindCheckType()
/external/llvm-project/llvm/lib/Demangle/
DMicrosoftDemangle.cpp1371 unsigned NextChar = in demangleStringLiteral() local
1374 outputEscapedChar(OS, NextChar); in demangleStringLiteral()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Demangle/
DMicrosoftDemangle.cpp1371 unsigned NextChar = in demangleStringLiteral() local
1374 outputEscapedChar(OS, NextChar); in demangleStringLiteral()

12