Searched refs:start_dir (Results 1 - 19 of 19) sorted by last modified time

/external/valgrind/main/auxprogs/
H A Dgen-mdg258 my $start_dir = `basename \`pwd\``;
259 chop($start_dir); # trim newline
260 process_dir($start_dir);
/external/pdfium/core/src/fxge/ge/
H A Dfx_ge_path.cpp279 int start_dir = middle_y > start_y ? 1 : -1;
280 FX_FLOAT point_y = middle_y + half_width * start_dir;
330 int start_dir = middle_x > start_x ? 1 : -1;
332 if (start_dir == end_dir) {
/external/lldb/test/unittest2/
H A Dloader.py163 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
[all...]
H A Dmain.py209 start_dir = options.start
214 self.test = loader.discover(start_dir, pattern, top_level_dir)
/external/lldb/test/unittest2/test/
H A Dtest_discovery.py166 def _find_tests(start_dir, pattern):
167 _find_tests_args.append((start_dir, pattern))
175 start_dir = os.path.abspath(os.path.normpath('/foo/bar/baz'))
178 self.assertEqual(_find_tests_args, [(start_dir, 'pattern')])
236 def discover(self, start_dir, pattern, top_level_dir):
237 self.args.append((start_dir, pattern, top_level_dir))
348 start_dir='foo', pattern='foo.py'
360 def _find_tests(start_dir, pattern):
362 self.assertEqual(start_dir, expectedPath)
/external/chromium_org/third_party/WebKit/Tools/Scripts/
H A Dcheck-blink-deps37 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/auto_bisect/
H A Drun_tests19 suite.addTests(loader.discover(start_dir=script_dir, pattern='*_test.py'))
/external/chromium_org/tools/checklicenses/
H A Dchecklicenses.py421 start_dir = options.base_directory
425 start_dir = os.path.abspath(os.path.join(options.base_directory, args[0]))
432 print "Checking:", start_dir
442 '-r', start_dir],
/external/chromium_org/tools/checkperms/
H A Dcheckperms.py346 def check(self, start_dir):
347 """Check the files in start_dir, recursively check its subdirectories."""
349 items = self.list_dir(start_dir)
350 logging.info('check(%s) -> %d' % (start_dir, len(items)))
352 full_path = os.path.join(self.root_dir, start_dir, item)
365 def list_dir(self, start_dir):
366 """Lists all the files and directory inside start_dir."""
368 x for x in os.listdir(os.path.join(self.root_dir, start_dir))
376 def list_dir(self, start_dir):
377 """Lists all the files and directory inside start_dir
[all...]
/external/chromium_org/tools/chrome_proxy/integration_tests/chrome_proxy_pagesets/
H A D__init__.py14 start_dir = os.path.dirname(os.path.abspath(__file__)) variable
15 top_level_dir = os.path.abspath(os.path.join(start_dir, os.pardir, os.pardir))
18 start_dir, top_level_dir, base_class).values():
/external/chromium_org/tools/cygprofile/
H A Drun_tests19 suite.addTests(loader.discover(start_dir=os.path.dirname(__file__),
/external/chromium_org/tools/memory_inspector/
H A Drun_tests20 suite.addTests(loader.discover(start_dir=memory_inspector.ROOT_DIR,
/external/chromium_org/tools/perf/page_sets/
H A D__init__.py14 start_dir = os.path.dirname(os.path.abspath(__file__)) variable
15 top_level_dir = os.path.dirname(start_dir)
18 start_dir, top_level_dir, base_class).values():
/external/chromium_org/tools/python/google/
H A Dhttpd_utils.py46 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',
H A Dpath_utils.py21 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...]
/external/chromium_org/tools/telemetry/telemetry/core/
H A Ddiscover.py15 def DiscoverModules(start_dir, top_level_dir, pattern='*'):
16 """Discover all modules in |start_dir| which match |pattern|.
19 start_dir: The directory to recursively search.
27 for dir_path, _, filenames in os.walk(start_dir):
52 def DiscoverClasses(start_dir, top_level_dir, base_class, pattern='*',
54 """Discover all classes in |start_dir| which subclass |base_class|.
59 start_dir: The directory to recursively search.
69 modules = DiscoverModules(start_dir, top_level_dir, pattern)
/external/chromium_org/tools/telemetry/telemetry/unittest/
H A Drun_tests.py36 def Discover(start_dir, top_level_dir=None, pattern='test*.py'):
41 modules = discover.DiscoverModules(start_dir, top_level_dir, pattern)
/external/chromium_org/net/test/
H A Dpython_utils.cc46 // |start_dir|. If found, return true and put the path to |to_try| in
48 bool TryRelativeToDir(const base::FilePath& start_dir, argument
51 base::FilePath dir(start_dir);
/external/chromium_org/content/test/gpu/page_sets/
H A D__init__.py12 start_dir = os.path.dirname(os.path.abspath(__file__)) variable
13 top_level_dir = os.path.dirname(start_dir)
16 start_dir, top_level_dir, base_class).values():

Completed in 2304 milliseconds