/external/llvm-project/lldb/test/API/functionalities/postmortem/mach-core/ |
D | test.core.yaml | 221 filesize: 4096 232 filesize: 4096 243 filesize: 307200 254 filesize: 12288 265 filesize: 217088 276 filesize: 110592 287 filesize: 8192 298 filesize: 8192 309 filesize: 4096 320 filesize: 4096 [all …]
|
/external/skia/src/utils/win/ |
D | SkDWriteFontFileStream.cpp | 39 size_t fileSize = this->getLength(); in read() local 41 if (fPos + size > fileSize) { in read() 42 size_t skipped = fileSize - fPos; in read() 43 fPos = fileSize; in read() 62 size_t fileSize = this->getLength(); in read() local 63 if (fPos + size <= fileSize) { in read() 68 size_t read = fileSize - fPos; in read() 73 fPos = fileSize; in read() 128 UINT64 fileSize; in getMemoryBase() local 129 HRNM(fFontFileStream->GetFileSize(&fileSize), "Could not get file size"); in getMemoryBase() [all …]
|
/external/skqp/src/utils/win/ |
D | SkDWriteFontFileStream.cpp | 39 size_t fileSize = this->getLength(); in read() local 41 if (fPos + size > fileSize) { in read() 42 size_t skipped = fileSize - fPos; in read() 43 fPos = fileSize; in read() 62 size_t fileSize = this->getLength(); in read() local 63 if (fPos + size <= fileSize) { in read() 68 size_t read = fileSize - fPos; in read() 73 fPos = fileSize; in read() 128 UINT64 fileSize; in getMemoryBase() local 129 HRNM(fFontFileStream->GetFileSize(&fileSize), "Could not get file size"); in getMemoryBase() [all …]
|
/external/lzma/CPP/Common/ |
D | ListFileUtils.cpp | 37 UInt64 fileSize; in ReadNamesFromListFile2() local 38 if (!file.GetLength(fileSize)) in ReadNamesFromListFile2() 43 if (fileSize >= ((UInt32)1 << 31) - 32) in ReadNamesFromListFile2() 48 if ((fileSize & 1) != 0) in ReadNamesFromListFile2() 50 CByteArr buf((size_t)fileSize); in ReadNamesFromListFile2() 52 if (!file.Read(buf, (UInt32)fileSize, processed)) in ReadNamesFromListFile2() 57 if (processed != fileSize) in ReadNamesFromListFile2() 60 unsigned num = (unsigned)fileSize / 2; in ReadNamesFromListFile2() 84 char *p = s.GetBuf((unsigned)fileSize); in ReadNamesFromListFile2() 86 if (!file.Read(p, (UInt32)fileSize, processed)) in ReadNamesFromListFile2() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
D | MemoryBuffer.cpp | 108 getFileAux(const Twine &Filename, int64_t FileSize, uint64_t MapSize, 143 MemoryBuffer::getFileOrSTDIN(const Twine &Filename, int64_t FileSize, in getFileOrSTDIN() argument 150 return getFile(Filename, FileSize, RequiresNullTerminator); in getFileOrSTDIN() 231 MemoryBuffer::getFile(const Twine &Filename, int64_t FileSize, in getFile() argument 233 return getFileAux<MemoryBuffer>(Filename, FileSize, FileSize, 0, in getFile() 239 getOpenFileImpl(sys::fs::file_t FD, const Twine &Filename, uint64_t FileSize, 245 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/llvm-project/llvm/lib/Support/ |
D | MemoryBuffer.cpp | 108 getFileAux(const Twine &Filename, int64_t FileSize, uint64_t MapSize, 143 MemoryBuffer::getFileOrSTDIN(const Twine &Filename, int64_t FileSize, in getFileOrSTDIN() argument 150 return getFile(Filename, FileSize, RequiresNullTerminator); in getFileOrSTDIN() 245 MemoryBuffer::getFile(const Twine &Filename, int64_t FileSize, in getFile() argument 247 return getFileAux<MemoryBuffer>(Filename, FileSize, FileSize, 0, in getFile() 253 getOpenFileImpl(sys::fs::file_t FD, const Twine &Filename, uint64_t FileSize, 259 getFileAux(const Twine &Filename, int64_t FileSize, uint64_t MapSize, in getFileAux() argument 266 auto Ret = getOpenFileImpl<MB>(FD, Filename, FileSize, MapSize, Offset, in getFileAux() 273 WritableMemoryBuffer::getFile(const Twine &Filename, int64_t FileSize, in getFile() argument 275 return getFileAux<WritableMemoryBuffer>(Filename, FileSize, FileSize, 0, in getFile() [all …]
|
/external/zstd/tests/fuzz/ |
D | regression_driver.c | 48 size_t const fileSize = UTIL_getFileSize(fileName); in main() local 52 /* Check that it is a regular file, and that the fileSize is valid. in main() 60 FUZZ_ASSERT_MSG(fileSize <= kMaxFileSize, fileName); in main() 62 if (fileSize > bufferSize) { in main() 64 buffer = (uint8_t *)malloc(fileSize); in main() 66 bufferSize = fileSize; in main() 72 readSize = fread(buffer, 1, fileSize, file); in main() 73 FUZZ_ASSERT_MSG(readSize == fileSize, fileName); in main() 77 LLVMFuzzerTestOneInput(buffer, fileSize); in main()
|
/external/zstd/examples/ |
D | common.h | 80 off_t const fileSize = st.st_size; in fsize_orDie() local 81 size_t const size = (size_t)fileSize; in fsize_orDie() 82 /* 1. fileSize should be non-negative, in fsize_orDie() 86 if ((fileSize < 0) || (fileSize != (off_t)size)) { in fsize_orDie() 87 fprintf(stderr, "%s : filesize too large \n", filename); in fsize_orDie() 182 size_t const fileSize = fsize_orDie(fileName); in loadFile_orDie() local 183 CHECK(fileSize <= bufferSize, "File too large!"); in loadFile_orDie() 186 size_t const readSize = fread(buffer, 1, fileSize, inFile); in loadFile_orDie() 187 if (readSize != (size_t)fileSize) { in loadFile_orDie() 192 return fileSize; in loadFile_orDie() [all …]
|
/external/ltp/testcases/kernel/io/ltp-aiodio/ |
D | aiodio_sparse.c | 63 int aiodio_sparse(int fd, int align, int writesize, int filesize, int num_aio) in aiodio_sparse() argument 72 if ((num_aio * writesize) > filesize) in aiodio_sparse() 73 num_aio = filesize / writesize; in aiodio_sparse() 119 while (offset < filesize) { in aiodio_sparse() 125 "aiodio_sparse: offset %p filesize %d inflight %d", in aiodio_sparse() 126 &offset, filesize, aio_inflight); in aiodio_sparse() 202 fprintf(stderr, "usage: dio_sparse [-n children] [-s filesize]" in usage() 215 int filesize = 100 * 1024 * 1024; in main() local 241 filesize = strtol(optarg, &endp, 0); in main() 242 filesize = in main() [all …]
|
D | dio_sparse.c | 58 int dio_sparse(int fd, int align, int writesize, int filesize, int offset) in dio_sparse() argument 71 for (i = offset; i < filesize;) { in dio_sparse() 85 fprintf(stderr, "usage: dio_sparse [-d] [-n children] [-s filesize]" in usage() 98 int filesize = 100 * 1024 * 1024; in main() local 119 filesize = strtol(optarg, &endp, 0); in main() 120 filesize = scale_by_kmg(filesize, *endp); in main() 143 dirty_freeblocks(filesize); in main() 147 SAFE_FTRUNCATE(cleanup, fd, filesize); in main() 155 read_sparse(filename, filesize); in main() 168 ret = dio_sparse(fd, alignment, writesize, filesize, offset); in main()
|
/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/llvm-project/llvm/test/tools/yaml2obj/ELF/ |
D | program-header-size-offset.yaml | 9 # CHECK: FileSize: 1111 13 # CHECK: FileSize: 6 17 # CHECK: FileSize: 4 21 # CHECK: FileSize: 5 25 # CHECK: FileSize: 7 29 # CHECK: FileSize: 3 34 # CHECK: FileSize: 5 71 FileSize: 1111 75 FileSize: 6 91 FileSize: 7 [all …]
|
/external/mesa3d/src/panfrost/bifrost/ |
D | cmdline.c | 90 unsigned filesize = ftell(fp); in disassemble() local 93 unsigned char *code = malloc(filesize); in disassemble() 94 unsigned res = fread(code, 1, filesize, fp); in disassemble() 95 if (res != filesize) { in disassemble() 100 disassemble_bifrost(stdout, code, filesize, verbose); in disassemble() 144 unsigned filesize = ftell(fp); in run() local 147 unsigned char *code = malloc(filesize); in run() 148 unsigned res = fread(code, 1, filesize, fp); in run() 149 if (res != filesize) { in run() 160 .size = filesize in run()
|
/external/autotest/client/cros/storage_tests/ |
D | fio_test.py | 83 def initialize(self, dev='', filesize=DEFAULT_FILE_SIZE): argument 89 @param filesize: size of the file. 0 means whole partition. 93 if filesize == 0: 97 self.__filesize = filesize 105 if filesize == 0: 110 elif filesize != 0: 123 if filesize != 0: 124 self.__filesize = min(self.__filesize, filesize) 129 logging.info('filesize: %d', self.__filesize) 206 'FILESIZE=' + str(self.__filesize), [all …]
|
/external/ltp/testcases/kernel/mem/mmapstress/ |
D | mmapstress01.c | 64 * tmnoextend -p nprocs [-t minutes -f filesize -S sparseoffset 73 * -f filesize - initial filesize (defaults to FILESIZE) 77 * filesize. Useful for testing large files. 92 #define FILESIZE 4096 /* initial filesize set up by parent */ macro 110 "-p nprocs [-t minutes -f filesize -S sparseoffset -r -o -m -l -d]"; 124 off64_t filesize = FILESIZE; variable 127 off_t filesize = FILESIZE; variable 185 filesize = atoll(optarg); 187 filesize = atoi(optarg); 189 if (filesize < 0) { [all …]
|
D | mmapstress10.c | 68 * mmapstress10 -p nprocs [-t minutes -w nbytes -s secs -f filesize 83 * -f filesize - initial filesize (defaults to FILESIZE) 87 * filesize. Useful for testing large files. 104 #define FILESIZE 4096 /* initial filesize set up by parent */ macro 141 off64_t filesize = FILESIZE; variable 144 off_t filesize = FILESIZE; variable 229 filesize = atoll(optarg); 231 filesize = atoi(optarg); 233 if (filesize < 0) { 235 "filesize\n"); [all …]
|
/external/llvm-project/lld/test/ELF/ |
D | segments.s | 14 # ROSEGMENT-NEXT: FileSize: 26 # ROSEGMENT-NEXT: FileSize: 39 # ROSEGMENT-NEXT: FileSize: 1 56 # NOROSEGMENT-NEXT: FileSize: 69 # NOROSEGMENT-NEXT: FileSize: 90 # OMAGIC-NEXT: FileSize: 112 # NMAGIC-NEXT: FileSize: 1 124 # NMAGIC-NEXT: FileSize: 2 137 # NMAGIC-NEXT: FileSize: 1
|
/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/llvm/test/ObjectYAML/MachO/ |
D | load_commands.yaml | 20 filesize: 0 31 filesize: 8192 42 filesize: 4096 53 filesize: 2508 146 #CHECK: filesize: 0 157 #CHECK: filesize: 8192 168 #CHECK: filesize: 4096 179 #CHECK: filesize: 2508
|
/external/llvm-project/llvm/test/ObjectYAML/MachO/ |
D | load_commands.yaml | 20 filesize: 0 31 filesize: 8192 42 filesize: 4096 53 filesize: 2508 146 #CHECK: filesize: 0 157 #CHECK: filesize: 8192 168 #CHECK: filesize: 4096 179 #CHECK: filesize: 2508
|
/external/ltp/testcases/network/stress/ns-tools/ |
D | create_file | 32 # $2: filesize 51 echo "Usage: create_file filename filesize" >&2 55 filesize=$2 57 if [ $filesize -le 0 ]; then 58 echo "The filesize should be bigger than 0" >&2 63 echo -n "Z" | dd of=$filename bs=1 seek=`expr $filesize - 1` >/dev/null 2>&1
|
/external/zstd/tests/ |
D | roundTripCrash.c | 191 * requirement : `buffer` size >= `fileSize` */ 192 static void loadFile(void* buffer, const char* fileName, size_t fileSize) in loadFile() argument 203 { size_t const readSize = fread(buffer, 1, fileSize, f); in loadFile() 204 if (readSize != fileSize) { in loadFile() 214 size_t const fileSize = getFileSize(fileName); in fileCheck() local 215 void* const buffer = malloc(fileSize + !fileSize /* avoid 0 */); in fileCheck() 220 loadFile(buffer, fileName, fileSize); in fileCheck() 221 roundTripCheck(buffer, fileSize, testCCtxParams); in fileCheck()
|
/external/pdfium/core/fxge/ |
D | cfx_folderfontinfo.cpp | 73 uint32_t fileSize) { in LoadTableFromTT() argument 80 offset + size > fileSize || fseek(pFile, offset, SEEK_SET) < 0) { in LoadTableFromTT() 182 uint32_t filesize = ftell(pFile.get()); in ScanFile() local 191 ReportFace(path, pFile.get(), filesize, 0); in ScanFile() 210 ReportFace(path, pFile.get(), filesize, GET_TT_LONG(&offsets_span[i * 4])); in ScanFile() 215 uint32_t filesize, in ReportFace() argument 227 LoadTableFromTT(pFile, tables.raw_str(), nTables, 0x6e616d65, filesize); in ReportFace() 243 filesize); in ReportFace() 245 LoadTableFromTT(pFile, tables.raw_str(), nTables, 0x4f532f32, filesize); in ReportFace() 393 uint32_t fileSize) in FontFaceInfo() argument [all …]
|
/external/f2fs-tools/fsck/ |
D | quotaio_v2.c | 177 u64 filesize; in v2_init_io() local 193 filesize = qf->filesize = f2fs_quota_size(qf); in v2_init_io() 195 ((filesize + F2FS_BLKSIZE - 1) >> F2FS_BLKSIZE_BITS < in v2_init_io() 196 last_blkofs + 1 || filesize > qf_maxsize[qtype])) { in v2_init_io() 204 filesize, in v2_init_io() 206 filesize = (last_blkofs + 1) << F2FS_BLKSIZE_BITS; in v2_init_io() 207 f2fs_filesize_update(qf->sbi, qf->ino, filesize); in v2_init_io() 211 (filesize + QT_BLKSIZE - 1) >> QT_BLKSIZE_BITS)) { in v2_init_io() 214 filesize, info->dqi_qtree.dqi_blocks); in v2_init_io()
|