Searched refs:st_size (Results 1 - 25 of 28) 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/base/libs/diskusage/
H A Ddirsize.c27 int64_t size = s->st_size;
/frameworks/compile/libbcc/bcinfo/Wrap/
H A Dfile_wrapper_input.cpp52 _size = st.st_size;
/frameworks/compile/linkloader/include/
H A DELFSymbol.h53 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 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/base/media/libdrm/mobile1/src/objmng/
H A Ddrm_file.c197 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 DMetadataRetrieverClient.cpp149 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 DMediaPlayerService.cpp663 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 Dandroid_os_ParcelFileDescriptor.cpp92 return st.st_size;
H A Dcom_android_internal_content_NativeLibraryHelper.cpp112 if (st->st_size != fileSize) {
/frameworks/base/core/java/android/app/
H A DSharedPreferencesImpl.java137 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 DMediaScanner.cpp230 status_t status = client.scanFile(path, statbuf.st_mtime, statbuf.st_size,
/frameworks/compile/libbcc/lib/Support/
H A DFileBase.cpp241 return file_stat.st_size;
/frameworks/native/libs/binder/
H A DMemoryHeapBase.cpp121 size = sb.st_size;
/frameworks/native/libs/utils/
H A DTokenizer.cpp68 size_t length = size_t(stat.st_size);
/frameworks/wilhelm/src/android/
H A Dandroid_GenericPlayer.cpp114 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 Degl_cache.cpp310 size_t fileSize = statBuf.st_size;
312 ALOGE("cache file is too large: %#llx", statBuf.st_size);
/frameworks/base/libs/androidfw/
H A DBackupHelpers.cpp363 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 DGNULDBackend.cpp841 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 Dmain.cpp227 size = (size_t)sb.st_size;
/frameworks/compile/mclinker/lib/Support/
H A DFileHandle.cpp66 pSize = file_stat.st_size;
/frameworks/compile/libbcc/bcinfo/tools/
H A Dmain.cpp242 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/compile/mclinker/lib/Target/Mips/
H A DMipsLDBackend.cpp291 sym32.st_size = getSymbolSize(pSymbol);
330 symtab32[0].st_size = 0;
/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;

Completed in 9498 milliseconds

12