/sdk/find_lock/ |
find_lock.h | 22 bool findLock(CPath &path, CString *outModule);
|
/system/core/libcutils/include/cutils/ |
android_get_control_file.h | 28 * descriptor of our init-managed file. `path' is the filename path as 31 int android_get_control_file(const char* path);
|
/test/framework/harnesses/host_controller/build/ |
build_provider_local_fs.py | 26 def Fetch(self, path): 27 """Fetches Android device artifact file(s) from a local path. 30 path: string, the path of the artifacts. 36 if path.endswith(".tar.md5"): 37 self.SetDeviceImage("img", path) 39 self.SetFetchedFile(path)
|
/cts/tests/tests/transition/src/android/transition/cts/ |
ArcMotionTest.java | 20 import android.graphics.Path; 36 Path expected = arcWithPoint(0, 100, 100, 0, 100, 100); 37 Path path = arcMotion.getPath(0, 100, 100, 0); local 38 assertPathMatches(expected, path); 41 path = arcMotion.getPath(100, 0, 0, -100); 42 assertPathMatches(expected, path); 45 path = arcMotion.getPath(0, -100, -100, 0); 46 assertPathMatches(expected, path); 49 path = arcMotion.getPath(-100, 0, 0, 100) 59 Path path; local 100 Path path = new Path(); local 117 Path path = arcMotion.getPath(0, 100, 100, 0); local 130 Path path = arcMotion.getPath(0, 0, 100, 50); local 170 Path path = arcMotion.getPath(0, 0, 50, 100); local 210 Path path = arcMotion.getPath(0, 0, 100, 0); local [all...] |
/external/apache-http/src/org/apache/http/cookie/ |
CookiePathComparator.java | 40 * that those with more specific Path attributes precede those with 44 * This comparator assumes that Path attributes of two cookies 45 * path-match a commmon request-URI. Otherwise, the result of the 61 String path = cookie.getPath(); local 62 if (path == null) { 63 path = "/"; 65 if (!path.endsWith("/")) { 66 path = path + '/'; 68 return path; [all...] |
/external/chromium-trace/catapult/common/battor/bin/ |
run_py_tests | 9 _CATAPULT_PATH = os.path.abspath(os.path.join( 10 os.path.dirname(__file__), '..', '..', '..')) 11 _BATTOR_PATH = os.path.abspath(os.path.join( 12 os.path.dirname(__file__), '..')) 14 sys.path.append(_CATAPULT_PATH)
|
/external/chromium-trace/catapult/devil/bin/ |
run_py_tests | 9 _CATAPULT_PATH = os.path.abspath(os.path.join( 10 os.path.dirname(__file__), '..', '..')) 11 _DEVIL_PATH = os.path.abspath(os.path.join( 12 os.path.dirname(__file__), '..')) 14 sys.path.append(_CATAPULT_PATH)
|
run_py_devicetests | 9 _CATAPULT_PATH = os.path.abspath(os.path.join( 10 os.path.dirname(__file__), '..', '..')) 11 _DEVIL_PATH = os.path.abspath(os.path.join( 12 os.path.dirname(__file__), '..')) 13 _TYP_PATH = os.path.abspath(os.path.join(_CATAPULT_PATH, 'third_party', 'typ')) 15 sys.path.append(_TYP_PATH) 18 sys.path.append(_DEVIL_PATH [all...] |
/external/chromium-trace/catapult/devil/devil/utils/ |
host_utils.py | 9 def GetRecursiveDiskUsage(path): 10 """Returns the disk usage in bytes of |path|. Similar to `du -sb |path|`.""" 13 return os.path.getsize(filepath) 18 running_size = get_size(path) 19 if os.path.isdir(path): 20 for root, dirs, files in os.walk(path): 21 running_size += sum([get_size(os.path.join(root, f))
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/ |
AbstractTest.java | 23 protected static File adaptPath(File path) { 24 if (path.exists()) { 25 return path; 27 File underJavaParserCore = new File("javaparser-symbol-solver-testing/" + path.getPath()); 31 throw new IllegalArgumentException("I cannot adapt the path " + path.getAbsolutePath()); 36 protected static String adaptPath(String path) { 37 return adaptPath(new File(path)).getPath();
|
/external/libmojo/third_party/catapult/devil/bin/ |
run_py_tests | 9 _CATAPULT_PATH = os.path.abspath(os.path.join( 10 os.path.dirname(__file__), '..', '..')) 11 _DEVIL_PATH = os.path.abspath(os.path.join( 12 os.path.dirname(__file__), '..')) 14 sys.path.append(_CATAPULT_PATH)
|
/external/python/cpython2/PC/ |
testpy.py | 23 for dir in sys.path: 24 file = os.path.join(dir, "os.py") 25 if os.path.isfile(file): 26 test = os.path.join(dir, "test") 27 if os.path.isdir(test): 29 sys.path = sys.path + [test]
|
/external/python/cpython3/PC/ |
testpy.py | 21 for dir in sys.path: 22 file = os.path.join(dir, "os.py") 23 if os.path.isfile(file): 24 test = os.path.join(dir, "test") 25 if os.path.isdir(test): 27 sys.path = sys.path + [test]
|
/external/strace/tests/ |
inode_of_sockfd.c | 48 char path[PATH_MAX + 1]; local 49 const ssize_t path_len = readlink(linkpath, path, sizeof(path) - 1); 52 path[path_len] = '\0'; 56 assert(strncmp(path, prefix, prefix_len) == 0 57 && path[path_len - 1] == ']'); 59 return strtoul(path + prefix_len, NULL, 10);
|
/external/strace/tests-m32/ |
inode_of_sockfd.c | 48 char path[PATH_MAX + 1]; local 49 const ssize_t path_len = readlink(linkpath, path, sizeof(path) - 1); 52 path[path_len] = '\0'; 56 assert(strncmp(path, prefix, prefix_len) == 0 57 && path[path_len - 1] == ']'); 59 return strtoul(path + prefix_len, NULL, 10);
|
/external/strace/tests-mx32/ |
inode_of_sockfd.c | 48 char path[PATH_MAX + 1]; local 49 const ssize_t path_len = readlink(linkpath, path, sizeof(path) - 1); 52 path[path_len] = '\0'; 56 assert(strncmp(path, prefix, prefix_len) == 0 57 && path[path_len - 1] == ']'); 59 return strtoul(path + prefix_len, NULL, 10);
|
/external/vogar/src/vogar/util/ |
IoUtils.java | 26 public static void safeMkdirs(File path) { 28 if (!path.exists()) { 29 success = path.mkdirs(); 30 } else if (!path.isDirectory()) { 31 success = path.delete() && path.mkdirs(); 37 throw new RuntimeException("Failed to make directory " + path);
|
/device/linaro/bootloader/edk2/StdLib/PosixLib/Gen/ |
dirname.c | 54 dirname(char *path)
62 * If `path' is a null pointer or points to an empty string,
65 if ((path == NULL) || (*path == '\0'))
69 lastp = path + strlen(path) - 1;
70 while (lastp != path && isDirSep(*lastp))
73 /* Terminate path at the last occurence of '/'. */
77 while (lastp != path && isDirSep(*lastp))
84 len = (lastp - path) + 1 /* last char */; [all...] |
/external/annotation-tools/annotation-file-utilities/src/annotator/find/ |
InFieldInitCriterion.java | 23 public boolean isSatisfiedBy(TreePath path, Tree leaf) { 24 assert path == null || path.getLeaf() == leaf; 25 return isSatisfiedBy(path); 30 public boolean isSatisfiedBy(TreePath path) { 31 while (path != null) { 32 if (CommonScanner.isFieldInit(path)) { 33 return varCriterion.isSatisfiedBy(path); 35 path = path.getParentPath() [all...] |
InInitBlockCriterion.java | 27 public boolean isSatisfiedBy(TreePath path, Tree leaf) { 28 assert path == null || path.getLeaf() == leaf; 29 return isSatisfiedBy(path); 34 public boolean isSatisfiedBy(TreePath path) { 35 while (path != null) { 36 if (CommonScanner.isInitBlock(path, isStatic)) { 37 int indexInSource = InitBlockScanner.indexOfInitTree(path, isStatic); 40 path = path.getParentPath() [all...] |
NotInMethodCriterion.java | 24 public boolean isSatisfiedBy(TreePath path, Tree leaf) { 25 assert path == null || path.getLeaf() == leaf; 26 return isSatisfiedBy(path); 31 public boolean isSatisfiedBy(TreePath path) { 33 Tree.Kind kind = path.getLeaf().getKind(); 40 path = path.getParentPath(); 41 } while (path != null && path.getLeaf() != null) [all...] |
/external/autotest/client/cros/cellular/wardmodem/state_machines/ |
common.py | 7 dirname = os.path.dirname(sys.modules[__name__].__file__) 8 client_dir = os.path.abspath(os.path.join(dirname, os.pardir, os.pardir, 10 package_root_dir = os.path.abspath(os.path.join(dirname, os.pardir)) 11 sys.path.insert(0, client_dir) 13 sys.path.pop(0) 18 sys.path.insert(0, os.path.join(package_root_dir)) 20 print sys.path [all...] |
/external/clang/tools/scan-build-py/bin/ |
analyze-build | 12 import os.path 13 this_dir = os.path.dirname(os.path.realpath(__file__)) 14 sys.path.append(os.path.dirname(this_dir))
|
intercept-build | 12 import os.path 13 this_dir = os.path.dirname(os.path.realpath(__file__)) 14 sys.path.append(os.path.dirname(this_dir))
|
scan-build | 12 import os.path 13 this_dir = os.path.dirname(os.path.realpath(__file__)) 14 sys.path.append(os.path.dirname(this_dir))
|