/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/system/ |
H A D | filesystem.py | 50 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 D | most_visited_iframe_source.cc | 49 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 D | mock_cloud_bucket.py | 10 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 D | cloud_bucket.py | 16 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 D | PathService.java | 19 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 D | DOMFilePath.h | 38 // 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__.py | 6 sys.path.append(os.path.join(os.path.dirname(__file__),
|
/external/chromium_org/tools/ |
H A D | find_depot_tools.py | 4 """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 D | confirm-dep-files.py | 18 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 D | constants.py | 8 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__.py | 9 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 D | file_info.cc | 11 FileInfo::FileInfo(const base::FilePath& path, argument 13 : path(path), display_name(display_name) {}
|
/external/chromium_org/webkit/browser/fileapi/ |
H A D | mount_points.cc | 11 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 D | Path.h | 10 // 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 D | remove_files_not_needed_for_chromium.sh | 12 -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 D | fixjsstyle | 5 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 D | storage_partition_descriptor.h | 11 // 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 D | file_util_android.cc | 12 bool GetShmemTempDir(bool executable, base::FilePath* path) { argument 13 return PathService::Get(base::DIR_CACHE, path);
|
/external/chromium_org/build/ |
H A D | gn_run_binary.py | 16 # 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 D | replace_gyp_files.py | 13 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 D | metadata_parser_jpeg.cc | 7 JpegMetadataParser::JpegMetadataParser(const base::FilePath& path) argument 8 : FileMetadataParser(path) {}
|
/external/chromium_org/chrome/common/extensions/docs/server2/ |
H A D | build_server.py | 13 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 D | http-cookie-database-set.php | 8 $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 D | SimplifyFindTop_Test.cpp | 43 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 D | download_vs_toolchain.py | 20 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'))
|