/external/icu/icu4c/source/test/intltest/ |
dcfmtest.cpp | 493 int32_t fileSize; 498 fileSize = ftell(f); 499 fileBuf = new char[fileSize]; 501 amtRead = fread(fileBuf, 1, fileSize, f); 502 if (amtRead != fileSize || fileSize <= 0) { 516 if (fileSize<3 || uprv_strncmp(fileBuf, "\xEF\xBB\xBF", 3) != 0) {
|
itspoof.cpp | 386 int32_t fileSize = ftell(f.getAlias()); 387 LocalArray<char> fileBuf(new char[fileSize]); 389 int32_t amt_read = fread(fileBuf.getAlias(), 1, fileSize, f.getAlias()); 390 TEST_ASSERT_EQ(amt_read, fileSize); 391 TEST_ASSERT(fileSize>0); 392 if (amt_read != fileSize || fileSize <=0) { 395 UnicodeString confusablesTxt = UnicodeString::fromUTF8(StringPiece(fileBuf.getAlias(), fileSize));
|
/external/chromium_org/third_party/icu/source/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/icu/icu4c/source/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/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/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-wt-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;
|
/frameworks/base/core/tests/coretests/src/android/app/ |
DownloadManagerBaseTest.java | 351 long fileSize = actual.getStatSize(); 353 assertTrue(fileSize <= Integer.MAX_VALUE); 354 assertEquals(expected.length, fileSize); 357 assertEquals(input.read(actualData), fileSize); 484 int fileSize = fileData.length; 492 verifyFileSize(pfd, fileSize); 587 protected File createFileOnSD(String filename, long fileSize, DataType type, 610 long remaining = fileSize; 628 Log.i(TAG, "while creating " + fileSize + " file, " + [all...] |
/frameworks/base/packages/SharedStorageBackup/src/com/android/sharedstoragebackup/ |
ObbBackupService.java | 106 long fileSize, int type, String path, long mode, long mtime, 117 FullBackup.restoreFile(data, fileSize, type, -1, mtime, outFile);
|
/packages/apps/Camera2/src/com/android/camera/data/ |
RotationTask.java | 108 long fileSize = new File(filePath).length(); 109 values.put(Images.Media.SIZE, fileSize);
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/sdk/ |
FileUtils.js | 83 fileSize: function() { }, 146 fileSize: function() 248 fileSize: function()
|
/external/chromium_org/third_party/angle/samples/dds_to_header/ |
main.cpp | 33 std::streamoff fileSize = readFile.tellg(); 37 if (fileSize < minSize) 39 std::cout << inputFile << " is only " << fileSize << " bytes, must be at greater than " << minSize
|
/libcore/dex/src/main/java/com/android/dex/ |
TableOfContents.java | 58 public int fileSize; 84 fileSize = headerIn.readInt(); 170 out.writeInt(fileSize);
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
LocalVideo.java | 113 fileSize = cursor.getLong(INDEX_SIZE); 149 fileSize = uh.update(fileSize, cursor.getLong(INDEX_SIZE));
|
LocalImage.java | 145 fileSize = cursor.getLong(INDEX_SIZE); 167 fileSize = uh.update(fileSize, cursor.getLong(INDEX_SIZE)); 291 fileSize = new File(filePath).length(); 292 values.put(Images.Media.SIZE, fileSize);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/ |
GLTraceCollectorDialog.java | 197 double fileSize = mTraceFileWriter.getCurrentFileSize(); 198 fileSize /= (1024 * 1024); // convert to size in MB 199 final String frameSize = SIZE_FORMATTER.format(fileSize) + " MB";
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/ |
ChannelsTest.java | 59 private final int fileSize = 31;// the file size 271 assertEquals(this.fileSize, this.fins.available()); 288 assertEquals(this.fileSize, this.fins.available()); 293 assertEquals(this.fins.available(), this.fileSize - this.testNum); 296 assertEquals(this.fins.available(), this.fileSize - this.testNum * 2); 298 assertEquals(this.fins.available(), this.fileSize - this.testNum * 3); 471 assertEquals(this.fileSize, this.fins.available());
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
msrdc.h | 257 STDMETHOD_(HRESULT,SetFileSize)(THIS_ unsigned __int64 *fileSize) PURE; 258 STDMETHOD_(HRESULT,GetFileSize)(THIS_ unsigned __int64 *fileSize) PURE; 271 #define ISimilarityTraitsMapping_SetFileSize(This,fileSize) (This)->lpVtbl->SetFileSize(This,fileSize) 272 #define ISimilarityTraitsMapping_GetFileSize(This,fileSize) (This)->lpVtbl->GetFileSize(This,fileSize)
|
/frameworks/base/media/jni/ |
android_media_MediaScanner.cpp | 149 long long fileSize, bool isDirectory, bool noMedia) 152 path, lastModified, fileSize, isDirectory); 161 fileSize, isDirectory, noMedia);
|
/cts/tools/dex-tools/src/dex/reader/ |
DexFileReader.java | 39 private int fileSize = 0; 124 fileSize = b.readUInt();
|
/external/lzma/CS/7zip/Compress/LzmaAlone/ |
LzmaAlone.cs | 298 Int64 fileSize;
300 fileSize = -1;
302 fileSize = inStream.Length;
304 outStream.WriteByte((Byte)(fileSize >> (8 * i)));
|
/packages/apps/Browser/src/com/android/browser/ |
BrowserBackupAgent.java | 210 private void writeBackupState(long fileSize, long crc, ParcelFileDescriptor stateFile) 215 out.writeLong(fileSize);
|
/cts/tests/tests/media/src/android/media/cts/ |
MediaRecorderTest.java | 422 long fileSize, long tolerance) throws Exception { 431 mMediaRecorder.setMaxFileSize(fileSize); 441 checkOutputFileSize(OUTPUT_PATH, fileSize, tolerance); 444 private void checkOutputFileSize(final String fileName, long fileSize, long tolerance) { 446 assertEquals(fileSize, mOutFile.length(), tolerance);
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
AppCacheTest.java | 271 long getFileNumBlocks(long fileSize, long blkSize) { 272 long ret = fileSize/blkSize; 273 if(ret*blkSize < fileSize) { 353 long fileSize = createdFileBlks-existingFileBlks; 354 //verify fileSize number of bytes have been cleared from cache 355 if(localLOGV) Log.i(TAG, "deletedFileBlks="+fileSize+" shouldFreeBlks="+shouldFree); 356 if((fileSize > (shouldFree-blkSize) && (fileSize < (shouldFree+blkSize)))) {
|
/dalvik/libdex/ |
DexFile.cpp | 398 if (pHeader->fileSize != length) { 400 (int) pHeader->fileSize, (int) length); 487 return (u4) adler32(adler, start + nonSum, pHeader->fileSize - nonSum);
|