Home
last modified time | relevance | path

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

/external/llvm-project/llvm/lib/MC/MCParser/
DAsmLexer.cpp220 int CurChar = getNextChar(); in LexLineComment() local
221 while (CurChar != '\n' && CurChar != '\r' && CurChar != EOF) in LexLineComment()
222 CurChar = getNextChar(); in LexLineComment()
223 if (CurChar == '\r' && CurPtr != CurBuf.end() && *CurPtr == '\n') in LexLineComment()
528 int CurChar = getNextChar(); in LexSingleQuote() local
531 while (CurChar != EOF) { in LexSingleQuote()
532 if (CurChar != '\'') { in LexSingleQuote()
533 CurChar = getNextChar(); in LexSingleQuote()
538 CurChar = getNextChar(); in LexSingleQuote()
543 if (CurChar == EOF) in LexSingleQuote()
[all …]
/external/llvm/lib/MC/MCParser/
DAsmLexer.cpp195 int CurChar = getNextChar(); in LexLineComment() local
196 while (CurChar != '\n' && CurChar != '\r' && CurChar != EOF) in LexLineComment()
197 CurChar = getNextChar(); in LexLineComment()
367 int CurChar = getNextChar(); in LexSingleQuote() local
369 if (CurChar == '\\') in LexSingleQuote()
370 CurChar = getNextChar(); in LexSingleQuote()
372 if (CurChar == EOF) in LexSingleQuote()
375 CurChar = getNextChar(); in LexSingleQuote()
377 if (CurChar != '\'') in LexSingleQuote()
403 int CurChar = getNextChar(); in LexQuote() local
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/MC/MCParser/
DAsmLexer.cpp211 int CurChar = getNextChar(); in LexLineComment() local
212 while (CurChar != '\n' && CurChar != '\r' && CurChar != EOF) in LexLineComment()
213 CurChar = getNextChar(); in LexLineComment()
214 if (CurChar == '\r' && CurPtr != CurBuf.end() && *CurPtr == '\n') in LexLineComment()
436 int CurChar = getNextChar(); in LexSingleQuote() local
438 if (CurChar == '\\') in LexSingleQuote()
439 CurChar = getNextChar(); in LexSingleQuote()
441 if (CurChar == EOF) in LexSingleQuote()
444 CurChar = getNextChar(); in LexSingleQuote()
446 if (CurChar != '\'') in LexSingleQuote()
[all …]
/external/llvm-project/llvm/tools/llvm-rc/
DResourceScriptToken.cpp283 const char CurChar = Data[Pos]; in canStartIdentifier() local
284 return std::isalpha(CurChar) || CurChar == '_' || CurChar == '.'; in canStartIdentifier()
289 const char CurChar = Data[Pos]; in canContinueIdentifier() local
290 return std::isalnum(CurChar) || CurChar == '_' || CurChar == '.' || in canContinueIdentifier()
291 CurChar == '/' || CurChar == '\\'; in canContinueIdentifier()
334 const char CurChar = Data[Pos]; in classifyCurrentToken() local
336 switch (CurChar) { in classifyCurrentToken()
DResourceFileWriter.cpp220 UTF16 CurChar = Chars[Pos]; in processString() local
224 if (CurChar == '"') { in processString()
232 if (CurChar == '\\') { in processString()
338 RETURN_IF_ERROR(AddRes(CurChar)); in processString()
/external/clang/include/clang/Rewrite/Core/
DRewriteRope.h96 unsigned CurChar; variable
102 : CurNode(nullptr), CurPiece(nullptr), CurChar(0) {} in RopePieceBTreeIterator()
105 return (*CurPiece)[CurChar];
109 return CurPiece == RHS.CurPiece && CurChar == RHS.CurChar;
116 if (CurChar+1 < CurPiece->size())
117 ++CurChar;
/external/llvm/lib/TableGen/
DTGLexer.cpp48 char CurChar = *CurPtr++; in getNextChar() local
49 switch (CurChar) { in getNextChar()
51 return (unsigned char)CurChar; in getNextChar()
78 *CurPtr != CurChar) in getNextChar()
91 int CurChar = getNextChar(); in LexToken() local
93 switch (CurChar) { in LexToken()
96 if (isalpha(CurChar) || CurChar == '_') in LexToken()
139 if (isdigit(CurChar)) { in LexToken()
352 int CurChar = getNextChar(); in SkipCComment() local
353 switch (CurChar) { in SkipCComment()
/external/llvm-project/clang/include/clang/Rewrite/Core/
DRewriteRope.h96 unsigned CurChar = 0; variable
103 return (*CurPiece)[CurChar];
107 return CurPiece == RHS.CurPiece && CurChar == RHS.CurChar;
114 if (CurChar+1 < CurPiece->size())
115 ++CurChar;
/external/llvm/tools/llvm-mcmarkup/
Dllvm-mcmarkup.cpp158 for (int CurChar = Lex.getNextChar(); in parseMCMarkup() local
159 CurChar != EOF; in parseMCMarkup()
160 CurChar = Lex.getNextChar()) { in parseMCMarkup()
161 switch (CurChar) { in parseMCMarkup()
196 if (!DumpTags && CurChar != EOF) in parseMCMarkup()
197 outs() << (char)CurChar; in parseMCMarkup()
/external/llvm/lib/AsmParser/
DLLLexer.cpp173 char CurChar = *CurPtr++; in getNextChar() local
174 switch (CurChar) { in getNextChar()
175 default: return (unsigned char)CurChar; in getNextChar()
192 int CurChar = getNextChar(); in LexToken() local
193 switch (CurChar) { in LexToken()
196 if (isalpha(static_cast<unsigned char>(CurChar)) || CurChar == '_') in LexToken()
275 int CurChar = getNextChar(); in LexDollar() local
277 if (CurChar == EOF) { in LexDollar()
281 if (CurChar == '"') { in LexDollar()
304 int CurChar = getNextChar(); in ReadString() local
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/TableGen/
DTGLexer.cpp106 char CurChar = *CurPtr++; in getNextChar() local
107 switch (CurChar) { in getNextChar()
109 return (unsigned char)CurChar; in getNextChar()
126 *CurPtr != CurChar) in getNextChar()
139 int CurChar = getNextChar(); in LexToken() local
141 switch (CurChar) { in LexToken()
144 if (isalpha(CurChar) || CurChar == '_') in LexToken()
210 if (isdigit(CurChar)) { in LexToken()
421 int CurChar = getNextChar(); in SkipCComment() local
422 switch (CurChar) { in SkipCComment()
/external/llvm-project/llvm/lib/TableGen/
DTGLexer.cpp107 char CurChar = *CurPtr++; in getNextChar() local
108 switch (CurChar) { in getNextChar()
110 return (unsigned char)CurChar; in getNextChar()
127 *CurPtr != CurChar) in getNextChar()
140 int CurChar = getNextChar(); in LexToken() local
142 switch (CurChar) { in LexToken()
145 if (isalpha(CurChar) || CurChar == '_') in LexToken()
223 if (isdigit(CurChar)) { in LexToken()
442 int CurChar = getNextChar(); in SkipCComment() local
443 switch (CurChar) { in SkipCComment()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/AsmParser/
DLLLexer.cpp167 char CurChar = *CurPtr++; in getNextChar() local
168 switch (CurChar) { in getNextChar()
169 default: return (unsigned char)CurChar; in getNextChar()
186 int CurChar = getNextChar(); in LexToken() local
187 switch (CurChar) { in LexToken()
190 if (isalpha(static_cast<unsigned char>(CurChar)) || CurChar == '_') in LexToken()
274 int CurChar = getNextChar(); in LexDollar() local
276 if (CurChar == EOF) { in LexDollar()
280 if (CurChar == '"') { in LexDollar()
303 int CurChar = getNextChar(); in ReadString() local
[all …]
/external/llvm-project/llvm/lib/AsmParser/
DLLLexer.cpp167 char CurChar = *CurPtr++; in getNextChar() local
168 switch (CurChar) { in getNextChar()
169 default: return (unsigned char)CurChar; in getNextChar()
186 int CurChar = getNextChar(); in LexToken() local
187 switch (CurChar) { in LexToken()
190 if (isalpha(static_cast<unsigned char>(CurChar)) || CurChar == '_') in LexToken()
274 int CurChar = getNextChar(); in LexDollar() local
276 if (CurChar == EOF) { in LexDollar()
280 if (CurChar == '"') { in LexDollar()
303 int CurChar = getNextChar(); in ReadString() local
[all …]
/external/clang/lib/Rewrite/
DRewriteRope.cpp687 CurChar = 0; in RopePieceBTreeIterator()
692 CurChar = 0; in MoveToNextPiece()
706 CurChar = 0; in MoveToNextPiece()
/external/llvm-project/clang/lib/Rewrite/
DRewriteRope.cpp691 CurChar = 0; in RopePieceBTreeIterator()
696 CurChar = 0; in MoveToNextPiece()
710 CurChar = 0; in MoveToNextPiece()
/external/clang/lib/AST/
DStmt.cpp517 char CurChar = *CurPtr++; in AnalyzeAsmString() local
518 switch (CurChar) { in AnalyzeAsmString()
526 CurStringPiece += CurChar; in AnalyzeAsmString()
/external/llvm-project/clang/lib/AST/
DStmt.cpp636 char CurChar = *CurPtr++; in AnalyzeAsmString() local
637 switch (CurChar) { in AnalyzeAsmString()
645 CurStringPiece += CurChar; in AnalyzeAsmString()