/external/chromium_org/third_party/skia/src/utils/win/ |
D | SkDWriteFontFileStream.cpp | 37 size_t fileSize = this->getLength(); in read() local 39 if (fPos + size > fileSize) { in read() 40 size_t skipped = fileSize - fPos; in read() 41 fPos = fileSize; in read() 60 size_t fileSize = this->getLength(); in read() local 61 if (fPos + size <= fileSize) { in read() 66 size_t read = fileSize - fPos; in read() 71 fPos = fileSize; in read() 126 UINT64 fileSize; in getMemoryBase() local 127 HRNM(fFontFileStream->GetFileSize(&fileSize), "Could not get file size"); in getMemoryBase() [all …]
|
/external/skia/src/utils/win/ |
D | SkDWriteFontFileStream.cpp | 37 size_t fileSize = this->getLength(); in read() local 39 if (fPos + size > fileSize) { in read() 40 size_t skipped = fileSize - fPos; in read() 41 fPos = fileSize; in read() 60 size_t fileSize = this->getLength(); in read() local 61 if (fPos + size <= fileSize) { in read() 66 size_t read = fileSize - fPos; in read() 71 fPos = fileSize; in read() 126 UINT64 fileSize; in getMemoryBase() local 127 HRNM(fFontFileStream->GetFileSize(&fileSize), "Could not get file size"); in getMemoryBase() [all …]
|
/external/smack/src/org/jivesoftware/smackx/filetransfer/ |
D | FileTransfer.java | 41 private long fileSize; field in FileTransfer 71 protected void setFileInfo(String fileName, long fileSize) { in setFileInfo() argument 73 this.fileSize = fileSize; in setFileInfo() 76 protected void setFileInfo(String path, String fileName, long fileSize) { in setFileInfo() argument 79 this.fileSize = fileSize; in setFileInfo() 88 return fileSize; in getFileSize() 125 if (amountWritten <= 0 || fileSize <= 0) { in getProgress() 128 return (double) amountWritten / (double) fileSize; in getProgress() 234 && amountWritten != fileSize) { in writeToStream()
|
D | OutgoingFileTransfer.java | 115 public synchronized OutputStream sendFile(String fileName, long fileSize, in sendFile() argument 123 setFileInfo(fileName, fileSize); in sendFile() 124 this.outputStream = negotiateStream(fileName, fileSize, description); in sendFile() 151 final long fileSize, final String description, in sendFile() argument 163 setFileInfo(fileName, fileSize); in sendFile() 169 fileName, fileSize, description); in sendFile() 276 …void sendStream(final InputStream in, final String fileName, final long fileSize, final String des… in sendStream() argument 279 setFileInfo(fileName, fileSize); in sendStream() 282 setFileInfo(fileName, fileSize); in sendStream() 285 outputStream = negotiateStream(fileName, fileSize, description); in sendStream() [all …]
|
/external/icu/icu4c/source/samples/layout/ |
D | UnicodeReader.cpp | 29 int32_t fileSize; in readFile() local 47 fileSize = ftell(f); in readFile() 81 fileSize -= signatureLength; in readFile() 83 byteBuffer = new char[fileSize]; in readFile() 92 fread(byteBuffer, sizeof(char), fileSize, f); in readFile() 102 UnicodeString myText(byteBuffer, fileSize, cp); in readFile()
|
/external/chromium_org/third_party/icu/source/samples/layout/ |
D | UnicodeReader.cpp | 29 int32_t fileSize; in readFile() local 47 fileSize = ftell(f); in readFile() 81 fileSize -= signatureLength; in readFile() 83 byteBuffer = new char[fileSize]; in readFile() 92 fread(byteBuffer, sizeof(char), fileSize, f); in readFile() 102 UnicodeString myText(byteBuffer, fileSize, cp); in readFile()
|
/external/lzma/CPP/7zip/Bundles/LzmaCon/ |
D | LzmaAlone.cpp | 305 UInt64 fileSize; in main2() local 306 inStreamSpec->File.GetLength(fileSize); in main2() 307 if (fileSize > 0xF0000000) in main2() 309 size_t inSize = (size_t)fileSize; in main2() 326 outSize = (size_t)fileSize / 20 * 21 + (1 << 16); in main2() 358 if (inSize != (size_t)fileSize) in main2() 371 UInt64 fileSize; in main2() local 449 fileSize = (UInt64)(Int64)-1; in main2() 451 inStreamSpec->File.GetLength(fileSize); in main2() 455 Byte b = Byte(fileSize >> (8 * i)); in main2() [all …]
|
/external/sonivox/arm-fm-22k/host_src/ |
D | eas_hostmm.c | 83 EAS_I32 fileSize; member 229 if ((file->fileSize = ftell(ioFile)) == -1L) in EAS_HWOpenFile() 235 file->buffer = EAS_HWMalloc(hwInstData, file->fileSize); in EAS_HWOpenFile() 243 temp = (int) fread(file->buffer, (size_t) file->fileSize, 1, ioFile); in EAS_HWOpenFile() 284 count = file->fileSize - file->filePos; in EAS_HWReadFile() 317 if (file->filePos >= file->fileSize) in EAS_HWGetByte() 427 if ((position < 0) || (position > file->fileSize)) in EAS_HWFileSeek() 453 if ((position < 0) || (position > file->fileSize)) in EAS_HWFileSeekOfs() 477 *pLength = file->fileSize; in EAS_HWFileLength() 508 dupFile->fileSize = file->fileSize; in EAS_HWDupHandle()
|
/external/sonivox/arm-hybrid-22k/host_src/ |
D | eas_hostmm.c | 83 EAS_I32 fileSize; member 229 if ((file->fileSize = ftell(ioFile)) == -1L) in EAS_HWOpenFile() 235 file->buffer = EAS_HWMalloc(hwInstData, file->fileSize); in EAS_HWOpenFile() 243 temp = (int) fread(file->buffer, (size_t) file->fileSize, 1, ioFile); in EAS_HWOpenFile() 284 count = file->fileSize - file->filePos; in EAS_HWReadFile() 317 if (file->filePos >= file->fileSize) in EAS_HWGetByte() 427 if ((position < 0) || (position > file->fileSize)) in EAS_HWFileSeek() 453 if ((position < 0) || (position > file->fileSize)) in EAS_HWFileSeekOfs() 477 *pLength = file->fileSize; in EAS_HWFileLength() 508 dupFile->fileSize = file->fileSize; in EAS_HWDupHandle()
|
/external/chromium_org/third_party/sqlite/src/tool/ |
D | showjournal.c | 16 static int fileSize = 0; variable 122 fileSize = ftell(db); in main() 123 printf("journal file size: %d bytes\n", fileSize); in main() 126 while( iOfst<fileSize ){ in main() 129 cnt = (fileSize - sectorSize)/(pageSize+8); in main() 132 while( cnt && iOfst<fileSize ){ in main()
|
/external/qemu/android/utils/ |
D | file_data.c | 72 long fileSize = ftell(f); in fileData_initFromFile() local 73 if (fileSize < 0) { in fileData_initFromFile() 78 if (fileSize == 0) { in fileData_initFromFile() 88 char* buffer = malloc((size_t)fileSize); in fileData_initFromFile() 94 size_t readLen = fread(buffer, 1, (size_t)fileSize, f); in fileData_initFromFile() 95 if (readLen != (size_t)fileSize) { in fileData_initFromFile()
|
/external/chromium_org/third_party/icu/source/tools/gencfu/ |
D | gencfu.cpp | 304 long fileSize; in readFile() local 312 fileSize = ftell(file); in readFile() 314 result = new char[fileSize+10]; in readFile() 320 long t = fread(result, 1, fileSize, file); in readFile() 321 if (t != fileSize) { in readFile() 326 result[fileSize]=0; in readFile() 327 *len = static_cast<int32_t>(fileSize); in readFile()
|
/external/icu/icu4c/source/tools/gencfu/ |
D | gencfu.cpp | 304 long fileSize; in readFile() local 312 fileSize = ftell(file); in readFile() 314 result = new char[fileSize+10]; in readFile() 320 long t = fread(result, 1, fileSize, file); in readFile() 321 if (t != fileSize) { in readFile() 326 result[fileSize]=0; in readFile() 327 *len = static_cast<int32_t>(fileSize); in readFile()
|
/external/sonivox/arm-wt-22k/host_src/ |
D | eas_hostmm.c | 88 EAS_I32 fileSize; member 273 if ((file->fileSize = lseek(fd, 0, SEEK_CUR)) == -1L) { in EAS_HWOpenFile() 281 file->fileSize = (EAS_I32) locator->length; in EAS_HWOpenFile() 323 count = file->fileSize - file->filePos; in EAS_HWReadFile() 457 if ((position < 0) || (position > file->fileSize)) in EAS_HWFileSeek() 483 if ((position < 0) || (position > file->fileSize)) in EAS_HWFileSeekOfs() 507 *pLength = file->fileSize; in EAS_HWFileLength() 537 dupFile->fileSize = file->fileSize; in EAS_HWDupHandle()
|
/external/skia/src/ports/ |
D | SkOSFile_win.cpp | 74 LARGE_INTEGER fileSize; in sk_fdmmap() local 75 if (0 == GetFileSizeEx(file, &fileSize)) { in sk_fdmmap() 79 if (!SkTFitsIn<size_t>(fileSize.QuadPart)) { in sk_fdmmap() 96 *length = static_cast<size_t>(fileSize.QuadPart); in sk_fdmmap()
|
D | SkOSFile_posix.cpp | 58 size_t fileSize = static_cast<size_t>(status.st_size); in sk_fdmmap() local 60 void* addr = mmap(NULL, fileSize, PROT_READ, MAP_PRIVATE, fd, 0); in sk_fdmmap() 65 *size = fileSize; in sk_fdmmap()
|
/external/chromium_org/third_party/skia/src/ports/ |
D | SkOSFile_win.cpp | 85 LARGE_INTEGER fileSize; in sk_fdmmap() local 86 if (0 == GetFileSizeEx(file, &fileSize)) { in sk_fdmmap() 90 if (!SkTFitsIn<size_t>(fileSize.QuadPart)) { in sk_fdmmap() 107 *length = static_cast<size_t>(fileSize.QuadPart); in sk_fdmmap()
|
D | SkOSFile_posix.cpp | 70 size_t fileSize = static_cast<size_t>(status.st_size); in sk_fdmmap() local 72 void* addr = mmap(NULL, fileSize, PROT_READ, MAP_PRIVATE, fd, 0); in sk_fdmmap() 77 *size = fileSize; in sk_fdmmap()
|
/external/sonivox/arm-wt-22k/jetcreator_lib_src/darwin-x86/ |
D | EASLibVst.c | 75 EAS_I32 fileSize; member 82 EAS_I32 fileSize; member 524 if ((result = EAS_HWFileLength(hwInstData, file, &file->fileSize)) != EAS_SUCCESS) in EAS_HWOpenFile() 795 if ((position < 0) || (position > file->fileSize)) in EAS_HWFileSeek() 841 if ((temp < 0) || (temp > file->fileSize)) in EAS_HWFileSeekOfs() 917 dupfile->fileSize = file->fileSize; in EAS_HWDupHandle() 1037 if ((file->fileSize = ftell(ioFile)) == -1L) in EAS_HWOpenFile() 1043 file->buffer = EAS_HWMalloc(hwInstData, file->fileSize); in EAS_HWOpenFile() 1051 temp = (int) fread(file->buffer, (size_t) file->fileSize, 1, ioFile); in EAS_HWOpenFile() 1096 count = file->fileSize - file->filePos; in EAS_HWReadFile() [all …]
|
D | EASLib.c | 77 EAS_I32 fileSize; member 84 EAS_I32 fileSize; member 829 if ((result = EAS_HWFileLength(hwInstData, file, &file->fileSize)) != EAS_SUCCESS) in EAS_HWOpenFile() 1100 if ((position < 0) || (position > file->fileSize)) in EAS_HWFileSeek() 1146 if ((temp < 0) || (temp > file->fileSize)) in EAS_HWFileSeekOfs() 1222 dupfile->fileSize = file->fileSize; in EAS_HWDupHandle() 1342 if ((file->fileSize = ftell(ioFile)) == -1L) in EAS_HWOpenFile() 1348 file->buffer = EAS_HWMalloc(hwInstData, file->fileSize); in EAS_HWOpenFile() 1356 temp = (int) fread(file->buffer, (size_t) file->fileSize, 1, ioFile); in EAS_HWOpenFile() 1401 count = file->fileSize - file->filePos; in EAS_HWReadFile() [all …]
|
/external/chromium_org/third_party/icu/source/tools/toolutil/ |
D | pkg_gencmn.c | 84 uint32_t basenameLength, basenameOffset, fileSize, fileOffset; member 228 fileOffset+=(files[i].fileSize+15)&~0xf; in createCommonDataFile() 267 …("adding %s (%ld byte%s)\n", files[i].pathname, (long)files[i].fileSize, files[i].fileSize == 1 ? … in createCommonDataFile() 285 length=files[i].fileSize; in createCommonDataFile() 287 if (nread != files[i].fileSize) { in createCommonDataFile() 288 …ld byte%s)\n", files[i].pathname, (long)nread, (long)files[i].fileSize, files[i].fileSize == 1 ? … in createCommonDataFile() 465 files[fileCount].fileSize=length; in addFile()
|
/external/icu/icu4c/source/tools/toolutil/ |
D | pkg_gencmn.c | 84 uint32_t basenameLength, basenameOffset, fileSize, fileOffset; member 228 fileOffset+=(files[i].fileSize+15)&~0xf; in createCommonDataFile() 267 …("adding %s (%ld byte%s)\n", files[i].pathname, (long)files[i].fileSize, files[i].fileSize == 1 ? … in createCommonDataFile() 285 length=files[i].fileSize; in createCommonDataFile() 287 if (nread != files[i].fileSize) { in createCommonDataFile() 288 …ld byte%s)\n", files[i].pathname, (long)nread, (long)files[i].fileSize, files[i].fileSize == 1 ? … in createCommonDataFile() 465 files[fileCount].fileSize=length; in addFile()
|
/external/dexmaker/src/dx/java/com/android/dx/dex/file/ |
D | DexFile.java | 103 private int fileSize; field in DexFile 138 fileSize = -1; in DexFile() 248 if (fileSize < 0) { in getFileSize() 252 return fileSize; in getFileSize() 555 fileSize = offset; in toDex0() 556 byte[] barr = new byte[fileSize]; in toDex0() 585 if (out.getCursor() != fileSize) { in toDex0()
|
/external/expat/tests/benchmark/ |
D | benchmark.c | 31 int nrOfLoops, bufferSize, fileSize, i, isFinal; in main() local 70 fileSize = fread (XMLBuf, sizeof (char), fileAttr.st_size, fd); in main() 79 XMLBufEnd = XMLBuf + fileSize; in main()
|
/external/lzma/C/Util/Lzma/ |
D | LzmaUtil.c | 134 static SRes Encode(ISeqOutStream *outStream, ISeqInStream *inStream, UInt64 fileSize, char *rs) in Encode() argument 157 header[headerSize++] = (Byte)(fileSize >> (8 * i)); in Encode() 220 UInt64 fileSize; in main2() local 221 File_GetLength(&inStream.file, &fileSize); in main2() 222 res = Encode(&outStream.s, &inStream.s, fileSize, rs); in main2()
|