/external/chromium_org/third_party/WebKit/Tools/Scripts/ |
check-blink-deps | 37 start_dir = None 39 start_dir = sys.argv[1] 41 if start_dir == '--help': 46 if not start_dir: 47 start_dir = os.path.join(root_dir, 'Source') 50 subprocess.call([sys.executable, check_deps, '--root', root_dir, start_dir])
|
/external/chromium_org/tools/perf/ |
run_tests | 22 start_dir = 'measurements' variable 23 ret = run_tests.Main(sys.argv[1:], start_dir, top_level_dir, runner) 25 start_dir = 'perf_tools' variable 26 ret += run_tests.Main(sys.argv[1:], start_dir, top_level_dir, runner) 28 start_dir = 'metrics' variable 29 ret += run_tests.Main(sys.argv[1:], start_dir, top_level_dir, runner)
|
/external/chromium_org/tools/python/google/ |
path_utils.py | 21 def FindAncestor(start_dir, ancestor): 27 start_dir = os.path.abspath(start_dir) 28 path = start_dir 36 raise PathNotFound("Unable to find ancestor %s in %s" % (ancestor, start_dir)) 38 def FindUpwardParent(start_dir, *desired_list): 39 """Finds the desired object's parent, searching upward from the start_dir. 41 Searches start_dir and all its parents looking for the desired directory 48 cur_dir = start_dir 55 (desired_path, start_dir)) [all...] |
httpd_utils.py | 46 def ApacheConfigDir(start_dir): 48 return google.path_utils.FindUpward(start_dir, 'tools', 'python', 52 def GetCygserverPath(start_dir, apache2=False): 56 cygserver_path = google.path_utils.FindUpward(start_dir, 'third_party',
|
/external/chromium_org/content/test/gpu/page_sets/ |
__init__.py | 8 start_dir = os.path.dirname(__file__) 9 for dirpath, _, filenames in os.walk(start_dir):
|
/external/chromium_org/tools/perf/page_sets/ |
__init__.py | 8 start_dir = os.path.dirname(__file__) 9 for dirpath, _, filenames in os.walk(start_dir):
|
/external/chromium_org/tools/telemetry/ |
run_tests | 14 start_dir = 'telemetry' variable 15 ret = run_tests.Main(sys.argv[1:], start_dir, top_level_dir, runner)
|
/external/chromium_org/tools/telemetry/telemetry/core/ |
discover.py | 10 def DiscoverModules(start_dir, top_level_dir, pattern='*'): 11 """Discover all modules in |start_dir| which match |pattern|. 14 start_dir: The directory to recursively search. 22 for dir_path, _, filenames in os.walk(start_dir): 46 def DiscoverClasses(start_dir, top_level_dir, base_class, pattern='*', 48 """Discover all classes in |start_dir| which subclass |base_class|. 51 start_dir: The directory to recursively search. 61 modules = DiscoverModules(start_dir, top_level_dir, pattern)
|
discover_unittest.py | 15 start_dir = os.path.join(top_level_dir, 'discoverable_classes') 17 classes = discover.DiscoverClasses(start_dir, top_level_dir, base_class)
|
/external/chromium_org/tools/checkperms/ |
checkperms.py | 343 def check(self, start_dir): 344 """Check the files in start_dir, recursively check its subdirectories.""" 346 items = self.list_dir(start_dir) 347 logging.info('check(%s) -> %d' % (start_dir, len(items))) 349 full_path = os.path.join(self.root_dir, start_dir, item) 362 def list_dir(self, start_dir): 363 """Lists all the files and directory inside start_dir.""" 365 x for x in os.listdir(os.path.join(self.root_dir, start_dir)) 391 def list_dir(self, start_dir): 392 """Lists all the files and directory inside start_dir."" [all...] |
/external/chromium_org/chrome/test/webdriver/test/ |
test_paths.py | 23 start_dir = os.path.abspath(os.path.dirname(__file__)) 27 SRC_PATH = J(start_dir, os.pardir, os.pardir, os.pardir, os.pardir) 30 TEST_DATA_PATH = start_dir 31 PEM_CERT_AND_KEY = J(start_dir, 'cert.pem')
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/unittest2/ |
loader.py | 163 def discover(self, start_dir, pattern='test*.py', top_level_dir=None): 190 top_level_dir = start_dir 203 if os.path.isdir(os.path.abspath(start_dir)): 204 start_dir = os.path.abspath(start_dir) 205 if start_dir != top_level_dir: 206 is_not_importable = not os.path.isfile(os.path.join(start_dir, '__init__.py')) 210 __import__(start_dir) 214 the_module = sys.modules[start_dir] 215 top_part = start_dir.split('.')[0 [all...] |
main.py | 209 start_dir = options.start 214 self.test = loader.discover(start_dir, pattern, top_level_dir)
|
/external/chromium_org/tools/checklicenses/ |
checklicenses.py | 445 start_dir = options.base_directory 449 start_dir = os.path.abspath(os.path.join(options.base_directory, args[0])) 456 print "Checking:", start_dir 466 '-r', start_dir],
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/unittest/ |
loader.py | 143 def discover(self, start_dir, pattern='test*.py', top_level_dir=None): 170 top_level_dir = start_dir 183 if os.path.isdir(os.path.abspath(start_dir)): 184 start_dir = os.path.abspath(start_dir) 185 if start_dir != top_level_dir: 186 is_not_importable = not os.path.isfile(os.path.join(start_dir, '__init__.py')) 190 __import__(start_dir) 194 the_module = sys.modules[start_dir] 195 top_part = start_dir.split('.')[0 [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/unittest/ |
loader.py | 143 def discover(self, start_dir, pattern='test*.py', top_level_dir=None): 170 top_level_dir = start_dir 183 if os.path.isdir(os.path.abspath(start_dir)): 184 start_dir = os.path.abspath(start_dir) 185 if start_dir != top_level_dir: 186 is_not_importable = not os.path.isfile(os.path.join(start_dir, '__init__.py')) 190 __import__(start_dir) 194 the_module = sys.modules[start_dir] 195 top_part = start_dir.split('.')[0 [all...] |
/external/valgrind/main/auxprogs/ |
gen-mdg | 258 my $start_dir = `basename \`pwd\``; 259 chop($start_dir); # trim newline 260 process_dir($start_dir);
|
/external/chromium_org/tools/telemetry/telemetry/unittest/ |
run_tests.py | 14 def Discover(start_dir, top_level_dir=None, pattern='test*.py'): 19 modules = discover.DiscoverModules(start_dir, top_level_dir, pattern) 84 def Main(args, start_dir, top_level_dir, runner=None): 131 start_dir, args, top_level_dir,
|
/build/tools/ |
mktarball.sh | 15 start_dir=`readlink -f $2`
|
/external/chromium/net/test/ |
python_utils.cc | 44 // |start_dir|. If found, return true and put the path to |to_try| in 46 bool TryRelativeToDir(const FilePath& start_dir, 49 FilePath dir(start_dir);
|
/external/chromium_org/net/test/ |
python_utils.cc | 45 // |start_dir|. If found, return true and put the path to |to_try| in 47 bool TryRelativeToDir(const base::FilePath& start_dir, 50 base::FilePath dir(start_dir);
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/unittest/test/ |
test_discovery.py | 164 def _find_tests(start_dir, pattern): 165 _find_tests_args.append((start_dir, pattern)) 173 start_dir = os.path.abspath('/foo/bar/baz') 176 self.assertEqual(_find_tests_args, [(start_dir, 'pattern')]) 235 def discover(self, start_dir, pattern, top_level_dir): 236 self.args.append((start_dir, pattern, top_level_dir)) 248 def discover(self, start_dir, pattern, top_level_dir): 249 self.args.append((start_dir, pattern, top_level_dir)) 353 start_dir='foo', pattern='foo.py' 365 def _find_tests(start_dir, pattern) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/unittest/test/ |
test_discovery.py | 164 def _find_tests(start_dir, pattern): 165 _find_tests_args.append((start_dir, pattern)) 173 start_dir = os.path.abspath('/foo/bar/baz') 176 self.assertEqual(_find_tests_args, [(start_dir, 'pattern')]) 235 def discover(self, start_dir, pattern, top_level_dir): 236 self.args.append((start_dir, pattern, top_level_dir)) 248 def discover(self, start_dir, pattern, top_level_dir): 249 self.args.append((start_dir, pattern, top_level_dir)) 353 start_dir='foo', pattern='foo.py' 365 def _find_tests(start_dir, pattern) [all...] |
/external/chromium_org/tools/checkdeps/ |
checkdeps.py | 355 def CheckDirectory(self, start_dir): 358 tree (starting at |self.base_directory|). |start_dir| must be a 369 self._CheckDirectoryImpl(checkers, start_dir) 502 start_dir = deps_checker.base_directory 506 start_dir = os.path.abspath( 515 print 'Checking:', start_dir 521 deps_checker.CheckDirectory(start_dir)
|
/external/chromium_org/tools/code_coverage/ |
coverage_posix.py | [all...] |