/frameworks/base/tools/aapt/ |
CacheUpdater.h | 35 // Make sure all the directories along this path exist 36 virtual void ensureDirectoriesExist(String8 path) = 0; 39 virtual void deleteFile(String8 path) = 0; 57 // Make sure all the directories along this path exist 58 virtual void ensureDirectoriesExist(String8 path) 60 // Check to see if we're dealing with a fully qualified path 67 // If something in the path doesn't exist, then walk the path backwards 69 if (stat(path.string(),&s) == -1) { 71 existsPath = path; [all...] |
/frameworks/support/compat/java/android/support/v4/view/animation/ |
PathInterpolatorCompat.java | 19 import android.graphics.Path; 24 * Helper for creating path-based {@link Interpolator} instances. On API 21 or newer, the 35 * Create an {@link Interpolator} for an arbitrary {@link Path}. The {@link Path} 37 * {@link Path} is the input value and the output is the y coordinate of the line at that 38 * point. This means that the Path must conform to a function {@code y = f(x)}. 40 * The {@link Path} must not have gaps in the x direction and must not 43 * @param path the {@link Path} to use to make the line representing the {@link Interpolator} 44 * @return the {@link Interpolator} representing the {@link Path} [all...] |
/packages/apps/UnifiedEmail/src/org/apache/commons/io/comparator/ |
PathFileComparator.java | 26 * Compare the <b>path</b> of two files for order (see {@link File#getPath()}). 29 * by their path either in a case-sensitive, case-insensitive or 34 * Example of a <i>case-sensitive</i> file path sort using the 41 * Example of a <i>reverse case-insensitive</i> file path sort using the 54 /** Case-sensitive path comparator instance (see {@link IOCase#SENSITIVE}) */ 57 /** Reverse case-sensitive path comparator instance (see {@link IOCase#SENSITIVE}) */ 60 /** Case-insensitive path comparator instance (see {@link IOCase#INSENSITIVE}) */ 63 /** Reverse case-insensitive path comparator instance (see {@link IOCase#INSENSITIVE}) */ 66 /** System sensitive path comparator instance (see {@link IOCase#SYSTEM}) */ 69 /** Reverse system sensitive path comparator instance (see {@link IOCase#SYSTEM}) * [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/setup/ |
SetupStartIndicatorView.java | 23 import android.graphics.Path; 85 private final Path mIndicatorPath = new Path(); 103 final Path path = mIndicatorPath; local 104 path.rewind(); 107 path.moveTo(width, 0.0f); 108 path.lineTo(0.0f, halfHeight); 109 path.lineTo(width, height); 112 path.moveTo(0.0f, 0.0f) [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_site.py | 3 Tests assume the initial paths in sys.path once the interpreter has begun 27 if site.ENABLE_USER_SITE and not os.path.isdir(site.USER_SITE): 41 """Save a copy of sys.path""" 42 self.sys_path = sys.path[:] 49 """Restore sys.path""" 50 sys.path[:] = self.sys_path 57 # Test makepath() have an absolute path for its first return value 58 # and a case-normalized version of the absolute path for its 61 original_dir = os.path.join(*path_parts) 63 self.assertEqual(os.path.abspath(original_dir), abs_dir [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_site.py | 3 Tests assume the initial paths in sys.path once the interpreter has begun 27 if site.ENABLE_USER_SITE and not os.path.isdir(site.USER_SITE): 41 """Save a copy of sys.path""" 42 self.sys_path = sys.path[:] 49 """Restore sys.path""" 50 sys.path[:] = self.sys_path 57 # Test makepath() have an absolute path for its first return value 58 # and a case-normalized version of the absolute path for its 61 original_dir = os.path.join(*path_parts) 63 self.assertEqual(os.path.abspath(original_dir), abs_dir [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_site.py | 3 Tests assume the initial paths in sys.path once the interpreter has begun 27 if site.ENABLE_USER_SITE and not os.path.isdir(site.USER_SITE): 41 """Save a copy of sys.path""" 42 self.sys_path = sys.path[:] 49 """Restore sys.path""" 50 sys.path[:] = self.sys_path 57 # Test makepath() have an absolute path for its first return value 58 # and a case-normalized version of the absolute path for its 61 original_dir = os.path.join(*path_parts) 63 self.assertEqual(os.path.abspath(original_dir), abs_dir [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_site.py | 3 Tests assume the initial paths in sys.path once the interpreter has begun 27 if site.ENABLE_USER_SITE and not os.path.isdir(site.USER_SITE): 41 """Save a copy of sys.path""" 42 self.sys_path = sys.path[:] 49 """Restore sys.path""" 50 sys.path[:] = self.sys_path 57 # Test makepath() have an absolute path for its first return value 58 # and a case-normalized version of the absolute path for its 61 original_dir = os.path.join(*path_parts) 63 self.assertEqual(os.path.abspath(original_dir), abs_dir [all...] |
/external/jetty/src/java/org/eclipse/jetty/util/ |
URIUtil.java | 56 /** Encode a URI path. 59 * @param path The path the encode 60 * @return The encoded path 62 public static String encodePath(String path) 64 if (path==null || path.length()==0) 65 return path; 67 StringBuilder buf = encodePath(null,path); 68 return buf==null?path:buf.toString() [all...] |
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/manage/ |
cmdshell.py | 45 :ivar host_key_file: The path to the user's .ssh key files. 62 self._ssh_client.load_host_keys(os.path.expanduser(host_key_file)) 112 the remote host to the specified path on the local host. 115 :param src: The path to the target file on the remote host. 118 :param dst: The path on your local host where you want to 127 the local host to the specified path on the remote host. 130 :param src: The path to the target file on your local host. 133 :param dst: The path on the remote host where you want to store 145 :param filename: The path to the file on the remote host. 159 def listdir(self, path) [all...] |
/external/opencv3/3rdparty/jinja2/ |
loaders.py | 15 from os import path namespace 23 """Split a path into segments and perform a sanity check. If it detects 24 '..' in the path it will raise a `TemplateNotFound` error. 28 if path.sep in piece \ 29 or (path.altsep and path.altsep in piece) or \ 30 piece == path.pardir: 47 from os.path import join, exists, getmtime 51 def __init__(self, path): 52 self.path = pat [all...] |
/external/skia/samplecode/ |
SamplePathFuzz.cpp | 364 SkPath path; local 379 path.addArc(oval, startAngle, sweepAngle); 380 validate(path); 386 path.addRoundRect(rect, rx, ry, dir); 387 validate(path); 394 path.addRoundRect(rect, radii, dir); 395 validate(path); 400 path.addRRect(rrect, dir); 401 validate(path); 407 path.addPoly(&points[0], points.count(), close) 675 const SkPath& path = fuzzPath.getPath(); variable [all...] |
/art/test/510-checker-try-catch/src/ |
Main.java | 44 for (TestPath path : TestPath.values()) { 45 Object[] arguments = new Object[] { path.arg1, path.arg2 }; 48 if (actual != path.expected) { 49 throw new Error("Method: \"" + method + "\", path: " + path + ", " + 50 "expected: " + path.expected + ", actual: " + actual);
|
/bootable/recovery/ |
roots.h | 25 // Return the Volume* record for this path (or NULL). 26 Volume* volume_for_path(const char* path); 28 // Make sure that the volume 'path' is on is mounted. Returns 0 on 30 int ensure_path_mounted(const char* path); 33 int ensure_path_mounted_at(const char* path, const char* mount_point); 35 // Make sure that the volume 'path' is on is unmounted. Returns 0 on 37 int ensure_path_unmounted(const char* path);
|
/cts/tests/tests/security/jni/ |
android_security_cts_SELinuxTest.cpp | 33 * Purpose: retrieves the context associated with the given path in the file system 35 * path: given path in the file system 39 * Exceptions: NullPointerException if the path object is null 42 ScopedUtfChars path(env, pathStr); 43 if (path.c_str() == NULL) { 48 int ret = getfilecon(path.c_str(), &tmp);
|
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/xy/ |
BezierLineAndPointRenderer.java | 19 import android.graphics.Path;
32 protected void appendToPath(Path path, PointF thisPoint, PointF lastPoint) {
33 //path.lineTo(thisPoint.x, thisPoint.y);
38 path.quadTo((lastPoint.x + mid.x) / 2, lastPoint.y, mid.x, mid.y);
39 //path.quadTo((mid.x + thisPoint.x) / 2, thisPoint.y, thisPoint.x, thisPoint.y);
40 path.quadTo((mid.x + thisPoint.x) / 2, lastPoint.y, thisPoint.x, thisPoint.y);
|
/external/autotest/frontend/tko/ |
preconfigs.py | 9 Get the absolute path to a prefix directory or file. 12 E.g., ['metrics', 'abc'] gives the path to 15 rel_path = os.path.join(os.path.dirname(__file__), 'preconfigs', 17 return os.path.abspath(rel_path) 46 path = self._get_preconfig_path([type, name]) 47 config = open(path)
|
/external/chromium-trace/catapult/tracing/bin/ |
html2trace | 10 tracing_path = os.path.abspath(os.path.join( 11 os.path.dirname(os.path.realpath(__file__)), '..')) 12 sys.path.append(tracing_path) 20 help='HTML file path (input).') 22 help='Trace file path (output). If the HTML file '
|
/external/clang/utils/ |
CaptureCmd | 13 tool; this must be an absolute path. 27 path = os.path.join(dir, 29 if not os.path.exists(path): 30 f = open(path, 'wb') 45 if not os.path.exists(dir):
|
/external/clang/utils/perf-training/ |
perf-helper.py | 14 def findProfrawFiles(path): 16 for root, dirs, files in os.walk(path): 19 profraw_files.append(os.path.join(root, filename)) 24 print 'Usage: %s clean <path>\n\tRemoves all *.profraw files from <path>.' % __file__ 32 print 'Usage: %s clean <llvm-profdata> <output> <path>\n\tMerges all profraw files from path into output.' % __file__
|
/external/curl/tests/data/ |
test31 | 19 Set-Cookie: foobar=name; domain=anything.com; path=/ ; secure
20 Set-Cookie:ismatch=this ; domain=127.0.0.1; path=/silly/
21 Set-Cookie: overwrite=this ; domain=127.0.0.1; path=/overwrite/
22 Set-Cookie: overwrite=this2 ; domain=127.0.0.1; path=/overwrite
23 Set-Cookie: sec1value=secure1 ; domain=127.0.0.1; path=/secure1/ ; secure
24 Set-Cookie: sec2value=secure2 ; domain=127.0.0.1; path=/secure2/ ; secure=
25 Set-Cookie: sec3value=secure3 ; domain=127.0.0.1; path=/secure3/ ; secure=
26 Set-Cookie: sec4value=secure4 ; secure=; domain=127.0.0.1; path=/secure4/ ;
27 Set-Cookie: sec5value=secure5 ; secure; domain=127.0.0.1; path=/secure5/ ;
28 Set-Cookie: sec6value=secure6 ; secure ; domain=127.0.0.1; path=/secure6/ ; [all...] |
/external/fonttools/MetaTools/ |
buildTableList.py | 9 fontToolsDir = os.path.dirname(os.path.dirname(os.path.join(os.getcwd(), sys.argv[0]))) 10 fontToolsDir= os.path.normpath(fontToolsDir) 11 tablesDir = os.path.join(fontToolsDir, 13 docFile = os.path.join(fontToolsDir, "Doc", "documentation.html") 32 file = open(os.path.join(tablesDir, "__init__.py"), "w")
|
/external/glide/library/src/main/java/com/bumptech/glide/load/data/ |
AssetPathFetcher.java | 11 * An abstract class for obtaining data for an asset path using an {@link android.content.res.AssetManager}. 13 * @param <T> The type of data obtained from the asset path (InputStream, FileDescriptor etc). 58 * Opens the given asset path with the given {@link android.content.res.AssetManager} and returns the conrete data 61 * @param assetManager An AssetManager to use to open the given path. 62 * @param path A string path pointing to a resource in assets to open. 64 protected abstract T loadResource(AssetManager assetManager, String path) throws IOException;
|
/external/ipsec-tools/src/racoon/samples/ |
racoon.conf.sample | 3 # "path" affects "include" directives. "path" must be specified before any 4 # "include" directive with relative file path. 5 # you can overwrite "path" directive afterwards, however, doing so may add 7 #path include "/usr/local/v6/etc" ; 11 path pre_shared_key "/usr/local/v6/etc/psk.txt" ; 15 #path certificate "/usr/local/openssl/certs" ;
|
/external/libcxx/ |
lit.site.cfg | 20 config.cxx_under_test = os.path.join( 23 config.libcxx_src_root = os.path.join(top, "external/libcxx") 24 config.libcxx_obj_root = os.path.join(top, "external/libcxx") 25 config.cxx_library_root = os.path.join(out_dir, 'system/lib') 36 config.sysroot = os.path.join(ndk, "platforms/android-21/arch-arm/") 37 config.gcc_toolchain = os.path.join( 42 config, os.path.join(top, "external/libcxx/test/lit.cfg"))
|