/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/ |
D | MemoryBuffer.cpp | 109 getFileAux(const Twine &Filename, int64_t FileSize, uint64_t MapSize, 144 MemoryBuffer::getFileOrSTDIN(const Twine &Filename, int64_t FileSize, in getFileOrSTDIN() argument 151 return getFile(Filename, FileSize, RequiresNullTerminator); in getFileOrSTDIN() 230 MemoryBuffer::getFile(const Twine &Filename, int64_t FileSize, in getFile() argument 232 return getFileAux<MemoryBuffer>(Filename, FileSize, FileSize, 0, in getFile() 238 getOpenFileImpl(int FD, const Twine &Filename, uint64_t FileSize, 244 getFileAux(const Twine &Filename, int64_t FileSize, uint64_t MapSize, in getFileAux() argument 252 auto Ret = getOpenFileImpl<MB>(FD, Filename, FileSize, MapSize, Offset, in getFileAux() 259 WritableMemoryBuffer::getFile(const Twine &Filename, int64_t FileSize, in getFile() argument 261 return getFileAux<WritableMemoryBuffer>(Filename, FileSize, FileSize, 0, in getFile() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Support/ |
D | MemoryBuffer.cpp | 160 int64_t FileSize) { in getFileOrSTDIN() argument 163 return getFile(Filename, result, FileSize); in getFileOrSTDIN() 168 int64_t FileSize) { in getFileOrSTDIN() argument 171 return getFile(Filename, result, FileSize); in getFileOrSTDIN() 207 int64_t FileSize, in getFile() argument 211 return MemoryBuffer::getFile(PathBuf.c_str(), result, FileSize, in getFile() 217 int64_t FileSize, in getFile() argument 227 error_code ret = getOpenFile(FD, Filename, result, FileSize, FileSize, in getFile() 234 size_t FileSize, in shouldUseMmap() argument 252 if (FileSize == size_t(-1)) { in shouldUseMmap() [all …]
|
/external/llvm/lib/Support/ |
D | MemoryBuffer.cpp | 105 getFileAux(const Twine &Filename, int64_t FileSize, uint64_t MapSize, 169 MemoryBuffer::getFileOrSTDIN(const Twine &Filename, int64_t FileSize, in getFileOrSTDIN() argument 176 return getFile(Filename, FileSize, RequiresNullTerminator); in getFileOrSTDIN() 256 MemoryBuffer::getFile(const Twine &Filename, int64_t FileSize, in getFile() argument 258 return getFileAux(Filename, FileSize, FileSize, 0, in getFile() 263 getOpenFileImpl(int FD, const Twine &Filename, uint64_t FileSize, 268 getFileAux(const Twine &Filename, int64_t FileSize, uint64_t MapSize, in getFileAux() argument 276 getOpenFileImpl(FD, Filename, FileSize, MapSize, Offset, in getFileAux() 283 size_t FileSize, in shouldUseMmap() argument 308 if (FileSize == size_t(-1)) { in shouldUseMmap() [all …]
|
/external/swiftshader/third_party/llvm-subzero/lib/Support/ |
D | MemoryBuffer.cpp | 105 getFileAux(const Twine &Filename, int64_t FileSize, uint64_t MapSize, 169 MemoryBuffer::getFileOrSTDIN(const Twine &Filename, int64_t FileSize, in getFileOrSTDIN() argument 176 return getFile(Filename, FileSize, RequiresNullTerminator); in getFileOrSTDIN() 256 MemoryBuffer::getFile(const Twine &Filename, int64_t FileSize, in getFile() argument 258 return getFileAux(Filename, FileSize, FileSize, 0, in getFile() 263 getOpenFileImpl(int FD, const Twine &Filename, uint64_t FileSize, 268 getFileAux(const Twine &Filename, int64_t FileSize, uint64_t MapSize, in getFileAux() argument 276 getOpenFileImpl(FD, Filename, FileSize, MapSize, Offset, in getFileAux() 283 size_t FileSize, in shouldUseMmap() argument 308 if (FileSize == size_t(-1)) { in shouldUseMmap() [all …]
|
/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
D | MemoryBuffer.h | 67 int64_t FileSize = -1, 71 int64_t FileSize = -1, 78 uint64_t FileSize = -1, 118 int64_t FileSize = -1); 121 int64_t FileSize = -1);
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Object/ |
D | WindowsResource.cpp | 343 uint64_t FileSize; member in llvm::object::WindowsResourceCOFFWriter 363 OutputBuffer = WritableMemoryBuffer::getNewMemBuffer(FileSize); in WindowsResourceCOFFWriter() 368 FileSize = COFF::Header16Size; in performFileLayout() 371 FileSize += 2 * COFF::SectionSize; in performFileLayout() 377 SymbolTableOffset = FileSize; in performFileLayout() 379 FileSize += COFF::Symbol16Size; // size of the @feat.00 symbol. in performFileLayout() 380 FileSize += 4 * COFF::Symbol16Size; // symbol + aux for each section. in performFileLayout() 381 FileSize += Data.size() * COFF::Symbol16Size; // 1 symbol per resource. in performFileLayout() 382 FileSize += 4; // four null bytes for the string table. in performFileLayout() 386 SectionOneOffset = FileSize; in performSectionOneLayout() [all …]
|
D | MachOObjectFile.cpp | 286 uint64_t FileSize = Obj.getData().size(); in parseSegmentLoadCommand() local 300 s.offset > FileSize) in parseSegmentLoadCommand() 318 BigSize > FileSize) in parseSegmentLoadCommand() 355 if (s.reloff > FileSize) in parseSegmentLoadCommand() 362 if (BigSize > FileSize) in parseSegmentLoadCommand() 374 if (S.fileoff > FileSize) in parseSegmentLoadCommand() 380 if (BigSize > FileSize) in parseSegmentLoadCommand() 410 uint64_t FileSize = Obj.getData().size(); in checkSymtabCommand() local 411 if (Symtab.symoff > FileSize) in checkSymtabCommand() 426 if (BigSize > FileSize) in checkSymtabCommand() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/tools/llvm-readobj/ |
D | program-headers.test | 30 ELF-I386-NEXT: FileSize: 308 43 ELF-I386-NEXT: FileSize: 0 59 ELF-X86-64-NEXT: FileSize: 312 72 ELF-X86-64-NEXT: FileSize: 20 84 ELF-X86-64-NEXT: FileSize: 0 104 ELF-MIPS-NEXT: FileSize: 24 116 ELF-MIPS-NEXT: FileSize: 24 128 ELF-MIPS-NEXT: FileSize: 224 148 ELF-MIPS64-NEXT: FileSize: 136 164 OPENBSD-X86-64-NEXT: FileSize: [all …]
|
/external/llvm/test/tools/llvm-readobj/ |
D | program-headers.test | 16 ELF-I386-NEXT: FileSize: 308 29 ELF-I386-NEXT: FileSize: 0 45 ELF-X86-64-NEXT: FileSize: 312 58 ELF-X86-64-NEXT: FileSize: 20 70 ELF-X86-64-NEXT: FileSize: 0 90 ELF-MIPS-NEXT: FileSize: 24 102 ELF-MIPS-NEXT: FileSize: 24 114 ELF-MIPS-NEXT: FileSize: 224 134 ELF-MIPS64-NEXT: FileSize: 136
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/tools/llvm-objcopy/ |
D | pt-phdr.test | 13 #CHECK-NEXT: FileSize: 280 25 #CHECK-NEXT: FileSize: 344 37 #CHECK-NEXT: FileSize: 1 50 #CHECK-NEXT: FileSize: 14 63 #CHECK-NEXT: FileSize: 0
|
D | marker-segment.test | 65 #CHECK-NEXT: FileSize: 16 78 #CHECK-NEXT: FileSize: 16 91 #CHECK-NEXT: FileSize: 0 104 #CHECK-NEXT: FileSize: 0
|
D | triple-overlap.test | 76 #CHECK-NEXT: FileSize: 8192 89 #CHECK-NEXT: FileSize: 12288 102 #CHECK-NEXT: FileSize: 20480 115 #CHECK-NEXT: FileSize: 16384
|
D | overlap-chain.test | 70 #CHECK-NEXT: FileSize: 8192 83 #CHECK-NEXT: FileSize: 8192 96 #CHECK-NEXT: FileSize: 8192 109 #CHECK-NEXT: FileSize: 8192
|
D | identical-segments.test | 48 #CHECK-NEXT: FileSize: 4096 61 #CHECK-NEXT: FileSize: 8192 74 #CHECK-NEXT: FileSize: 8192
|
D | adjacent-segments.test | 41 #CHECK-NEXT: FileSize: 24 54 #CHECK-NEXT: FileSize: 16
|
D | segment-shift.test | 50 # CHECK-NEXT: FileSize: 4096 62 # CHECK-NEXT: FileSize: 4096
|
D | program-headers.test | 51 #CHECK-NEXT: FileSize: 20 64 #CHECK-NEXT: FileSize: 4
|
D | check-addr-offset-align.test | 46 #CHECK-NEXT: FileSize: 4 59 #CHECK-NEXT: FileSize: 2
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/XRay/ |
D | InstrumentationMap.cpp | 134 loadYAML(int Fd, size_t FileSize, StringRef Filename, in loadYAML() argument 140 Fd, sys::fs::mapped_file_region::mapmode::readonly, FileSize, 0, EC); in loadYAML() 180 uint64_t FileSize; in loadInstrumentationMap() local 181 if (sys::fs::file_size(Filename, FileSize)) in loadInstrumentationMap() 185 if (FileSize == 0) in loadInstrumentationMap() 191 if (auto E = loadYAML(Fd, FileSize, Filename, Map.Sleds, in loadInstrumentationMap()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/ |
D | MemoryBuffer.h | 81 getFile(const Twine &Filename, int64_t FileSize = -1, 104 getOpenFile(int FD, const Twine &Filename, uint64_t FileSize, 127 getFileOrSTDIN(const Twine &Filename, int64_t FileSize = -1, 181 getFile(const Twine &Filename, int64_t FileSize = -1, 243 getFile(const Twine &Filename, int64_t FileSize = -1);
|
/external/llvm/include/llvm/Support/ |
D | MemoryBuffer.h | 72 getFile(const Twine &Filename, int64_t FileSize = -1, 89 getOpenFile(int FD, const Twine &Filename, uint64_t FileSize, 124 getFileOrSTDIN(const Twine &Filename, int64_t FileSize = -1,
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
D | MemoryBuffer.h | 76 getFile(const Twine &Filename, int64_t FileSize = -1, 99 getOpenFile(int FD, const Twine &Filename, uint64_t FileSize, 134 getFileOrSTDIN(const Twine &Filename, int64_t FileSize = -1,
|
/external/clang/lib/Basic/ |
D | FileManager.cpp | 417 uint64_t FileSize = Entry->getSize(); in getBufferForFile() local 421 FileSize = -1; in getBufferForFile() 427 Entry->File->getBuffer(Filename, FileSize, in getBufferForFile() 439 return FS->getBufferForFile(Filename, FileSize, in getBufferForFile() 444 return FS->getBufferForFile(FilePath, FileSize, in getBufferForFile()
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/ |
D | Path.cpp | 1347 uint64_t FileSize; in TEST_F() local 1348 ASSERT_NO_ERROR(sys::fs::file_size(NonExistantFile, FileSize)); in TEST_F() 1349 ASSERT_EQ(0ULL, FileSize); in TEST_F() 1357 ASSERT_NO_ERROR(sys::fs::file_size(NonExistantFile, FileSize)); in TEST_F() 1358 ASSERT_EQ(4ULL, FileSize); in TEST_F() 1363 ASSERT_NO_ERROR(sys::fs::file_size(NonExistantFile, FileSize)); in TEST_F() 1364 ASSERT_EQ(0ULL, FileSize); in TEST_F() 1378 uint64_t FileSize; in TEST_F() local 1379 ASSERT_NO_ERROR(sys::fs::file_size(NonExistantFile, FileSize)); in TEST_F() 1380 ASSERT_EQ(4ULL, FileSize); in TEST_F() [all …]
|
/external/swiftshader/third_party/LLVM/tools/macho-dump/ |
D | macho-dump.cpp | 54 uint64_t FileOffset, uint64_t FileSize, in DumpSegmentCommandData() argument 62 outs() << " ('file_size', " << FileSize << ")\n"; in DumpSegmentCommandData() 135 SLC->VMSize, SLC->FileOffset, SLC->FileSize, in DumpSegmentCommand() 171 SLC->VMSize, SLC->FileOffset, SLC->FileSize, in DumpSegment64Command()
|