/external/icu4c/tools/gentest/ |
H A D | gentest.h | 12 U_CFUNC int genres32(const char *prog, const char *path);
|
/external/webkit/Source/WebCore/platform/chromium/ |
H A D | FileSystemChromiumLinux.cpp | 36 String pathGetFileName(const String& path) argument 38 return path.substring(path.reverseFind('/') + 1); 41 String pathGetDisplayFileName(const String& path) argument 43 return pathGetFileName(path);
|
H A D | FileSystemChromiumWin.cpp | 39 String pathGetFileName(const String& path) argument 41 return String(PathFindFileName(String(path).charactersWithNullTermination())); 44 String pathGetDisplayFileName(const String& path) argument 46 return pathGetFileName(path);
|
H A D | FileSystemChromiumMac.mm | 39 String pathGetFileName(const String& path) 41 return [path lastPathComponent]; 44 String pathGetDisplayFileName(const String& path) 46 return [[NSFileManager defaultManager] displayNameAtPath:path];
|
/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/test/ |
H A D | set_sys_path.py | 41 # Add the parent directory to sys.path to enable importing mod_pywebsocket. 42 sys.path.insert(0, os.path.join(os.path.split(__file__)[0], '..'))
|
/external/webkit/Source/WebCore/platform/wince/ |
H A D | KURLWinCE.cpp | 27 return path();
|
/external/qemu/distrib/sdl-1.2.15/src/audio/ |
H A D | SDL_audiodev_c.h | 24 /* Open the audio device, storing the pathname in 'path' */ 25 extern int SDL_OpenAudioPath(char *path, int maxlen, int flags, int classic);
|
/external/llvm/bindings/python/llvm/tests/ |
H A D | base.py | 1 import os.path namespace 26 path = os.path.join(d, lib) 28 if os.path.exists(path): 29 return path
|
/external/webkit/Tools/Scripts/ |
H A D | rebaseline-chromium-webkit-tests | 34 scripts_directory = os.path.dirname(os.path.abspath(sys.argv[0])) 35 webkitpy_directory = os.path.join(scripts_directory, "webkitpy") 36 sys.path.append(os.path.join(webkitpy_directory, "layout_tests")) 39 sys.path.append(os.path.join(webkitpy_directory, "thirdparty"))
|
/external/webkit/Tools/Scripts/webkitpy/common/system/ |
H A D | logutils.py | 39 """The normalized, absolute path to the ...Scripts directory.""" 42 """The normalized, absolute path to the ...Scripts/webkitpy directory.""" 45 def _normalize_path(path): 46 """Return the given path normalized. 48 Converts a path to an absolute path, removes any trailing slashes, 52 path = os.path.abspath(path) 53 path [all...] |
H A D | ospath.py | 23 """Contains a substitute for Python 2.6's os.path.relpath().""" 28 # This function is a replacement for os.path.relpath(), which is only 31 # http://docs.python.org/library/os.path.html#os.path.relpath 33 # It should behave essentially the same as os.path.relpath(), except for 35 def relpath(path, start_path, os_path_abspath=None, sep=None): 36 """Return a path relative to the given start path, or None. 38 Returns None if the path is not contained in the directory start_path. 41 path [all...] |
H A D | ospath_unittest.py | 36 os_path_abspath = lambda self, path: path 38 def _rel_path(self, path, abs_start_path): 39 return relpath(path, abs_start_path, self.os_path_abspath) 47 expected_rel_path = os.path.join("test", "Foo.txt") 48 path = os.path.join(start_path, expected_rel_path) 50 rel_path = self._rel_path(path, start_path) 56 path = os.path [all...] |
/external/llvm/utils/llvm-lit/ |
H A D | llvm-lit.in | 11 sys.path.insert(0, os.path.join(llvm_source_root, 'utils', 'lit')) 18 'llvm_site_config' : os.path.join(llvm_obj_root, 'test', 'lit.site.cfg') 21 clang_obj_root = os.path.join(llvm_obj_root, 'tools', 'clang') 23 if os.path.exists(clang_obj_root): 25 os.path.join(clang_obj_root, 'test', 'lit.site.cfg') 26 clang_tools_extra_obj_root = os.path.join(clang_obj_root, 'tools', 'extra') 27 if os.path.exists(clang_tools_extra_obj_root): 29 os.path.join(clang_tools_extra_obj_root, 'test', 'lit.site.cfg')
|
/external/skia/gm/ |
H A D | pathreverse.cpp | 13 static void test_path(SkCanvas* canvas, const SkPath& path) { argument 16 canvas->drawPath(path, paint); 20 canvas->drawPath(path, paint); 23 static void test_rev(SkCanvas* canvas, const SkPath& path) { argument 24 test_path(canvas, path); 27 rev.reverseAddPath(path); 37 SkPath path; local 39 path.addRect(r); test_rev(canvas, path); 42 path 83 SkPath path; local [all...] |
/external/skia/samplecode/ |
H A D | SampleConcavePaths.cpp | 50 SkPath path; local 52 path.moveTo(SkIntToScalar(20), SkIntToScalar(20)); 53 path.lineTo(SkIntToScalar(80), SkIntToScalar(20)); 54 path.lineTo(SkIntToScalar(30), SkIntToScalar(30)); 55 path.lineTo(SkIntToScalar(20), SkIntToScalar(80)); 56 canvas->drawPath(path, paint); 60 SkPath path; local 63 path.moveTo(SkIntToScalar(20), SkIntToScalar(20)); 64 path.lineTo(SkIntToScalar(20), SkIntToScalar(80)); 65 path 72 SkPath path; local 84 SkPath path; local 98 SkPath path; local 112 SkPath path; local 124 SkPath path; local [all...] |
/external/webkit/Source/WebCore/fileapi/ |
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/webkit/Tools/QueueStatusServer/ |
H A D | __init__.py | 17 sys.path.append("/usr/local/google_appengine") 21 # test-webkitpy adds $WEBKIT/WebKitTools to the sys.path and imports 23 # our code QueueStatusServer is the root (and thus in the path). 26 sys.path.append(os.path.dirname(__file__))
|
/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/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 | PathV2.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: 50 StringRef Path; ///< The entire path. 55 friend const_iterator begin(StringRef path); 56 friend const_iterator end(StringRef path); 80 /// @brief Get begin iterator over \a path. 81 /// @param path Input path 93 rbegin(StringRef path) argument 100 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/webkit/Source/JavaScriptCore/JavaScriptCore.vcproj/JavaScriptCore/ |
H A D | react-to-vsprops-changes.py | 12 top_level_directory = os.path.dirname(os.path.dirname(os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))))) 14 vsprops_directory = os.path.join(top_level_directory, 'WebKitLibraries', 'win', 'tools', 'vsprops') 15 vsprops_files = glob.glob(os.path.join(vsprops_directory, '*.vsprops')) 17 newest_vsprops_time = max(map(os.path.getmtime, vsprops_files)) 19 obj_directory = os.path [all...] |