Home
last modified time | relevance | path

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

12

/frameworks/base/media/libdrm/mobile1/src/objmng/
Ddrm_file.c197 size += stat_buf.st_size; in calcDirSize()
371 if (sbuf.st_size >= INT32_MAX) in DRM_file_getFileLength()
378 nameLen, name, (int32_t)sbuf.st_size); in DRM_file_getFileLength()
379 return (int32_t)sbuf.st_size; in DRM_file_getFileLength()
426 availableSize += sinfo.st_size; in DRM_file_delete()
579 prevFileSize = (int)(sbuf.st_size); in DRM_file_write()
648 if ( ((off_t)value > sbuf.st_size) && in DRM_file_setPosition()
649 (availableSize < (value - (int)(sbuf.st_size))) ) in DRM_file_setPosition()
664 if ( newPos > sbuf.st_size ) in DRM_file_setPosition()
666 availableSize -= (int)(newPos - sbuf.st_size); in DRM_file_setPosition()
/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/compile/mclinker/include/mcld/LD/
DELFReader.tcc262 uint32_t st_size = 0x0; in readSymbols() local
276 st_size = symtab[idx].st_size; in readSymbols()
282 st_size = bswap32(symtab[idx].st_size); in readSymbols()
327 st_size, in readSymbols()
340 st_size, in readSymbols()
369 uint32_t st_size = 0x0; in readSymbol() local
378 st_size = entry->st_size; in readSymbol()
384 st_size = bswap32(entry->st_size); in readSymbol()
412 st_size, in readSymbol()
/frameworks/compile/linkloader/include/
DELFSymbol.h53 symsize_t st_size; variable
111 return st_size; in getSize()
163 AR & st_size; in serialize() local
190 AR & st_size; in serialize() local
/frameworks/av/media/libmediaplayerservice/
DMetadataRetrieverClient.cpp141 ALOGV("st_size = %llu", sb.st_size); in setDataSource()
143 if (offset >= sb.st_size) { in setDataSource()
144 ALOGE("offset (%lld) bigger than file size (%llu)", offset, sb.st_size); in setDataSource()
148 if (offset + length > sb.st_size) { in setDataSource()
149 length = sb.st_size - offset; in setDataSource()
DMediaPlayerService.cpp833 ALOGV("st_size = %llu", sb.st_size); in setDataSource()
835 if (offset >= sb.st_size) { in setDataSource()
840 if (offset + length > sb.st_size) { in setDataSource()
841 length = sb.st_size - offset; in setDataSource()
/frameworks/compile/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/Target/
DGNULDBackend.cpp384 symtab32[0].st_size = 0; in emitRegNamePools()
392 symtab64[0].st_size = 0; in emitRegNamePools()
416 symtab32[symtabIdx].st_size = getSymbolSize(**symbol); in emitRegNamePools()
424 symtab64[symtabIdx].st_size = getSymbolSize(**symbol); in emitRegNamePools()
497 symtab32[0].st_size = 0; in emitDynNamePools()
505 symtab64[0].st_size = 0; in emitDynNamePools()
537 symtab32[symtabIdx].st_size = getSymbolSize(**symbol); in emitDynNamePools()
545 symtab64[symtabIdx].st_size = getSymbolSize(**symbol); in emitDynNamePools()
/frameworks/compile/libbcc/bcinfo/Wrap/
Dfile_wrapper_input.cpp52 _size = st.st_size; in Size()
/frameworks/base/libs/diskusage/
Ddirsize.c27 int64_t size = s->st_size; in stat_size()
/frameworks/wilhelm/src/android/
Dandroid_GenericPlayer.cpp114 if (offset >= sb.st_size) { in setDataSource()
121 mDataLocator.fdi.length = sb.st_size; in setDataSource()
122 } else if (offset + length > sb.st_size) { in setDataSource()
123 mDataLocator.fdi.length = sb.st_size - offset; in setDataSource()
/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", s.st_size); in write_tarfile()
682 off64_t toWrite = s.st_size; in write_tarfile()
807 r.s.size = st.st_size; in WriteFile()
/frameworks/native/opengl/libs/EGL/
Degl_cache.cpp305 size_t fileSize = statBuf.st_size; in loadBlobCacheLocked()
307 ALOGE("cache file is too large: %#llx", statBuf.st_size); in loadBlobCacheLocked()
/frameworks/base/core/jni/
Dandroid_os_ParcelFileDescriptor.cpp92 return st.st_size; in android_os_ParcelFileDescriptor_getStatSize()
Dandroid_os_FileUtils.cpp145 env->SetLongField(fileStatus, gFileStatusSizeFieldID, s.st_size); in android_os_FileUtils_getFileStatus()
Dcom_android_internal_content_NativeLibraryHelper.cpp112 if (st->st_size != fileSize) { in isFileDifferent()
/frameworks/compile/mclinker/lib/Support/
DMemoryArea.cpp70 m_FileSize = static_cast<size_t>(st.st_size); in map()
94 m_FileSize = static_cast<size_t>(st.st_size); in map()
/frameworks/native/libs/utils/
DTokenizer.cpp68 size_t length = size_t(stat.st_size); in open()
/frameworks/native/libs/binder/
DMemoryHeapBase.cpp121 size = sb.st_size; in mapfd()
/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/compile/libbcc/bcinfo/tools/
Dmain.cpp166 size_t bitcodeSize = statInFile.st_size; in readBitcode()
/frameworks/av/media/libmedia/
DMediaScanner.cpp230 status_t status = client.scanFile(path, statbuf.st_mtime, statbuf.st_size, in doProcessDirectoryEntry()
/frameworks/compile/linkloader/
Dmain.cpp227 size = (size_t)sb.st_size; in open_mmap_file()
/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/compile/mclinker/lib/Target/Mips/
DMipsLDBackend.cpp265 sym32.st_size = getSymbolSize(pSymbol); in emitDynamicSymbol()
304 symtab32[0].st_size = 0; in emitDynNamePools()

12