/external/toolchain-utils/ |
D | weekly_report.py | 171 image_path = os.path.join(data_path, image_dir) 173 if not os.path.exists(image_path): 174 os.makedirs(image_path) 176 (data_path, tar_file_path, image_path)) 179 report_image_paths.append(image_path) 184 image_path = os.path.join(data_path, image_dir) 186 if not os.path.exists(image_path): 187 os.makedirs(image_path) 189 (data_path, v_file_path, image_path)) 192 vanilla_image_paths.append(image_path) [all …]
|
D | chromiumos_image_diff.py | 312 for i, image_path in enumerate([options.image1, options.image2], start=1): 313 image_path = os.path.realpath(image_path) 314 if not os.path.isfile(image_path): 315 logger.getLogger().LogError('"{0}" is not a file.'.format(image_path)) 323 t = image_path 336 image = CrosImage(image_path, chromeos_root, options.no_unmount)
|
/external/toolchain-utils/crosperf/ |
D | download_images_unittest.py | 39 image_path = ('gs://chromeos-image-archive/%s/chromiumos_test_image.tar.xz' 49 test_chroot, test_build_id, image_path) 80 downloader.DownloadImage(test_chroot, test_build_id, image_path) 176 def GoodDownloadImage(root, build_id, image_path): argument 177 if root or build_id or image_path: 182 def BadDownloadImage(root, build_id, image_path): argument 183 if root or build_id or image_path: 210 image_path, autotest_path = downloader.Run(test_chroot, test_build_id, 219 self.assertTrue(image_path == 'chromiumos_test_image.bin') 225 image_path, autotest_path = downloader.Run(test_chroot, test_build_id,
|
D | download_images.py | 76 image_path = os.path.join(download_path, 'chromiumos_test_image.bin') 82 if not os.path.exists(image_path): 94 return image_path 275 image_path = self.DownloadImage(chromeos_root, build_id, image_name) 279 self._logger.LogOutput('Using image from %s.' % image_path) 284 return image_path, autotest_path
|
D | experiment_file.py | 163 image_path, autotest_path = settings.GetXbuddyPath( 165 res += '\t#actual_image: %s\n' % image_path
|
/external/autotest/server/site_tests/firmware_Cr50Update/ |
D | firmware_Cr50Update.py | 105 image_ver, image_ver_str, image_path = self.images[image_name] 107 dest, ver = cr50_utils.InstallImage(self.host, image_path, 126 self.cr50_update(image_path, rollback=rollback, 190 def add_image_to_update_order(self, image_name, image_path, ver=None): argument 206 if not os.path.isfile(image_path): 207 image_path, ver = self.fetch_image(ver) 209 _, ver = cr50_utils.InstallImage(self.host, image_path, tmp_file) 214 self.images[image_name] = (ver, ver_str, image_path) 215 logging.info("%s stored at %s with version %s", image_name, image_path,
|
/external/tensorflow/tensorflow/lite/tools/accuracy/ilsvrc/ |
D | inception_preprocessing_test.cc | 54 string image_path = *g_test_image_file; in TEST() local 55 auto status = GetContents(image_path, &image_contents); in TEST() 83 string image_path = *g_test_image_file; in TEST() local 84 auto status = GetContents(image_path, &image_contents); in TEST() 112 string image_path = *g_test_image_file; in TEST() local 113 auto status = GetContents(image_path, &image_contents); in TEST()
|
/external/avb/test/ |
D | avb_unittest_util.cc | 134 base::FilePath image_path = testdir_.Append(file_name); in GenerateImage() local 137 base::WriteFile(image_path, in GenerateImage() 140 return image_path; in GenerateImage() 143 std::string BaseAvbToolTest::InfoImage(const base::FilePath& image_path) { in InfoImage() argument 147 image_path.value().c_str(), in InfoImage()
|
D | avb_unittest_util.h | 91 std::string InfoImage(const base::FilePath& image_path);
|
D | avbtool_unittest.cc | 1931 base::FilePath image_path = testdir_.Append("kernel.bin"); in TEST_F() local 1934 base::WriteFile(image_path, in TEST_F() 1946 image_path.value().c_str(), in TEST_F() 1953 ASSERT_TRUE(base::GetFileSize(image_path, &file_size)); in TEST_F() 2704 base::FilePath image_path = GenerateImage("test_print_version", 1024); in PrintWithMakeVbmetaImage() local 2713 image_path.value().c_str(), in PrintWithMakeVbmetaImage() 2716 image_path.value().c_str()); in PrintWithMakeVbmetaImage()
|
/external/autotest/server/site_tests/platform_StageAndRecover/ |
D | platform_StageAndRecover.py | 49 image_path = self.host.stage_image_for_servo( 52 logging.info('%s staged at %s' % (artifact, image_path)) 57 self.host.servo.image_to_servo_usb(image_path,
|
/external/autotest/server/cros/servo/ |
D | servo.py | 683 def image_to_servo_usb(self, image_path=None, argument 707 if image_path: 710 if not self._server.download_image_to_usb(image_path): 726 def install_recovery_image(self, image_path=None, argument 740 self.image_to_servo_usb(image_path, make_image_noninteractive) 744 def _scp_image(self, image_path): argument 757 dest_path = os.path.join('/tmp', os.path.basename(image_path)) 758 self._servo_host.send_file(image_path, dest_path)
|
/external/grpc-grpc/tools/interop_matrix/ |
D | run_interop_matrix_tests.py | 126 image_path = '%s/grpc_interop_%s' % (args.gcr_path, runtime) 129 '--format=json', image_path 137 'Found images for %s: %s' % (image_path, tags), 145 images[runtime] = [(tag, '%s:%s' % (image_path, tag))
|
/external/u-boot/cmd/ |
D | bootefi.c | 267 struct efi_device_path *image_path) in do_bootefi_exec() argument 283 if (!device_path && !image_path) { in do_bootefi_exec() 287 device_path = image_path = memdp; in do_bootefi_exec() 295 assert(device_path && image_path); in do_bootefi_exec() 299 device_path, image_path); in do_bootefi_exec()
|
/external/autotest/client/site_tests/video_JEAPerf/ |
D | video_JEAPerf.py | 101 for (image_path, width, height) in test_cases: 102 url = DOWNLOAD_BASE + image_path 103 file_name = os.path.basename(image_path)
|
/external/autotest/site_utils/stable_images/ |
D | build_data.py | 125 image_path = frontend.format_cros_image_name(board, cros_version) 126 return _read_gs_json_data(_BUILD_METADATA_PATTERN % image_path)
|
/external/tensorflow/tensorflow/contrib/checkpoint/python/ |
D | visualize_test.py | 85 image_path = os.path.join(self.get_temp_dir(), 'saved.svg') 87 parsed.write_svg(image_path)
|
/external/toolchain-utils/automation/clients/helper/ |
D | chromeos.py | 32 image_path = os.path.join(self._chromeos_root, 'src/build/images', board, 40 image_path,
|
/external/u-boot/board/gdsys/p1022/ |
D | controlcenterd-id.c | 1020 const char *image_path = "/ccdm.itb"; in second_stage_init() local 1053 image_path = cptr; in second_stage_init() 1055 mac_path = malloc(strlen(image_path) + strlen(mac_suffix) + 1); in second_stage_init() 1058 strcpy(mac_path, image_path); in second_stage_init() 1065 if (fs_read(image_path, image_addr, 0, 0, &image_size) < 0) in second_stage_init()
|
/external/autotest/server/site_tests/factory_InstallServo/ |
D | factory_InstallServo.py | 66 self.servo.install_recovery_image(image_path=shim_image)
|
/external/toolchain-utils/fdo_scripts/ |
D | vanilla_vs_fdo.py | 166 image_path = os.path.join( 170 self._chromeos_root, '--image=%s' % image_path,
|
/external/tensorflow/tensorflow/examples/label_image/ |
D | main.cc | 335 string image_path = tensorflow::io::JoinPath(root_dir, image); in main() local 337 ReadTensorFromImageFile(image_path, input_height, input_width, input_mean, in main()
|
/external/tensorflow/tensorflow/contrib/tensorboard/plugins/projector/ |
D | projector_config.proto | 21 string image_path = 1; field
|
/external/tensorflow/tensorflow/lite/examples/ios/simple/ |
D | RunModelViewController.mm | 151 NSString* image_path = FilePathForResourceName(@"grace_hopper", @"jpg"); 156 LoadImageFromFile([image_path UTF8String], &image_width, &image_height, &image_channels);
|
/external/tensorflow/tensorflow/contrib/pi_examples/label_image/ |
D | label_image.cc | 364 string image_path = tensorflow::io::JoinPath(root_dir, image); in main() local 366 ReadTensorFromImageFile(image_path, input_height, input_width, input_mean, in main()
|