/external/v8/tools/ |
H A D | find_depot_tools.py | 30 root_dir = os.path.dirname(os.path.abspath(__file__)) 32 while root_dir and root_dir != previous_dir: 33 if directory_really_is_depot_tools(os.path.join(root_dir, 'depot_tools')): 34 i = os.path.join(root_dir, 'depot_tools') 37 previous_dir = root_dir 38 root_dir = os.path.dirname(root_dir)
|
/external/autotest/client/site_tests/platform_CrosDisksArchive/ |
H A D | platform_CrosDisksArchive.py | 25 def _find_all_files(self, root_dir): 32 root_dir: The root directory where the search starts from. 39 for path in os.listdir(os.path.join(root_dir, current_dir)): 40 expanded_path = os.path.join(root_dir, current_dir, path) 47 def _make_tar_archive(self, archive_path, root_dir, compression=None): 56 root_dir: The root directory to archive. 62 for path in self._find_all_files(root_dir): 63 archive.add(os.path.join(root_dir, path), path) 66 def _make_zip_archive(self, archive_path, root_dir, 76 root_dir [all...] |
/external/libbrillo/brillo/ |
H A D | osrelease_reader.cc | 24 void OsReleaseReader::LoadTestingOnly(const base::FilePath& root_dir) { argument 25 Load(root_dir); 28 void OsReleaseReader::Load(const base::FilePath& root_dir) { argument 29 base::FilePath osrelease = root_dir.Append("etc").Append("os-release"); 36 base::FilePath osreleased = root_dir.Append("etc").Append("os-release.d");
|
H A D | osrelease_reader.h | 34 void LoadTestingOnly(const base::FilePath& root_dir); 46 // Load the data from a given root_dir. 47 BRILLO_PRIVATE void Load(const base::FilePath& root_dir);
|
/external/chromium-trace/catapult/firefighter/bin/ |
H A D | deploy | 15 root_dir = os.path.dirname(os.path.dirname(os.path.realpath(__file__))) 16 with packaging.TempAppDir(root_dir, symlinks=False) as temp_app_dir:
|
H A D | packaging.py | 20 def Modules(root_dir): 21 """Yields module names in root_dir.""" 22 for root, _, files in os.walk(root_dir): 29 def Yamls(root_dir): 30 """Yields yaml files in root_dir.""" 31 for root, _, files in os.walk(root_dir): 38 def TempAppDir(root_dir, symlinks): 42 root_dir: The root directory of the app. 62 for module in Modules(root_dir): 63 module_source_dir = os.path.join(root_dir, modul [all...] |
H A D | run | 17 root_dir = os.path.dirname(os.path.dirname(os.path.realpath(__file__))) 18 with packaging.TempAppDir(root_dir, symlinks=True) as temp_app_dir:
|
/external/webrtc/tools/sslroots/ |
H A D | generate_sslroots.py | 52 root_dir = _SplitCrt(args[0], options) 53 _GenCFiles(root_dir, options) 54 _Cleanup(root_dir) 60 root_dir = os.path.dirname(os.path.abspath(source_file)) + '/' 61 _PrintOutput(root_dir, options) 72 new_file_name = root_dir + _PREFIX + label_name + _EXTENSION 82 return root_dir 85 def _GenCFiles(root_dir, options): 86 output_header_file = open(root_dir + _GENERATED_FILE, 'w') 98 for _, _, files in os.walk(root_dir) [all...] |
/external/wpa_supplicant_8/hs20/server/ |
H A D | spp_server.h | 15 char *root_dir; member in struct:hs20_svc
|
H A D | hs20_spp_server.c | 159 ctx.root_dir = optarg; 166 if (ctx.root_dir == NULL) {
|
/external/vixl/tools/ |
H A D | generate_simulator_traces.py | 118 root_dir = os.path.dirname(os.path.dirname(os.path.abspath(sys.argv[0]))) variable 119 os.chdir(root_dir) 121 args = BuildOptions(root_dir)
|
/external/valgrind/ |
H A D | runtest.sh | 17 root_dir=`realpath \`dirname $0\`/../../` 34 cd $root_dir
|
/external/google-benchmark/ |
H A D | mingw.py | 233 root_dir = os.path.join(location, slug, 'mingw64') 235 root_dir = os.path.join(location, slug, 'mingw32') 240 if not os.path.exists(root_dir): 242 if downloaded != root_dir: 244 % (downloaded, root_dir)) 246 return root_dir 302 root_dir = root(location = args.location, arch = args.arch, 307 sys.stdout.write('%s\n' % os.path.join(root_dir, 'bin'))
|
/external/autotest/client/virt/ |
H A D | kvm_vm.py | 20 def __init__(self, name, params, root_dir, address_cache, state=None): 27 @param root_dir: Base directory for relative filenames 51 self.root_dir = root_dir 97 def clone(self, name=None, params=None, root_dir=None, address_cache=None, 107 @param root_dir: Optional new base directory for relative filenames 116 if root_dir is None: 117 root_dir = self.root_dir 124 return VM(name, params, root_dir, address_cach [all...] |
H A D | virt_vm.py | 191 def get_image_filename(params, root_dir): 193 Generate an image path from params and root_dir. 196 @param root_dir: Base directory for relative filenames. 207 image_filename = virt_utils.get_path(root_dir, image_filename) 211 def create_image(params, root_dir): 216 @param root_dir: Base directory for relative filenames. 225 qemu_img_cmd = virt_utils.get_path(root_dir, params.get("qemu_img_binary", 236 image_filename = get_image_filename(params, root_dir) 246 def remove_image(params, root_dir): 251 @param root_dir [all...] |
/external/autotest/client/common_lib/ |
H A D | global_config.py | 40 root_dir = os.path.dirname(client_dir) variable 45 global_config_path_root = os.path.join(root_dir, 'global_config.ini') 46 moblab_config_path_root = os.path.join(root_dir, 'moblab_config.ini') 47 shadow_config_path_root = os.path.join(root_dir, 'shadow_config.ini')
|
/external/selinux/policycoreutils/sestatus/ |
H A D | sestatus.c | 196 const char *pol_name, *root_dir; local 247 root_dir = selinux_path(); 248 if (root_dir == NULL) { 253 root_path = strdup(root_dir);
|
/external/autotest/client/tests/kvm/tests/ |
H A D | unattended_install.py | 212 root_dir = test.bindir 213 images_dir = os.path.join(root_dir, 'images') 214 self.deps_dir = os.path.join(root_dir, 'deps') 215 self.unattended_dir = os.path.join(root_dir, 'unattended') 236 self.unattended_file = os.path.join(root_dir, self.unattended_file) 239 self.finish_program = os.path.join(root_dir, self.finish_program) 243 self.qemu_img_binary = os.path.join(root_dir, 247 self.cdrom_cd1 = os.path.join(root_dir, self.cdrom_cd1) 255 self.floppy = os.path.join(root_dir, self.floppy)
|
H A D | enospc.py | 16 root_dir = test.bindir 20 self.qemu_img_binary = os.path.join(root_dir,
|
H A D | nic_hotplug.py | 39 attach_cmd += ",script=%s" % virt_utils.get_path(vm.root_dir,
|
/external/wpa_supplicant_8/hostapd/src/wps/ |
H A D | wps_upnp_i.h | 125 char *root_dir; member in struct:upnp_wps_device_sm
|
/external/wpa_supplicant_8/src/wps/ |
H A D | wps_upnp_i.h | 125 char *root_dir; member in struct:upnp_wps_device_sm
|
/external/wpa_supplicant_8/wpa_supplicant/src/wps/ |
H A D | wps_upnp_i.h | 125 char *root_dir; member in struct:upnp_wps_device_sm
|
/external/compiler-rt/lib/sanitizer_common/scripts/ |
H A D | cpplint.py | 767 root_dir = project_dir 768 one_up_dir = os.path.dirname(root_dir) 770 root_dir = os.path.dirname(root_dir) 773 prefix = os.path.commonprefix([root_dir, project_dir]) 778 root_dir = os.path.dirname(fullname) 779 while (root_dir != os.path.dirname(root_dir) and 780 not os.path.exists(os.path.join(root_dir, ".git")) and 781 not os.path.exists(os.path.join(root_dir, " [all...] |
/external/libvpx/libvpx/tools/ |
H A D | cpplint.py | 892 root_dir = project_dir 893 one_up_dir = os.path.dirname(root_dir) 895 root_dir = os.path.dirname(root_dir) 898 prefix = os.path.commonprefix([root_dir, project_dir]) 903 root_dir = os.path.dirname(fullname) 904 while (root_dir != os.path.dirname(root_dir) and 905 not os.path.exists(os.path.join(root_dir, ".git")) and 906 not os.path.exists(os.path.join(root_dir, " [all...] |