/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 | 40 // DOMFileSystem path utilities. All methods in this class are static. 46 // Returns the name part from the given path. 47 static String getName(const String& path); 49 // Returns the parent directory path of the given path. 50 static String getDirectory(const String& path); 52 // 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. "../"). 53 static bool isParentOf(const String& path, const String& mayBeChild); 55 // Appends the separator at the end of the path if it's not there already. 56 static String ensureDirectoryPath(const String& path); 61 isAbsolute(const String& path) argument 66 endsWithSeparator(const String& path) argument [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/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/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/build/ |
H A D | dir_exists.py | 6 import os.path namespace 9 sys.stdout.write(str(os.path.isdir(sys.argv[1])))
|
/external/chromium/chrome/browser/parsers/ |
H A D | metadata_parser_jpeg.cc | 7 JpegMetadataParser::JpegMetadataParser(const FilePath& path) argument 8 : FileMetadataParser(path) {}
|
/external/chromium_org/base/ |
H A D | file_util_android.cc | 12 bool GetShmemTempDir(base::FilePath* path, bool executable) { argument 13 return PathService::Get(base::DIR_CACHE, path);
|
/external/chromium_org/build/linux/unbundle/ |
H A D | replace_gyp_files.py | 13 import os.path namespace 44 my_dirname = os.path.dirname(__file__) 45 source_tree_root = os.path.abspath( 46 os.path.join(my_dirname, '..', '..', '..')) 58 for flag, path in REPLACEMENTS.items(): 65 os.rename(os.path.join(source_tree_root, path + '.orig'), 66 os.path.join(source_tree_root, path)) 69 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/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/webkit/tools/layout_tests/ |
H A D | run_http_server.py | 14 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/util/ |
H A D | exec_cmd.h | 5 extern const char *perf_extract_argv0_path(const char *path); 10 extern const char *system_path(const char *path);
|
/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/openssh/openbsd-compat/ |
H A D | basename.c | 27 basename(const char *path) argument 34 if (path == NULL || *path == '\0') { 41 endp = path + strlen(path) - 1; 42 while (endp > path && *endp == '/') 46 if (endp == path && *endp == '/') { 54 while (startp > path && *(startp - 1) != '/')
|
H A D | dirname.c | 29 dirname(const char *path) argument 36 if (path == NULL || *path == '\0') { 43 endp = path + strlen(path) - 1; 44 while (endp > path && *endp == '/') 48 while (endp > path && *endp != '/') 52 if (endp == path) { 60 } while (endp > path && *endp == '/'); 63 len = endp - path [all...] |
/external/qemu/android/utils/ |
H A D | path.h | 52 extern ABool path_exists( const char* path ); 54 /* checks that a path points to a regular file */ 55 extern ABool path_is_regular( const char* path ); 57 /* checks that a path points to a directory */ 58 extern ABool path_is_dir( const char* path ); 60 /* checks that a path is absolute or not */ 61 extern ABool path_is_absolute( const char* path ); 64 extern ABool path_can_read( const char* path ); 65 extern ABool path_can_write( const char* path ); 68 extern ABool path_can_exec( const char* path ); [all...] |
/external/chromium_org/chrome/test/webdriver/test/ |
H A D | test_paths.py | 13 """Returns the path to the given path under chromedriver's test data dir.""" 14 return os.path.join(TEST_DATA_PATH, relative_path) 18 """Returns the path to the given path under chrome's test data dir.""" 19 return os.path.join(CHROME_TEST_DATA_PATH, relative_path) 23 start_dir = os.path.abspath(os.path.dirname(__file__)) 24 J = os.path.join 48 path [all...] |
/external/chromium_org/tools/python/google/ |
H A D | path_utils.py | 17 """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/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/guava/guava-tests/test/com/google/common/collect/ |
H A D | BstInOrderPathTest.java | 52 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/tools/gyp/pylib/gyp/ |
H A D | MSVSVersion.py | 20 path, sdk_based, default_toolset=None): 27 self.path = path 58 """Returns the path to Visual Studio installation.""" 59 return self.path 62 """Returns the path to a given compiler tool. """ 63 return os.path.normpath(os.path.join(self.path, "VC/bin", tool)) 79 return [os.path [all...] |
/external/chromium_org/chrome/browser/search/ |
H A D | most_visited_iframe_source.cc | 48 std::string path(url.path()); 49 if (path == kTitleHTMLPath) { 51 } else if (path == kTitleCSSPath) { 53 } else if (path == kTitleJSPath) { 55 } else if (path == kThumbnailHTMLPath) { 57 } else if (path == kThumbnailCSSPath) { 59 } else if (path == kThumbnailJSPath) { 61 } else if (path == kUtilJSPath) { 63 } else if (path [all...] |
/external/chromium_org/tools/checkbins/ |
H A D | checkbins.py | 17 # Find /third_party/pefile based on current directory and script path. 18 sys.path.append(os.path.join(os.path.dirname(__file__), '..', '..', 37 def IsPEFile(path): 38 return (os.path.isfile(path) and 39 os.path.splitext(path)[1].lower() in PE_FILE_EXTENSIONS and 40 os.path [all...] |