/frameworks/base/media/libdrm/mobile1/src/objmng/ |
D | drm_file.c | 197 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/ |
D | ReadWriteUtils.cpp | 44 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/ |
D | ELFReader.tcc | 262 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/ |
D | ELFSymbol.h | 53 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/ |
D | MetadataRetrieverClient.cpp | 141 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()
|
D | MediaPlayerService.cpp | 833 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/ |
D | test-librsloader.c | 88 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/ |
D | GNULDBackend.cpp | 384 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/ |
D | file_wrapper_input.cpp | 52 _size = st.st_size; in Size()
|
/frameworks/base/libs/diskusage/ |
D | dirsize.c | 27 int64_t size = s->st_size; in stat_size()
|
/frameworks/wilhelm/src/android/ |
D | android_GenericPlayer.cpp | 114 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/ |
D | BackupHelpers.cpp | 363 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/ |
D | egl_cache.cpp | 305 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/ |
D | android_os_ParcelFileDescriptor.cpp | 92 return st.st_size; in android_os_ParcelFileDescriptor_getStatSize()
|
D | android_os_FileUtils.cpp | 145 env->SetLongField(fileStatus, gFileStatusSizeFieldID, s.st_size); in android_os_FileUtils_getFileStatus()
|
D | com_android_internal_content_NativeLibraryHelper.cpp | 112 if (st->st_size != fileSize) { in isFileDifferent()
|
/frameworks/compile/mclinker/lib/Support/ |
D | MemoryArea.cpp | 70 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/ |
D | Tokenizer.cpp | 68 size_t length = size_t(stat.st_size); in open()
|
/frameworks/native/libs/binder/ |
D | MemoryHeapBase.cpp | 121 size = sb.st_size; in mapfd()
|
/frameworks/wilhelm/tests/examples/ |
D | slesTestDecodeAac.cpp | 432 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/ |
D | main.cpp | 166 size_t bitcodeSize = statInFile.st_size; in readBitcode()
|
/frameworks/av/media/libmedia/ |
D | MediaScanner.cpp | 230 status_t status = client.scanFile(path, statbuf.st_mtime, statbuf.st_size, in doProcessDirectoryEntry()
|
/frameworks/compile/linkloader/ |
D | main.cpp | 227 size = (size_t)sb.st_size; in open_mmap_file()
|
/frameworks/wilhelm/tests/sandbox/ |
D | xaplay.c | 333 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/ |
D | MipsLDBackend.cpp | 265 sym32.st_size = getSymbolSize(pSymbol); in emitDynamicSymbol() 304 symtab32[0].st_size = 0; in emitDynNamePools()
|