Searched refs:st_size (Results 1 - 25 of 26) 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.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/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.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.cpp679 ALOGV("st_size = %llu", sb.st_size);
681 if (offset >= sb.st_size) {
686 if (offset + length > sb.st_size) {
687 length = sb.st_size - offset;
/frameworks/compile/mclinker/lib/LD/
H A DELFReader.cpp79 uint32_t st_size = 0x0; local
97 st_size = symtab[idx].st_size;
103 st_size = mcld::bswap32(symtab[idx].st_size);
153 st_size,
640 uint64_t st_size = 0x0; local
658 st_size = symtab[idx].st_size;
664 st_size
[all...]
/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.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.cpp121 size = sb.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.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.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;
H A DAssetManager.cpp254 if (st.st_size < ResTable::IDMAP_HEADER_SIZE_BYTES) {
255 ALOGW("file %s has unexpectedly small size=%zd\n", idmapPath.string(), (size_t)st.st_size);
/frameworks/av/services/audioflinger/
H A Dtest-resample.cpp163 input_size = st.st_size;
/frameworks/rs/cpu_ref/linkloader/
H A Dmain.cpp227 size = (size_t)sb.st_size;
/frameworks/base/core/jni/
H A Dcom_android_internal_content_NativeLibraryHelper.cpp112 if (st->st_size != fileSize) {
/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/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.java523 return st.st_size;
/frameworks/native/cmds/rawbu/
H A Dbackup.cpp340 off_t size = statBuffer.st_size;
/frameworks/compile/mclinker/lib/Target/
H A DGNULDBackend.cpp917 pSym.st_size = getSymbolSize(pSymbol);
940 pSym.st_size = getSymbolSize(pSymbol);

Completed in 8662 milliseconds

12