/external/libchrome/base/files/ |
file_util_posix.cc | 63 static int CallStat(const char *path, stat_wrapper_t *sb) { 65 return stat(path, sb); 67 static int CallLstat(const char *path, stat_wrapper_t *sb) { 69 return lstat(path, sb); 72 static int CallStat(const char *path, stat_wrapper_t *sb) { 74 return stat64(path, sb); 76 static int CallLstat(const char *path, stat_wrapper_t *sb) { 78 return lstat64(path, sb); 84 bool RealPath(const FilePath& path, FilePath* real_path) { 87 if (!realpath(path.value().c_str(), buf) 166 FilePath path; local [all...] |
/external/skia/gm/ |
arcto.cpp | 17 <path d="M 50,100 A50,50, 0,0,1, 150,200" style="stroke:#660000; fill:none; stroke-width:2" /> 18 <path d="M100,100 A50,100, 0,0,1, 200,200" style="stroke:#660000; fill:none; stroke-width:2" /> 19 <path d="M150,100 A50,50, 45,0,1, 250,200" style="stroke:#660000; fill:none; stroke-width:2" /> 20 <path d="M200,100 A50,100, 45,0,1, 300,200" style="stroke:#660000; fill:none; stroke-width:2" /> 22 <path d="M150,200 A50,50, 0,1,0, 150,300" style="stroke:#660000; fill:none; stroke-width:2" /> 23 <path d="M200,200 A50,100, 0,1,0, 200,300" style="stroke:#660000; fill:none; stroke-width:2" /> 24 <path d="M250,200 A50,50, 45,1,0, 250,300" style="stroke:#660000; fill:none; stroke-width:2" /> 25 <path d="M300,200 A50,100, 45,1,0, 300,300" style="stroke:#660000; fill:none; stroke-width:2" /> 27 <path d="M250,400 A120,80 0 0,0 250,500" 30 <path d="M250,400 A120,80 0 1,1 250,500 95 SkPath path; local 149 SkPath path; local [all...] |
/frameworks/base/core/java/android/gesture/ |
Gesture.java | 22 import android.graphics.Path; 125 public Path toPath() { 129 public Path toPath(Path path) { 130 if (path == null) path = new Path(); 136 path.addPath(strokes.get(i).getPath()); 139 return path; 204 Path path = strokes.get(i).toPath(width - 2 * edge, height - 2 * edge, numSample); local 234 final Path path = toPath(); local [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
LocalSource.java | 83 public MediaObject createMediaObject(Path path) { 85 switch (mMatcher.match(path)) { 89 return new LocalAlbumSet(path, mApplication); 91 return new LocalAlbum(path, app, mMatcher.getIntVar(0), true); 93 return new LocalAlbum(path, app, mMatcher.getIntVar(0), false); 103 path, comp, new MediaSet[] {imageSet, videoSet}, bucketId); 106 return new LocalImage(path, mApplication, mMatcher.getIntVar(0)); 108 return new LocalVideo(path, mApplication, mMatcher.getIntVar(0)); 110 throw new RuntimeException("bad path: " + path) [all...] |
ImageCacheService.java | 49 * Gets the cached image data for the given <code>path</code>, 58 public boolean getImageData(Path path, long timeModified, int type, BytesBuffer buffer) { 59 byte[] key = makeKey(path, timeModified, type); 80 public void putImageData(Path path, long timeModified, int type, byte[] value) { 81 byte[] key = makeKey(path, timeModified, type); 95 public void clearImageData(Path path, long timeModified, int type) { 96 byte[] key = makeKey(path, timeModified, type) [all...] |
/external/autotest/client/cros/cellular/pseudomodem/ |
messaging.py | 41 def Delete(self, path): 45 @param path: The object path of the SMS to delete. 63 @returns: The object path of the new message object. 70 def Added(self, path, received): 80 @param path: Object path of the new SMS. 89 def Completed(self, path): 97 @param path: Object path of the new SMS [all...] |
/external/autotest/client/site_tests/security_ReservedPrivileges/ |
security_ReservedPrivileges.py | 10 import os.path namespace 36 # Figure out path to baseline file, by looking up our own path 37 path = os.path.abspath(__file__) 38 path = os.path.join(os.path.dirname(path), 'baseline.%s' % bltype) 39 if (os.path.isfile(path) == False) [all...] |
/external/autotest/server/site_tests/android_ACTS/ |
android_ACTS.py | 32 """Ensures the file specified by a path exists locally. If the file 36 @param input_path: A string that's the path to a file. 40 if os.path.exists(input_path): 43 actual_path = os.path.join(CONFIG_FOLDER_LOCATION, 46 actual_path = os.path.realpath(actual_path) 47 if not os.path.exists(actual_path): 59 @param config_file: Path to config file locally. Required. 75 os.path.join(self.ts_tempfolder, os.path.basename(config_file)), 82 os.path.join(self.ts_tempfolder, os.path.basename(test_file)) [all...] |
/external/autotest/tko/ |
utils_unittest.py | 47 self.god.stub_function(os.path, "exists") 56 os.path.exists.expect_call( 63 os.path.exists.expect_call( 65 os.path.exists.expect_call( 72 os.path.exists.expect_call( 74 os.path.exists.expect_call( 76 os.path.exists.expect_call( 83 os.path.exists.expect_call( 85 os.path.exists.expect_call( 87 os.path.exists.expect_call("/.autoserv_execute").and_return(True [all...] |
/external/chromium-trace/catapult/telemetry/telemetry/testing/ |
system_stub.py | 53 self.os.path.sys = self.sys 208 file_path_error = 'Local file path does not exist' 234 remote_path = os.path.basename(local_path) 249 if os.path.dirname(directory) == directory: # If in the root dir. 253 path, extension = os.path.splitext( 254 os.path.join(dirpath, filename)) 257 self.GetIfChanged(path, bucket) 325 def exists(self, path): 326 return path in self.file [all...] |
/external/deqp/scripts/build/ |
common.py | 27 DEQP_DIR = os.path.realpath(os.path.normpath(os.path.join(os.path.dirname(__file__), "..", ".."))) 38 def pushWorkingDir (path): 40 os.chdir(path) 66 for path in os.environ['PATH'].split(os.pathsep): 67 path = path.strip('"' [all...] |
/external/skia/tests/ |
StrokerTest.cpp | 21 static void pathTest(const SkPath& path) { 27 p.getFillPath(path, &fill); 32 SkPath path; local 33 path.moveTo(c[0].fX, c[0].fY); 34 path.cubicTo(c[1].fX, c[1].fY, c[2].fX, c[2].fY, c[3].fX, c[3].fY); 35 pathTest(path); 39 SkPath path; local 40 path.moveTo(c[0].fX, c[0].fY); 41 path.quadTo(c[1].fX, c[1].fY, c[2].fX, c[2].fY); 42 pathTest(path); 139 SkPath path, fill; local 178 SkPath path, fill; local 218 SkPath path, fill; local 270 SkPath path, fill; local 328 SkPath path, fill; local 373 SkPath path, fill; local 412 SkPath path, fill; local 437 SkPath path, fill; local [all...] |
/external/v8/build/android/gyp/ |
main_dex_list.py | 15 sys.path.append(os.path.abspath(os.path.join( 16 os.path.dirname(__file__), os.pardir))) 25 parser.add_argument('--main-dex-rules-path', action='append', default=[], 30 parser.add_argument('--main-dex-list-path', required=True, 37 parser.add_argument('--multidex-configuration-path', 59 shrinked_android_jar = os.path.abspath( 60 os.path.join(args.android_sdk_tools, 'lib', 'shrinkedAndroid.jar')) 61 dx_jar = os.path.abspath [all...] |
/external/v8/tools/ |
isolate_driver.py | 18 TOOLS_DIR = os.path.dirname(os.path.abspath(__file__)) 36 args[index] = os.path.relpath(os.path.abspath(args[index]), abs_base) 40 if arg == '--path-variable': 41 # Path variables have a triple form: --path-variable NAME <path>. 65 new_base = os.path.abspath(os.path.dirname(args[isolate]) [all...] |
/libcore/luni/src/main/java/javax/xml/parsers/ |
FilePathToURI.java | 52 // To escape a file path to a URI, by using %HH to represent 55 public static String filepath2URI(String path){ 56 // return null if path is null. 57 if (path == null) 61 path = path.replace(separator, '/'); 63 int len = path.length(), ch; 67 if (len >= 2 && path.charAt(1) == ':') { 68 ch = Character.toUpperCase(path.charAt(0)); 74 // for each character in the path [all...] |
/libcore/luni/src/main/java/javax/xml/transform/stream/ |
FilePathToURI.java | 52 // To escape a file path to a URI, by using %HH to represent 55 public static String filepath2URI(String path){ 56 // return null if path is null. 57 if (path == null) 61 path = path.replace(separator, '/'); 63 int len = path.length(), ch; 67 if (len >= 2 && path.charAt(1) == ':') { 68 ch = Character.toUpperCase(path.charAt(0)); 74 // for each character in the path [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/x86_64-linux/lib32/ |
libstdc++.so.6.0.18-gdb.py | 20 import os.path namespace 27 # update sys.path; instead we just hope the user managed to do that 30 # Update module path. We want to find the relative path from libdir 31 # to pythondir, and then we want to apply that relative path to the 36 pythondir = os.path.normpath (pythondir) 37 libdir = os.path.normpath (libdir) 39 prefix = os.path.commonprefix ([libdir, pythondir]) 43 prefix = os.path.dirname (prefix) + '/' 53 dir_ = os.path.join (os.path.dirname (objfile), dotdots, pythondir [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/x86_64-linux/lib64/ |
libstdc++.so.6.0.18-gdb.py | 20 import os.path namespace 27 # update sys.path; instead we just hope the user managed to do that 30 # Update module path. We want to find the relative path from libdir 31 # to pythondir, and then we want to apply that relative path to the 36 pythondir = os.path.normpath (pythondir) 37 libdir = os.path.normpath (libdir) 39 prefix = os.path.commonprefix ([libdir, pythondir]) 43 prefix = os.path.dirname (prefix) + '/' 53 dir_ = os.path.join (os.path.dirname (objfile), dotdots, pythondir [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/lib/ |
libstdc++.a-gdb.py | 20 import os.path namespace 27 # update sys.path; instead we just hope the user managed to do that 30 # Update module path. We want to find the relative path from libdir 31 # to pythondir, and then we want to apply that relative path to the 36 pythondir = os.path.normpath (pythondir) 37 libdir = os.path.normpath (libdir) 39 prefix = os.path.commonprefix ([libdir, pythondir]) 43 prefix = os.path.dirname (prefix) + '/' 53 dir_ = os.path.join (os.path.dirname (objfile), dotdots, pythondir [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/lib32/ |
libstdc++.a-gdb.py | 20 import os.path namespace 27 # update sys.path; instead we just hope the user managed to do that 30 # Update module path. We want to find the relative path from libdir 31 # to pythondir, and then we want to apply that relative path to the 36 pythondir = os.path.normpath (pythondir) 37 libdir = os.path.normpath (libdir) 39 prefix = os.path.commonprefix ([libdir, pythondir]) 43 prefix = os.path.dirname (prefix) + '/' 53 dir_ = os.path.join (os.path.dirname (objfile), dotdots, pythondir [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/lib-tk/ |
FixTk.py | 49 prefix = os.path.join(sys.prefix,"tcl") 50 if not os.path.exists(prefix): 52 prefix = os.path.join(sys.prefix, os.path.pardir, "tcltk", "lib") 53 prefix = os.path.abspath(prefix) 55 if os.path.exists(prefix): 60 tcldir = os.path.join(prefix,name) 61 if os.path.isdir(tcldir): 68 v = os.path.join(prefix, 'tk'+ver) 69 if os.path.exists(os.path.join(v, "tclIndex")) [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test___all__.py | 52 path = os.path.join(basedir, fn) 53 if os.path.isdir(path): 54 pkg_init = os.path.join(path, '__init__.py') 55 if os.path.exists(pkg_init): 57 for p, m in self.walk_modules(path, modpath + fn + "."): 62 yield path, modpath + fn[:-3] 88 lib_dir = os.path.dirname(os.path.dirname(__file__) [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/lib-tk/ |
FixTk.py | 49 prefix = os.path.join(sys.prefix,"tcl") 50 if not os.path.exists(prefix): 52 prefix = os.path.join(sys.prefix, os.path.pardir, "tcltk", "lib") 53 prefix = os.path.abspath(prefix) 55 if os.path.exists(prefix): 60 tcldir = os.path.join(prefix,name) 61 if os.path.isdir(tcldir): 68 v = os.path.join(prefix, 'tk'+ver) 69 if os.path.exists(os.path.join(v, "tclIndex")) [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test___all__.py | 52 path = os.path.join(basedir, fn) 53 if os.path.isdir(path): 54 pkg_init = os.path.join(path, '__init__.py') 55 if os.path.exists(pkg_init): 57 for p, m in self.walk_modules(path, modpath + fn + "."): 62 yield path, modpath + fn[:-3] 88 lib_dir = os.path.dirname(os.path.dirname(__file__) [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib-tk/ |
FixTk.py | 49 prefix = os.path.join(sys.prefix,"tcl") 50 if not os.path.exists(prefix): 52 prefix = os.path.join(sys.prefix, os.path.pardir, "tcltk", "lib") 53 prefix = os.path.abspath(prefix) 55 if os.path.exists(prefix): 60 tcldir = os.path.join(prefix,name) 61 if os.path.isdir(tcldir): 68 v = os.path.join(prefix, 'tk'+ver) 69 if os.path.exists(os.path.join(v, "tclIndex")) [all...] |