HomeSort by relevance Sort by last modified time
    Searched defs:fileSize (Results 1 - 25 of 60) sorted by null

1 2 3

  /external/webkit/Source/WebCore/platform/brew/
SharedBufferBrew.cpp 46 long long fileSize;
47 if (!fileExists(filePath) || !getFileSize(filePath, fileSize))
51 result->m_buffer.grow(fileSize);
65 while ((bytesRead = IFILE_Read(file.get(), result->m_buffer.data() + totalBytesRead, fileSize - totalBytesRead)) > 0)
69 if (totalBytesRead != fileSize) {
  /external/icu4c/samples/layout/
UnicodeReader.cpp 29 int32_t fileSize;
47 fileSize = ftell(f);
81 fileSize -= signatureLength;
83 byteBuffer = new char[fileSize];
92 fread(byteBuffer, sizeof(char), fileSize, f);
102 UnicodeString myText(byteBuffer, fileSize, cp);
  /external/webkit/Source/WebCore/fileapi/
File.h 74 unsigned long long fileSize() const { return size(); }
  /external/expat/tests/benchmark/
benchmark.c 31 int nrOfLoops, bufferSize, fileSize, i, isFinal;
70 fileSize = fread (XMLBuf, sizeof (char), fileAttr.st_size, fd);
79 XMLBufEnd = XMLBuf + fileSize;
  /external/icu4c/tools/gencfu/
gencfu.cpp 304 long fileSize;
312 fileSize = ftell(file);
314 result = new char[fileSize+10];
319 long t = fread(result, 1, fileSize, file);
320 if (t != fileSize) {
325 result[fileSize]=0;
326 *len = static_cast<int32_t>(fileSize);
  /system/media/mca/filterfw/java/android/filterfw/basefilters/
InputStreamSource.java 64 int fileSize = 0;
74 fileSize += bytesRead;
83 mOutputFormat.setDimensions(fileSize);
  /dalvik/vm/
RawDexFile.cpp 124 size_t fileSize = 0;
139 if (getModTimeAndSize(dexFd, &modTime, &fileSize) < 0) {
187 result = copyFileToFile(optFd, dexFd, fileSize) == 0;
192 result = dvmOptimizeDexFile(optFd, dexOffset, fileSize,
  /development/samples/BrowserPlugin/jni/audio/
AudioPlugin.h 36 int fileSize;
  /external/webkit/Source/WebCore/loader/
FTPDirectoryParser.cpp 211 result.fileSize = String(p + 1, &line[pos] - p + 1);
538 * LISTing's filesize, so we won't (like ftpmirror).
550 result.fileSize = String::number(size);
763 /* VM/CMS LISTings have no usable filesize field.
830 // filesize (token[2]) must end at offset 38
837 result.fileSize = String(tokens[2], pos);
    [all...]
FTPDirectoryParser.h 134 fileSize.truncate(0);
148 String fileSize;
  /packages/apps/Gallery2/src/com/android/gallery3d/data/
LocalMediaItem.java 39 public long fileSize;
91 if (fileSize > 0) details.addDetail(MediaDetails.INDEX_SIZE, fileSize);
101 return fileSize;
  /dalvik/dx/src/com/android/dx/dex/
TableOfContents.java 60 public int fileSize;
86 fileSize = headerIn.readInt();
172 out.writeInt(fileSize);
  /external/icu4c/test/intltest/
dcfmtest.cpp 460 int32_t fileSize;
465 fileSize = ftell(f);
466 fileBuf = new char[fileSize];
468 amtRead = fread(fileBuf, 1, fileSize, f);
469 if (amtRead != fileSize || fileSize <= 0) {
483 if (fileSize<3 || uprv_strncmp(fileBuf, "\xEF\xBB\xBF", 3) != 0) {
itspoof.cpp 334 int32_t fileSize = ftell(f.getAlias());
335 LocalArray<char> fileBuf(new char[fileSize]);
337 int32_t amt_read = fread(fileBuf.getAlias(), 1, fileSize, f.getAlias());
338 TEST_ASSERT_EQ(amt_read, fileSize);
339 TEST_ASSERT(fileSize>0);
340 if (amt_read != fileSize || fileSize <=0) {
343 UnicodeString confusablesTxt = UnicodeString::fromUTF8(StringPiece(fileBuf.getAlias(), fileSize));
  /external/icu4c/test/thaitest/
thaitest.cpp 308 int32_t fileSize;
321 fileSize = ftell(f);
324 bufferChars = new char[fileSize];
332 fread(bufferChars, sizeof(char), fileSize, f);
341 UnicodeString myText(bufferChars, fileSize, "UTF-8");
  /external/icu4c/tools/icuswap/
icuswap.cpp 60 fileSize(FILE *f) {
173 length=fileSize(in);
  /external/icu4c/tools/toolutil/
pkg_gencmn.c 84 uint32_t basenameLength, basenameOffset, fileSize, fileOffset;
207 fileOffset+=(files[i].fileSize+15)&~0xf;
246 printf("adding %s (%ld byte%s)\n", files[i].pathname, (long)files[i].fileSize, files[i].fileSize == 1 ? "" : "s");
264 length=files[i].fileSize;
266 if (nread != files[i].fileSize) {
267 fprintf(stderr, "gencmn: unable to read %s properly (got %ld/%ld byte%s)\n", files[i].pathname, (long)nread, (long)files[i].fileSize, files[i].fileSize == 1 ? "" : "s");
445 files[fileCount].fileSize=length;
  /external/llvm/include/llvm/Support/
PathV1.h 43 uint64_t fileSize; ///< Size of the file in bytes
52 FileStatus() : fileSize(0), modTime(0,0), mode(0777), user(999),
56 uint64_t getSize() const { return fileSize; }
611 static const char *MapInFilePages(int FD, size_t FileSize,
619 static void UnMapFilePages(const char *Base, size_t FileSize);
    [all...]
  /external/mesa3d/test/
main.cpp 39 unsigned fileSize = ftell(file);
42 char * shader_string = (char *)malloc(fileSize + 1);
43 printf("fileSize=%dB \n", fileSize);
44 int read = fread(shader_string, 1, fileSize, file);
  /external/sonivox/arm-fm-22k/host_src/
eas_hostmm.c 83 EAS_I32 fileSize;
229 if ((file->fileSize = ftell(ioFile)) == -1L)
235 file->buffer = EAS_HWMalloc(hwInstData, file->fileSize);
243 temp = (int) fread(file->buffer, (size_t) file->fileSize, 1, ioFile);
284 count = file->fileSize - file->filePos;
317 if (file->filePos >= file->fileSize)
427 if ((position < 0) || (position > file->fileSize))
453 if ((position < 0) || (position > file->fileSize))
477 *pLength = file->fileSize;
508 dupFile->fileSize = file->fileSize
    [all...]
  /external/sonivox/arm-fm-22k/lib_src/
eas_wavefile.c 518 EAS_U32 fileSize;
547 if ((result = EAS_HWGetDWord(pEASData->hwInstData, fileHandle, &fileSize, EAS_FALSE)) != EAS_FALSE)
565 if (fileSize== FILE_SIZE_STREAMING)
568 fileSize = 0x7fffffff;
574 fileSize -= 4;
695 fileSize -= 8;
702 if (size >= fileSize)
704 if (size > fileSize)
711 fileSize -= size;
  /external/sonivox/arm-hybrid-22k/host_src/
eas_hostmm.c 83 EAS_I32 fileSize;
229 if ((file->fileSize = ftell(ioFile)) == -1L)
235 file->buffer = EAS_HWMalloc(hwInstData, file->fileSize);
243 temp = (int) fread(file->buffer, (size_t) file->fileSize, 1, ioFile);
284 count = file->fileSize - file->filePos;
317 if (file->filePos >= file->fileSize)
427 if ((position < 0) || (position > file->fileSize))
453 if ((position < 0) || (position > file->fileSize))
477 *pLength = file->fileSize;
508 dupFile->fileSize = file->fileSize
    [all...]