Home
last modified time | relevance | path

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

12

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dlinecache.py64 if size != stat.st_size or mtime != stat.st_mtime:
133 size, mtime = stat.st_size, stat.st_mtime
Dwhichdb.py59 size = os.stat(filename + os.extsep + "dir").st_size
Dgenericpath.py49 return os.stat(filename).st_size
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
Dlinecache.py68 if size != stat.st_size or mtime != stat.st_mtime:
137 size, mtime = stat.st_size, stat.st_mtime
Dgenericpath.py57 return os.stat(filename).st_size
/device/google/contexthub/util/stm32_flash/
Dflash.c226 buffer = calloc(tot_len(buf.st_size), 1); in main()
227 if (length == 0 || length > buf.st_size) in main()
228 length = buf.st_size; in main()
/device/linaro/bootloader/arm-trusted-firmware/tools/fiptool/
Dfiptool.c289 buf = xmalloc(st.st_size, "failed to load file into memory"); in parse_fip()
290 if (fread(buf, 1, st.st_size, fp) != st.st_size) in parse_fip()
292 bufend = buf + st.st_size; in parse_fip()
295 if (st.st_size < sizeof(fip_toc_header_t)) in parse_fip()
331 if (toc_entry->size + toc_entry->offset_address > st.st_size) in parse_fip()
383 image->buffer = xmalloc(st.st_size, "failed to allocate image buffer"); in read_image_from_file()
384 if (fread(image->buffer, 1, st.st_size, fp) != st.st_size) in read_image_from_file()
386 image->toc_e.size = st.st_size; in read_image_from_file()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_aifc.py83 os.stat(TESTFN).st_size,
84 os.stat(self.sndfilepath).st_size*0.75,
Dtest_gzip.py236 fRead.seek(os.stat(self.filename).st_size - 8)
/device/linaro/hikey/installer/hikey960/
Dmkdtimg58 write32(output, statval.st_size)
115 dtb_size = stat(out_dtb).st_size
/device/google/cuttlefish/common/libs/utils/
Dfiles.cpp73 return st.st_size; in FileSize()
/device/google/contexthub/contexthubhal/
DNanohubHidlAdapter.cpp532 void *buf = malloc(sb.st_size); in readApp()
533 if (buf != nullptr && read(fd, buf, sb.st_size) == sb.st_size) { in readApp()
541 …int8_t *>(buf) + sizeof(struct nano_app_binary_t), static_cast<const uint8_t *>(buf) + sb.st_size); in readApp()
Dsystem_comms.cpp1138 *data = malloc(sb.st_size); in readApp()
1139 if (*data != nullptr && read(fd, *data, sb.st_size) == sb.st_size) in readApp()
1140 ret = sb.st_size; in readApp()
1169 if (fstat(fd, &sb) == 0 && sb.st_size == len) { in cmpApp()
1171 … if (buf != nullptr && read(fd, buf, sb.st_size) == sb.st_size && memcmp(data, buf, len) == 0) in cmpApp()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/
Dpysource.py35 size = os.stat(fullpath).st_size
/device/linaro/bootloader/edk2/StdLib/Include/sys/
Dstat.h55 off_t st_size; ///< file size, in bytes member
/device/linaro/bootloader/edk2/BaseTools/Source/C/GenFw/
Delf32.h199 Elf32_Word st_size; /* Size of associated object. */ member
Delf64.h208 Elf64_Xword st_size; /* Size of associated object. */ member
/device/linaro/bootloader/edk2/ArmPlatformPkg/Library/ArmShellCmdRunAxf/
Delf32.h199 Elf32_Word st_size; /* Size of associated object. */ member
Delf64.h208 Elf64_Xword st_size; /* Size of associated object. */ member
/device/linaro/bootloader/edk2/StdLib/LibC/Stdio/
Dfseeko.c191 target = st.st_size + offset; in __weak_alias()
/device/linaro/bootloader/edk2/StdLib/LibC/Uefi/Devices/Console/
DdaConsole.c436 Buffer->st_size = (off_t)Stream->NumRead; in da_ConStat()
444 Buffer->st_size = (off_t)Stream->NumWritten; in da_ConStat()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/zlib/
Dminigzip.c144 buf_len = sb.st_size;
/device/linaro/hikey/installer/hikey/
Dhisi-idt.py99 return st.st_size
/device/linaro/bootloader/edk2/CryptoPkg/Include/
DOpenSslSupport.h168 off_t st_size; /* file size, in bytes */ member
/device/linaro/bootloader/edk2/BaseTools/Source/C/Common/
DCommonLib.c569 return stat_buf.st_size; in _filelength()

12