Searched refs:st_size (Results 1 - 25 of 31) sorted by relevance

12

/frameworks/av/drm/common/
H A DReadWriteUtils.cpp44 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 Dfile_wrapper_input.cpp52 _size = st.st_size;
/frameworks/rs/cpu_ref/linkloader/include/
H A DELFSymbol.h51 symsize_t st_size; member in class:ELFSymbol_CRTP
109 return st_size;
161 AR & st_size; local
188 AR & st_size; local
/frameworks/rs/cpu_ref/linkloader/android/
H A Dtest-librsloader.c88 mmap(NULL, sb.st_size, PROT_READ, MAP_PRIVATE, fd, 0);
96 RSExecRef object = rsloaderCreateExec(image, sb.st_size, find_sym, 0);
/frameworks/av/media/libmediaplayerservice/
H A DMetadataRetrieverClient.cpp152 ALOGV("st_size = %llu", sb.st_size);
154 if (offset >= sb.st_size) {
155 ALOGE("offset (%lld) bigger than file size (%llu)", offset, sb.st_size);
159 if (offset + length > sb.st_size) {
160 length = sb.st_size - offset;
H A DMediaPlayerService.cpp760 ALOGV("st_size = %llu", sb.st_size);
762 if (offset >= sb.st_size) {
767 if (offset + length > sb.st_size) {
768 length = sb.st_size - offset;
/frameworks/compile/mclinker/lib/LD/
H A DELFReader.cpp80 uint32_t st_size = 0x0; local
98 st_size = symtab[idx].st_size;
104 st_size = mcld::bswap32(symtab[idx].st_size);
153 st_size,
605 uint64_t st_size = 0x0; local
623 st_size = symtab[idx].st_size;
629 st_size
[all...]
/frameworks/base/core/java/android/app/
H A DSharedPreferencesImpl.java136 mStatSize = stat.st_size;
181 return mStatTimestamp != stat.st_mtime || mStatSize != stat.st_size;
605 mStatSize = stat.st_size;
/frameworks/base/cmds/idmap/
H A Dcreate.cpp81 if (st.st_size < N) {
H A Dinspect.cpp41 len_ = st.st_size;
/frameworks/compile/libbcc/lib/Support/
H A DFileBase.cpp261 return file_stat.st_size;
/frameworks/compile/mclinker/lib/Support/
H A DFileHandle.cpp74 pSize = file_stat.st_size;
/frameworks/native/libs/binder/
H A DMemoryHeapBase.cpp108 size = sb.st_size;
/frameworks/wilhelm/src/android/
H A Dandroid_GenericPlayer.cpp115 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/native/opengl/libs/EGL/
H A Degl_cache.cpp307 size_t fileSize = statBuf.st_size;
309 ALOGE("cache file is too large: %#llx", statBuf.st_size);
/frameworks/base/libs/androidfw/
H A DBackupHelpers.cpp369 r.s.size = st.st_size;
539 if (isdir) s.st_size = 0; // directories get no actual data in the tar stream
578 if (s.st_size > 077777777777LL) {
582 snprintf(buf + 124, 12, "%011llo", (isdir) ? 0LL : s.st_size);
645 snprintf(sizeStr, sizeof(sizeStr), "%lld", (long long)s.st_size);
685 off64_t toWrite = s.st_size;
813 r.s.size = st.st_size;
/frameworks/av/media/libmedia/
H A DMediaScanner.cpp230 status_t status = client.scanFile(path, statbuf.st_mtime, statbuf.st_size,
/frameworks/base/graphics/java/android/graphics/pdf/
H A DPdfEditor.java76 size = Libcore.os.fstat(input.getFileDescriptor()).st_size;
H A DPdfRenderer.java147 size = Libcore.os.fstat(input.getFileDescriptor()).st_size;
/frameworks/rs/cpu_ref/linkloader/
H A Dmain.cpp225 size = (size_t)sb.st_size;
/frameworks/compile/libbcc/bcinfo/tools/
H A Dmain.cpp239 size_t bitcodeSize = statInFile.st_size;
/frameworks/wilhelm/tests/examples/
H A DslesTestDecodeAac.cpp432 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/base/core/jni/
H A Dcom_android_internal_content_NativeLibraryHelper.cpp120 if (st->st_size != fileSize) {
/frameworks/wilhelm/tests/sandbox/
H A Dxaplay.c333 ptr = mmap(NULL, statbuf.st_size, PROT_READ, MAP_FILE | MAP_PRIVATE, fd, (off_t) 0);
338 size_t filelen = statbuf.st_size;
/frameworks/base/core/java/android/os/
H A DParcelFileDescriptor.java525 return st.st_size;

Completed in 2031 milliseconds

12