Searched refs:path (Results 76 - 100 of 7333) sorted by relevance

1234567891011>>

/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/system/
H A Dfilesystem.py50 def abspath(self, path):
51 return os.path.abspath(path)
53 def realpath(self, path):
54 return os.path.realpath(path)
59 return sys.modules[module_name].__file__ # __file__ is always an absolute path.
61 def expanduser(self, path):
62 return os.path.expanduser(path)
[all...]
/external/chromium_org/chrome/browser/search/
H A Dmost_visited_iframe_source.cc49 std::string path(url.path());
50 if (path == kTitleHTMLPath) {
52 } else if (path == kTitleCSSPath) {
54 } else if (path == kTitleJSPath) {
56 } else if (path == kThumbnailHTMLPath) {
58 } else if (path == kThumbnailCSSPath) {
60 } else if (path == kThumbnailJSPath) {
63 } else if (path == kUtilJSPath) {
65 } else if (path
[all...]
/external/chromium_org/chrome/test/ispy/common/
H A Dmock_cloud_bucket.py10 sys.path.append(os.path.join(os.path.dirname(__file__), os.pardir, os.pardir))
30 def UploadFile(self, path, contents, content_type):
31 self.datastore[path] = contents
34 def DownloadFile(self, path):
35 if self.datastore.has_key(path):
36 return self.datastore[path]
41 def UpdateFile(self, path, contents):
42 if not self.FileExists(path)
[all...]
H A Dcloud_bucket.py16 def UploadFile(self, path, contents, content_type):
20 path: where in GS to upload the file.
26 def DownloadFile(self, path):
30 path: the location in GS to download the file from.
40 def UpdateFile(self, path, contents):
44 path: location of the file in GS to update.
49 def RemoveFile(self, path):
53 path: the location in GS to download the file from.
57 def FileExists(self, path):
61 path
[all...]
/external/chromium_org/base/android/java/src/org/chromium/base/
H A DPathService.java19 public static void override(int what, String path) { argument
20 nativeOverride(what, path);
23 private static native void nativeOverride(int what, String path); argument
/external/chromium_org/third_party/WebKit/Source/modules/filesystem/
H A DDOMFilePath.h38 // DOMFileSystem path utilities. All methods in this class are static.
44 // Returns the name part from the given path.
45 static String getName(const String& path);
47 // Returns the parent directory path of the given path.
48 static String getDirectory(const String& path);
50 // Checks if a given path is a parent of mayBeChild. This method assumes given paths are absolute and do not have extra references to a parent (i.e. "../").
51 static bool isParentOf(const String& path, const String& mayBeChild);
53 // Appends the separator at the end of the path if it's not there already.
54 static String ensureDirectoryPath(const String& path);
59 isAbsolute(const String& path) argument
64 endsWithSeparator(const String& path) argument
[all...]
/external/chromium_org/tools/android/adb_profile_chrome/
H A D__init__.py6 sys.path.append(os.path.join(os.path.dirname(__file__),
/external/chromium_org/tools/
H A Dfind_depot_tools.py4 """Small utility function to find depot_tools and add it to the python path.
14 def IsRealDepotTools(path):
15 return os.path.isfile(os.path.join(path, 'gclient'))
19 """Search for depot_tools and add it to sys.path."""
21 for i in sys.path:
27 sys.path.append(i.rstrip(os.sep))
30 root_dir = os.path.dirname(os.path
[all...]
/external/chromium_org/tools/gyp/test/actions/src/
H A Dconfirm-dep-files.py18 if (os.path.exists("dep_1.txt") and
19 os.path.exists("dep_2.txt") and
20 os.path.exists("dep_3.txt")):
/external/chromium_org/tools/memory_inspector/memory_inspector/
H A Dconstants.py8 PROJECT_SRC = os.path.abspath(os.path.join(__file__, os.pardir, os.pardir))
9 CLASSIFICATION_RULES_PATH = os.path.join(PROJECT_SRC, 'classification_rules')
H A D__init__.py9 ROOT_DIR = os.path.abspath(os.path.join(os.path.dirname(__file__), os.pardir))
21 chromium_dir = os.path.abspath(os.path.join(ROOT_DIR, os.pardir, os.pardir))
22 assert(os.path.isdir(chromium_dir)), 'Cannot find chromium ' + chromium_dir
24 sys.path += [
28 os.path.join(chromium_dir, 'build', 'android'), # For pylib.
/external/chromium_org/ui/base/dragdrop/
H A Dfile_info.cc11 FileInfo::FileInfo(const base::FilePath& path, argument
13 : path(path), display_name(display_name) {}
/external/chromium_org/webkit/browser/fileapi/
H A Dmount_points.cc11 const std::string& name, const base::FilePath& path)
12 : name(name), path(path) {}
10 MountPointInfo( const std::string& name, const base::FilePath& path) argument
/external/llvm/include/llvm/Support/
H A DPath.h10 // This file declares the llvm::sys::path namespace. It is designed after
12 // path class.
26 namespace path { namespace in namespace:llvm::sys
34 /// components in \a path. The forward traversal order is as follows:
51 StringRef Path; ///< The entire path.
56 friend const_iterator begin(StringRef path);
57 friend const_iterator end(StringRef path);
81 /// @brief Get begin iterator over \a path.
82 /// @param path Input path
94 rbegin(StringRef path) argument
101 rend(StringRef path) argument
[all...]
/external/chromium_org/third_party/apache-win32/
H A Dremove_files_not_needed_for_chromium.sh12 -path . -o \
13 -path .. -o \
14 -path ./ABOUT_APACHE.txt -o \
15 -path ./bin -o \
16 -path ./bin/ApacheMonitor.exe -o \
17 -path ./bin/httpd.exe -o \
18 -path ./bin/libapr-1.dll -o \
19 -path ./bin/libapriconv-1.dll -o \
20 -path ./bin/libaprutil-1.dll -o \
21 -path
[all...]
/external/chromium-trace/trace-viewer/build/
H A Dfixjsstyle5 src_dir = os.path.join(os.path.dirname(__file__), '..')
7 sys.path.append(os.path.join(src_dir, 'third_party/python_gflags'))
8 sys.path.append(os.path.join(src_dir, 'third_party/closure_linter'))
/external/chromium_org/chrome/browser/profiles/
H A Dstorage_partition_descriptor.h11 // This structure combines a StoragePartition's on-disk path and a boolean for
18 : path(partition_path),
21 const base::FilePath path; member in struct:StoragePartitionDescriptor
29 if (lhs.path != rhs.path)
30 return lhs.path < rhs.path;
/external/chromium_org/base/
H A Dfile_util_android.cc12 bool GetShmemTempDir(bool executable, base::FilePath* path) { argument
13 return PathService::Get(base::DIR_CACHE, path);
/external/chromium_org/build/
H A Dgn_run_binary.py16 # also be on the path.
17 path = './' + sys.argv[1] variable
20 args = [path] + sys.argv[2:]
/external/chromium_org/build/linux/unbundle/
H A Dreplace_gyp_files.py13 import os.path namespace
46 my_dirname = os.path.dirname(__file__)
47 source_tree_root = os.path.abspath(
48 os.path.join(my_dirname, '..', '..', '..'))
60 for flag, path in REPLACEMENTS.items():
67 os.rename(os.path.join(source_tree_root, path + '.orig'),
68 os.path.join(source_tree_root, path))
71 shutil.copyfile(os.path
[all...]
/external/chromium_org/chrome/browser/parsers/
H A Dmetadata_parser_jpeg.cc7 JpegMetadataParser::JpegMetadataParser(const base::FilePath& path) argument
8 : FileMetadataParser(path) {}
/external/chromium_org/chrome/common/extensions/docs/server2/
H A Dbuild_server.py13 SRC_DIR = os.path.join(sys.path[0], os.pardir, os.pardir, os.pardir, os.pardir,
15 THIRD_PARTY_DIR = os.path.join(SRC_DIR, 'third_party')
16 LOCAL_THIRD_PARTY_DIR = os.path.join(sys.path[0], 'third_party')
17 TOOLS_DIR = os.path.join(SRC_DIR, 'tools')
24 def MakeInit(path):
25 path = os.path.join(path, '__init_
[all...]
/external/chromium_org/third_party/WebKit/ManualTests/blackberry/
H A Dhttp-cookie-database-set.php8 $path = str_replace("http-cookie-database-set.php", "http-cookie-database-update.php", $_SERVER["PHP_SELF"]); variable
9 $newurl = 'https://'.$_SERVER["HTTP_HOST"].$path;
/external/chromium_org/third_party/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...]
/external/chromium_org/third_party/webrtc/build/
H A Ddownload_vs_toolchain.py20 script_dir = os.path.dirname(os.path.realpath(__file__))
21 checkout_root = os.path.abspath(os.path.join(script_dir, os.pardir, os.pardir))
22 sys.path.insert(0, os.path.join(checkout_root, 'build'))
23 sys.path.insert(0, os.path.join(checkout_root, 'tools', 'find_depot_tools'))

Completed in 711 milliseconds

1234567891011>>