/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/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/telemetry/core/ |
discover.py | 13 def DiscoverModules(start_dir, top_level_dir, pattern='*'): 14 """Discover all modules in |start_dir| which match |pattern|. 17 start_dir: The directory to recursively search. 25 for dir_path, _, filenames in os.walk(start_dir): 49 def DiscoverClasses(start_dir, top_level_dir, base_class, pattern='*', 51 """Discover all classes in |start_dir| which subclass |base_class|. 56 start_dir: The directory to recursively search. 66 modules = DiscoverModules(start_dir, top_level_dir, pattern)
|
/external/chromium_org/tools/checkperms/ |
checkperms.py | 379 def check(self, start_dir): 380 """Check the files in start_dir, recursively check its subdirectories.""" 382 items = self.list_dir(start_dir) 383 logging.info('check(%s) -> %d' % (start_dir, len(items))) 385 full_path = os.path.join(self.root_dir, start_dir, item) 398 def list_dir(self, start_dir): 399 """Lists all the files and directory inside start_dir.""" 401 x for x in os.listdir(os.path.join(self.root_dir, start_dir)) 427 def list_dir(self, start_dir): 428 """Lists all the files and directory inside start_dir."" [all...] |
/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 | 390 start_dir = options.base_directory 394 start_dir = os.path.abspath(os.path.join(options.base_directory, args[0])) 401 print "Checking:", start_dir 411 '-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...] |
main.py | 209 start_dir = options.start 214 self.test = loader.discover(start_dir, pattern, top_level_dir)
|
/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...] |
main.py | 209 start_dir = options.start 214 self.test = loader.discover(start_dir, pattern, top_level_dir)
|
/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 | 13 def Discover(start_dir, top_level_dir=None, pattern='test*.py'): 18 modules = discover.DiscoverModules(start_dir, top_level_dir, pattern) 99 def Main(args, start_dir, top_level_dir, runner=None): 141 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 | 46 // |start_dir|. If found, return true and put the path to |to_try| in 48 bool TryRelativeToDir(const base::FilePath& start_dir, 51 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...] |
test_program.py | 17 def _find_tests(start_dir, pattern): 19 self.assertEqual(start_dir, expectedPath)
|
/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...] |
test_program.py | 17 def _find_tests(start_dir, pattern): 19 self.assertEqual(start_dir, expectedPath)
|
/external/chromium_org/tools/checkdeps/ |
checkdeps.py | 68 def CheckDirectory(self, start_dir): 71 tree (starting at |self.base_directory|). |start_dir| must be a 82 self._CheckDirectoryImpl(checkers, start_dir) 200 start_dir = deps_checker.base_directory 204 start_dir = os.path.abspath( 213 print 'Checking:', start_dir 224 deps_checker.CheckDirectory(start_dir)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
zipfile.py | 776 self.fp.seek(self.start_dir, 0) 823 # self.start_dir: Position of start of central directory 824 self.start_dir = offset_cd + concat 825 fp.seek(self.start_dir, 0) [all...] |