Home
last modified time | relevance | path

Searched refs:fh (Results 1 – 4 of 4) sorted by relevance

/Zephyr-latest/tests/posix/fs/src/
Dtest_fs_stat.c25 int fh; in create_file() local
27 fh = open(filename, O_CREAT | O_WRONLY, 0440); in create_file()
28 zassert(fh >= 0, "Failed creating test file"); in create_file()
33 zassert_equal(FILL_SIZE, write(fh, filling, FILL_SIZE)); in create_file()
37 zassert_equal(size, write(fh, filling, size)); in create_file()
39 zassert_ok(close(fh)); in create_file()
/Zephyr-latest/subsys/fs/
Dfuse_fs_access.c272 fi->fh = handle; in fuse_fs_access_create()
277 fi->fh = INVALID_FILE_HANDLE; in fuse_fs_access_create()
293 if (fi->fh == INVALID_FILE_HANDLE) { in fuse_fs_access_release()
297 fs_close(&files[fi->fh]); in fuse_fs_access_release()
299 release_file_handle(fi->fh); in fuse_fs_access_release()
311 if (fi->fh == INVALID_FILE_HANDLE) { in fuse_fs_access_read()
315 err = fs_seek(&files[fi->fh], off, FS_SEEK_SET); in fuse_fs_access_read()
320 err = fs_read(&files[fi->fh], buf, size); in fuse_fs_access_read()
332 if (fi->fh == INVALID_FILE_HANDLE) { in fuse_fs_access_write()
336 err = fs_seek(&files[fi->fh], off, FS_SEEK_SET); in fuse_fs_access_write()
[all …]
/Zephyr-latest/scripts/pylib/twister/twisterlib/
Dtwister_main.py31 fh = logging.FileHandler(log_file)
33 fh = logging.FileHandler(os.path.join(outdir, "twister.log"))
35 fh.setLevel(logging.DEBUG)
51 fh.setFormatter(formatter_file)
55 logger.addHandler(fh)
/Zephyr-latest/scripts/build/
Dgen_cfb_font_header.py84 fh = size[3] - size[1] # bottom - top
88 if fh > fh_max:
89 fh_max = fh
114 fh = size[3] - size[1] # bottom - top