/third_party/flutter/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 …]
|
/third_party/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() 127 UINT64 fileSize; in getMemoryBase() local 128 HRNM(fFontFileStream->GetFileSize(&fileSize), "Could not get file size"); in getMemoryBase() [all …]
|
/third_party/lz4/tests/ |
D | roundTripTest.c | 182 static void loadFile(void* buffer, const char* fileName, size_t fileSize) in loadFile() argument 193 { size_t const readSize = fread(buffer, 1, fileSize, f); in loadFile() 194 if (readSize != fileSize) { in loadFile() 204 size_t const fileSize = getFileSize(fileName); in fileCheck() local 205 void* const buffer = malloc(fileSize + !fileSize /* avoid 0 */); in fileCheck() 210 loadFile(buffer, fileName, fileSize); in fileCheck() 211 roundTripCheck(buffer, fileSize, clevel); in fileCheck()
|
/third_party/flutter/skia/third_party/externals/icu/source/samples/layout/ |
D | UnicodeReader.cpp | 33 int32_t fileSize; in readFile() local 51 fileSize = ftell(f); in readFile() 85 fileSize -= signatureLength; in readFile() 87 byteBuffer = new char[fileSize]; in readFile() 96 fread(byteBuffer, sizeof(char), fileSize, f); in readFile() 106 UnicodeString myText(byteBuffer, fileSize, cp); in readFile()
|
/third_party/icu/icu4c/source/samples/layout/ |
D | UnicodeReader.cpp | 33 int32_t fileSize; in readFile() local 51 fileSize = ftell(f); in readFile() 85 fileSize -= signatureLength; in readFile() 87 byteBuffer = new char[fileSize]; in readFile() 96 fread(byteBuffer, sizeof(char), fileSize, f); in readFile() 106 UnicodeString myText(byteBuffer, fileSize, cp); in readFile()
|
/third_party/skia/third_party/externals/icu/source/samples/layout/ |
D | UnicodeReader.cpp | 33 int32_t fileSize; in readFile() local 51 fileSize = ftell(f); in readFile() 85 fileSize -= signatureLength; in readFile() 87 byteBuffer = new char[fileSize]; in readFile() 96 fread(byteBuffer, sizeof(char), fileSize, f); in readFile() 106 UnicodeString myText(byteBuffer, fileSize, cp); in readFile()
|
/third_party/typescript/src/server/ |
D | scriptInfo.ts | 34 private fileSize: number | undefined; property in ts.server.TextStorage 81 this.fileSize = undefined; 91 this.fileSize = undefined; 125 const { text: newText, fileSize } = this.getFileTextAndSize(tempFileName); constant 127 this.fileSize = fileSize; // NB: after reload since reload clears it 155 return !!this.fileSize 156 ? this.fileSize 207 private getFileTextAndSize(tempFileName?: string): { text: string, fileSize?: number } { 213 … const fileSize = this.host.getFileSize ? this.host.getFileSize(fileName) : getText().length; 214 if (fileSize > maxFileSize) { [all …]
|
/third_party/flutter/skia/third_party/externals/icu/source/tools/gencfu/ |
D | gencfu.cpp | 306 long fileSize; in readFile() local 314 fileSize = ftell(file); in readFile() 316 result = new char[fileSize+10]; in readFile() 322 long t = static_cast<long>(fread(result, 1, fileSize, file)); in readFile() 323 if (t != fileSize) { in readFile() 328 result[fileSize]=0; in readFile() 329 *len = static_cast<int32_t>(fileSize); in readFile()
|
/third_party/skia/third_party/externals/icu/source/tools/gencfu/ |
D | gencfu.cpp | 306 long fileSize; in readFile() local 314 fileSize = ftell(file); in readFile() 316 result = new char[fileSize+10]; in readFile() 322 long t = static_cast<long>(fread(result, 1, fileSize, file)); in readFile() 323 if (t != fileSize) { in readFile() 328 result[fileSize]=0; in readFile() 329 *len = static_cast<int32_t>(fileSize); in readFile()
|
/third_party/icu/icu4c/source/tools/gencfu/ |
D | gencfu.cpp | 306 long fileSize; in readFile() local 314 fileSize = ftell(file); in readFile() 316 result = new char[fileSize+10]; in readFile() 322 long t = static_cast<long>(fread(result, 1, fileSize, file)); in readFile() 323 if (t != fileSize) { in readFile() 328 result[fileSize]=0; in readFile() 329 *len = static_cast<int32_t>(fileSize); in readFile()
|
/third_party/flutter/skia/third_party/externals/dawn/src/fuzzers/ |
D | StandaloneFuzzerMain.cpp | 50 size_t fileSize = static_cast<size_t>(tellFileSize); in main() local 51 data.resize(fileSize); in main() 53 size_t bytesRead = fread(data.data(), sizeof(char), fileSize, file); in main() 55 if (bytesRead != fileSize) { in main()
|
/third_party/skia/third_party/externals/dawn/src/fuzzers/ |
D | StandaloneFuzzerMain.cpp | 56 size_t fileSize = static_cast<size_t>(tellFileSize); in main() local 57 data.resize(fileSize); in main() 59 size_t bytesRead = fread(data.data(), sizeof(char), fileSize, file); in main() 61 if (bytesRead != fileSize) { in main()
|
/third_party/boost/libs/sort/ |
D | tune.pl | 74 $fileSize = $defFileSize; 131 $fileSize = $defFileSize; 294 system("randomgen $ii $ii $fileSize"); 306 system("randomgen 1 $ii $fileSize"); 310 system("randomgen $ii 1 $fileSize"); 350 $fileSize = $min_sort_size;
|
/third_party/icu/icu4c/source/tools/toolutil/ |
D | pkg_gencmn.cpp | 86 uint32_t basenameLength, basenameOffset, fileSize, fileOffset; member 232 fileOffset+=(files[i].fileSize+15)&~0xf; in createCommonDataFile() 271 …("adding %s (%ld byte%s)\n", files[i].pathname, (long)files[i].fileSize, files[i].fileSize == 1 ? … in createCommonDataFile() 289 length=files[i].fileSize; in createCommonDataFile() 291 if (nread != files[i].fileSize) { in createCommonDataFile() 292 …ld byte%s)\n", files[i].pathname, (long)nread, (long)files[i].fileSize, files[i].fileSize == 1 ? … in createCommonDataFile() 469 files[fileCount].fileSize=length; in addFile()
|
/third_party/node/deps/icu-small/source/tools/toolutil/ |
D | pkg_gencmn.cpp | 86 uint32_t basenameLength, basenameOffset, fileSize, fileOffset; member 232 fileOffset+=(files[i].fileSize+15)&~0xf; in createCommonDataFile() 271 …("adding %s (%ld byte%s)\n", files[i].pathname, (long)files[i].fileSize, files[i].fileSize == 1 ? … in createCommonDataFile() 289 length=files[i].fileSize; in createCommonDataFile() 291 if (nread != files[i].fileSize) { in createCommonDataFile() 292 …ld byte%s)\n", files[i].pathname, (long)nread, (long)files[i].fileSize, files[i].fileSize == 1 ? … in createCommonDataFile() 469 files[fileCount].fileSize=length; in addFile()
|
/third_party/skia/third_party/externals/icu/source/tools/toolutil/ |
D | pkg_gencmn.cpp | 86 uint32_t basenameLength, basenameOffset, fileSize, fileOffset; member 232 fileOffset+=(files[i].fileSize+15)&~0xf; in createCommonDataFile() 271 …("adding %s (%ld byte%s)\n", files[i].pathname, (long)files[i].fileSize, files[i].fileSize == 1 ? … in createCommonDataFile() 289 length=files[i].fileSize; in createCommonDataFile() 291 if (nread != files[i].fileSize) { in createCommonDataFile() 292 …ld byte%s)\n", files[i].pathname, (long)nread, (long)files[i].fileSize, files[i].fileSize == 1 ? … in createCommonDataFile() 469 files[fileCount].fileSize=length; in addFile()
|
/third_party/flutter/skia/third_party/externals/icu/source/tools/toolutil/ |
D | pkg_gencmn.cpp | 86 uint32_t basenameLength, basenameOffset, fileSize, fileOffset; member 232 fileOffset+=(files[i].fileSize+15)&~0xf; in createCommonDataFile() 271 …("adding %s (%ld byte%s)\n", files[i].pathname, (long)files[i].fileSize, files[i].fileSize == 1 ? … in createCommonDataFile() 289 length=files[i].fileSize; in createCommonDataFile() 291 if (nread != files[i].fileSize) { in createCommonDataFile() 292 …ld byte%s)\n", files[i].pathname, (long)nread, (long)files[i].fileSize, files[i].fileSize == 1 ? … in createCommonDataFile() 469 files[fileCount].fileSize=length; in addFile()
|
/third_party/typescript/src/testRunner/unittests/tsserver/events/ |
D | projectLanguageServiceState.ts | 59 fileSize: server.maxProgramSizeForNonTsFiles + 1 64 fileSize: server.maxProgramSizeForNonTsFiles + 100 82 …ile size exceeded limit (${f1.content.length + f2.fileSize!}). Largest files: ${f2.path}:${f2.file…
|
D | largeFileReferenced.ts | 12 fileSize: server.maxFileSize + 1 30 … data: { file: largeFile.path, fileSize: largeFile.fileSize, maxFileSize: server.maxFileSize }
|
/third_party/icu/icu4c/source/test/intltest/ |
D | dcfmtest.cpp | 516 int32_t fileSize; in ReadAndConvertFile() local 521 fileSize = ftell(f); in ReadAndConvertFile() 522 fileBuf = new char[fileSize]; in ReadAndConvertFile() 524 amtRead = static_cast<int32_t>(fread(fileBuf, 1, fileSize, f)); in ReadAndConvertFile() 525 if (amtRead != fileSize || fileSize <= 0) { in ReadAndConvertFile() 539 if (fileSize<3 || uprv_strncmp(fileBuf, "\xEF\xBB\xBF", 3) != 0) { in ReadAndConvertFile()
|
/third_party/skia/third_party/externals/d3d12allocator/src/ |
D | Common.cpp | 29 size_t fileSize = (size_t)file.tellg(); in ReadFile() local 30 if(fileSize > 0) in ReadFile() 32 out.resize(fileSize); in ReadFile() 34 file.read(out.data(), fileSize); in ReadFile()
|
/third_party/expat/tests/benchmark/ |
D | benchmark.c | 65 int nrOfLoops, bufferSize, fileSize, i, isFinal; in main() local 102 fileSize = fread(XMLBuf, sizeof(char), fileAttr.st_size, fd); in main() 111 XMLBufEnd = XMLBuf + fileSize; in main()
|
/third_party/skia/third_party/externals/expat/expat/tests/benchmark/ |
D | benchmark.c | 65 int nrOfLoops, bufferSize, fileSize, i, isFinal; in main() local 102 fileSize = fread(XMLBuf, sizeof(char), fileAttr.st_size, fd); in main() 111 XMLBufEnd = XMLBuf + fileSize; in main()
|
/third_party/node/test/parallel/ |
D | test-fs-read-stream.js | 39 const fileSize = fs.statSync(fn).size; 76 assert.strictEqual(bytesRead, fileSize); 77 assert.strictEqual(file.bytesRead, fileSize); 82 assert.strictEqual(bytesRead, fileSize); 83 assert.strictEqual(file.bytesRead, fileSize);
|
/third_party/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/charsetdet/mbcs/ |
D | BIG5Tool.java | 45 int fileSize; field in BIG5Tool 119 fileSize = is.read(buf); in processDir() 122 System.out.println(" " + fileSize + " bytes."); in processDir() 291 if (nextIndex >= fileSize) { in nextByte()
|