/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/compile/libbcc/bcinfo/Wrap/ |
H A D | file_wrapper_input.cpp | 52 _size = st.st_size;
|
/frameworks/minikin/tests/ |
H A D | ICUTestBase.h | 37 void* data = mmap(NULL, sb.st_size, PROT_READ, MAP_SHARED, fd, 0);
|
/frameworks/av/media/libmediaplayerservice/ |
H A D | MetadataRetrieverClient.cpp | 150 ALOGV("st_size = %llu", static_cast<unsigned long long>(sb.st_size)); 152 if (offset >= sb.st_size) { 154 (long long)offset, (unsigned long long)sb.st_size); 157 if (offset + length > sb.st_size) { 158 length = sb.st_size - offset;
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | PinnerService.java | 89 if (offset + length > sb.st_size) { 95 length = sb.st_size - offset;
|
/frameworks/av/media/libstagefright/ |
H A D | FileSource.cpp | 80 if (mOffset > s.st_size) { 81 mOffset = s.st_size; 84 if (mOffset + mLength > s.st_size) { 85 mLength = s.st_size - mOffset;
|
/frameworks/minikin/app/ |
H A D | HyphTool.cpp | 19 size_t size = statbuf.st_size;
|
/frameworks/compile/mclinker/lib/LD/ |
H A D | ELFReader.cpp | 76 uint32_t st_size = 0x0; local 94 st_size = symtab[idx].st_size; 99 st_size = mcld::bswap32(symtab[idx].st_size); 147 st_size, 576 uint64_t st_size = 0x0; local 594 st_size = symtab[idx].st_size; 599 st_size [all...] |
/frameworks/base/tools/aapt2/util/ |
H A D | Files.cpp | 182 if (fileStats.st_size == 0) { 187 if (!fileMap.create(path.data(), fd, 0, fileStats.st_size, true)) {
|
/frameworks/base/core/java/android/app/ |
H A D | SharedPreferencesImpl.java | 136 mStatSize = stat.st_size; 182 return mStatTimestamp != stat.st_mtime || mStatSize != stat.st_size; 608 mStatSize = stat.st_size;
|
/frameworks/base/cmds/idmap/ |
H A D | create.cpp | 82 if (st.st_size < static_cast<off_t>(N)) {
|
H A D | inspect.cpp | 41 len_ = st.st_size;
|
/frameworks/compile/libbcc/lib/Support/ |
H A D | FileBase.cpp | 261 return file_stat.st_size;
|
/frameworks/compile/mclinker/lib/Support/ |
H A D | FileHandle.cpp | 72 pSize = file_stat.st_size;
|
/frameworks/native/libs/binder/ |
H A D | MemoryHeapBase.cpp | 108 size = sb.st_size;
|
/frameworks/wilhelm/src/android/ |
H A D | android_GenericPlayer.cpp | 115 if (offset >= sb.st_size) { 122 mDataLocator.fdi.length = sb.st_size; 123 } else if (offset + length > sb.st_size) { 124 mDataLocator.fdi.length = sb.st_size - offset;
|
/frameworks/base/libs/androidfw/ |
H A D | BackupHelpers.cpp | 366 r.s.size = st.st_size; 523 if (s.st_size > 077777777777LL) { 531 if (isdir) s.st_size = 0; // directories get no actual data in the tar stream 536 *outSize = 512 + (needExtended ? 1024 : 0) + 512*((s.st_size + 511)/512); 578 snprintf(buf + 124, 12, "%011llo", (isdir) ? 0LL : s.st_size); 640 snprintf(sizeStr, sizeof(sizeStr), "%lld", (long long)s.st_size); 680 off64_t toWrite = s.st_size; 808 r.s.size = st.st_size;
|
/frameworks/native/opengl/libs/EGL/ |
H A D | egl_cache.cpp | 308 size_t fileSize = statBuf.st_size; 311 static_cast<off64_t>(statBuf.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/base/graphics/java/android/graphics/pdf/ |
H A D | PdfEditor.java | 76 size = Libcore.os.fstat(input.getFileDescriptor()).st_size;
|
H A D | PdfRenderer.java | 151 size = Libcore.os.fstat(input.getFileDescriptor()).st_size;
|
/frameworks/wilhelm/tests/examples/ |
H A D | slesTestDecodeAac.cpp | 431 ptr = mmap(NULL, statbuf.st_size, PROT_READ, MAP_FILE | MAP_PRIVATE, fd, (off_t) 0); 437 filelen = statbuf.st_size; 848 ok = munmap(ptr, statbuf.st_size);
|
/frameworks/base/core/jni/ |
H A D | com_android_internal_content_NativeLibraryHelper.cpp | 120 if (static_cast<uint64_t>(st->st_size) != static_cast<uint64_t>(fileSize)) {
|
/frameworks/compile/libbcc/bcinfo/tools/ |
H A D | main.cpp | 275 size_t bitcodeSize = statInFile.st_size;
|
/frameworks/wilhelm/tests/sandbox/ |
H A D | xaplay.c | 334 ptr = mmap(NULL, statbuf.st_size, PROT_READ, MAP_FILE | MAP_PRIVATE, fd, (off_t) 0); 339 size_t filelen = statbuf.st_size;
|