/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
FilterTypeSet.java | 29 private final ArrayList<Path> mPaths = new ArrayList<Path>(); 32 public FilterTypeSet(Path path, DataManager dataManager, MediaSet baseSet, 34 super(path, INVALID_DATA_VERSION); 100 final Path[] buf = new Path[total]; 107 Path path = item.getPath(); 108 buf[index] = path; [all...] |
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
DownloadScanner.java | 50 public final String path; field in class:DownloadScanner.ScanRequest 54 public ScanRequest(long id, String path, String mimeType) { 56 this.path = path; 62 conn.scanFile(path, mimeType); 105 mPending.put(req.path, req); 129 public void onScanCompleted(String path, Uri uri) { 132 req = mPending.remove(path); 135 Log.w(TAG, "Missing request for path " + path); [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
glob.py | 39 if os.path.lexists(pathname): 42 dirname, basename = os.path.split(pathname) 47 # `os.path.split()` returns the argument itself as a dirname if it is a 48 # drive or UNC path. Prevent an infinite recursion if a drive or UNC path 60 yield os.path.join(dirname, name) 82 # `os.path.split()` returns an empty basename for paths ending with a 84 if os.path.isdir(dirname): 87 if os.path.lexists(os.path.join(dirname, basename)) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
glob.py | 39 if os.path.lexists(pathname): 42 dirname, basename = os.path.split(pathname) 47 # `os.path.split()` returns the argument itself as a dirname if it is a 48 # drive or UNC path. Prevent an infinite recursion if a drive or UNC path 60 yield os.path.join(dirname, name) 82 # `os.path.split()` returns an empty basename for paths ending with a 84 if os.path.isdir(dirname): 87 if os.path.lexists(os.path.join(dirname, basename)) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/setoolsgui/networkx/readwrite/ |
p2g.py | 46 def write_p2g(G, path, encoding = 'utf-8'): 54 path.write(("%s\n"%G.name).encode(encoding)) 55 path.write(("%s %s\n"%(G.order(),G.size())).encode(encoding)) 60 path.write(("%s\n"%n).encode(encoding)) 62 path.write(("%s "%nodenumber[nbr]).encode(encoding)) 63 path.write("\n".encode(encoding)) 66 def read_p2g(path, encoding='utf-8'): 67 """Read graph in p2g format from path. 76 use D=networkx.DiGraph(read_p2g(path)) 78 lines = (line.decode(encoding) for line in path) [all...] |
/system/core/init/ |
devices.cpp | 62 const char *path; member in struct:uevent 89 char *path; member in struct:platform_node 173 static bool perm_path_matches(const char *path, struct perms_ *dp) 176 if (strncmp(path, dp->name, strlen(dp->name)) == 0) 179 if (fnmatch(dp->name, path, FNM_PATHNAME) == 0) 182 if (strcmp(path, dp->name) == 0) 189 static mode_t get_device_perm(const char *path, const char **links, 205 if (perm_path_matches(path, dp)) { 231 static void make_device(const char *path, 242 mode = get_device_perm(path, links, &uid, &gid) | (block ? S_IFBLK : S_IFCHR) 554 const char *path = uevent->path; local [all...] |
/development/ide/emacs/ |
android-common.el | 25 ;; If the path the product's files/image uses an a product alias, you 69 "Ascend the current path until the root of the android build tree is found. 122 (defun android-product-path () 123 "Return the full path to the product directory. 128 (let ((path (concat (android-find-build-tree-root) "out/target/product/" 130 (when (not (file-exists-p path)) 132 add an entry to android-product-map." path (android-product)))) 133 path)) 136 "Return the full path to the host BINARY. 139 the shell exec PATH setup. [all...] |
/external/boringssl/src/util/bot/go/ |
env.py | 29 # Do not want to mess with sys.path, load the module directly. 31 'bootstrap', os.path.join(os.path.dirname(__file__), 'bootstrap.py')) 45 # Help Windows to find the executable in new PATH, do it only when 46 # executable is referenced by name (and not by path).
|
/external/chromium-trace/trace-viewer/tracing/build/ |
benchmarks.py | 13 tracing_path = os.path.abspath(os.path.join(os.path.dirname(__file__), 15 if tracing_path not in sys.path: 16 sys.path.append(tracing_path)
|
/external/clang/test/Modules/ |
diamond.c | 2 // RUN: %clang_cc1 -fmodules -x objective-c -emit-module -fmodules-cache-path=%t -fmodule-name=diamond_top %S/Inputs/module.map 3 // RUN: %clang_cc1 -fmodules -x objective-c -emit-module -fmodules-cache-path=%t -fmodule-name=diamond_left %S/Inputs/module.map 4 // RUN: %clang_cc1 -fmodules -x objective-c -emit-module -fmodules-cache-path=%t -fmodule-name=diamond_right %S/Inputs/module.map 5 // RUN: %clang_cc1 -fmodules -x objective-c -emit-module -fmodules-cache-path=%t -fmodule-name=diamond_bottom %S/Inputs/module.map 6 // RUN: %clang_cc1 -fmodules -x objective-c -fmodules-cache-path=%t -I %S/Inputs %s -verify
|
modify-module.m | 9 // RUN: %clang_cc1 -fdisable-module-hash -fmodules-cache-path=%t/cache -fmodules -I %t/include %s -verify 11 // RUN: %clang_cc1 -fdisable-module-hash -fmodules-cache-path=%t/cache -fmodules -I %t/include %s -verify 13 // RUN: %clang_cc1 -fdisable-module-hash -fmodules-cache-path=%t/cache -fmodules -I %t/include %s -verify 15 // RUN: %clang_cc1 -fdisable-module-hash -fmodules-cache-path=%t/cache -fmodules -I %t/include %s -verify 17 // RUN: %clang_cc1 -fdisable-module-hash -fmodules-cache-path=%t/cache -fmodules -I %t/include %s -verify
|
/external/iptables/extensions/ |
libxt_rpfilter.man | 1 Performs a reverse path filter test on a packet. 11 Used to specifiy that the reverse path filter test should match 15 Also use the packets' nfmark value when performing the reverse path route lookup. 23 reverse path filter test, match those that have failed it. 25 Example to log and drop packets failing the reverse path filter test:
|
/external/libcap-ng/libcap-ng-0.7/utils/ |
filecap.8 | 7 \fBfilecap\fP is a program that prints out a report of programs with file based capabilities. If a file is not in the report or there is no report at all, no capabilities were found. For expedience, the default is to check only the directories in the PATH environmental variable. If the \-a command line option is given, then all directories will be checked. If a directory is passed, it will recursively check that directory. If a path to a file is given, it will only check that file. If the path to the file includes capabilities, then they are written to the file. 12 This tells the program to show all capabilities starting from the / directory. Normally the PATH environmental variable is used to show you capabilities on files you are likely to execute. 19 .B To check file capabilities in $PATH:
|
/external/libvpx/libvpx/test/android/ |
README | 6 --disable-examples --disable-runtime-cpu-detect --sdk-path=$NDK 17 python get_files.py -i /path/to/test-data.sha1 -o /path/to/put/files \ 23 adb push /path/to/test_files /data/local/tmp 24 adb push /path/to/built_libs /data/local/tmp
|
/external/libxml2/include/libxml/ |
uri.h | 40 char *path; /* the path string */ member in struct:_xmlURI 81 xmlNormalizeURIPath (char *path); 87 xmlCanonicPath (const xmlChar *path); 89 xmlPathToURI (const xmlChar *path);
|
/external/linux-tools-perf/src/tools/perf/util/ |
cache.h | 10 #define CMD_EXEC_PATH "--exec-path" 59 static inline int is_absolute_path(const char *path) 61 return path[0] == '/'; 64 const char *make_nonrelative_path(const char *path); 65 char *strip_path_suffix(const char *path, const char *suffix);
|
/external/lldb/include/lldb/Target/ |
PathMappingList.h | 47 Append (const ConstString &path, const ConstString &replacement, bool notify); 72 GetPathsAtIndex (uint32_t idx, ConstString &path, ConstString &new_path) const; 75 Insert (const ConstString &path, 84 Remove (const ConstString &path, bool notify); 87 Replace (const ConstString &path, 92 Replace (const ConstString &path, 97 RemapPath (const ConstString &path, ConstString &new_path) const; 100 /// Remaps a source file given \a path into \a new_path. 102 /// Remaps \a path if any source remappings match. This function 106 /// @param[in] path [all...] |
/external/lldb/test/ |
dosep.ty | 19 path = os.path.join(root, name) 26 if os.path.islink(path): 37 test_root = sys.path[0]
|
/external/skia/gm/ |
convex_all_line_paths.cpp | 219 SkPath path; local 222 path.moveTo(points[0]); 224 path.lineTo(points[i]); 227 path.moveTo(points[numPts-1]); 229 path.lineTo(points[i]); 233 path.close(); 235 // Each path this method returns should be convex, only composed of 238 SkASSERT(path.isConvex()); 239 SkASSERT(SkPath::kLine_SegmentMask == path.getSegmentMasks()); 241 SkASSERT(path.cheapComputeDirection(&actualDir)) 256 SkPath path = GetPath(index, 0, SkPath::kCW_Direction); local 273 SkPath path = GetPath(index, (int) i, dirs[i%2]); local [all...] |
/external/skia/samplecode/ |
SampleStringArt.cpp | 37 SkPath path; variable 38 path.moveTo(center); 44 path.lineTo(rp); 48 path.close(); 55 canvas->drawPath(path, paint);
|
/frameworks/base/core/res/res/drawable-nodpi/ |
platlogo_m.xml | 21 <path 25 <path 28 <path 31 <path 34 <path
|
/frameworks/base/docs/html/sdk/api_diff/19/changes/ |
android.graphics.Path.html | 10 android.graphics.Path 74 Class android.graphics.<A HREF="../../../../reference/android/graphics/Path.html" target="_top"><font size="+2"><code>Path</code></font></A> 86 <A NAME="android.graphics.Path.op_added(android.graphics.Path, android.graphics.Path, android.graphics.Path.Op)"></A> 87 <nobr><code>boolean</code> <A HREF="../../../../reference/android/graphics/Path.html#op(android.graphics.Path, android.graphics.Path, android.graphics.Path.Op)" target="_top"><code>op</code></A>(<code>Path,</nobr> Path<nobr>,</nobr (…) [all...] |
/frameworks/base/libs/hwui/ |
PathCache.h | 59 * Alpha texture used to represent a path. 82 * Left coordinate of the path bounds. 86 * Top coordinate of the path bounds. 90 * Offset to draw the path at the correct origin. 132 struct Path { 134 } path; member in union:android::uirenderer::PathDescription::Shape 181 void operator()(PathDescription& path, PathTexture*& texture) override; 203 PathTexture* get(const SkPath* path, const SkPaint* paint); 206 * Removes the specified path. This is meant to be called from threads 209 ANDROID_API void removeDeferred(const SkPath* path); 283 const SkPath path; member in class:android::uirenderer::PathCache::PathTask [all...] |
/frameworks/base/packages/DefaultContainerService/jni/ |
com_android_defcontainer_MeasurementUtils.cpp | 35 const char* path = env->GetStringUTFChars(directory, NULL); local 36 if (path == NULL) { 40 int dirfd = open(path, O_DIRECTORY, O_RDONLY); 42 ALOGI("error opening: %s: %s", path, strerror(errno)); 48 env->ReleaseStringUTFChars(directory, path);
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
SmallCircleActivity.java | 23 import android.graphics.Path; 49 private final Path mPath; 54 mPath = new Path(); 55 mPath.addCircle(SIZE * 0.5f, SIZE * 0.5f, SIZE * 0.275f, Path.Direction.CW); 56 mPath.addCircle(SIZE * 0.5f, SIZE * 0.5f, SIZE * 0.225f, Path.Direction.CCW);
|