/external/icu4c/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/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/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/icu4c/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() 319 long t = fread(result, 1, fileSize, file); in readFile() 320 if (t != fileSize) { in readFile() 325 result[fileSize]=0; in readFile() 326 *len = static_cast<int32_t>(fileSize); in readFile()
|
/external/chromium/third_party/icu/source/tools/gencfu/ |
D | gencfu.cpp | 303 long fileSize; in readFile() local 311 fileSize = ftell(file); in readFile() 313 result = new char[fileSize+10]; in readFile() 318 long t = fread(result, 1, fileSize, file); in readFile() 319 if (t != fileSize) { in readFile() 323 result[fileSize]=0; in readFile() 324 *len = static_cast<int32_t>(fileSize); in readFile()
|
/external/sonivox/arm-wt-22k/host_src/ |
D | eas_hostmm.c | 89 EAS_I32 fileSize; member 274 if ((file->fileSize = lseek(fd, 0, SEEK_CUR)) == -1L) { in EAS_HWOpenFile() 282 file->fileSize = (EAS_I32) locator->length; in EAS_HWOpenFile() 324 count = file->fileSize - file->filePos; in EAS_HWReadFile() 458 if ((position < 0) || (position > file->fileSize)) in EAS_HWFileSeek() 484 if ((position < 0) || (position > file->fileSize)) in EAS_HWFileSeekOfs() 508 *pLength = file->fileSize; in EAS_HWFileLength() 538 dupFile->fileSize = file->fileSize; in EAS_HWDupHandle()
|
/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/icu4c/test/intltest/ |
D | itspoof.cpp | 330 int32_t fileSize = ftell(f.getAlias()); in testConfData() local 331 LocalArray<char> fileBuf(new char[fileSize]); in testConfData() 333 int32_t amt_read = fread(fileBuf.getAlias(), 1, fileSize, f.getAlias()); in testConfData() 334 TEST_ASSERT_EQ(amt_read, fileSize); in testConfData() 335 TEST_ASSERT(fileSize>0); in testConfData() 336 if (amt_read != fileSize || fileSize <=0) { in testConfData() 339 … UnicodeString confusablesTxt = UnicodeString::fromUTF8(StringPiece(fileBuf.getAlias(), fileSize)); in testConfData()
|
D | dcfmtest.cpp | 459 int32_t fileSize; in ReadAndConvertFile() local 464 fileSize = ftell(f); in ReadAndConvertFile() 465 fileBuf = new char[fileSize]; in ReadAndConvertFile() 467 amtRead = fread(fileBuf, 1, fileSize, f); in ReadAndConvertFile() 468 if (amtRead != fileSize || fileSize <= 0) { in ReadAndConvertFile() 482 if (fileSize<3 || uprv_strncmp(fileBuf, "\xEF\xBB\xBF", 3) != 0) { in ReadAndConvertFile()
|
/external/icu4c/tools/toolutil/ |
D | pkg_gencmn.c | 85 uint32_t basenameLength, basenameOffset, fileSize, fileOffset; member 205 fileOffset+=(files[i].fileSize+15)&~0xf; in createCommonDataFile() 244 …("adding %s (%ld byte%s)\n", files[i].pathname, (long)files[i].fileSize, files[i].fileSize == 1 ? … in createCommonDataFile() 262 length=files[i].fileSize; in createCommonDataFile() 264 if (nread != files[i].fileSize) { in createCommonDataFile() 265 …ld byte%s)\n", files[i].pathname, (long)nread, (long)files[i].fileSize, files[i].fileSize == 1 ? … in createCommonDataFile() 439 files[fileCount].fileSize=length; in addFile()
|
/external/chromium/third_party/icu/source/tools/toolutil/ |
D | pkg_gencmn.c | 85 uint32_t basenameLength, basenameOffset, fileSize, fileOffset; member 205 fileOffset+=(files[i].fileSize+15)&~0xf; in createCommonDataFile() 244 …("adding %s (%ld byte%s)\n", files[i].pathname, (long)files[i].fileSize, files[i].fileSize == 1 ? … in createCommonDataFile() 262 length=files[i].fileSize; in createCommonDataFile() 264 if (nread != files[i].fileSize) { in createCommonDataFile() 265 …ld byte%s)\n", files[i].pathname, (long)nread, (long)files[i].fileSize, files[i].fileSize == 1 ? … in createCommonDataFile() 439 files[fileCount].fileSize=length; in addFile()
|
/external/sonivox/arm-wt-22k/lib_src/ |
D | eas_wavefile.c | 518 EAS_U32 fileSize; in WaveParseHeader() local 547 …if ((result = EAS_HWGetDWord(pEASData->hwInstData, fileHandle, &fileSize, EAS_FALSE)) != EAS_FALSE) in WaveParseHeader() 565 if (fileSize== FILE_SIZE_STREAMING) in WaveParseHeader() 568 fileSize = 0x7fffffff; in WaveParseHeader() 574 fileSize -= 4; in WaveParseHeader() 695 fileSize -= 8; in WaveParseHeader() 702 if (size >= fileSize) in WaveParseHeader() 704 if (size > fileSize) in WaveParseHeader() 711 fileSize -= size; in WaveParseHeader()
|
/external/sonivox/arm-hybrid-22k/lib_src/ |
D | eas_wavefile.c | 518 EAS_U32 fileSize; in WaveParseHeader() local 547 …if ((result = EAS_HWGetDWord(pEASData->hwInstData, fileHandle, &fileSize, EAS_FALSE)) != EAS_FALSE) in WaveParseHeader() 565 if (fileSize== FILE_SIZE_STREAMING) in WaveParseHeader() 568 fileSize = 0x7fffffff; in WaveParseHeader() 574 fileSize -= 4; in WaveParseHeader() 695 fileSize -= 8; in WaveParseHeader() 702 if (size >= fileSize) in WaveParseHeader() 704 if (size > fileSize) in WaveParseHeader() 711 fileSize -= size; in WaveParseHeader()
|
/external/sonivox/arm-fm-22k/lib_src/ |
D | eas_wavefile.c | 518 EAS_U32 fileSize; in WaveParseHeader() local 547 …if ((result = EAS_HWGetDWord(pEASData->hwInstData, fileHandle, &fileSize, EAS_FALSE)) != EAS_FALSE) in WaveParseHeader() 565 if (fileSize== FILE_SIZE_STREAMING) in WaveParseHeader() 568 fileSize = 0x7fffffff; in WaveParseHeader() 574 fileSize -= 4; in WaveParseHeader() 695 fileSize -= 8; in WaveParseHeader() 702 if (size >= fileSize) in WaveParseHeader() 704 if (size > fileSize) in WaveParseHeader() 711 fileSize -= size; in WaveParseHeader()
|
/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/webkit/WebCore/platform/wince/ |
D | FileSystemWince.cpp | 63 ULARGE_INTEGER fileSize; in getFileSize() local 64 fileSize.LowPart = fileInformation.nFileSizeLow; in getFileSize() 65 fileSize.HighPart = fileInformation.nFileSizeHigh; in getFileSize() 67 result = fileSize.QuadPart; in getFileSize()
|
/external/chromium/third_party/icu/source/test/thaitest/ |
D | thaitest.cpp | 308 int32_t fileSize; in readFile() local 321 fileSize = ftell(f); in readFile() 324 bufferChars = new char[fileSize]; in readFile() 332 fread(bufferChars, sizeof(char), fileSize, f); in readFile() 341 UnicodeString myText(bufferChars, fileSize, "UTF-8"); in readFile()
|
/external/icu4c/test/thaitest/ |
D | thaitest.cpp | 308 int32_t fileSize; in readFile() local 321 fileSize = ftell(f); in readFile() 324 bufferChars = new char[fileSize]; in readFile() 332 fread(bufferChars, sizeof(char), fileSize, f); in readFile() 341 UnicodeString myText(bufferChars, fileSize, "UTF-8"); in readFile()
|
/external/webkit/WebCore/loader/ |
D | FTPDirectoryParser.h | 134 fileSize.truncate(0); in clear() 148 String fileSize; member
|
D | FTPDirectoryParser.cpp | 207 result.fileSize = String(p + 1, &line[pos] - p + 1); in parseOneFTPLine() 546 result.fileSize = String::number(size); in parseOneFTPLine() 833 result.fileSize = String(tokens[2], pos); in parseOneFTPLine() 979 result.fileSize = String(tokens[0], pos); in parseOneFTPLine() 1167 result.fileSize = String(tokens[tokmarker], pos); in parseOneFTPLine() 1221 unsigned int fileSize = result.fileSize.toUInt(); in parseOneFTPLine() local 1223 if (result.filenameLength > (fileSize + 4) && in parseOneFTPLine() 1224 strncmp(result.filename + result.filenameLength - fileSize - 4, " -> ", 4) == 0) in parseOneFTPLine() 1226 result.linkname = result.filename + (result.filenameLength - fileSize); in parseOneFTPLine() 1228 result.filenameLength -= fileSize + 4; in parseOneFTPLine() [all …]
|
/external/webkit/WebCore/platform/win/ |
D | ClipboardWin.cpp | 185 int fileSize = (int) (ansiUrlSize+strlen(szShellDotUrlTemplate)-2); // -2 to remove the %s in createGlobalURLContent() local 186 ASSERT(estimatedFileSize < 0 || fileSize == estimatedFileSize); in createGlobalURLContent() 188 memObj = GlobalAlloc(GPTR, fileSize); in createGlobalURLContent() 195 CopyMemory(fileContents, contentGenerationBuffer, fileSize); in createGlobalURLContent() 293 int fileSize = ::WideCharToMultiByte(CP_ACP, 0, url.characters(), url.length(), 0, 0, 0, 0); in createGlobalUrlFileDescriptor() local 294 …fileSize += strlen(szShellDotUrlTemplate) - 2; // -2 is for getting rid of %s in the template str… in createGlobalUrlFileDescriptor() 295 fgd->fgd[0].nFileSizeLow = fileSize; in createGlobalUrlFileDescriptor() 296 estimatedSize = fileSize; in createGlobalUrlFileDescriptor()
|
/external/yaffs2/yaffs2/ |
D | yaffs_guts.c | 1622 theObject->variant.fileVariant.fileSize = 0; in yaffs_CreateNewObject() 2697 fSize = in->variant.fileVariant.fileSize; in yaffs_CheckFileSanity() 3066 oh->fileSize = in yaffs_UpdateObjectHeader() 3070 fileVariant.fileSize; in yaffs_UpdateObjectHeader() 3101 newTags.extraFileLength = oh->fileSize; in yaffs_UpdateObjectHeader() 3563 cp->fileSizeOrEquivalentObjectId = obj->variant.fileVariant.fileSize; in yaffs_ObjectToCheckpointObject() 3598 obj->variant.fileVariant.fileSize = cp->fileSizeOrEquivalentObjectId; in yaffs_CheckpointObjectToObject() 4037 in->variant.fileVariant.fileSize - in yaffs_WriteDataToFile() 4182 if ((startOfWrite + nDone) > in->variant.fileVariant.fileSize) { in yaffs_WriteDataToFile() 4183 in->variant.fileVariant.fileSize = (startOfWrite + nDone); in yaffs_WriteDataToFile() [all …]
|
/external/chromium/third_party/icu/source/test/perf/ubrkperf/ |
D | ubrkperfold.cpp | 686 int32_t fileSize = f.size(); in main() local 690 if(fileSize != -1) { in main() 691 text = (UChar *)malloc(fileSize*sizeof(UChar)); in main() 692 bufSize = fileSize; in main()
|
/external/icu4c/test/perf/ubrkperf/ |
D | ubrkperfold.cpp | 686 int32_t fileSize = f.size(); in main() local 690 if(fileSize != -1) { in main() 691 text = (UChar *)malloc(fileSize*sizeof(UChar)); in main() 692 bufSize = fileSize; in main()
|