/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...] |
/libcore/luni/src/main/java/java/security/cert/ |
CertPathValidatorException.java | 23 * The exception that is thrown when a certification path (or certificate chain) 27 * path instance that failed the validation and the index of the failed 35 * the certification path. 46 * message , cause, certification path and certificate index in the 47 * certification path. 54 * the certification path that failed the validation. 62 * referencing an certificate in the certification path. 85 * the cause why the path could not be validated. 96 * the cause why the path could not be validated. 120 * Returns the certification path that failed validation [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...] |
/libcore/luni/src/main/native/ |
java_io_File.cpp | 42 ScopedUtfChars path(env, javaPath); 43 if (path.c_str() == NULL) { 47 extern bool canonicalize_path(const char* path, std::string& resolved); 49 if (!canonicalize_path(path.c_str(), result)) { 57 ScopedUtfChars path(env, javaPath); 58 if (path.c_str() == NULL) { 64 if (stat(path.c_str(), &sb) == -1) { 72 return (utime(path.c_str(), ×) == 0); 78 ScopedReaddir(const char* path) { 79 mDirStream = opendir(path); [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
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...] |
/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/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...] |
/prebuilts/python/darwin-x86/2.7.5/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/linux-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...] |
/prebuilts/python/linux-x86/2.7.5/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...] |
/bionic/libc/tools/ |
symbols.py | 59 lib_dir = os.path.join(out_dir, 'obj') 63 static_lib_dir = os.path.join( 66 '{}_intermediates'.format(os.path.splitext(f)[0])) 68 os.path.join(static_lib_dir, f), 75 lib_dir = os.path.join(out_dir, 'system/lib64') 76 if not os.path.isdir(lib_dir): 77 lib_dir = os.path.join(out_dir, 'system/lib') 81 results |= GetFromElf(os.path.join(lib_dir, f)) 89 results |= GetFromElf(glob.glob(os.path.join(lib_dir, f))[-1])
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
SumPathEffectTest.java | 26 import android.graphics.Path; 30 import android.graphics.Path.Direction; 45 Path path = new Path(); local 46 path.addRect(10, 10, WIDTH - 10, HEIGHT - 10, Direction.CW); 55 canvas.drawPath(path, paint); 59 canvas.drawPath(path, paint); 64 canvas.drawPath(path, paint);
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
PathFillTypes.java | 38 private Path mPath; 45 mPath = new Path(); 46 mPath.addCircle(40, 40, 45, Path.Direction.CCW); 47 mPath.addCircle(80, 80, 45, Path.Direction.CCW); 50 private void showPath(Canvas canvas, int x, int y, Path.FillType ft, 70 showPath(canvas, 0, 0, Path.FillType.WINDING, paint); 71 showPath(canvas, 160, 0, Path.FillType.EVEN_ODD, paint); 72 showPath(canvas, 0, 160, Path.FillType.INVERSE_WINDING, paint); 73 showPath(canvas, 160, 160, Path.FillType.INVERSE_EVEN_ODD, paint);
|
/development/testrunner/tests/ |
android_mk_tests.py | 20 sys.path.append('../..') 30 mk_parser = android_mk.CreateAndroidMK(path='.', 36 mk_parser = android_mk.CreateAndroidMK(path='.', 42 mk_parser = android_mk.CreateAndroidMK(path='.', filename='Android_java.mk') 47 mk_parser = android_mk.CreateAndroidMK(path='.', 56 mk_parser = android_mk.CreateAndroidMK(path='.', 66 mk_parser = android_mk.CreateAndroidMK(path='.', filename='Android_java.mk') 72 mk_parser = android_mk.CreateAndroidMK(path='.', 79 mk_parser = android_mk.CreateAndroidMK(path='.',
|
/external/boringssl/src/util/bot/ |
update_clang.py | 15 import os.path namespace 29 LLVM_BUILD_DIR = os.path.join(os.path.dirname(__file__), "llvm-build") 30 STAMP_FILE = os.path.join(LLVM_BUILD_DIR, "cr_build_revision") 34 def DownloadFile(url, path): 35 """DownloadFile fetches |url| to |path|.""" 42 urllib.urlretrieve(url, path, reporthook=report) 49 if os.path.exists(STAMP_FILE): 55 if os.path.exists(LLVM_BUILD_DIR):
|
/external/chromium-trace/trace-viewer/tracing/build/ |
vulcanize_trace_viewer.py | 10 tracing_path = os.path.abspath(os.path.join(os.path.dirname(__file__), 12 if tracing_path not in sys.path: 13 sys.path.append(tracing_path) 47 tracing_dir = os.path.relpath( 48 os.path.join(os.path.dirname(__file__), '..', '..')) 52 output_filename = os.path.join(
|
/external/compiler-rt/lib/sanitizer_common/tests/ |
sanitizer_bvgraph_test.cc | 93 uptr path[BV::kSize]; local 96 if (g.findPath(from, target, path, len) == len) 100 EXPECT_TRUE(target.getBit(path[len - 1])); 101 // fprintf(stderr, "reachable: %zd; path %zd {%zd %zd %zd}\n", 102 // from, len, path[0], path[1], path[2]); 166 uptr path[5]; local 199 EXPECT_EQ(g.findPath(f0, target, path, ARRAY_SIZE(path)), 3U) 226 uptr *path = path_vec.data(); local 267 uptr path[8]; local [all...] |
/external/google-breakpad/src/build/ |
gyp_breakpad | 35 script_dir = os.path.dirname(os.path.realpath(__file__)) 36 breakpad_root = os.path.abspath(os.path.join(script_dir, os.pardir)) 38 sys.path.insert(0, os.path.join(breakpad_root, 'tools', 'gyp', 'pylib')) 50 args.append(os.path.join(script_dir, 'all.gyp')) 53 args.append(os.path.join(breakpad_root, 'build', 'common.gypi')) 58 args.append('--depth=' + os.path.relpath(breakpad_root))
|
/external/nist-sip/java/gov/nist/javax/sip/parser/ims/ |
PathParser.java | 33 import gov.nist.javax.sip.header.ims.Path; 51 public PathParser(String path) { 52 super(path); 78 this.lexer.match(TokenTypes.PATH); 83 Path path = new Path(); local 84 super.parse(path); 85 pathList.add(path);
|
/external/selinux/libselinux/man/man3/ |
matchpathcon.3 | 3 matchpathcon, matchpathcon_index \- get the default SELinux security context for the specified path from the file contexts configuration 8 .BI "int matchpathcon_init(const char *" path ");" 10 .BI "int matchpathcon_init_prefix(const char *" path ", const char *" subset ");" 14 .BI "int matchpathcon(const char *" path ", mode_t " mode ", char **" con "); 21 .I path 25 .I path 27 i.e. the path returned by 33 files with the same path prefix but a 76 .I path,
|
/frameworks/base/tools/aapt/ |
FileFinder.h | 35 /* findFiles takes a path, a Vector of extensions, and a destination KeyedVector 36 * and places path/modification date key/values pointing to 39 * path is a valid system path 42 * compares the end of the path string so if the "." 49 * matching files encountered in subdirectories of path 62 * checkAndAddFile looks at a single file path and stat combo 71 * is added to the KeyedVector with the path as the key and the modification 75 static void checkAndAddFile(String8 path, const struct stat* stats,
|