Home
last modified time | relevance | path

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

/Zephyr-latest/tests/posix/fs/src/
Dtest_fs_stat.c74 zassert_equal(TEST_FILE_SIZE, buf.st_size); in ZTEST()
78 zassert_equal(TEST_DIR_FILE_SIZE, buf.st_size); in ZTEST()
86 zassert_equal(0, buf.st_size); in ZTEST()
102 zassert_equal(0, buf.st_size); in ZTEST()
Dtest_fs_file.c359 zassert_equal(buf.st_size, 0, "Error: file is not truncated"); in ZTEST()
/Zephyr-latest/subsys/fs/
Dfuse_fs_access.c106 stat->st_size = 0; in fuse_fs_access_getattr()
117 stat->st_size = 0; in fuse_fs_access_getattr()
120 stat->st_size = entry.size; in fuse_fs_access_getattr()
143 stat.st_size = 0; in fuse_fs_access_readmount()
218 stat.st_size = 0; in fuse_fs_access_readdir()
237 stat.st_size = 0; in fuse_fs_access_readdir()
240 stat.st_size = entry.size; in fuse_fs_access_readdir()
/Zephyr-latest/drivers/flash/
Dflash_simulator_native.c86 if ((flash_erase_at_start == true) || (flash_in_ram == true) || (f_stat.st_size == 0)) { in flash_mock_init_native()
/Zephyr-latest/drivers/eeprom/
Deeprom_simulator_native.c77 if ((eeprom_erase_at_start == true) || (eeprom_in_ram == true) || (f_stat.st_size == 0)) { in eeprom_mock_init_native()
/Zephyr-latest/scripts/profiling/
Dstackcollapse.py31 …st_info.type == "STT_FUNC" and sym.entry.st_value <= addr < sym.entry.st_value + sym.entry.st_size:
/Zephyr-latest/include/zephyr/llext/
Delf.h229 elf32_word st_size; member
253 elf64_xword st_size; member
/Zephyr-latest/soc/nuvoton/npcm/common/esiost/
Desiost.py116 elif input_file_path.stat().st_size == 0:
119 input_file_size = input_file_path.stat().st_size
510 input_file_size = Path(esiost_args.input).stat().st_size
519 input_file_size = Path(esiost_args.input).stat().st_size - HEADER_SIZE
/Zephyr-latest/soc/nuvoton/npcx/common/ecst/
Decst.py179 elif input_file_path.stat().st_size == 0:
182 input_file_size = input_file_path.stat().st_size
275 input_file_size = input_file.stat().st_size
804 input_file_size = Path(ecst_args.input).stat().st_size
840 if input_file.stat().st_size < bh_index:
/Zephyr-latest/scripts/build/
Dcheck_init_priorities.py118 sym.entry.st_size > 0 and
121 sym.name, sym.entry.st_size, sym.entry.st_shndx)
Dcheck_init_priorities_test.py69 s0.entry.st_size = 4
79 s2.entry.st_size = 8
Delf_parser.py159 length = sym.entry.st_size
/Zephyr-latest/arch/x86/zefi/
Dzefi.py129 assert (os.stat("data.dat").st_size % 8) == 0
/Zephyr-latest/include/zephyr/posix/sys/
Dstat.h71 off_t st_size;
/Zephyr-latest/tests/posix/shm/src/
Dmain.c66 zassert_equal(st.st_size, 0); in ZTEST()
/Zephyr-latest/lib/posix/options/
Dfs.c410 buf->st_size = stat_file.size; in stat()
Dshm.c102 st->st_size = shm->size; in shm_fstat()
/Zephyr-latest/scripts/tests/twister/
Dtest_testsuite.py654 type(result).st_size = sizes[filename]
/Zephyr-latest/scripts/pylib/twister/twisterlib/
Dtestsuite.py315 if os.stat(filename).st_size == 0:
/Zephyr-latest/soc/intel/intel_adsp/tools/
Dcavstool.py364 mm = mmap.mmap(f.fileno(), os.fstat(f.fileno()).st_size)
367 % (barnum, os.fstat(f.fileno()).st_size))