/external/chromium_org/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 i = os.path.join(root_dir, 'depot_tools') 37 previous_dir = root_dir 38 root_dir = os.path.dirname(root_dir)
|
H A D | safely-roll-deps.py | 92 root_dir = os.path.dirname(tool_dir) 93 os.chdir(root_dir) 105 old_branch = scm.GIT.GetBranch(root_dir) 129 old_rev = process_deps(os.path.join(root_dir, 'DEPS'), project, new_rev,
|
/external/chromium_org/android_webview/tools/ |
H A D | find_files.pl | 14 my $root_dir = shift @ARGV; 22 open FIND, '-|', 'find', $root_dir, @find_args
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/ |
H A D | check-blink-deps | 45 root_dir = os.path.realpath(os.path.join(os.path.dirname(__file__), os.pardir, os.pardir)) 47 start_dir = os.path.join(root_dir, 'Source') 49 check_deps = os.path.realpath(os.path.join(root_dir, os.pardir, os.pardir, 'buildtools', 'checkdeps', 'checkdeps.py')) 50 subprocess.call([sys.executable, check_deps, '--root', root_dir, start_dir])
|
/external/lldb/utils/test/ |
H A D | run-dis.py | 16 root_dir = None variable 53 replaced_path = path.replace(root_dir, "", 1) 70 global root_dir 83 dest='root_dir', 100 if not opts.root_dir or not opts.path_pattern: 105 root_dir = opts.root_dir variable 106 root_dir = os.path.abspath(root_dir) variable 107 if not os.path.isdir(root_dir) [all...] |
/external/chromium_org/mojo/public/tools/bindings/pylib/mojom_tests/support/ |
H A D | run_bindings_generator.py | 10 def RunBindingsGenerator(out_dir, root_dir, mojom_file, extra_flags=None): 12 root_dir = os.path.abspath(root_dir) 16 assert mojom_file.startswith(root_dir) 17 mojom_reldir = os.path.dirname(os.path.relpath(mojom_file, root_dir)) 39 print "usage: %s out_dir root_dir mojom_file [extra_flags]" % argv[0]
|
/external/chromium_org/tools/security/ |
H A D | check_message_owners.py | 14 root_dir = os.path.abspath(os.path.join(file_path, '..', '..')) 15 owners = collect_owners(root_dir) 20 def collect_owners(root_dir): 22 for root, dirs, files in os.walk(root_dir):
|
/external/valgrind/ |
H A D | runtest.sh | 17 root_dir=`realpath \`dirname $0\`/../../` 34 cd $root_dir
|
/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 | 46 root_dir = os.path.dirname(os.path.dirname(os.path.abspath(sys.argv[0]))) variable 47 os.chdir(root_dir) 49 args = BuildOptions(root_dir)
|
H A D | presubmit.py | 189 root_dir = os.path.dirname(os.path.dirname(os.path.abspath(sys.argv[0]))) variable 190 os.chdir(root_dir)
|
/external/chromium_org/tools/grit/grit/ |
H A D | util_unittest.py | 71 root_dir = 'c:%sa' % os.path.sep 73 path1 = root_dir + 'bc' 75 path2 = '%s%s%s' % (root_dir, os.path.sep, result2) 77 TestRelativePathCombinations(root_dir, path1, result1) 78 TestRelativePathCombinations(root_dir, path2, result2)
|
/external/chromium_org/native_client_sdk/src/doc/doxygen/ |
H A D | rst_index.py | 183 def GenerateCIndex(root_dir, channel, version, out_filename): 184 interfaces = MakeReSTListFromFiles(root_dir, C_INTERFACE_WILDCARDS) 185 structures = MakeReSTListFromFiles(root_dir, C_STRUCT_WILDCARDS) 186 files = MakeReSTListFromFiles(root_dir, FILE_WILDCARDS) 197 def GenerateCppIndex(root_dir, channel, version, out_filename): 198 classes = MakeReSTListFromFiles(root_dir, CPP_CLASSES_WILDCARDS, 200 files = MakeReSTListFromFiles(root_dir, FILE_WILDCARDS) 237 root_dir = files[0] 240 GenerateCIndex(root_dir, options.channel, options.version, options.output) 242 GenerateCppIndex(root_dir, option [all...] |
H A D | doxy_cleanup.py | 168 root_dir = files[0] 169 html_dir = os.path.join(root_dir, 'html') 172 # First, move all files from that directory to root_dir. 174 Trace('Moving %s -> %s' % (filename, root_dir)) 175 shutil.move(filename, root_dir) 184 path = os.path.join(root_dir, wildcard) 191 for root, _, files in os.walk(root_dir):
|
/external/chromium_org/tools/checkperms/ |
H A D | checkperms.py | 327 def __init__(self, root_dir, bare_output): 328 self.root_dir = root_dir 341 return check_file(self.root_dir, rel_path) 352 full_path = os.path.join(self.root_dir, start_dir, item) 353 rel_path = full_path[len(self.root_dir) + 1:] 368 x for x in os.listdir(os.path.join(self.root_dir, start_dir)) 382 start_dir = start_dir[len(self.root_dir) + 1:] 394 return capture(['git', 'ls-files'], cwd=self.root_dir).splitlines() 456 start_dir = args[0] if args else api.root_dir [all...] |
/external/chromium_org/native_client_sdk/src/build_tools/ |
H A D | buildbot_run.py | 57 root_dir = os.path.dirname(SRC_DIR) 59 subprocess.check_call(['subst', subst_drive, root_dir]) 61 os.path.relpath(SCRIPT_DIR, root_dir))
|
/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/mod_pywebsocket/ |
H A D | dispatch.py | 183 self, root_dir, scan_dir=None, 188 root_dir: The directory where handler definition files are 191 searched. scan_dir must be a directory under root_dir, 192 including root_dir itself. If scan_dir is None, 193 root_dir is used as scan_dir. scan_dir can be useful 194 in saving scan time when root_dir contains many 197 canonical path is not under root_dir. 205 scan_dir = root_dir 207 os.path.realpath(root_dir)): 209 'root_dir [all...] |
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/mod_pywebsocket/ |
H A D | dispatch.py | 183 self, root_dir, scan_dir=None, 188 root_dir: The directory where handler definition files are 191 searched. scan_dir must be a directory under root_dir, 192 including root_dir itself. If scan_dir is None, 193 root_dir is used as scan_dir. scan_dir can be useful 194 in saving scan time when root_dir contains many 197 canonical path is not under root_dir. 205 scan_dir = root_dir 207 os.path.realpath(root_dir)): 209 'root_dir [all...] |
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/webgl/ |
H A D | update_webgl_conformance_tests.py | 99 root_dir = current_scm.checkout_root 100 if not root_dir: 102 out_dir = os.path.join(root_dir, "LayoutTests/fast/canvas/webgl")
|
/external/chromium_org/build/android/ |
H A D | generate_emma_html.py | 19 def _GetFilesWithExt(root_dir, ext): 23 root_dir: Directory in which to search for files. 30 for root, _, filenames in os.walk(root_dir):
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/system/ |
H A D | logutils_unittest.py | 46 root_dir = "/" 47 os.chdir(root_dir)
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/ |
H A D | dso.c | 31 char *root_dir, char *file, size_t size) 90 root_dir, dso->long_name); 117 char *root_dir = (char *) ""; local 126 root_dir = machine->root_dir; 129 root_dir, name, PATH_MAX)) { 495 sprintf(path, "%s/sys/kernel/notes", machine->root_dir); 502 const char *root_dir) 513 root_dir, (int)strlen(name) - 1, name); 30 dso__binary_type_file(struct dso *dso, enum dso_binary_type type, char *root_dir, char *file, size_t size) argument 501 dso__kernel_module_get_build_id(struct dso *dso, const char *root_dir) argument
|
H A D | machine.c | 14 int machine__init(struct machine *machine, const char *root_dir, pid_t pid) argument 30 machine->root_dir = strdup(root_dir); 31 if (machine->root_dir == NULL) 87 free(machine->root_dir); 88 machine->root_dir = NULL; 111 const char *root_dir) 120 if (machine__init(machine, root_dir, pid) != 0) { 186 const char *root_dir = ""; local 209 root_dir 110 machines__add(struct machines *machines, pid_t pid, const char *root_dir) argument 674 get_kernel_version(const char *root_dir) argument [all...] |
H A D | dso.h | 122 int dso__kernel_module_get_build_id(struct dso *dso, const char *root_dir); 126 char *root_dir, char *file, size_t size);
|