Home
last modified time | relevance | path

Searched refs:st_size (Results 1 – 25 of 32) sorted by relevance

12

/frameworks/av/drm/common/
DReadWriteUtils.cpp44 if (fstat(fd, &sb) == 0 && sb.st_size > 0) { in readBytes()
45 off64_t length = sb.st_size; in readBytes()
66 if (fstat(fd, &sb) == 0 && sb.st_size > 0) { in readBytes()
67 length = sb.st_size; in readBytes()
/frameworks/rs/cpu_ref/linkloader/include/
DELFSymbol.h51 symsize_t st_size; variable
109 return st_size; in getSize()
161 AR & st_size; in serialize() local
188 AR & st_size; in serialize() local
/frameworks/av/media/libmediaplayerservice/
DMetadataRetrieverClient.cpp152 ALOGV("st_size = %llu", sb.st_size); in setDataSource()
154 if (offset >= sb.st_size) { in setDataSource()
155 ALOGE("offset (%lld) bigger than file size (%llu)", offset, sb.st_size); in setDataSource()
159 if (offset + length > sb.st_size) { in setDataSource()
160 length = sb.st_size - offset; in setDataSource()
DMediaPlayerService.cpp760 ALOGV("st_size = %llu", sb.st_size); in setDataSource()
762 if (offset >= sb.st_size) { in setDataSource()
767 if (offset + length > sb.st_size) { in setDataSource()
768 length = sb.st_size - offset; in setDataSource()
/frameworks/rs/cpu_ref/linkloader/android/
Dtest-librsloader.c88 mmap(NULL, sb.st_size, PROT_READ, MAP_PRIVATE, fd, 0); in main()
96 RSExecRef object = rsloaderCreateExec(image, sb.st_size, find_sym, 0); in main()
/frameworks/compile/mclinker/lib/LD/
DELFReader.cpp80 uint32_t st_size = 0x0; in readSymbols() local
98 st_size = symtab[idx].st_size; in readSymbols()
104 st_size = mcld::bswap32(symtab[idx].st_size); in readSymbols()
153 st_size, in readSymbols()
605 uint64_t st_size = 0x0; in readSymbols() local
623 st_size = symtab[idx].st_size; in readSymbols()
629 st_size = mcld::bswap64(symtab[idx].st_size); in readSymbols()
678 st_size, in readSymbols()
/frameworks/compile/libbcc/bcinfo/Wrap/
Dfile_wrapper_input.cpp52 _size = st.st_size; in Size()
/frameworks/wilhelm/src/android/
Dandroid_GenericPlayer.cpp115 if (offset >= sb.st_size) { in setDataSource()
122 mDataLocator.fdi.length = sb.st_size; in setDataSource()
123 } else if (offset + length > sb.st_size) { in setDataSource()
124 mDataLocator.fdi.length = sb.st_size - offset; in setDataSource()
/frameworks/base/graphics/java/android/graphics/pdf/
DPdfEditor.java68 size = Libcore.os.fstat(input.getFileDescriptor()).st_size; in PdfEditor()
DPdfRenderer.java143 size = Libcore.os.fstat(input.getFileDescriptor()).st_size; in PdfRenderer()
/frameworks/native/opengl/libs/EGL/
Degl_cache.cpp307 size_t fileSize = statBuf.st_size; in loadBlobCacheLocked()
309 ALOGE("cache file is too large: %#llx", statBuf.st_size); in loadBlobCacheLocked()
/frameworks/base/core/java/android/app/
DSharedPreferencesImpl.java136 mStatSize = stat.st_size; in loadFromDiskLocked()
181 return mStatTimestamp != stat.st_mtime || mStatSize != stat.st_size; in hasFileChangedUnexpectedly()
605 mStatSize = stat.st_size; in writeToFile()
/frameworks/base/libs/androidfw/
DBackupHelpers.cpp363 r.s.size = st.st_size; in back_up_files()
536 if (isdir) s.st_size = 0; // directories get no actual data in the tar stream in write_tarfile()
575 if (s.st_size > 077777777777LL) { in write_tarfile()
579 snprintf(buf + 124, 12, "%011llo", (isdir) ? 0LL : s.st_size); in write_tarfile()
642 snprintf(sizeStr, sizeof(sizeStr), "%lld", (long long)s.st_size); in write_tarfile()
682 off64_t toWrite = s.st_size; in write_tarfile()
810 r.s.size = st.st_size; in WriteFile()
/frameworks/native/libs/binder/
DMemoryHeapBase.cpp108 size = sb.st_size; in mapfd()
/frameworks/compile/libbcc/lib/Support/
DFileBase.cpp261 return file_stat.st_size; in getSize()
/frameworks/compile/mclinker/lib/Support/
DFileHandle.cpp74 pSize = file_stat.st_size; in get_size()
/frameworks/base/cmds/idmap/
Dcreate.cpp81 if (st.st_size < N) { in is_idmap_stale_fd()
Dinspect.cpp41 len_ = st.st_size; in init()
/frameworks/wilhelm/tests/examples/
DslesTestDecodeAac.cpp432 ptr = mmap(NULL, statbuf.st_size, PROT_READ, MAP_FILE | MAP_PRIVATE, fd, (off_t) 0); in TestDecToBuffQueue()
438 filelen = statbuf.st_size; in TestDecToBuffQueue()
849 ok = munmap(ptr, statbuf.st_size); in TestDecToBuffQueue()
/frameworks/rs/cpu_ref/linkloader/
Dmain.cpp225 size = (size_t)sb.st_size; in open_mmap_file()
/frameworks/av/media/libmedia/
DMediaScanner.cpp230 status_t status = client.scanFile(path, statbuf.st_mtime, statbuf.st_size, in doProcessDirectoryEntry()
/frameworks/compile/libbcc/bcinfo/tools/
Dmain.cpp239 size_t bitcodeSize = statInFile.st_size; in readBitcode()
/frameworks/wilhelm/tests/sandbox/
Dxaplay.c333 ptr = mmap(NULL, statbuf.st_size, PROT_READ, MAP_FILE | MAP_PRIVATE, fd, (off_t) 0); in main()
338 size_t filelen = statbuf.st_size; in main()
/frameworks/base/core/jni/
Dcom_android_internal_content_NativeLibraryHelper.cpp120 if (st->st_size != fileSize) { in isFileDifferent()
/frameworks/base/core/java/com/android/internal/backup/
DLocalTransport.java164 + " size=" + ss.st_size); in performBackup()

12