Searched refs:path (Results 1 - 25 of 2761) sorted by relevance

1234567891011>>

/external/icu4c/tools/gentest/
H A Dgentest.h12 U_CFUNC int genres32(const char *prog, const char *path);
/external/webkit/Source/WebCore/platform/chromium/
H A DFileSystemChromiumLinux.cpp36 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 DFileSystemChromiumWin.cpp39 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 DFileSystemChromiumMac.mm39 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 Dset_sys_path.py41 # 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 DKURLWinCE.cpp27 return path();
/external/qemu/distrib/sdl-1.2.15/src/audio/
H A DSDL_audiodev_c.h24 /* 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 Dbase.py1 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 Drebaseline-chromium-webkit-tests34 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 Dlogutils.py39 """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 Dospath.py23 """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 Dospath_unittest.py36 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 Dllvm-lit.in11 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 Dpathreverse.cpp13 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 DSampleConcavePaths.cpp50 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 DDOMFilePath.h40 // 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__.py17 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 Ddir_exists.py6 import os.path namespace
9 sys.stdout.write(str(os.path.isdir(sys.argv[1])))
/external/chromium/chrome/browser/parsers/
H A Dmetadata_parser_jpeg.cc7 JpegMetadataParser::JpegMetadataParser(const FilePath& path) argument
8 : FileMetadataParser(path) {}
/external/linux-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/llvm/include/llvm/Support/
H A DPathV2.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:
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 Dbasename.c27 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 Ddirname.c29 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 Dpath.h52 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 Dreact-to-vsprops-changes.py12 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...]

Completed in 927 milliseconds

1234567891011>>