Home
last modified time | relevance | path

Searched refs:image_file (Results 1 – 14 of 14) sorted by relevance

/external/vboot_reference/scripts/image_signing/
Dset_gbb_flags.sh80 local image_file="$FLAGS_file"
83 image_file="$(make_temp_file)"
84 flashrom $FLASHROM_READ_OPT "$image_file"
88 local old_value="$(gbb_utility -g --flags "$image_file")"
90 gbb_utility -s --flags="$value" "$image_file"
101 flashrom $FLASHROM_WRITE_OPT "$image_file"
Dsign_official_build.sh506 local image_file sign_args=() loem_sfx loem_output_dir
507 for image_file in "${shellball_dir}"/bios*.bin; do
511 loem_sfx=$(sed -r 's:.*/bios([^/]*)[.]bin$:\1:' <<<"${image_file}")
516 sign_firmware "${image_file}" "${KEY_DIR}" "${FIRMWARE_VERSION}" \
/external/vboot_reference/utility/
Dload_kernel_test.c32 static FILE *image_file = NULL; variable
47 fseek(image_file, lba_start * lkp.bytes_per_lba, SEEK_SET); in VbExDiskRead()
48 if (1 != fread(buffer, lba_count * lkp.bytes_per_lba, 1, image_file)) { in VbExDiskRead()
70 fseek(image_file, lba_start * lkp.bytes_per_lba, SEEK_SET); in VbExDiskWrite()
71 if (1 != fwrite(buffer, lba_count * lkp.bytes_per_lba, 1, image_file)) { in VbExDiskWrite()
201 image_file = fopen(image_name, "rb"); in main()
202 if (!image_file) { in main()
206 fseek(image_file, 0, SEEK_END); in main()
207 lkp.streaming_lba_count = (ftell(image_file) / LBA_BYTES); in main()
209 rewind(image_file); in main()
[all …]
/external/autotest/client/site_tests/documentscan_AppTestWithFakeLorgnette/
Dmock_lorgnette.py96 def __init__(self, image_file): argument
99 self.image_file = image_file
117 with open(self.image_file) as f:
/external/mesa3d/.gitlab-ci/tracie/
Dtracie.py43 image_file = files[0]
47 return hashlib.md5(Image.open(image_file).tobytes()).hexdigest(), image_file, log_file
155 checksum, image_file, log_file = replay(trace_path, device_name)
178 ensure_reference_image(image_file, checksum)
180 upload_artifact(image_file, 'traces/%s.png' % checksum, 'image/png')
182 image_name = os.path.split(image_file)[1]
183 shutil.move(image_file, os.path.join(results_path, image_name))
/external/autotest/client/cros/faft/utils/
Dflashrom_handler.py252 def init(self, image_file=None, allow_fallback=False): argument
274 if image_file and allow_fallback and not os.path.isfile(image_file):
277 % (self.target.upper(), image_file))
278 image_file = None
280 self.new_image(image_file)
296 def new_image(self, image_file=None): argument
310 if image_file:
311 with open(image_file, 'rb') as image_f:
313 self.fum.set_firmware_layout(image_file)
654 image_file = self.os_if.create_temp_file('wp_')
[all …]
Dsaft_flashrom_util.py309 def set_write_protect_region(self, image_file, region, enabled=None): argument
321 self._target_command, region, image_file, region)
/external/toolchain-utils/
Dimage_chromeos.py72 def FindChromeOSImage(image_file, chromeos_root): argument
98 if image_file.find(real_chroot_dir) != -1:
99 chroot_image = image_file[len(real_chroot_dir):]
102 elif image_file.find(real_chromeos_root) != -1:
103 chroot_image = image_file[len(real_chromeos_root):]
107 chroot_image = image_file
371 image_file = os.path.basename(image)
376 ' --stateful_mountpt=%s' % (image_dir, image_file, rootfs_mp,
/external/libchrome/base/android/
Dcontent_uri_utils_unittest.cc22 FilePath image_file = data_dir.Append(FILE_PATH_LITERAL("red.png")); in TEST() local
26 FilePath path = base::InsertImageIntoMediaStore(image_file); in TEST()
/external/chromium-trace/catapult/devil/devil/android/
Dfastboot_utils.py324 image_file = find_file(partition_info['image'])
325 if image_file:
326 return_dict[partition] = image_file
/external/deqp-deps/amber/samples/
Damber.cc677 std::ofstream image_file; in main() local
678 image_file.open(image_filename, std::ios::out | std::ios::binary); in main()
679 if (!image_file.is_open()) { in main()
684 image_file << std::string(out_buf.begin(), out_buf.end()); in main()
685 image_file.close(); in main()
/external/autotest/client/cros/
Dcros_disks.py709 def image_file(self): member in VirtualFilesystemImage
/external/libchrome/base/files/
Dfile_util_unittest.cc3605 FilePath image_file = data_dir.Append(FILE_PATH_LITERAL("red.png")); in TEST_F() local
3607 GetFileSize(image_file, &image_size); in TEST_F()
3612 FilePath path = InsertImageIntoMediaStore(image_file); in TEST_F()
/external/e2fsprogs/po/
Did.po4556 msgstr "Penggunaan: %s [-rsI] perangkat image_file\n"
4561 msgstr "Penggunaan: %s [-rsI] perangkat image_file\n"