/external/llvm/lib/MC/MCParser/ |
AsmLexer.cpp | 25 CurPtr = nullptr; 37 CurPtr = ptr; 39 CurPtr = CurBuf.begin(); 53 char CurChar = *CurPtr++; 60 if (CurPtr - 1 != CurBuf.end()) 64 --CurPtr; // Another call to lex will return EOF again. 76 while (isdigit(*CurPtr)) 77 ++CurPtr; 82 if (*CurPtr == 'e' || *CurPtr == 'E') [all...] |
/external/clang/lib/Lex/ |
Lexer.cpp | 560 const char *CurPtr = Buffer.begin(); 562 while (CurPtr != Buffer.end()) { 563 char ch = *CurPtr++; 570 if (CurPtr != Buffer.end()) 571 MaxLineOffset = CurPtr - Buffer.begin(); [all...] |
PTHLexer.cpp | 39 : PreprocessorLexer(&PP, FID), TokBuf(D), CurPtr(D), LastHashTokPtr(nullptr), 51 // Shadow CurPtr into an automatic variable. 52 const unsigned char *CurPtrShadow = CurPtr; 65 CurPtr = CurPtrShadow; 112 LastHashTokPtr = CurPtr - StoredTokenSize; 170 const unsigned char* p = CurPtr; 184 CurPtr = p; 253 // If we are skipping the first #if block it will be the case that CurPtr 256 if (CurPtr > HashEntryI) { 257 assert(CurPtr == HashEntryI + StoredTokenSize) [all...] |
/external/llvm/lib/AsmParser/ |
LLLexer.cpp | 152 static const char *isLabelTail(const char *CurPtr) { 154 if (CurPtr[0] == ':') return CurPtr+1; 155 if (!isLabelChar(CurPtr[0])) return nullptr; 156 ++CurPtr; 169 CurPtr = CurBuf.begin(); 173 char CurChar = *CurPtr++; 179 if (CurPtr-1 != CurBuf.end()) 183 --CurPtr; // Another call to lex will return EOF again. 190 TokStart = CurPtr; [all...] |
LLLexer.h | 30 const char *CurPtr;
|
/external/llvm/lib/TableGen/ |
TGLexer.cpp | 32 CurPtr = CurBuf.begin(); 48 char CurChar = *CurPtr++; 55 if (CurPtr-1 != CurBuf.end()) 64 CurPtr = ParentIncludeLoc.getPointer(); 69 --CurPtr; // Another call to lex will return EOF again. 77 if ((*CurPtr == '\n' || (*CurPtr == '\r')) && 78 *CurPtr != CurChar) 79 ++CurPtr; // Eat the two char newline sequence. 85 return *(CurPtr + Index) [all...] |
TGLexer.h | 69 const char *CurPtr; 114 return std::make_pair(CurIntVal, (CurPtr - TokStart)-2);
|
/external/clang/include/clang/Lex/ |
Lexer.h | 470 bool CheckUnicodeWhitespace(Token &Result, uint32_t C, const char *CurPtr); 475 bool LexUnicode(Token &Result, uint32_t C, const char *CurPtr); 596 const char *LexUDSuffix(Token &Result, const char *CurPtr, 600 bool LexIdentifier (Token &Result, const char *CurPtr); 601 bool LexNumericConstant (Token &Result, const char *CurPtr); 602 bool LexStringLiteral (Token &Result, const char *CurPtr, 604 bool LexRawStringLiteral (Token &Result, const char *CurPtr, 606 bool LexAngledStringLiteral(Token &Result, const char *CurPtr); 607 bool LexCharConstant (Token &Result, const char *CurPtr, 609 bool LexEndOfFile (Token &Result, const char *CurPtr); [all...] |
PTHLexer.h | 30 /// CurPtr - Pointer into current offset of the token buffer where 32 const unsigned char* CurPtr; 86 tok::TokenKind x = (tok::TokenKind)*CurPtr;
|
/external/llvm/tools/llvm-readobj/ |
StreamWriter.cpp | 18 char *CurPtr = EndPtr; 22 *--CurPtr = (X < 10 ? '0' + X : 'A' + X - 10); 27 return OS.write(CurPtr, EndPtr - CurPtr);
|
/external/llvm/include/llvm/Support/ |
Allocator.h | 145 : CurPtr(nullptr), End(nullptr), BytesAllocated(0), Allocator() {} 148 : CurPtr(nullptr), End(nullptr), BytesAllocated(0), 154 : CurPtr(Old.CurPtr), End(Old.End), Slabs(std::move(Old.Slabs)), 158 Old.CurPtr = Old.End = nullptr; 173 CurPtr = RHS.CurPtr; 180 RHS.CurPtr = RHS.End = nullptr; 195 CurPtr = (char *)Slabs.front(); 196 End = CurPtr + SlabSize [all...] |
/external/llvm/tools/llvm-mcmarkup/ |
llvm-mcmarkup.cpp | 37 StringRef::const_iterator CurPtr; 41 : Start(Source.begin()), CurPtr(Source.begin()), End(Source.end()) {} 43 bool isEOF() { return CurPtr == End; } 45 if (CurPtr == End) return EOF; 46 return *CurPtr++; 49 if (CurPtr == End) return EOF; 50 return *CurPtr; 52 StringRef::const_iterator getPosition() const { return CurPtr; }
|
/external/llvm/lib/Support/ |
raw_ostream.cpp | 115 char *CurPtr = EndPtr; 118 *--CurPtr = '0' + char(N % 10); 121 return write(CurPtr, EndPtr-CurPtr); 141 char *CurPtr = EndPtr; 144 *--CurPtr = '0' + char(N % 10); 147 return write(CurPtr, EndPtr-CurPtr); 167 char *CurPtr = EndPtr; 171 *--CurPtr = (x < 10 ? '0' + x : 'a' + x - 10) [all...] |
/external/llvm/include/llvm/MC/MCParser/ |
AsmLexer.h | 30 const char *CurPtr;
|
/external/clang/lib/CodeGen/ |
CGExprCXX.cpp | 796 llvm::Value *CurPtr = BeginPtr; 815 unsigned AS = CurPtr->getType()->getPointerAddressSpace(); [all...] |
/external/clang/lib/AST/ |
Stmt.cpp | 478 const char *CurPtr = StrStart; 484 for (; CurPtr != StrEnd; ++CurPtr) { 485 switch (*CurPtr) { 490 Result += *CurPtr; 506 if (CurPtr == StrEnd) { 512 char CurChar = *CurPtr++; 526 if (CurPtr == StrEnd) { 528 DiagOffs = CurPtr-StrStart-1; 532 char EscapedChar = *CurPtr++ [all...] |
/external/llvm/lib/Object/ |
COFFObjectFile.cpp | 612 uint64_t CurPtr = 0; 624 CurPtr = DH->AddressOfNewExeHeader; 626 if (memcmp(base() + CurPtr, COFF::PEMagic, sizeof(COFF::PEMagic)) != 0) { 630 CurPtr += sizeof(COFF::PEMagic); // Skip the PE magic bytes. 635 if ((EC = getObject(COFFHeader, Data, base() + CurPtr))) 643 if ((EC = getObject(COFFBigObjHeader, Data, base() + CurPtr))) 651 CurPtr += sizeof(coff_bigobj_file_header); 661 CurPtr += sizeof(coff_file_header); 669 if ((EC = getObject(Header, Data, base() + CurPtr))) 676 DataDirAddr = base() + CurPtr + sizeof(pe32_header) [all...] |
/external/llvm/lib/Analysis/ |
ConstantFolding.cpp | 276 /// out of. ByteOffset is an offset into C. CurPtr is the pointer to copy 278 /// the CurPtr buffer. DL is the DataLayout. 280 unsigned char *CurPtr, unsigned BytesLeft, 285 // If this element is zero or undefined, we can just return since *CurPtr is 302 CurPtr[i] = (unsigned char)(Val >> (n * 8)); 311 return ReadDataFromGlobal(C, ByteOffset, CurPtr, BytesLeft, DL); 315 return ReadDataFromGlobal(C, ByteOffset, CurPtr, BytesLeft, DL); 319 return ReadDataFromGlobal(C, ByteOffset, CurPtr, BytesLeft, DL); 336 !ReadDataFromGlobal(CS->getOperand(Index), ByteOffset, CurPtr, 353 CurPtr += NextEltOffset - CurEltOffset - ByteOffset [all...] |