/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
dircache.py | 21 def listdir(path): 24 cached_mtime, list = cache[path] 25 del cache[path] 28 mtime = os.stat(path).st_mtime 30 list = os.listdir(path) 32 cache[path] = mtime, list 40 if os.path.isdir(os.path.join(head, list[i])):
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
dircache.py | 21 def listdir(path): 24 cached_mtime, list = cache[path] 25 del cache[path] 28 mtime = os.stat(path).st_mtime 30 list = os.listdir(path) 32 cache[path] = mtime, list 40 if os.path.isdir(os.path.join(head, list[i])):
|
/external/autotest/client/bin/ |
os_dep.py | 12 for dir in os.environ['PATH'].split(':'): 13 file = os.path.join(os.path.expandvars(os.path.expanduser(dir)), cmd) 14 if os.path.exists(file): 31 if not os.path.isabs(glob_pattern): 32 # prepend with a base path of '/etc' 33 glob_pattern = os.path.join('/etc', glob_pattern) 37 if os.path.isdir(conf_file_line): 40 if os.path.isdir(line) [all...] |
profilers.py | 9 prof_dir = os.path.join(self.job.autodir, "profilers", profiler) 16 if not os.path.exists(prof_dir): 25 newprofiler.bindir = os.path.join(prof_dir) 26 newprofiler.srcdir = os.path.join(newprofiler.bindir, 'src') 27 newprofiler.tmpdir = os.path.join(self.tmpdir, profiler)
|
/external/jsoncpp/test/ |
pyjsontestrunner.py | 4 import os.path namespace 13 base_path = os.path.splitext(input_path)[0] 18 def valueTreeToString( fout, value, path = '.' ): 21 fout.write( '%s={}\n' % path ) 22 suffix = path[-1] != '.' and '.' or '' 26 valueTreeToString( fout, value[name], path + suffix + name ) 28 fout.write( '%s=[]\n' % path ) 30 valueTreeToString( fout, childValue, path + '[%d]' % index ) 32 fout.write( '%s="%s"\n' % (path,value) ) 34 fout.write( '%s=%d\n' % (path,value) [all...] |
/external/skia/platform_tools/android/apps/ |
build.gradle | 35 String path = System.getenv("ANDROID_SDK_ROOT") 36 if (path == null) { 37 path = getLocalProperties().getProperty('sdk.dir', null) 40 if (path == null) { 42 " your path or define sdk.dir in gradle.properties") 44 return path 48 System.getenv("PATH") + ":" + getLocalProperties().getProperty('depot_tools.dir', null) 49 String path = System.getenv("PATH") 50 if (!path.contains("depot_tools")) [all...] |
/external/valgrind/none/tests/ |
procfs-cmdline-exe.c | 21 const char* const path) 27 fd = open(path, 0); 49 const char* const path) 55 if ((n = readlink(path, buf, sizeof(buf) - 1)) >= 0) 68 const char* const path) 75 if ((n = readlinkat(AT_FDCWD, path, buf, sizeof(buf) - 1)) >= 0) 94 char path[512]; local 101 snprintf(path, sizeof(path), "/proc/%ld/cmdline", (long) getpid()); 104 test_cmdline(cwd, "/proc/<pid>/cmdline", path); [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
DataManager.java | 49 // path. And it's used to identify a specific media set even if the process is 75 // This is the path for the media set seen by the user at top level. 157 // MediaObject object = peekMediaObject(path); 162 public MediaObject peekMediaObject(Path path) { 163 return path.getObject(); 166 public MediaObject getMediaObject(Path path) { 168 MediaObject obj = path.getObject(); 171 MediaSource source = mSourceMap.get(path.getPrefix()) 225 Path path = list.get(i); local 271 Path path = source.findPathByUri(uri, type); local 358 Path path = findPathByUri(uri, null); local [all...] |
TagClustering.java | 31 private ArrayList<ArrayList<Path>> mClusters; 41 final TreeMap<String, ArrayList<Path>> map = 42 new TreeMap<String, ArrayList<Path>>(); 43 final ArrayList<Path> untagged = new ArrayList<Path>(); 48 Path path = item.getPath(); 52 untagged.add(path); 57 ArrayList<Path> list = map.get(key); 59 list = new ArrayList<Path>(); [all...] |
/packages/providers/MediaProvider/src/com/android/providers/media/ |
MediaScannerReceiver.java | 46 String path = uri.getPath(); local 51 path = new File(path).getCanonicalPath(); 53 Log.e(TAG, "couldn't canonicalize " + path); 56 if (path.startsWith(legacyPath)) { 57 path = externalStoragePath + path.substring(legacyPath.length()); 60 Log.d(TAG, "action: " + action + " path: " + path); 65 path != null && path.startsWith(externalStoragePath + "/")) [all...] |
/ndk/sources/host-tools/make-3.81/w32/ |
pathstuff.c | 0 /* Path conversion for Windows pathnames. 27 convert_vpath_to_windows32(char *Path, char to_delim) 29 char *etok; /* token separator for old Path */ 35 for (etok = Path; etok && *etok; etok++) 39 return (convert_Path_to_windows32(Path, to_delim)); 43 * Convert delimiter separated path to Canonical format. 46 convert_Path_to_windows32(char *Path, char to_delim) 48 char *etok; /* token separator for old Path */ 49 char *p; /* points to element of old Path */ 51 /* is this a multi-element Path ? * [all...] |
/cts/tests/tests/graphics/src/android/graphics/cts/ |
PathMeasureTest.java | 21 import android.graphics.Path; 23 import android.graphics.Path.Direction; 28 private Path mPath; 33 mPath = new Path(); 42 Path path = new Path(); local 43 mPathMeasure = new PathMeasure(path, true); 46 mPathMeasure = new PathMeasure(path, false); 64 mPath.addRect(1f, 2f, 3f, 4f, Path.Direction.CW) [all...] |
/development/testrunner/ |
make_tree.py | 34 self._path = os.path.join(parent._GetPath(), name) 39 """Adds given path to this node. 42 path_segs: list of path segments 45 # done processing path 63 path = os.path.join(android_build.GetTop(), self._path) 64 mk_parser = android_mk.CreateAndroidMK(path) 75 make_list.append(os.path.join(self._path, "Android.mk")) 90 def AddPath(self, path): 91 """Adds make directory path to tree [all...] |
/external/antlr/antlr-3.4/runtime/ActionScript/project/ |
.actionScriptProperties | 6 <libraryPathEntry kind="4" path=""> 8 <libraryPathEntry kind="3" linkType="4" path="${PROJECT_FRAMEWORKS}/libs/framework.swc" useDefaultLinkType="true"> 16 <libraryPathEntry kind="1" linkType="1" path="lib"/> 21 <application path="Antlr3Runtime.as"/> 22 <application path="Antlr3Test.mxml"/>
|
/external/autotest/client/cros/audio/ |
common.py | 10 dirname = os.path.dirname(sys.modules[__name__].__file__) 11 client_dir = os.path.abspath(os.path.join(dirname, "..", "..")) 12 sys.path.insert(0, client_dir) 16 sys.path.pop(0)
|
/external/autotest/client/cros/bluetooth/ |
common.py | 10 dirname = os.path.dirname(sys.modules[__name__].__file__) 11 client_dir = os.path.abspath(os.path.join(dirname, "..", "..")) 12 sys.path.insert(0, client_dir) 16 sys.path.pop(0)
|
/external/autotest/client/cros/ |
common.py | 10 dirname = os.path.dirname(sys.modules[__name__].__file__) 11 client_dir = os.path.abspath(os.path.join(dirname, "..")) 12 sys.path.insert(0, client_dir) 16 sys.path.pop(0)
|
/external/autotest/client/cros/multimedia/ |
common.py | 10 dirname = os.path.dirname(sys.modules[__name__].__file__) 11 client_dir = os.path.abspath(os.path.join(dirname, os.pardir, os.pardir)) 12 sys.path.insert(0, client_dir) 16 sys.path.pop(0)
|
/external/autotest/client/cros/networking/ |
common.py | 10 dirname = os.path.dirname(sys.modules[__name__].__file__) 11 client_dir = os.path.abspath(os.path.join(dirname, "..", "..")) 12 sys.path.insert(0, client_dir) 16 sys.path.pop(0)
|
/external/autotest/client/cros/tendo/ |
common.py | 10 dirname = os.path.dirname(sys.modules[__name__].__file__) 11 client_dir = os.path.abspath(os.path.join(dirname, "..", "..")) 12 sys.path.insert(0, client_dir) 16 sys.path.pop(0)
|
/external/autotest/client/cros/tendo/n_faced_peerd/ |
common.py | 10 dirname = os.path.dirname(sys.modules[__name__].__file__) 11 client_dir = os.path.abspath(os.path.join(dirname, "..", "..", "..")) 12 sys.path.insert(0, client_dir) 16 sys.path.pop(0)
|
/external/autotest/client/deps/touchpad-tests/ |
common.py | 9 dirname = os.path.dirname(sys.modules[__name__].__file__) 10 client_dir = os.path.abspath(os.path.join(dirname, "..", "..")) 11 sys.path.insert(0, client_dir) 13 sys.path.pop(0)
|
/external/autotest/server/self-test/ |
alltests_suite.py | 12 # Adjust the path so Python can find the autoserv modules 13 src = os.path.abspath("%s/.." % (os.path.dirname(sys.argv[0]),)) 14 if src not in sys.path: 15 sys.path.insert(1, src)
|
/external/chromium-trace/catapult/telemetry/bin/ |
run_tests | 9 TELEMETRY_DIR = os.path.join(os.path.abspath(os.path.dirname(__file__)), '..') 10 sys.path.append(TELEMETRY_DIR) 19 os.path.join(TELEMETRY_DIR,
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/browser/ |
profile_types.py | 29 path = os.path.join( 32 assert os.path.exists(path) 33 return path
|