HomeSort by relevance Sort by last modified time
    Searched refs:CurPtr (Results 1 - 19 of 19) sorted by null

  /external/llvm/lib/MC/MCParser/
AsmLexer.cpp 26 CurPtr = NULL;
37 CurPtr = ptr;
39 CurPtr = CurBuf->getBufferStart();
53 char CurChar = *CurPtr++;
60 if (CurPtr-1 != CurBuf->getBufferEnd())
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 573 const char *CurPtr = Buffer->getBufferStart();
575 while (CurPtr != Buffer->getBufferEnd()) {
576 char ch = *CurPtr++;
583 if (CurPtr != Buffer->getBufferEnd())
584 MaxLineOffset = CurPtr - Buffer->getBufferStart();
    [all...]
PTHLexer.cpp 40 : PreprocessorLexer(&PP, FID), TokBuf(D), CurPtr(D), LastHashTokPtr(0),
53 // Shadow CurPtr into an automatic variable.
54 const unsigned char *CurPtrShadow = CurPtr;
65 CurPtr = CurPtrShadow;
117 LastHashTokPtr = CurPtr - DISK_TOKEN_SIZE;
177 const unsigned char* p = CurPtr;
191 CurPtr = p;
257 // If we are skipping the first #if block it will be the case that CurPtr
260 if (CurPtr > HashEntryI) {
261 assert(CurPtr == HashEntryI + DISK_TOKEN_SIZE)
    [all...]
  /external/llvm/lib/TableGen/
TGLexer.cpp 32 CurPtr = CurBuf->getBufferStart();
48 char CurChar = *CurPtr++;
55 if (CurPtr-1 != CurBuf->getBufferEnd())
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/llvm/lib/AsmParser/
LLLexer.cpp 146 static const char *isLabelTail(const char *CurPtr) {
148 if (CurPtr[0] == ':') return CurPtr+1;
149 if (!isLabelChar(CurPtr[0])) return 0;
150 ++CurPtr;
163 CurPtr = CurBuf->getBufferStart();
171 char CurChar = *CurPtr++;
177 if (CurPtr-1 != CurBuf->getBufferEnd())
181 --CurPtr; // Another call to lex will return EOF again.
188 TokStart = CurPtr;
    [all...]
LLLexer.h 30 const char *CurPtr;
  /external/clang/include/clang/Lex/
Lexer.h 454 void LexUnicode(Token &Result, uint32_t C, const char *CurPtr);
572 const char *LexUDSuffix(Token &Result, const char *CurPtr,
576 void LexIdentifier (Token &Result, const char *CurPtr);
577 void LexNumericConstant (Token &Result, const char *CurPtr);
578 void LexStringLiteral (Token &Result, const char *CurPtr,
580 void LexRawStringLiteral (Token &Result, const char *CurPtr,
582 void LexAngledStringLiteral(Token &Result, const char *CurPtr);
583 void LexCharConstant (Token &Result, const char *CurPtr,
585 bool LexEndOfFile (Token &Result, const char *CurPtr);
587 bool SkipWhitespace (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/tools/llvm-mcmarkup/
llvm-mcmarkup.cpp 38 StringRef::const_iterator CurPtr;
42 : Start(Source.begin()), CurPtr(Source.begin()), End(Source.end()) {}
44 bool isEOF() { return CurPtr == End; }
46 if (CurPtr == End) return EOF;
47 return *CurPtr++;
50 if (CurPtr == End) return EOF;
51 return *CurPtr;
53 StringRef::const_iterator getPosition() const { return 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/lib/Support/
Allocator.cpp 46 /// the new slab. Modifies CurPtr and End.
57 CurPtr = (char*)(CurSlab + 1);
84 CurPtr = (char*)(CurSlab + 1);
101 // Allocate the aligned space, going forwards from CurPtr.
102 char *Ptr = AlignPtr(CurPtr, Alignment);
106 CurPtr = Ptr + Size;
132 Ptr = AlignPtr(CurPtr, Alignment);
133 CurPtr = Ptr + Size;
134 assert(CurPtr <= End && "Unable to allocate memory!");
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...]
MicrosoftMangle.cpp 385 char *CurPtr = EndPtr;
389 *--CurPtr = 'A' + Temp.And(NibbleMask).getLimitedValue(0xf);
392 Out.write(CurPtr, EndPtr-CurPtr);
    [all...]
  /external/llvm/include/llvm/Support/
Allocator.h 111 /// CurPtr - The current pointer into the current slab. This points to the
113 char *CurPtr;
129 /// the new slab. Modifies CurPtr and End.
206 char *End = Slab == Allocator.CurSlab ? Allocator.CurPtr :
  /external/llvm/lib/Object/
COFFObjectFile.cpp 447 uint64_t CurPtr = 0;
458 CurPtr = *reinterpret_cast<const ulittle16_t *>(base() + 0x3c);
460 if (std::memcmp(base() + CurPtr, "PE\0\0", 4) != 0) {
464 CurPtr += 4; // Skip the PE magic bytes.
468 if ((ec = getObject(COFFHeader, Data, base() + CurPtr)))
470 CurPtr += sizeof(coff_file_header);
473 if ((ec = getObject(PE32Header, Data, base() + CurPtr)))
481 const uint8_t *addr = base() + CurPtr + sizeof(pe32_header);
486 CurPtr += COFFHeader->SizeOfOptionalHeader;
489 if ((ec = getObject(SectionTable, Data, base() + CurPtr,
    [all...]
  /external/llvm/lib/Analysis/
ConstantFolding.cpp 254 /// constant being copied out of. ByteOffset is an offset into C. CurPtr is the
256 /// the CurPtr buffer. TD is the target data.
258 unsigned char *CurPtr, unsigned BytesLeft,
263 // If this element is zero or undefined, we can just return since *CurPtr is
280 CurPtr[i] = (unsigned char)(Val >> (n * 8));
289 return ReadDataFromGlobal(C, ByteOffset, CurPtr, BytesLeft, TD);
293 return ReadDataFromGlobal(C, ByteOffset, CurPtr, BytesLeft, TD);
297 return ReadDataFromGlobal(C, ByteOffset, CurPtr, BytesLeft, TD);
314 !ReadDataFromGlobal(CS->getOperand(Index), ByteOffset, CurPtr,
331 CurPtr += NextEltOffset-CurEltOffset-ByteOffset
    [all...]

Completed in 492 milliseconds