Searched defs:CurPtr (Results 1 - 13 of 13) sorted by relevance

/external/llvm/include/llvm/MC/MCParser/
H A DAsmLexer.h30 const char *CurPtr; member in class:llvm::AsmLexer
/external/clang/include/clang/Lex/
H A DPTHLexer.h30 /// CurPtr - Pointer into current offset of the token buffer where
32 const unsigned char* CurPtr; member in class:clang::PTHLexer
87 tok::TokenKind x = (tok::TokenKind)*CurPtr;
/external/llvm/lib/AsmParser/
H A DLLLexer.h30 const char *CurPtr; member in class:llvm::LLLexer
H A DLLLexer.cpp152 static const char *isLabelTail(const char *CurPtr) { argument
154 if (CurPtr[0] == ':') return CurPtr+1;
155 if (!isLabelChar(CurPtr[0])) return 0;
156 ++CurPtr;
169 CurPtr = CurBuf->getBufferStart();
177 char CurChar = *CurPtr++;
183 if (CurPtr-1 != CurBuf->getBufferEnd())
187 --CurPtr; // Another call to lex will return EOF again.
194 TokStart = CurPtr;
[all...]
/external/llvm/lib/MC/MCParser/
H A DAsmLexer.cpp26 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
158 SkipIgnoredIntegerSuffix(const char *&CurPtr) argument
[all...]
/external/clang/lib/AST/
H A DCommentLexer.cpp246 const char *CurPtr = BufferPtr; local
247 while (CurPtr != BufferEnd) {
248 char C = *CurPtr;
250 CurPtr++;
251 if (CurPtr == BufferEnd)
253 C = *CurPtr;
256 const char *EscapePtr = CurPtr - 1;
264 CurPtr = skipNewline(CurPtr, BufferEnd);
266 return CurPtr; // No
[all...]
H A DMicrosoftMangle.cpp324 char *CurPtr = EndPtr; local
326 *--CurPtr = 'A' + (Number % 16);
329 Out.write(CurPtr, EndPtr-CurPtr);
349 char *CurPtr = EndPtr; local
353 *--CurPtr = 'A' + Temp.And(NibbleMask).getLimitedValue(0xf);
356 Out.write(CurPtr, EndPtr-CurPtr);
H A DStmt.cpp469 const char *CurPtr = StrStart; local
475 for (; CurPtr != StrEnd; ++CurPtr) {
476 switch (*CurPtr) {
481 Result += *CurPtr;
497 if (CurPtr == StrEnd) {
503 char CurChar = *CurPtr++;
517 if (CurPtr == StrEnd) {
519 DiagOffs = CurPtr-StrStart-1;
523 char EscapedChar = *CurPtr
[all...]
/external/llvm/include/llvm/Support/
H A DAllocator.h111 /// CurPtr - The current pointer into the current slab. This points to the
113 char *CurPtr; member in class:llvm::BumpPtrAllocator
129 /// the new slab. Modifies CurPtr and End.
206 char *End = Slab == Allocator.CurSlab ? Allocator.CurPtr :
/external/llvm/lib/TableGen/
H A DTGLexer.h64 const char *CurPtr; member in class:llvm::TGLexer
/external/llvm/lib/Support/
H A Draw_ostream.cpp113 char *CurPtr = EndPtr; local
116 *--CurPtr = '0' + char(N % 10);
119 return write(CurPtr, EndPtr-CurPtr);
139 char *CurPtr = EndPtr; local
142 *--CurPtr = '0' + char(N % 10);
145 return write(CurPtr, EndPtr-CurPtr);
165 char *CurPtr = EndPtr; local
169 *--CurPtr
[all...]
/external/llvm/lib/Analysis/
H A DConstantFolding.cpp272 /// constant being copied out of. ByteOffset is an offset into C. CurPtr is the
274 /// the CurPtr buffer. TD is the target data.
276 unsigned char *CurPtr, unsigned BytesLeft,
281 // If this element is zero or undefined, we can just return since *CurPtr is
295 CurPtr[i] = (unsigned char)(Val >> (ByteOffset * 8));
304 return ReadDataFromGlobal(C, ByteOffset, CurPtr, BytesLeft, TD);
308 return ReadDataFromGlobal(C, ByteOffset, CurPtr, BytesLeft, TD);
325 !ReadDataFromGlobal(CS->getOperand(Index), ByteOffset, CurPtr,
342 CurPtr += NextEltOffset-CurEltOffset-ByteOffset;
363 if (!ReadDataFromGlobal(C->getAggregateElement(Index), Offset, CurPtr,
275 ReadDataFromGlobal(Constant *C, uint64_t ByteOffset, unsigned char *CurPtr, unsigned BytesLeft, const TargetData &TD) argument
[all...]
/external/clang/lib/Lex/
H A DLexer.cpp527 const char *CurPtr = Buffer->getBufferStart(); local
529 while (CurPtr != Buffer->getBufferEnd()) {
530 char ch = *CurPtr++;
537 if (CurPtr != Buffer->getBufferEnd())
538 MaxLineOffset = CurPtr - Buffer->getBufferStart();
1467 void Lexer::LexIdentifier(Token &Result, const char *CurPtr) { argument
1470 unsigned char C = *CurPtr++;
1472 C = *CurPtr++;
1474 --CurPtr; // Back up over the skipped character.
1485 FormTokenWithChars(Result, CurPtr, to
1549 LexNumericConstant(Token &Result, const char *CurPtr) argument
1591 LexUDSuffix(Token &Result, const char *CurPtr) argument
1631 LexStringLiteral(Token &Result, const char *CurPtr, tok::TokenKind Kind) argument
1684 LexRawStringLiteral(Token &Result, const char *CurPtr, tok::TokenKind Kind) argument
1763 LexAngledStringLiteral(Token &Result, const char *CurPtr) argument
1798 LexCharConstant(Token &Result, const char *CurPtr, tok::TokenKind Kind) argument
1857 SkipWhitespace(Token &Result, const char *CurPtr) argument
1904 SkipBCPLComment(Token &Result, const char *CurPtr) argument
2031 SaveBCPLComment(Token &Result, const char *CurPtr) argument
2059 isEndOfBlockCommentWithEscapedNewLine(const char *CurPtr, Lexer *L) argument
2133 SkipBlockComment(Token &Result, const char *CurPtr) argument
2307 const char *CurPtr = BufferPtr; local
2355 LexEndOfFile(Token &Result, const char *CurPtr) argument
2435 FindConflictEnd(const char *CurPtr, const char *BufferEnd, ConflictMarkerKind CMK) argument
2458 IsStartOfConflictMarker(const char *CurPtr) argument
2503 HandleEndOfConflictMarker(const char *CurPtr) argument
2562 const char *CurPtr = BufferPtr; local
[all...]

Completed in 171 milliseconds