/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 | 566 const char *CurPtr = Buffer->getBufferStart(); 568 while (CurPtr != Buffer->getBufferEnd()) { 569 char ch = *CurPtr++; 576 if (CurPtr != Buffer->getBufferEnd()) 577 MaxLineOffset = CurPtr - Buffer->getBufferStart(); [all...] |
PTHLexer.cpp | 40 : PreprocessorLexer(&PP, FID), TokBuf(D), CurPtr(D), LastHashTokPtr(nullptr), 52 // Shadow CurPtr into an automatic variable. 53 const unsigned char *CurPtrShadow = CurPtr; 66 CurPtr = CurPtrShadow; 113 LastHashTokPtr = CurPtr - StoredTokenSize; 171 const unsigned char* p = CurPtr; 185 CurPtr = p; 254 // If we are skipping the first #if block it will be the case that CurPtr 257 if (CurPtr > HashEntryI) { 258 assert(CurPtr == HashEntryI + StoredTokenSize) [all...] |
/external/llvm/lib/AsmParser/ |
LLLexer.cpp | 150 static const char *isLabelTail(const char *CurPtr) { 152 if (CurPtr[0] == ':') return CurPtr+1; 153 if (!isLabelChar(CurPtr[0])) return nullptr; 154 ++CurPtr; 167 CurPtr = CurBuf->getBufferStart(); 175 char CurChar = *CurPtr++; 181 if (CurPtr-1 != CurBuf->getBufferEnd()) 185 --CurPtr; // Another call to lex will return EOF again. 192 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 | 65 const char *CurPtr;
|
/external/clang/include/clang/Lex/ |
Lexer.h | 450 bool CheckUnicodeWhitespace(Token &Result, uint32_t C, const char *CurPtr); 455 bool LexUnicode(Token &Result, uint32_t C, const char *CurPtr); 576 const char *LexUDSuffix(Token &Result, const char *CurPtr, 580 bool LexIdentifier (Token &Result, const char *CurPtr); 581 bool LexNumericConstant (Token &Result, const char *CurPtr); 582 bool LexStringLiteral (Token &Result, const char *CurPtr, 584 bool LexRawStringLiteral (Token &Result, const char *CurPtr, 586 bool LexAngledStringLiteral(Token &Result, const char *CurPtr); 587 bool LexCharConstant (Token &Result, const char *CurPtr, 589 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; 87 tok::TokenKind x = (tok::TokenKind)*CurPtr;
|
/external/llvm/include/llvm/Support/ |
Allocator.h | 142 : CurPtr(nullptr), End(nullptr), BytesAllocated(0), Allocator() {} 145 : CurPtr(nullptr), End(nullptr), BytesAllocated(0), 151 : CurPtr(Old.CurPtr), End(Old.End), Slabs(std::move(Old.Slabs)), 155 Old.CurPtr = Old.End = nullptr; 170 CurPtr = RHS.CurPtr; 177 RHS.CurPtr = RHS.End = nullptr; 192 CurPtr = (char *)Slabs.front(); 193 End = CurPtr + SlabSize [all...] |
/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/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 | 114 char *CurPtr = EndPtr; 117 *--CurPtr = '0' + char(N % 10); 120 return write(CurPtr, EndPtr-CurPtr); 140 char *CurPtr = EndPtr; 143 *--CurPtr = '0' + char(N % 10); 146 return write(CurPtr, EndPtr-CurPtr); 166 char *CurPtr = EndPtr; 170 *--CurPtr = (x < 10 ? '0' + x : 'a' + x - 10) [all...] |
/external/llvm/include/llvm/MC/MCParser/ |
AsmLexer.h | 30 const char *CurPtr;
|
/external/clang/lib/AST/ |
Stmt.cpp | 447 const char *CurPtr = StrStart; 453 for (; CurPtr != StrEnd; ++CurPtr) { 454 switch (*CurPtr) { 459 Result += *CurPtr; 475 if (CurPtr == StrEnd) { 481 char CurChar = *CurPtr++; 495 if (CurPtr == StrEnd) { 497 DiagOffs = CurPtr-StrStart-1; 501 char EscapedChar = *CurPtr++ [all...] |
/external/clang/lib/CodeGen/ |
CGExprCXX.cpp | 762 llvm::Value *CurPtr = BeginPtr; 781 unsigned AS = CurPtr->getType()->getPointerAddressSpace(); 783 CurPtr = Builder.CreateBitCast(CurPtr, AllocPtrTy); 805 Builder.CreateStore(Builder.CreateBitCast(CurPtr, BeginPtr->getType()), [all...] |
/external/llvm/lib/Object/ |
COFFObjectFile.cpp | 526 uint64_t CurPtr = 0; 538 CurPtr = *reinterpret_cast<const ulittle16_t *>(base() + 0x3c); 540 if (std::memcmp(base() + CurPtr, "PE\0\0", 4) != 0) { 544 CurPtr += 4; // Skip the PE magic bytes. 548 if ((EC = getObject(COFFHeader, *Data, base() + CurPtr))) 550 CurPtr += sizeof(coff_file_header); 554 if ((EC = getObject(Header, *Data, base() + CurPtr))) 561 DataDirAddr = base() + CurPtr + sizeof(pe32_header); 565 DataDirAddr = base() + CurPtr + sizeof(pe32plus_header); 574 CurPtr += COFFHeader->SizeOfOptionalHeader [all...] |
/external/llvm/lib/Analysis/ |
ConstantFolding.cpp | 267 /// constant being copied out of. ByteOffset is an offset into C. CurPtr is the 269 /// the CurPtr buffer. TD is the target data. 271 unsigned char *CurPtr, unsigned BytesLeft, 276 // If this element is zero or undefined, we can just return since *CurPtr is 293 CurPtr[i] = (unsigned char)(Val >> (n * 8)); 302 return ReadDataFromGlobal(C, ByteOffset, CurPtr, BytesLeft, TD); 306 return ReadDataFromGlobal(C, ByteOffset, CurPtr, BytesLeft, TD); 310 return ReadDataFromGlobal(C, ByteOffset, CurPtr, BytesLeft, TD); 327 !ReadDataFromGlobal(CS->getOperand(Index), ByteOffset, CurPtr, 344 CurPtr += NextEltOffset - CurEltOffset - ByteOffset [all...] |