/external/autotest/client/cros/image_comparison/ |
D | publisher.py | 50 with open(golden_image_path, "rb") as image_file: 51 base64_images["golden"] = base64.b64encode(image_file.read()) 52 with open(test_image_path, "rb") as image_file: 53 base64_images["test"] = base64.b64encode(image_file.read()) 54 with open(diff_image_path, "rb") as image_file: 55 base64_images["diff"] = base64.b64encode(image_file.read()) 77 with open(img, "rb") as image_file: 78 b64img = base64.b64encode(image_file.read())
|
/external/vboot_reference/scripts/image_signing/ |
D | set_gbb_flags.sh | 80 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"
|
D | sign_official_build.sh | 506 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/ |
D | load_kernel_test.c | 32 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/server/site_tests/brillo_RecoverFromBadImage/ |
D | brillo_RecoverFromBadImage.py | 118 def run_once(self, host=None, image_file=None, partition=_DEFAULT_PART_NAME, argument 131 if image_file is None: 133 if not os.path.isfile(image_file): 134 raise error.TestError('Image file %s not found' % image_file) 163 host.fastboot_run('flash', args=(partition, image_file))
|
D | control | 20 TEST_ARG_NAMES = ('image_file', 'partition', 'device')
|
/external/autotest/client/site_tests/documentscan_AppTestWithFakeLorgnette/ |
D | mock_lorgnette.py | 96 def __init__(self, image_file): argument 99 self.image_file = image_file 117 with open(self.image_file) as f:
|
/external/autotest/client/site_tests/firmware_TouchMTB/tools/ |
D | mtplot_play.py | 58 image_file = evemu_file.rsplit('.', 2)[0] 63 ScreenShot(geometry_str).dump_root(image_file) 74 print 'The mtplot image file: %s\n' % image_file
|
/external/autotest/server/hosts/ |
D | adb_host.py | 1042 for image_file in image_files: 1043 self._download_file(build_url, image_file, image_dir) 1071 for image_file in image_files: 1072 self._download_file(build_url, image_file, image_dir) 1149 for image, image_file in images.items(): 1152 logging.info('Flashing %s...', image_file) 1153 self.fastboot_run('flash %s %s' % (image[:-4], image_file))
|
/external/autotest/client/cros/faft/utils/ |
D | flashrom_handler.py | 136 def new_image(self, image_file=None): argument 150 if image_file: 151 self.image = open(image_file, 'rb').read() 152 self.fum.set_firmware_layout(image_file)
|
/external/autotest/client/cros/ |
D | cros_disks.py | 574 def image_file(self): member in VirtualFilesystemImage
|
/external/e2fsprogs/po/ |
D | id.po | 3814 msgid "Usage: %s [-rsIQ] device image_file\n" 3815 msgstr "Penggunaan: %s [-rsI] perangkat image_file\n"
|
D | zh_CN.po | 3607 msgid "Usage: %s [-rsIQ] device image_file\n"
|
D | it.po | 3895 msgid "Usage: %s [-rsIQ] device image_file\n"
|
D | ca.po | 3752 msgid "Usage: %s [-rsIQa] device image_file\n"
|
D | de.po | 3761 msgid "Usage: %s [-rsIQ] device image_file\n"
|
D | nl.po | 3783 msgid "Usage: %s [-rsIQa] device image_file\n"
|
D | pl.po | 3786 msgid "Usage: %s [-rsIQa] device image_file\n"
|
D | tr.po | 3909 msgid "Usage: %s [-rsIQa] device image_file\n"
|
D | sv.po | 3784 msgid "Usage: %s [-rsIQa] device image_file\n"
|
D | es.po | 3953 msgid "Usage: %s [-rsIQ] device image_file\n"
|
D | cs.po | 3800 msgid "Usage: %s [-rsIQa] device image_file\n"
|
D | vi.po | 3748 msgid "Usage: %s [-rsIQa] device image_file\n"
|