/external/toybox/toys/other/ |
which.c | 1 /* which.c - Find executable files in $PATH. 13 Search $PATH for executable files matching filename(s). 19 // Find an exectuable file either at a path with a slash in it (absolute or 20 // relative to current directory), or in $PATH. Returns absolute path to file, 27 // If they gave us a path, don't worry about $PATH or -a 42 // Search $PATH for matches. 43 list = find_in_path(getenv("PATH"), filename);
|
/external/valgrind/exp-sgcheck/tests/ |
filter_suppgen | 8 # Anonymise "obj:" path
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
ComboSource.java | 35 // The only path we accept is "/combo/{set1, set2, ...} and /combo/item/{set1, set2, ...}" 37 public MediaObject createMediaObject(Path path) { 38 String[] segments = path.split(); 40 throw new RuntimeException("bad path: " + path); 44 switch (mMatcher.match(path)) { 46 return new ComboAlbumSet(path, mApplication, 50 return new ComboAlbum(path,
|
DataSourceType.java | 27 private static final Path PICASA_ROOT = Path.fromString("/picasa"); 28 private static final Path LOCAL_ROOT = Path.fromString("/local"); 35 Path path = set.getPath(); local 36 if (MediaSetUtils.isCameraSource(path)) return TYPE_CAMERA; 38 Path prefix = path.getPrefixPath();
|
MediaSource.java | 37 public Path findPathByUri(Uri uri, String type) { 41 public abstract MediaObject createMediaObject(Path path); 49 public Path getDefaultSetOf(Path item) { 62 public PathId(Path path, int id) { 63 this.path = path; 66 public Path path field in class:MediaSource.PathId [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
ntpath.py | 5 module as os.path. 23 # strings representing various path-related bits and pieces 49 # Return whether a path is absolute. 56 """Test whether a path is absolute""" 65 If any component is an absolute path, all previous path components 67 path = a 69 b_wins = 0 # set to 1 iff b makes path irrelevant 70 if path == "": 74 # This probably wipes out path so far. However, it's mor [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_ttk_textonly.py | 7 this_dir = os.path.dirname(os.path.abspath(__file__)) 8 lib_tk_test = os.path.abspath(os.path.join(this_dir, '..', 'lib-tk', 'test'))
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
ntpath.py | 5 module as os.path. 23 # strings representing various path-related bits and pieces 49 # Return whether a path is absolute. 56 """Test whether a path is absolute""" 65 If any component is an absolute path, all previous path components 67 path = a 69 b_wins = 0 # set to 1 iff b makes path irrelevant 70 if path == "": 74 # This probably wipes out path so far. However, it's mor [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_ttk_textonly.py | 7 this_dir = os.path.dirname(os.path.abspath(__file__)) 8 lib_tk_test = os.path.abspath(os.path.join(this_dir, '..', 'lib-tk', 'test'))
|
/cts/hostsidetests/appsecurity/test-apps/WriteExternalStorageApp/src/com/android/cts/writeexternalstorageapp/ |
WriteExternalStorageTest.java | 137 for (File path : paths) { 138 assertNotNull("Valid media must be inserted during CTS", path); 140 Environment.getExternalStorageState(path)); 142 assertTrue(path.getAbsolutePath().contains(packageName)); 145 while (Environment.MEDIA_MOUNTED.equals(Environment.getExternalStorageState(path))) { 146 assertDirReadWriteAccess(path); 147 path = path.getParentFile(); 172 File path = getContext().getExternalCacheDir(); local 176 assertDirReadWriteAccess(path); [all...] |
/external/skia/experimental/SimpleCocoaApp/ |
SimpleApp.mm | 11 static void make_filepath(SkString* path, const char* dir, const SkString& name) { 13 path->set(dir); 15 path->append("/"); 17 path->append(name); 20 static SkPicture* LoadPicture(const char path[]) { 24 if (SkImageDecoder::DecodeFile(path, &bm)) { 31 SkFILEStream stream(path); 42 SkString path2(path); 69 SkPath path; 70 path.moveTo(0, 0) [all...] |
/bionic/libc/upstream-openbsd/lib/libc/stdio/ |
mktemp.c | 45 mktemp_internal(char *path, int slen, int mode, int flags) 54 len = strlen(path); 59 ep = path + len - slen; 61 for (start = ep; start > path && start[-1] == 'X'; start--) 92 if (lstat(path, &sb) != 0) 96 fd = open(path, flags, S_IRUSR|S_IWUSR); 101 if (mkdir(path, S_IRUSR|S_IWUSR|S_IXUSR) == 0) 116 _mktemp(char *path) 118 if (mktemp_internal(path, 0, MKTEMP_NAME, 0) == -1) 120 return(path); [all...] |
/external/skia/gm/ |
patheffects.cpp | 57 static void scale(SkPath* path, SkScalar scale) { 60 path->transform(m); 64 SkPath path; local 65 path.moveTo(SkIntToScalar(gXY[0]), SkIntToScalar(gXY[1])); 67 path.lineTo(SkIntToScalar(gXY[i]), SkIntToScalar(gXY[i+1])); 68 path.close(); 69 path.offset(SkIntToScalar(-6), 0); 70 scale(&path, 1.5f); 72 paint->setPathEffect(SkPath1DPathEffect::Create(path, SkIntToScalar(21), 0, 93 SkPath path; local 122 SkPath path; variable [all...] |
/external/skia/tests/ |
PathOpsSimplifyQuadThreadedTest.cpp | 39 SkPath path, out; local 40 path.setFillType(SkPath::kWinding_FillType); 41 path.moveTo(SkIntToScalar(ax), SkIntToScalar(ay)); 42 path.quadTo(SkIntToScalar(bx), SkIntToScalar(by), 44 path.lineTo(SkIntToScalar(dx), SkIntToScalar(dy)); 45 path.close(); 46 path.moveTo(SkIntToScalar(ex), SkIntToScalar(ey)); 47 path.lineTo(SkIntToScalar(fx), SkIntToScalar(fy)); 48 path.quadTo(SkIntToScalar(gx), SkIntToScalar(gy), 50 path.close() [all...] |
/frameworks/compile/mclinker/include/mcld/Support/ |
Path.h | 1 //===- Path.h -------------------------------------------------------------===// 9 // This file declares the mcld::sys::fs::Path. It follows TR2/boost 11 // path class. 40 /** \class Path 41 * \brief Path provides an abstraction for the path to a file or directory in 44 class Path { 50 Path(); 51 explicit Path(const ValueType* s); 52 explicit Path(const StringType& s) [all...] |
/external/chromium-trace/trace-viewer/tracing/build/ |
dev_server.py | 43 handler = self.server.GetPathHandler(self.path, method) 48 send_500(self, 'While parsing %s' % self.path, ex, path=self.path) 55 def translate_path(self, path): 56 path = path.split('?', 1)[0] 57 path = path.split('#', 1)[0] 59 if path.startswith(TEST_DATA_PREFIX) [all...] |
/external/chromium-trace/trace-viewer/tracing/ |
tracing_project.py | 20 x = os.path.abspath(os.path.join(dirpath, f)) 42 tracing_path = os.path.abspath(os.path.join(os.path.dirname(__file__), '..')) 43 tracing_root_path = os.path.abspath(os.path.join(tracing_path, 'tracing')) 44 tracing_src_path = os.path.abspath(os.path.join(tracing_root_path, 'tracing')) 45 extras_path = os.path.join(tracing_src_path, 'extras' [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/cinematic/events/ |
SoundTrack.java | 50 protected String path; field in class:SoundTrack 55 * creates a sound track from the given resource path 56 * @param path the path to an audi file (ie : "Sounds/mySound.wav") 58 public SoundTrack(String path) { 59 this.path = path; 63 * creates a sound track from the given resource path 64 * @param path the path to an audi file (ie : "Sounds/mySound.wav" [all...] |
/bionic/tests/ |
ftw_test.cpp | 30 char path[PATH_MAX]; local 32 snprintf(path, sizeof(path), "%s/dir", root); 33 ASSERT_EQ(0, mkdir(path, 0755)) << path; 34 snprintf(path, sizeof(path), "%s/dir/sub", root); 35 ASSERT_EQ(0, mkdir(path, 0555)) << path; 36 snprintf(path, sizeof(path), "%s/unreadable-dir", root) [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.apache.ant_1.7.1.v20090120-1145/bin/ |
antenv.cmd | 74 parse arg path elem 76 if path\='' & right(path, 1)\=';' then path = path || ';' 77 return path 79 if substr(path, length(path)) = ';' then glue = '' 81 if pos(translate(elem), translate(path)) = 0 then path = path || glue || elem || '; [all...] |
/frameworks/av/media/libmedia/ |
MediaScanner.cpp | 69 char * path = strtok(skipList, ","); local 71 while (path) { 72 mSkipIndex[i++] = strlen(path); 73 path = strtok(NULL, ","); 82 const char *path, MediaScannerClient &client) { 83 int pathLength = strlen(path); 93 strcpy(pathBuffer, path); 109 bool MediaScanner::shouldSkipDirectory(char *path) { 110 if (path && mSkipList && mSkipIndex) { 111 int len = strlen(path); [all...] |
/external/libxml2/result/ |
svg3.rde | 7 2 1 path 1 0 16 2 1 path 1 0 25 2 1 path 1 0 34 2 1 path 1 0 43 2 1 path 1 0 52 2 1 path 1 0 61 2 1 path 1 0 70 2 1 path 1 0 79 2 1 path 1 0 88 2 1 path 1 [all...] |
svg3.rdr | 7 2 1 path 1 0 16 2 1 path 1 0 25 2 1 path 1 0 34 2 1 path 1 0 43 2 1 path 1 0 52 2 1 path 1 0 61 2 1 path 1 0 70 2 1 path 1 0 79 2 1 path 1 0 88 2 1 path 1 [all...] |
/external/pdfium/testing/tools/ |
run_javascript_tests.py | 17 # x_path - "path/to/a/b/c/x.ext" 18 # c_dir - "path/to/a/b/c" 22 input_root, _ = os.path.splitext(input_filename) 23 input_path = os.path.join(source_dir, input_root + '.in') 24 pdf_path = os.path.join(working_dir, input_root + '.pdf') 25 txt_path = os.path.join(working_dir, input_root + '.txt') 26 expected_path = os.path.join(source_dir, input_root + '_expected.txt') 42 parser.add_option('--build-dir', default=os.path.join('out', 'Debug'), 43 help='relative path from the base source directory') 48 source_dir = finder.TestingDir(os.path.join('resources', 'javascript') [all...] |
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
PathOpsActivity.java | 24 import android.graphics.Path; 40 private Path[] mPaths; 57 Path.Op[] ops = Path.Op.values(); 58 mPaths = new Path[ops.length]; 62 Path p1 = new Path(); 63 p1.addRect(0.0f, 0.0f, mSize, mSize, Path.Direction.CW); 65 Path p2 = new Path(); [all...] |