Searched refs:fh (Results 1 – 7 of 7) sorted by relevance
| /u-boot/lib/efi_loader/ |
| A D | efi_file.c | 53 return fh->path; in basename() 58 return fs_set_blk_dev_with_part(fh->fs->desc, fh->fs->part); in set_blk_dev() 201 fh->fs = fs; in file_open() 236 fh->isdir = is_dir(fh); in file_open() 245 free(fh); in file_open() 368 free(fh); in file_close() 386 if (set_blk_dev(fh) || fs_unlink(fh->path)) in efi_file_delete() 434 if (fs_read(fh->path, map_to_sysmem(buffer), fh->offset, in file_read() 457 fh->dirs = fs_opendir(fh->path); in dir_read() 506 fh->offset++; in dir_read() [all …]
|
| A D | efi_capsule.c | 821 struct efi_file_handle *dirh, *fh; in efi_capsule_read_file() local 832 ret = EFI_CALL((*dirh->open)(dirh, &fh, (u16 *)filename, in efi_capsule_read_file() 841 ret = EFI_CALL((*fh->getinfo)(fh, &efi_file_info_guid, in efi_capsule_read_file() 849 ret = EFI_CALL((*fh->getinfo)(fh, &efi_file_info_guid, in efi_capsule_read_file() 863 ret = EFI_CALL((*fh->read)(fh, &size, buf)); in efi_capsule_read_file() 875 EFI_CALL((*fh->close)(fh)); in efi_capsule_read_file() 890 struct efi_file_handle *dirh, *fh; in efi_capsule_delete_file() local 898 ret = EFI_CALL((*dirh->open)(dirh, &fh, (u16 *)filename, in efi_capsule_delete_file() 903 ret = EFI_CALL((*fh->delete)(fh)); in efi_capsule_delete_file()
|
| /u-boot/test/py/tests/ |
| A D | test_ut.py | 15 with open(fn, 'wb') as fh: 16 fh.write(data) 21 with open(fn, 'wb') as fh: 22 fh.write(data)
|
| A D | test_dfu.py | 148 fh = u_boot_utils.attempt_to_open_file( 150 if fh: 151 fh.close() 167 fh = u_boot_utils.wait_until_open_succeeds( 169 fh.close()
|
| A D | test_ums.py | 141 fh = u_boot_utils.wait_until_open_succeeds(host_ums_part_node) 143 fh.read(4096) 144 fh.close()
|
| /u-boot/test/py/ |
| A D | u_boot_utils.py | 42 with open(fn, 'rb') as fh: 47 data = fh.read(*params) 85 with open(self.abs_fn, 'wb') as fh: 86 fh.write(data) 124 fh = attempt_to_open_file(fn) 125 if fh: 126 return fh 147 fh = attempt_to_open_file(fn) 148 if not fh: 150 fh.close()
|
| /u-boot/drivers/video/ |
| A D | stb_truetype.h | 2853 float fh = ranges[i].font_size; in stbtt_PackFontRangesGatherRects() local 2854 …float scale = fh > 0 ? stbtt_ScaleForPixelHeight(info, fh) : stbtt_ScaleForMappingEmToPixels(info,… in stbtt_PackFontRangesGatherRects() 2886 float fh = ranges[i].font_size; in stbtt_PackFontRangesRenderIntoRects() local 2887 …float scale = fh > 0 ? stbtt_ScaleForPixelHeight(info, fh) : stbtt_ScaleForMappingEmToPixels(info,… in stbtt_PackFontRangesRenderIntoRects()
|
Completed in 30 milliseconds