Searched refs:CurPtr (Results 1 - 17 of 17) sorted by relevance

/freebsd-9.3-release/contrib/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
205 SkipIgnoredIntegerSuffix(const char *&CurPtr) argument
217 doLookAhead(const char *&CurPtr, unsigned DefaultRadix) argument
[all...]
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/Lex/
H A DLexer.cpp579 const char *CurPtr = Buffer->getBufferStart(); local
581 while (CurPtr != Buffer->getBufferEnd()) {
582 char ch = *CurPtr++;
589 if (CurPtr != Buffer->getBufferEnd())
590 MaxLineOffset = CurPtr - Buffer->getBufferStart();
1450 bool Lexer::LexIdentifier(Token &Result, const char *CurPtr) { argument
1453 unsigned char C = *CurPtr++;
1455 C = *CurPtr++;
1457 --CurPtr; // Back up over the skipped character.
1468 FormTokenWithChars(Result, CurPtr, to
1575 LexNumericConstant(Token &Result, const char *CurPtr) argument
1630 LexUDSuffix(Token &Result, const char *CurPtr, bool IsStringLiteral) argument
1703 LexStringLiteral(Token &Result, const char *CurPtr, tok::TokenKind Kind) argument
1760 LexRawStringLiteral(Token &Result, const char *CurPtr, tok::TokenKind Kind) argument
1840 LexAngledStringLiteral(Token &Result, const char *CurPtr) argument
1876 LexCharConstant(Token &Result, const char *CurPtr, tok::TokenKind Kind) argument
1940 SkipWhitespace(Token &Result, const char *CurPtr, bool &TokAtPhysicalStartOfLine) argument
1999 SkipLineComment(Token &Result, const char *CurPtr, bool &TokAtPhysicalStartOfLine) argument
2128 SaveLineComment(Token &Result, const char *CurPtr) argument
2156 isEndOfBlockCommentWithEscapedNewLine(const char *CurPtr, Lexer *L) argument
2230 SkipBlockComment(Token &Result, const char *CurPtr, bool &TokAtPhysicalStartOfLine) argument
2404 const char *CurPtr = BufferPtr; local
2452 LexEndOfFile(Token &Result, const char *CurPtr) argument
2555 FindConflictEnd(const char *CurPtr, const char *BufferEnd, ConflictMarkerKind CMK) argument
2578 IsStartOfConflictMarker(const char *CurPtr) argument
2623 HandleEndOfConflictMarker(const char *CurPtr) argument
2688 const char *CurPtr = StartPtr + CharSize; local
2781 CheckUnicodeWhitespace(Token &Result, uint32_t C, const char *CurPtr) argument
2796 LexUnicode(Token &Result, uint32_t C, const char *CurPtr) argument
2884 const char *CurPtr = BufferPtr; local
[all...]
H A DPTHLexer.cpp40 : PreprocessorLexer(&PP, FID), TokBuf(D), CurPtr(D), LastHashTokPtr(0),
51 // Shadow CurPtr into an automatic variable.
52 const unsigned char *CurPtrShadow = CurPtr;
63 CurPtr = CurPtrShadow;
110 LastHashTokPtr = CurPtr - DISK_TOKEN_SIZE;
168 const unsigned char* p = CurPtr;
182 CurPtr = p;
248 // If we are skipping the first #if block it will be the case that CurPtr
251 if (CurPtr > HashEntryI) {
252 assert(CurPtr
[all...]
/freebsd-9.3-release/contrib/llvm/lib/TableGen/
H A DTGLexer.cpp32 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
[all...]
H A DTGLexer.h65 const char *CurPtr; member in class:llvm::TGLexer
/freebsd-9.3-release/contrib/llvm/lib/AsmParser/
H A DLLLexer.cpp146 static const char *isLabelTail(const char *CurPtr) { argument
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...]
H A DLLLexer.h30 const char *CurPtr; member in class:llvm::LLLexer
/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/Lex/
H A DLexer.h448 bool CheckUnicodeWhitespace(Token &Result, uint32_t C, const char *CurPtr);
453 bool LexUnicode(Token &Result, uint32_t C, const char *CurPtr);
573 const char *LexUDSuffix(Token &Result, const char *CurPtr,
577 bool LexIdentifier (Token &Result, const char *CurPtr);
578 bool LexNumericConstant (Token &Result, const char *CurPtr);
579 bool LexStringLiteral (Token &Result, const char *CurPtr,
581 bool LexRawStringLiteral (Token &Result, const char *CurPtr,
583 bool LexAngledStringLiteral(Token &Result, const char *CurPtr);
584 bool LexCharConstant (Token &Result, const char *CurPtr,
586 bool LexEndOfFile (Token &Result, const char *CurPtr);
[all...]
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;
/freebsd-9.3-release/contrib/llvm/tools/llvm-readobj/
H A DStreamWriter.cpp18 char *CurPtr = EndPtr; local
22 *--CurPtr = (X < 10 ? '0' + X : 'A' + X - 10);
27 return OS.write(CurPtr, EndPtr - CurPtr);
/freebsd-9.3-release/contrib/llvm/lib/Support/
H A DAllocator.cpp50 /// the new slab. Modifies CurPtr and End.
61 CurPtr = (char*)(CurSlab + 1);
88 CurPtr = (char*)(CurSlab + 1);
105 // Allocate the aligned space, going forwards from CurPtr.
106 char *Ptr = AlignPtr(CurPtr, Alignment);
110 CurPtr = Ptr + Size;
136 Ptr = AlignPtr(CurPtr, Alignment);
137 CurPtr = Ptr + Size;
138 assert(CurPtr <= End && "Unable to allocate memory!");
H A Draw_ostream.cpp114 char *CurPtr = EndPtr; local
117 *--CurPtr = '0' + char(N % 10);
120 return write(CurPtr, EndPtr-CurPtr);
140 char *CurPtr = EndPtr; local
143 *--CurPtr = '0' + char(N % 10);
146 return write(CurPtr, EndPtr-CurPtr);
166 char *CurPtr = EndPtr; local
170 *--CurPtr
[all...]
/freebsd-9.3-release/contrib/llvm/include/llvm/MC/MCParser/
H A DAsmLexer.h30 const char *CurPtr; member in class:llvm::AsmLexer
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/AST/
H A DStmt.cpp448 const char *CurPtr = StrStart; local
454 for (; CurPtr != StrEnd; ++CurPtr) {
455 switch (*CurPtr) {
460 Result += *CurPtr;
476 if (CurPtr == StrEnd) {
482 char CurChar = *CurPtr++;
496 if (CurPtr == StrEnd) {
498 DiagOffs = CurPtr-StrStart-1;
502 char EscapedChar = *CurPtr
[all...]
/freebsd-9.3-release/contrib/llvm/include/llvm/Support/
H A DAllocator.h114 /// CurPtr - The current pointer into the current slab. This points to the
116 char *CurPtr; member in class:llvm::BumpPtrAllocator
132 /// the new slab. Modifies CurPtr and End.
209 char *End = Slab == Allocator.CurSlab ? Allocator.CurPtr :
/freebsd-9.3-release/contrib/llvm/lib/Object/
H A DCOFFObjectFile.cpp468 uint64_t CurPtr = 0;
479 CurPtr = *reinterpret_cast<const ulittle16_t *>(base() + 0x3c);
481 if (std::memcmp(base() + CurPtr, "PE\0\0", 4) != 0) {
485 CurPtr += 4; // Skip the PE magic bytes.
489 if ((ec = getObject(COFFHeader, Data, base() + CurPtr)))
491 CurPtr += sizeof(coff_file_header);
494 if ((ec = getObject(PE32Header, Data, base() + CurPtr)))
502 const uint8_t *addr = base() + CurPtr + sizeof(pe32_header);
507 CurPtr += COFFHeader->SizeOfOptionalHeader;
511 if ((ec = getObject(SectionTable, Data, base() + CurPtr,
[all...]
/freebsd-9.3-release/contrib/llvm/lib/Analysis/
H A DConstantFolding.cpp262 /// constant being copied out of. ByteOffset is an offset into C. CurPtr is the
264 /// the CurPtr buffer. TD is the target data.
266 unsigned char *CurPtr, unsigned BytesLeft,
271 // If this element is zero or undefined, we can just return since *CurPtr is
288 CurPtr[i] = (unsigned char)(Val >> (n * 8));
297 return ReadDataFromGlobal(C, ByteOffset, CurPtr, BytesLeft, TD);
301 return ReadDataFromGlobal(C, ByteOffset, CurPtr, BytesLeft, TD);
305 return ReadDataFromGlobal(C, ByteOffset, CurPtr, BytesLeft, TD);
322 !ReadDataFromGlobal(CS->getOperand(Index), ByteOffset, CurPtr,
339 CurPtr
265 ReadDataFromGlobal(Constant *C, uint64_t ByteOffset, unsigned char *CurPtr, unsigned BytesLeft, const DataLayout &TD) argument
[all...]

Completed in 156 milliseconds