/external/llvm/unittests/Support/ |
D | MemoryBufferTest.cpp | 57 EXPECT_EQ(MB1->getBufferStart(), MB2->getBufferStart()); in TEST_F() 58 EXPECT_EQ(MB2->getBufferStart(), MB3->getBufferStart()); in TEST_F() 84 const char *BufData = MB.get()->getBufferStart(); in TEST_F() 99 EXPECT_NE(MBC1->getBufferStart(), MBC2->getBufferStart()); in TEST_F() 119 EXPECT_EQ(0, Three->getBufferStart()[0]); in TEST_F() 125 EXPECT_EQ(0, Four->getBufferStart()[0]); in TEST_F() 176 EXPECT_EQ(MB->getBufferStart(), MBR.getBufferStart()); in TEST_F()
|
D | FileOutputBufferTest.cpp | 47 memcpy(Buffer->getBufferStart(), "AABBCCDDEEFFGGHHIIJJ", 20); in TEST() 69 memcpy(Buffer2->getBufferStart(), "AABBCCDDEEFFGGHHIIJJ", 20); in TEST() 86 memcpy(Buffer->getBufferStart(), "AABBCCDDEEFFGGHHIIJJ", 20); in TEST() 107 memcpy(Buffer->getBufferStart(), "AABBCCDDEEFFGGHHIIJJ", 20); in TEST()
|
/external/llvm/lib/Support/ |
D | LineIterator.cpp | 39 CurrentLine(Buffer.getBufferSize() ? Buffer.getBufferStart() : nullptr, in line_iterator() 46 if (SkipBlanks || !isAtLineEnd(Buffer.getBufferStart())) in line_iterator() 55 assert(Pos == Buffer->getBufferStart() || isAtLineEnd(Pos) || *Pos == '\0'); in advance()
|
D | FileUtilities.cpp | 196 const char *File1Start = F1.getBufferStart(); in DiffFilesWithTolerance() 197 const char *File2Start = F2.getBufferStart(); in DiffFilesWithTolerance()
|
D | MemoryBuffer.cpp | 128 memcpy(const_cast<char*>(Buf->getBufferStart()), InputData.data(), in getMemBufferCopy() 164 memset(const_cast<char*>(SB->getBufferStart()), 0, Size); in getNewMemBuffer() 385 char *BufPtr = const_cast<char *>(Buf->getBufferStart()); in getOpenFileImpl()
|
D | SourceMgr.cpp | 68 if (Loc.getPointer() >= Buffers[i].Buffer->getBufferStart() && in FindBufferContainingLoc() 88 const char *BufStart = Buff->getBufferStart(); in getLineAndColumn() 156 const char *BufStart = CurMB->getBufferStart(); in GetMessage()
|
/external/swiftshader/third_party/LLVM/utils/FileUpdate/ |
D | FileUpdate.cpp | 60 memcmp(In->getBufferStart(), Out->getBufferStart(), in main() 81 OutStream.os().write(In->getBufferStart(), In->getBufferSize()); in main()
|
/external/clang/lib/Lex/ |
D | HeaderMap.cpp | 69 const char *FileStart = File.getBufferStart(); in checkHeader() 122 return *reinterpret_cast<const HMapHeader*>(FileBuffer->getBufferStart()); in getHeader() 137 reinterpret_cast<const HMapBucket*>(FileBuffer->getBufferStart() + in getBucket() 156 const char *Data = FileBuffer->getBufferStart() + StrTabIdx; in getString()
|
D | Preprocessor.cpp | 388 const char *Position = Buffer->getBufferStart(); in SetCodeCompletionPoint() 409 if (Position - Buffer->getBufferStart() < SkipMainFilePreamble.first) in SetCodeCompletionPoint() 410 Position = Buffer->getBufferStart() + SkipMainFilePreamble.first; in SetCodeCompletionPoint() 417 CodeCompletionOffset = Position - Buffer->getBufferStart(); in SetCodeCompletionPoint() 422 char *NewBuf = const_cast<char*>(NewBuffer->getBufferStart()); in SetCodeCompletionPoint() 423 char *NewPos = std::copy(Buffer->getBufferStart(), Position, NewBuf); in SetCodeCompletionPoint()
|
D | ScratchBuffer.cpp | 74 CurBuffer = const_cast<char*>(Buf.getBufferStart()); in AllocScratchBuffer()
|
/external/llvm/include/llvm/Object/ |
D | COFFImportFile.h | 42 OS << StringRef(Data.getBufferStart() + sizeof(coff_import_header)); in printSymbolName() 62 Data.getBufferStart()); in getCOFFImportHeader()
|
/external/llvm/lib/ExecutionEngine/ |
D | GDBRegistrationListener.cpp | 169 const char *Buffer = DebugObj.getBinary()->getMemoryBufferRef().getBufferStart(); in NotifyObjectEmitted() 172 const char *Key = Object.getMemoryBufferRef().getBufferStart(); in NotifyObjectEmitted() 194 const char *Key = Object.getMemoryBufferRef().getBufferStart(); in NotifyFreeingObject()
|
/external/swiftshader/third_party/LLVM/lib/Support/ |
D | MemoryBuffer.cpp | 112 memcpy(const_cast<char*>(Buf->getBufferStart()), InputData.data(), in getMemBufferCopy() 149 memset(const_cast<char*>(SB->getBufferStart()), 0, Size); in getNewMemBuffer() 190 uintptr_t Start = reinterpret_cast<uintptr_t>(getBufferStart()); in ~MemoryBufferMMapFile() 321 char *BufPtr = const_cast<char*>(SB->getBufferStart()); in getOpenFile()
|
D | SourceMgr.cpp | 74 if (Loc.getPointer() >= Buffers[i].Buffer->getBufferStart() && in FindBufferContainingLoc() 94 const char *Ptr = Buff->getBufferStart(); in FindLineNumber() 155 while (LineStart != CurMB->getBufferStart() && in GetMessage()
|
D | FileUtilities.cpp | 218 const char *File1Start = F1->getBufferStart(); in DiffFilesWithTolerance() 219 const char *File2Start = F2->getBufferStart(); in DiffFilesWithTolerance()
|
/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
D | IRReader.h | 38 if (isBitcode((const unsigned char *)Buffer->getBufferStart(), in getLazyIRModule() 78 if (isBitcode((const unsigned char *)Buffer->getBufferStart(), in ParseIR()
|
/external/llvm/include/llvm/Support/ |
D | MemoryBuffer.h | 49 const char *getBufferStart() const { return BufferStart; } in getBufferStart() function 163 const char *getBufferStart() const { return Buffer.begin(); } in getBufferStart() function
|
D | FileOutputBuffer.h | 45 uint8_t *getBufferStart() { in getBufferStart() function
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
D | MemoryBuffer.h | 55 const char *getBufferStart() const { return BufferStart; } in getBufferStart() function 173 const char *getBufferStart() const { return Buffer.begin(); } in getBufferStart() function
|
/external/llvm/lib/IRReader/ |
D | IRReader.cpp | 35 if (isBitcode((const unsigned char *)Buffer->getBufferStart(), in getLazyIRModule() 70 if (isBitcode((const unsigned char *)Buffer.getBufferStart(), in parseIR()
|
/external/clang/lib/Frontend/Rewrite/ |
D | InclusionRewriter.cpp | 220 const char *Pos = strchr(FromFile.getBufferStart(), '\n'); in DetectEOL() 223 if (Pos - 1 >= FromFile.getBufferStart() && Pos[-1] == '\r') in DetectEOL() 257 LocalEOL[0] == (FromFile.getBufferStart() + WriteTo)[-1] && in OutputContentUpTo() 258 LocalEOL[1] == (FromFile.getBufferStart() + WriteTo)[0]) in OutputContentUpTo() 261 StringRef TextToWrite(FromFile.getBufferStart() + WriteFrom, in OutputContentUpTo()
|
/external/swiftshader/third_party/LLVM/lib/Object/ |
D | Archive.cpp | 141 || StringRef(source->getBufferStart(), 8) != Magic) { in Archive() 160 const char *Loc = Data->getBufferStart() + Magic.size(); in begin_children()
|
/external/clang/lib/Rewrite/ |
D | HTMLRewrite.cpp | 110 const char* C = Buf->getBufferStart(); in EscapeText() 229 const char* FileBeg = Buf->getBufferStart(); in AddLineNumbers() 274 const char* FileStart = Buf->getBufferStart(); in AddHeaderFooterInternalBuiltinCSS()
|
/external/swiftshader/third_party/llvm-subzero/lib/Support/ |
D | MemoryBuffer.cpp | 128 memcpy(const_cast<char*>(Buf->getBufferStart()), InputData.data(), in getMemBufferCopy() 164 memset(const_cast<char*>(SB->getBufferStart()), 0, Size); in getNewMemBuffer() 385 char *BufPtr = const_cast<char *>(Buf->getBufferStart()); in getOpenFileImpl()
|
/external/llvm/lib/ProfileData/ |
D | InstrProfReader.cpp | 109 StringRef buffer = Buffer.getBufferStart(); in hasFormat() 258 *reinterpret_cast<const uint64_t *>(DataBuffer.getBufferStart()); in hasFormat() 270 DataBuffer->getBufferStart()); in readHeader() 571 endian::read<uint64_t, little, aligned>(DataBuffer.getBufferStart()); in hasFormat() 627 (const unsigned char *)DataBuffer->getBufferStart(); in readHeader()
|