/frameworks/av/drm/common/ |
H A D | ReadWriteUtils.cpp | 44 if (fstat(fd, &sb) == 0 && sb.st_size > 0) { 45 off64_t length = sb.st_size; 66 if (fstat(fd, &sb) == 0 && sb.st_size > 0) { 67 length = sb.st_size;
|
/frameworks/base/libs/diskusage/ |
H A D | dirsize.c | 27 int64_t size = s->st_size;
|
/frameworks/compile/libbcc/bcinfo/Wrap/ |
H A D | file_wrapper_input.cpp | 52 _size = st.st_size;
|
/frameworks/compile/linkloader/include/ |
H A D | ELFSymbol.h | 53 symsize_t st_size; member in class:ELFSymbol_CRTP 111 return st_size; 163 AR & st_size; local 190 AR & st_size; local
|
/frameworks/compile/linkloader/android/ |
H A D | test-librsloader.c | 88 mmap(NULL, sb.st_size, PROT_READ, MAP_PRIVATE, fd, 0); 96 RSExecRef object = rsloaderCreateExec(image, sb.st_size, find_sym, 0);
|
/frameworks/base/media/libdrm/mobile1/src/objmng/ |
H A D | drm_file.c | 197 size += stat_buf.st_size; 371 if (sbuf.st_size >= INT32_MAX) 378 nameLen, name, (int32_t)sbuf.st_size); 379 return (int32_t)sbuf.st_size; 426 availableSize += sinfo.st_size; 579 prevFileSize = (int)(sbuf.st_size); 648 if ( ((off_t)value > sbuf.st_size) && 649 (availableSize < (value - (int)(sbuf.st_size))) ) 664 if ( newPos > sbuf.st_size ) 666 availableSize -= (int)(newPos - sbuf.st_size); [all...] |
/frameworks/av/media/libmediaplayerservice/ |
H A D | MetadataRetrieverClient.cpp | 149 ALOGV("st_size = %llu", sb.st_size); 151 if (offset >= sb.st_size) { 152 ALOGE("offset (%lld) bigger than file size (%llu)", offset, sb.st_size); 156 if (offset + length > sb.st_size) { 157 length = sb.st_size - offset;
|
H A D | MediaPlayerService.cpp | 663 ALOGV("st_size = %llu", sb.st_size); 665 if (offset >= sb.st_size) { 670 if (offset + length > sb.st_size) { 671 length = sb.st_size - offset;
|
/frameworks/base/core/jni/ |
H A D | android_os_ParcelFileDescriptor.cpp | 92 return st.st_size;
|
H A D | com_android_internal_content_NativeLibraryHelper.cpp | 112 if (st->st_size != fileSize) {
|
/frameworks/base/core/java/android/app/ |
H A D | SharedPreferencesImpl.java | 137 mStatSize = stat.st_size; 182 return mStatTimestamp != stat.st_mtime || mStatSize != stat.st_size; 604 mStatSize = stat.st_size;
|
/frameworks/av/media/libmedia/ |
H A D | MediaScanner.cpp | 230 status_t status = client.scanFile(path, statbuf.st_mtime, statbuf.st_size,
|
/frameworks/compile/libbcc/lib/Support/ |
H A D | FileBase.cpp | 241 return file_stat.st_size;
|
/frameworks/native/libs/binder/ |
H A D | MemoryHeapBase.cpp | 121 size = sb.st_size;
|
/frameworks/native/libs/utils/ |
H A D | Tokenizer.cpp | 68 size_t length = size_t(stat.st_size);
|
/frameworks/wilhelm/src/android/ |
H A D | android_GenericPlayer.cpp | 114 if (offset >= sb.st_size) { 121 mDataLocator.fdi.length = sb.st_size; 122 } else if (offset + length > sb.st_size) { 123 mDataLocator.fdi.length = sb.st_size - offset;
|
/frameworks/native/opengl/libs/EGL/ |
H A D | egl_cache.cpp | 310 size_t fileSize = statBuf.st_size; 312 ALOGE("cache file is too large: %#llx", statBuf.st_size);
|
/frameworks/base/libs/androidfw/ |
H A D | BackupHelpers.cpp | 363 r.s.size = st.st_size; 536 if (isdir) s.st_size = 0; // directories get no actual data in the tar stream 575 if (s.st_size > 077777777777LL) { 579 snprintf(buf + 124, 12, "%011llo", (isdir) ? 0LL : s.st_size); 642 snprintf(sizeStr, sizeof(sizeStr), "%lld", s.st_size); 682 off64_t toWrite = s.st_size; 807 r.s.size = st.st_size;
|
/frameworks/compile/mclinker/lib/Target/ |
H A D | GNULDBackend.cpp | 841 symtab32[0].st_size = 0; 849 symtab64[0].st_size = 0; 873 symtab32[symtabIdx].st_size = getSymbolSize(**symbol); 881 symtab64[symtabIdx].st_size = getSymbolSize(**symbol); 940 symtab32[0].st_size = 0; 948 symtab64[0].st_size = 0; 980 symtab32[symtabIdx].st_size = getSymbolSize(**symbol); 988 symtab64[symtabIdx].st_size = getSymbolSize(**symbol);
|
/frameworks/compile/linkloader/ |
H A D | main.cpp | 227 size = (size_t)sb.st_size;
|
/frameworks/compile/mclinker/lib/Support/ |
H A D | FileHandle.cpp | 66 pSize = file_stat.st_size;
|
/frameworks/compile/libbcc/bcinfo/tools/ |
H A D | main.cpp | 242 size_t bitcodeSize = statInFile.st_size;
|
/frameworks/wilhelm/tests/examples/ |
H A D | slesTestDecodeAac.cpp | 432 ptr = mmap(NULL, statbuf.st_size, PROT_READ, MAP_FILE | MAP_PRIVATE, fd, (off_t) 0); 438 filelen = statbuf.st_size; 849 ok = munmap(ptr, statbuf.st_size);
|
/frameworks/compile/mclinker/lib/Target/Mips/ |
H A D | MipsLDBackend.cpp | 291 sym32.st_size = getSymbolSize(pSymbol); 330 symtab32[0].st_size = 0;
|
/frameworks/wilhelm/tests/sandbox/ |
H A D | xaplay.c | 333 ptr = mmap(NULL, statbuf.st_size, PROT_READ, MAP_FILE | MAP_PRIVATE, fd, (off_t) 0); 338 size_t filelen = statbuf.st_size;
|