Searched refs:path (Results 101 - 125 of 7333) sorted by relevance

1234567891011>>

/external/chromium_org/webkit/tools/layout_tests/
H A Drun_http_server.py14 src_dir=os.path.join(os.path.dirname(os.path.dirname(os.path.dirname(
15 os.path.dirname(os.path.abspath(sys.argv[0]))))))
16 script_dir=os.path.join(src_dir, "third_party", "WebKit", "Tools",
18 script = os.path.join(script_dir, 'run-blink-httpd')
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/
H A Dexec_cmd.h5 extern const char *perf_extract_argv0_path(const char *path);
10 extern const char *system_path(const char *path);
/external/qemu/android/utils/
H A Dpath.h55 extern ABool path_exists( const char* path );
57 /* checks that a path points to a regular file */
58 extern ABool path_is_regular( const char* path );
60 /* checks that a path points to a directory */
61 extern ABool path_is_dir( const char* path );
63 /* checks that a path is absolute or not */
64 extern ABool path_is_absolute( const char* path );
67 extern ABool path_can_read( const char* path );
68 extern ABool path_can_write( const char* path );
71 extern ABool path_can_exec( const char* path );
[all...]
/external/skia/experimental/Intersection/
H A DSimplifyFindTop_Test.cpp43 static void test(const SkPath& path) { argument
45 SimplifyFindTopTest::EdgeBuilder builder(path, contours);
51 static void test(const SkPath& path, SkScalar x1, SkScalar y1, argument
54 SimplifyFindTopTest::EdgeBuilder builder(path, contours);
80 SkPath path;
81 path.moveTo(2,0);
82 path.lineTo(1,1);
83 path.lineTo(0,0);
84 path.close();
85 test(path);
[all...]
H A DSimplifyFindNext_Test.cpp46 static void test(const SkPath& path) { argument
48 SimplifyFindNextTest::EdgeBuilder builder(path, contours);
56 static void test(const SkPath& path, int start, int end) { argument
58 SimplifyFindNextTest::EdgeBuilder builder(path, contours);
65 SkPath path; local
66 path.moveTo(2,0);
67 path.lineTo(1,1);
68 path.lineTo(0,0);
69 path.close();
70 test(path);
73 addInnerCWTriangle(SkPath& path) argument
81 addInnerCCWTriangle(SkPath& path) argument
89 addOuterCWTriangle(SkPath& path) argument
97 addOuterCCWTriangle(SkPath& path) argument
106 SkPath path; local
113 SkPath path; local
120 SkPath path; local
[all...]
/external/chromium_org/tools/python/google/
H A Dpath_utils.py17 """Get the full path to the directory containing the current script."""
18 script_filename = os.path.abspath(sys.argv[0])
19 return os.path.dirname(script_filename)
22 """Finds an ancestor dir in a path.
25 'c:\foo\bar'. Unlike FindUpward*, this only looks at direct path ancestors.
27 start_dir = os.path.abspath(start_dir)
28 path = start_dir
30 (parent, tail) = os.path.split(path)
32 return path
[all...]
/external/chromium_org/tools/gyp/pylib/gyp/
H A DMSVSVersion.py21 path, sdk_based, default_toolset=None):
28 self.path = path
59 """Returns the path to Visual Studio installation."""
60 return self.path
63 """Returns the path to a given compiler tool. """
64 return os.path.normpath(os.path.join(self.path, "VC/bin", tool))
80 return [os.path
[all...]
/external/chromium_org/tools/telemetry/telemetry/util/
H A Dfind_dependencies.py27 subdirectory = os.path.realpath(subdirectory)
28 directory = os.path.realpath(directory)
29 common_prefix = os.path.commonprefix([subdirectory, directory])
34 deps_file = os.path.join(base_dir, DEPS_FILE)
35 if not os.path.exists(deps_file):
39 os.path.realpath(os.path.join(util.GetChromiumSrcDir(), os.pardir, path))
40 for path in deps_paths)
46 # Load the module to inherit its sys.path modification
[all...]
/external/guava/guava-tests/test/com/google/common/collect/
H A DBstInOrderPathTest.java52 BstInOrderPath<SimpleNode> path = extension(factory, d, LEFT, LEFT);
53 ASSERT.that(pathToList(path)).hasContentsInOrder(a, b, d);
54 path = testNextPathIs(path, b, d);
55 path = testNextPathIs(path, c, b, d);
56 path = testNextPathIs(path, d);
57 path = testNextPathIs(path,
179 testNextPathIs( BstInOrderPath<SimpleNode> path, SimpleNode... nodes) argument
187 testPrevPathIs( BstInOrderPath<SimpleNode> path, SimpleNode... nodes) argument
[all...]
/external/chromium_org/third_party/skia/experimental/Intersection/
H A DSimplifyFindNext_Test.cpp46 static void test(const SkPath& path) { argument
48 SimplifyFindNextTest::EdgeBuilder builder(path, contours);
56 static void test(const SkPath& path, int start, int end) { argument
58 SimplifyFindNextTest::EdgeBuilder builder(path, contours);
65 SkPath path; local
66 path.moveTo(2,0);
67 path.lineTo(1,1);
68 path.lineTo(0,0);
69 path.close();
70 test(path);
73 addInnerCWTriangle(SkPath& path) argument
81 addInnerCCWTriangle(SkPath& path) argument
89 addOuterCWTriangle(SkPath& path) argument
97 addOuterCCWTriangle(SkPath& path) argument
106 SkPath path; local
113 SkPath path; local
120 SkPath path; local
[all...]
/external/chromium_org/chrome/test/ispy/client/
H A Dboto_bucket.py9 # boto requires depot_tools/third_party be in the path. Use
11 sys.path.append(os.path.join(os.path.dirname(__file__), os.pardir, os.pardir,
15 sys.path.append(os.path.join(os.path.abspath(DEPOT_TOOLS_PATH), 'third_party'))
36 def _GetKey(self, path):
38 key.key = path
42 def UploadFile(self, path, content
[all...]
/external/chromium_org/chrome/browser/chromeos/drive/
H A Dfile_change.cc9 FileChange::FileChange(const base::FilePath& path, Type type) argument
10 : path_(path), type_(type) {
16 FileChangeSet FileChange::CreateSingleSet(const base::FilePath& path, argument
19 result.insert(FileChange(path, type));
/external/chromium_org/chrome/browser/prefs/
H A Dsynced_pref_change_registrar.cc13 const std::string& path,
29 void SyncedPrefChangeRegistrar::Add(const char *path, argument
31 Add(path, base::Bind(InvokeUnnamedCallback, callback));
34 void SyncedPrefChangeRegistrar::Add(const char *path, argument
36 DCHECK(!IsObserved(path));
37 observers_[path] = callback;
38 pref_service_->AddSyncedPrefObserver(path, this);
41 void SyncedPrefChangeRegistrar::Remove(const char *path) { argument
42 observers_.erase(path);
43 pref_service_->RemoveSyncedPrefObserver(path, thi
11 InvokeUnnamedCallback( const SyncedPrefChangeRegistrar::ChangeCallback& callback, const std::string& path, bool from_sync) argument
58 OnSyncedPrefChanged(const std::string& path, bool from_sync) argument
[all...]
/external/chromium_org/chrome/common/extensions/docs/server2/
H A Dappengine_main.py9 # Add the original server location to sys.path so we are able to import
12 if os.path.abspath(SERVER_PATH) not in sys.path:
13 sys.path.append(os.path.abspath(SERVER_PATH))
/external/chromium_org/chrome/test/ispy/server/
H A Dgs_bucket.py25 def _full_path(self, path):
26 return self.bucket + '/' + path.lstrip('/')
29 def UploadFile(self, path, contents, content_type):
31 self._full_path(path), 'w', content_type=content_type)
36 def DownloadFile(self, path):
38 gs_file = cloudstorage.open(self._full_path(path), 'r')
42 raise Exception('%s: %s' % (self._full_path(path), str(e)))
46 def UpdateFile(self, path, contents):
47 if not self.FileExists(path):
49 gs_file = cloudstorage.open(self._full_path(path), '
[all...]
/external/chromium_org/content/test/gpu/gpu_tests/
H A D__init__.py9 telemetry_path = os.path.join(
10 os.path.dirname(__file__),
12 absolute_telemetry_path = os.path.abspath(telemetry_path)
13 sys.path.append(absolute_telemetry_path)
/external/chromium_org/google_apis/build/
H A Dcheck_internal.py8 Takes one argument, a path. Prints 1 if the path exists, 0 if not.
17 if os.path.exists(sys.argv[1]):
/external/chromium_org/mojo/spy/ui/
H A Dspy_shell_to_html10 top_dir = os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))
11 sys.path.append(top_dir)
/external/chromium_org/native_client_sdk/src/
H A Dtest_all.py11 # add tools folder to sys.path
12 SCRIPT_DIR = os.path.dirname(os.path.abspath(__file__))
13 TOOLS_DIR = os.path.join(SCRIPT_DIR, 'tools')
14 BUILD_TOOLS_DIR = os.path.join(SCRIPT_DIR, 'build_tools')
16 sys.path.append(TOOLS_DIR)
17 sys.path.append(os.path.join(TOOLS_DIR, 'tests'))
18 sys.path.append(os.path
[all...]
/external/chromium_org/third_party/mesa/
H A Dgenerate_git_sha1.py6 import os.path namespace
10 parentdir = os.path.abspath(os.path.join(output, os.pardir))
31 if not os.path.isdir(parentdir):
/external/chromium_org/tools/gyp/
H A Dgyp_main.py9 # TODO(mark): sys.path manipulation is some temporary testing stuff.
13 import os.path namespace
14 sys.path.append(os.path.join(os.path.dirname(sys.argv[0]), 'pylib'))
/external/chromium_org/tools/metrics/histograms/
H A Dvalidate_format.py9 import os.path namespace
14 xml_file = os.path.join(os.path.dirname(os.path.realpath(__file__)),
/external/fonttools/MetaTools/
H A DbuildChangeLog.py5 fontToolsDir = os.path.dirname(os.path.dirname(os.path.normpath(
6 os.path.join(os.getcwd(), sys.argv[0]))))
/external/llvm/utils/llvm-lit/
H A Dllvm-lit.in11 sys.path.insert(0, os.path.join(llvm_source_root, 'utils', 'lit'))
17 'llvm_site_config' : os.path.join(llvm_obj_root, 'test', 'lit.site.cfg'),
18 'llvm_unit_site_config' : os.path.join(llvm_obj_root, 'test', 'Unit',
22 clang_obj_root = os.path.join(llvm_obj_root, 'tools', 'clang')
24 if os.path.exists(clang_obj_root):
26 os.path.join(clang_obj_root, 'test', 'lit.site.cfg')
27 clang_tools_extra_obj_root = os.path.join(clang_obj_root, 'tools', 'extra')
28 if os.path.exists(clang_tools_extra_obj_root):
30 os.path
[all...]
/external/apache-http/src/org/apache/http/cookie/
H A DCookiePathComparator.java45 * path-match a commmon request-URI. Otherwise, the result of the
56 String path = cookie.getPath();
57 if (path == null) {
58 path = "/";
60 if (!path.endsWith("/")) {
61 path = path + '/';
63 return path;

Completed in 3291 milliseconds

1234567891011>>