/external/clang/lib/AST/ |
D | CommentLexer.cpp | 95 if (BufferPtr == CommentEnd) in skipLineStartingDecorations() 98 switch (*BufferPtr) { in skipLineStartingDecorations() 103 const char *NewBufferPtr = BufferPtr; in skipLineStartingDecorations() 116 BufferPtr = NewBufferPtr + 1; in skipLineStartingDecorations() 120 BufferPtr++; in skipLineStartingDecorations() 127 const char *findNewline(const char *BufferPtr, const char *BufferEnd) { in findNewline() argument 128 for ( ; BufferPtr != BufferEnd; ++BufferPtr) { in findNewline() 129 if (isVerticalWhitespace(*BufferPtr)) in findNewline() 130 return BufferPtr; in findNewline() 135 const char *skipNewline(const char *BufferPtr, const char *BufferEnd) { in skipNewline() argument [all …]
|
D | CommentParser.cpp | 46 const char *BufferPtr; member 64 Pos.BufferPtr = Pos.BufferStart; in setupBuffer() 69 const unsigned CharNo = Pos.BufferPtr - Pos.BufferStart; in getSourceLocation() 75 assert(Pos.BufferPtr != Pos.BufferEnd); in peek() 76 return *Pos.BufferPtr; in peek() 81 assert(Pos.BufferPtr != Pos.BufferEnd); in consumeChar() 82 Pos.BufferPtr++; in consumeChar() 83 if (Pos.BufferPtr == Pos.BufferEnd) { in consumeChar() 162 const char *WordBegin = Pos.BufferPtr; in lexWord() 195 const char *WordBegin = Pos.BufferPtr; in lexDelimitedSeq() [all …]
|
/external/clang/lib/Lex/ |
D | Lexer.cpp | 58 BufferPtr = BufPtr; in InitLexer() 68 if (BufferStart == BufferPtr) { in InitLexer() 76 BufferPtr += BOMLength; in InitLexer() 180 L->BufferPtr = StrData; in Create_PragmaLexer() 1373 BufferPtr += Bytes; in SkipBytes() 1374 if (BufferPtr > BufferEnd) in SkipBytes() 1375 BufferPtr = BufferEnd; in SkipBytes() 1519 const char *IdStart = BufferPtr; in LexIdentifier() 1604 if (!LangOpts.MicrosoftExt || !isHexaLiteral(BufferPtr, LangOpts)) in LexNumericConstant() 1615 if (!isHexaLiteral(BufferPtr, LangOpts)) in LexNumericConstant() [all …]
|
D | PPLexerChange.cpp | 410 CurLexer->BufferPtr = EndPos; in HandleEndOfFile() 441 CurLexer->BufferPtr = EndPos; in HandleEndOfFile()
|
/external/clang/include/clang/Lex/ |
D | Lexer.h | 77 const char *BufferPtr; variable 159 return BufferPtr == BufferEnd; in LexFromRawLexer() 222 return getSourceLocation(BufferPtr); in getSourceLocation() 226 const char *getBufferLocation() const { return BufferPtr; } in getBufferLocation() 504 unsigned TokLen = TokEnd-BufferPtr; in FormTokenWithChars() 506 Result.setLocation(getSourceLocation(BufferPtr, TokLen)); in FormTokenWithChars() 508 BufferPtr = TokEnd; in FormTokenWithChars() 642 void cutOffLexing() { BufferPtr = BufferEnd; } in cutOffLexing()
|
/external/clang/lib/CodeGen/ |
D | CGCUDABuiltin.cpp | 94 llvm::Value *BufferPtr; in EmitCUDADevicePrintfCallExpr() local 97 BufferPtr = llvm::ConstantPointerNull::get(llvm::Type::getInt8PtrTy(Ctx)); in EmitCUDADevicePrintfCallExpr() 110 BufferPtr = Builder.CreatePointerCast(Alloca, llvm::Type::getInt8PtrTy(Ctx)); in EmitCUDADevicePrintfCallExpr() 116 Builder.CreateCall(VprintfFunc, {Args[0].RV.getScalarVal(), BufferPtr})); in EmitCUDADevicePrintfCallExpr()
|
/external/swiftshader/third_party/LLVM/tools/llvm-dis/ |
D | llvm-dis.cpp | 130 OwningPtr<MemoryBuffer> BufferPtr; in main() local 131 if (error_code ec = MemoryBuffer::getFileOrSTDIN(InputFilename, BufferPtr)) in main() 134 M.reset(ParseBitcodeFile(BufferPtr.get(), Context, &ErrorMessage)); in main()
|
/external/swiftshader/third_party/LLVM/tools/llvm-mc/ |
D | llvm-mc.cpp | 234 OwningPtr<MemoryBuffer> BufferPtr; in AsLexInput() local 235 if (error_code ec = MemoryBuffer::getFileOrSTDIN(InputFilename, BufferPtr)) { in AsLexInput() 239 MemoryBuffer *Buffer = BufferPtr.take(); in AsLexInput() 347 OwningPtr<MemoryBuffer> BufferPtr; in AssembleInput() local 348 if (error_code ec = MemoryBuffer::getFileOrSTDIN(InputFilename, BufferPtr)) { in AssembleInput() 352 MemoryBuffer *Buffer = BufferPtr.take(); in AssembleInput()
|
/external/llvm/tools/llvm-mcmarkup/ |
D | llvm-mcmarkup.cpp | 138 ErrorOr<std::unique_ptr<MemoryBuffer>> BufferPtr = in parseMCMarkup() local 140 if (std::error_code EC = BufferPtr.getError()) { in parseMCMarkup() 144 std::unique_ptr<MemoryBuffer> &Buffer = BufferPtr.get(); in parseMCMarkup()
|
/external/clang/include/clang/AST/ |
D | CommentLexer.h | 239 const char *BufferPtr; variable 299 StringRef Text(BufferPtr, TokEnd - BufferPtr); in formTextToken()
|
/external/syslinux/efi32/include/efi/ |
D | efipxebc.h | 299 IN OUT VOID *BufferPtr OPTIONAL, 322 IN VOID *BufferPtr 337 IN VOID *BufferPtr
|
/external/syslinux/efi64/include/efi/ |
D | efipxebc.h | 299 IN OUT VOID *BufferPtr OPTIONAL, 322 IN VOID *BufferPtr 337 IN VOID *BufferPtr
|
/external/syslinux/gnu-efi/gnu-efi-3.0/inc/ |
D | efipxebc.h | 299 IN OUT VOID *BufferPtr OPTIONAL, 322 IN VOID *BufferPtr 337 IN VOID *BufferPtr
|
/external/llvm/tools/llvm-mc/ |
D | llvm-mc.cpp | 404 ErrorOr<std::unique_ptr<MemoryBuffer>> BufferPtr = in main() local 406 if (std::error_code EC = BufferPtr.getError()) { in main() 410 MemoryBuffer *Buffer = BufferPtr->get(); in main() 415 SrcMgr.AddNewSourceBuffer(std::move(*BufferPtr), SMLoc()); in main()
|
/external/deqp/external/vulkancts/modules/vulkan/memory/ |
D | vktMemoryBindingTests.cpp | 53 typedef de::SharedPtr<Move<VkBuffer> > BufferPtr; typedef 54 typedef std::vector<BufferPtr> BuffersList; 448 targets.push_back(BufferPtr(new Move<VkBuffer>(createBuffer(vk, vkDevice, &bufferParams)))); in createBindingTargets()
|
/external/clang/docs/ |
D | InternalsManual.rst | 751 * The ``Lexer`` uses ``BufferPtr`` to keep track of the current character being
|