HomeSort by relevance Sort by last modified time
    Searched full:basepath (Results 1 - 25 of 92) sorted by null

1 2 3 4

  /external/smali/util/src/test/java/org/jf/util/
PathUtilTest.java 42 File basePath = new File(roots[0] + "some" + File.separatorChar + "dir" + File.separatorChar + "test.txt");
45 String path = PathUtil.getRelativeFileInternal(basePath, relativePath);
55 File basePath = new File(roots[0] + "some" + File.separatorChar + "dir" + File.separatorChar + "test.txt");
58 String path = PathUtil.getRelativeFileInternal(basePath, relativePath);
70 File basePath = new File(roots[0] + "some" + File.separatorChar + "dir" + File.separatorChar);
73 String path = PathUtil.getRelativeFileInternal(basePath, relativePath);
82 File basePath = new File(roots[0] + "some" + File.separatorChar + "dir");
85 String path = PathUtil.getRelativeFileInternal(basePath, relativePath);
94 File basePath = new File(roots[0] + "some" + File.separatorChar + "dir");
97 String path = PathUtil.getRelativeFileInternal(basePath, relativePath)
    [all...]
  /external/jsilver/src/com/google/clearsilver/jsilver/resourceloader/
ClassLoaderResourceLoader.java 54 private String basePath;
56 public ClassLoaderResourceLoader(ClassLoader classLoader, String basePath) {
58 this.basePath = basePath;
67 String path = basePath + '/' + name;
77 + basePath + "'");
ClassResourceLoader.java 54 private final String basePath;
58 this.basePath = "/" + cls.getPackage().getName().replace('.', '/');
62 * Load resources from the given subdirectory {@code basePath},
65 public ClassResourceLoader(Class<?> cls, String basePath) {
67 this.basePath = basePath;
72 InputStream stream = cls.getResourceAsStream(basePath + '/' + name);
  /frameworks/base/tools/aapt/tests/
MockFileFinder.h 28 * path matching basePath.
32 * to the basePath.
35 virtual bool findFiles(String8 basePath, Vector<String8>& extensions,
39 const KeyedVector<String8,time_t>* payload(&mFiles.valueFor(basePath));
  /external/chromium_org/remoting/tools/
gettoken.py 19 basepath = os.path.expanduser('~')
20 chromoting_auth_filepath = os.path.join(basepath, '.chromotingAuthToken')
22 basepath, '.chromotingDirectoryAuthToken')
  /external/smali/util/src/main/java/org/jf/util/
PathUtil.java 47 public static String getRelativePath(String basePath, String pathToRelativize) throws IOException {
48 File baseFile = new File(basePath);
58 ArrayList<String> basePath = getPathComponents(canonicalBaseFile);
63 if (!basePath.get(0).equals(pathToRelativize.get(0))) {
70 for (commonDirs=1; commonDirs<basePath.size() && commonDirs<pathToRelativize.size(); commonDirs++) {
71 if (!basePath.get(commonDirs).equals(pathToRelativize.get(commonDirs))) {
77 for (int i=commonDirs; i<basePath.size(); i++) {
  /external/chromium_org/third_party/WebKit/Source/devtools/front_end/
ParsedURL.js 146 var basePath = parsedURL.path;
148 // Trim off the query part of the basePath.
149 var questionMarkIndex = basePath.indexOf("?");
151 basePath = basePath.substring(0, questionMarkIndex);
152 // A href of "?foo=bar" implies "basePath?foo=bar".
153 // With "basePath?a=b" and "?foo=bar" we should get "basePath?foo=bar".
156 var basePathCutIndex = basePath.indexOf("?");
158 prefix = basePath.substring(0, basePathCutIndex)
    [all...]
  /external/chromium_org/tools/json_to_struct/
json_to_struct.py 83 def _GenerateH(basepath, fileroot, head, namespace, schema, description):
88 basepath: The base directory in which files are generated.
89 fileroot: The filename and path, relative to basepath, of the file to
99 with open(os.path.join(basepath, h_filename), 'w') as f:
136 def _GenerateCC(basepath, fileroot, head, namespace, schema, description):
141 basepath: The base directory in which files are generated.
142 fileroot: The filename and path, relative to basepath, of the file to
151 with open(os.path.join(basepath, fileroot + '.cc'), 'w') as f:
202 basepath = os.path.normpath(opts.destbase) variable
204 basepath = ' variable
    [all...]
  /frameworks/base/tools/aapt/
FileFinder.cpp 41 bool SystemFileFinder::findFiles(String8 basePath, Vector<String8>& extensions,
45 // Scan the directory pointed to by basePath
47 if (!dw->openDir(basePath)) {
60 String8 fullPath = basePath.appendPathCopy(entryName);
FileFinder.h 25 virtual bool findFiles(String8 basePath, Vector<String8>& extensions,
56 virtual bool findFiles(String8 basePath, Vector<String8>& extensions,
  /external/qemu/android/skin/
file.c 50 const char* basepath )
61 background->image = skin_image_find_in( basepath, img );
230 skin_button_create_from( AConfig* node, const char* basepath )
244 button->image = skin_image_find_in( basepath, img );
314 skin_part_create_from_v1( AConfig* root, const char* basepath )
325 skin_background_init_from(part->background, node, basepath);
335 SkinButton* button = skin_button_create_from(node, basepath);
365 skin_part_create_from_v2( AConfig* root, const char* basepath )
376 skin_background_init_from(part->background, node, basepath);
386 SkinButton* button = skin_button_create_from(node, basepath);
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib-tk/test/
runtktests.py 66 def get_tests_modules(basepath=this_dir_path, gui=True, packages=None):
68 and are inside packages found in the path starting at basepath.
75 for dirpath, dirnames, filenames in os.walk(basepath):
81 pkg_name = dirpath[len(basepath) + len(os.sep):].replace('/', '.')
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib-tk/test/
runtktests.py 66 def get_tests_modules(basepath=this_dir_path, gui=True, packages=None):
68 and are inside packages found in the path starting at basepath.
75 for dirpath, dirnames, filenames in os.walk(basepath):
81 pkg_name = dirpath[len(basepath) + len(os.sep):].replace('/', '.')
  /external/chromium_org/third_party/WebKit/Source/core/css/
makegrammar.pl 37 my ($filename, $basePath, $suffix) = fileparse($grammarFilePath, (".y", ".y.in"));
41 $grammarIncludesFilePath = "${basePath}${filename}.y.includes";
  /external/qemu/
gen-skin.py 31 def process_files( basepath, files ):
33 fp = open(basepath + "/" + file, "rb")
  /external/chromium_org/ppapi/generators/
idl_outfile.py 118 basepath, leafname = os.path.split(filename)
119 if basepath and not os.path.isdir(basepath) and self.create_dir:
120 InfoOut.Log('Creating directory: %s\n' % basepath)
121 os.makedirs(basepath)
  /external/chromium_org/third_party/WebKit/Tools/TestResultServer/static-dashboards/
builders.js 163 builders.BuilderMaster = function(name, basePath, tests, groups)
166 this.basePath = basePath;
174 return this.basePath + '/builders/' + builder + '/builds/' + buildNumber;
178 return this.basePath + '/json/builders';
  /external/qemu/android/
qemulator.h 48 const char* basepath,
  /external/srec/portable/include/
PFileSystemImpl.h 77 * @param basePath Base path for files associated with this filesystem
81 PORTABLE_API ESR_ReturnCode PFileSystemAddPathImpl(PFileSystem* self, const LCHAR* basePath);
87 * @param basePath Base path for files associated with this filesystem
90 PORTABLE_API ESR_ReturnCode PFileSystemRemovePathImpl(PFileSystem* self, const LCHAR* basePath);
  /external/chromium_org/chrome/common/extensions/docs/server2/
file_system.py 80 basepath = root.rstrip('/') + '/'
94 yield root[len(basepath):].rstrip('/'), dirs, files
  /packages/apps/Gallery2/src/com/android/gallery3d/data/
FilterTypeSet.java 84 String basePath = "/filter/mediatype/" + mMediaType;
88 String filteredPath = basePath + "/{" + set.getPath().toString() + "}";
  /external/chromium_org/third_party/yasm/source/patched-yasm/modules/dbgfmts/codeview/
cv-dbgfmt.h 31 char *pathname; /* full pathname (drive+basepath+filename) */
  /frameworks/native/cmds/installd/
utils.c 313 int lookup_media_dir(char basepath[PATH_MAX], const char *dir)
318 char* dirpos = basepath + strlen(basepath);
325 CACHE_NOISY(ALOGI("Looking up %s in %s\n", dir, basepath));
328 if ((dirpos-basepath+strlen(dir)) >= (PATH_MAX-1)) {
329 ALOGW("Path exceeds limit: %s%s", basepath, dir);
335 if (stat(basepath, &s) >= 0) {
336 CACHE_NOISY(ALOGI("Found direct: %s\n", basepath));
344 d = opendir(basepath);
353 CACHE_NOISY(ALOGI("Found search: %s\n", basepath));
    [all...]
  /external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/
file.c 208 const char *basepath = path; local
213 basepath += 2;
215 s = basepath;
218 while (s >= basepath && *s != '\\' && *s != '/')
220 if (s < basepath) {
221 *tail = basepath;
222 if (path == basepath)
229 while ((s-1)>=basepath && *(s-1) == '.' && (*s == '/' || *s == '\\')
230 && !((s-2)>=basepath && *(s-2) == '.'))
233 while (s>basepath && (*s == '/' || *s == '\\')
    [all...]
  /frameworks/base/core/java/android/app/backup/
BackupAgent.java 482 String basePath = null;
490 basePath = getFilesDir().getCanonicalPath();
492 basePath = getDatabasePath("foo").getParentFile().getCanonicalPath();
494 basePath = new File(getApplicationInfo().dataDir).getCanonicalPath();
496 basePath = getSharedPrefsFile("foo").getParentFile().getCanonicalPath();
498 basePath = getCacheDir().getCanonicalPath();
504 basePath = getExternalFilesDir(null).getCanonicalPath();
514 if (basePath != null) {
516 File outFile = new File(basePath, path);
518 if (outPath.startsWith(basePath + File.separatorChar))
    [all...]

Completed in 1762 milliseconds

1 2 3 4