/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);
|
/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);
|
/frameworks/base/tools/aapt/ |
FileFinder.h | 25 virtual bool findFiles(String8 basePath, Vector<String8>& extensions, 56 virtual bool findFiles(String8 basePath, Vector<String8>& extensions,
|
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);
|
/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++) {
|
/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));
|
/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...] |
/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/WebKit/Source/devtools/front_end/ |
ParsedURL.js | 195 var basePath = parsedURL.path; 197 // A href of "?foo=bar" implies "basePath?foo=bar". 198 // With "basePath?a=b" and "?foo=bar" we should get "basePath?foo=bar". 201 basePath = basePath.substring(0, baseQuery); 203 return parsedURL.scheme + "://" + parsedURL.host + (parsedURL.port ? (":" + parsedURL.port) : "") + basePath + postfix;
|
/external/chromium_org/third_party/WebKit/Source/modules/filesystem/ |
FileSystemCallbacks.cpp | 105 PassOwnPtr<AsyncFileSystemCallbacks> EntriesCallbacks::create(PassOwnPtr<EntriesCallback> successCallback, PassOwnPtr<ErrorCallback> errorCallback, PassRefPtr<DirectoryReaderBase> directoryReader, const String& basePath) 107 return adoptPtr(new EntriesCallbacks(successCallback, errorCallback, directoryReader, basePath)); 110 EntriesCallbacks::EntriesCallbacks(PassOwnPtr<EntriesCallback> successCallback, PassOwnPtr<ErrorCallback> errorCallback, PassRefPtr<DirectoryReaderBase> directoryReader, const String& basePath) 114 , m_basePath(basePath)
|
FileSystemCallbacks.h | 87 static PassOwnPtr<AsyncFileSystemCallbacks> create(PassOwnPtr<EntriesCallback>, PassOwnPtr<ErrorCallback>, PassRefPtr<DirectoryReaderBase>, const String& basePath); 92 EntriesCallbacks(PassOwnPtr<EntriesCallback>, PassOwnPtr<ErrorCallback>, PassRefPtr<DirectoryReaderBase>, const String& basePath);
|
/packages/apps/UnifiedEmail/src/org/apache/commons/io/ |
FilenameUtils.java | 389 * @param basePath the base path to attach to, always treated as a path
393 public static String concat(String basePath, String fullFilenameToAdd) {
401 if (basePath == null) {
404 int len = basePath.length();
408 char ch = basePath.charAt(len - 1);
410 return normalize(basePath + fullFilenameToAdd);
412 return normalize(basePath + '/' + fullFilenameToAdd);
[all...] |
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/ |
XMPIteratorImpl.java | 80 XMPPath basePath = new XMPPath(); 83 basePath.add(path.getSegment(i)); 88 initialPath = basePath.toString();
|
/external/chromium_org/third_party/WebKit/Tools/TestResultServer/static-dashboards/ |
builders.js | 161 builders.BuilderMaster = function(name, basePath, tests, groups) 164 this.basePath = basePath; 172 return this.basePath + '/builders/' + builder + '/builds/' + buildNumber; 176 return this.basePath + '/json/builders';
|
/external/chromium_org/tools/json_schema_compiler/ |
preview.py | 153 var basePath = window.location.pathname; 156 populateViaXHR('h_pane', basePath + '/' + targetName + '.h?' + query); 157 populateViaXHR('cc_pane', basePath + '/' + targetName + '.cc?' + query);
|
/external/skia/tools/ |
skdiff_main.cpp | 352 SkString basePath(baseDir); 362 basePath.append(*baseFiles[i]); 366 drp->fBase.fFullPath = basePath; 378 basePath.append(*comparisonFiles[j]); 382 drp->fBase.fFullPath = basePath; 394 basePath.append(*baseFiles[i]); 398 drp->fBase.fFullPath = basePath;
|
/external/chromium_org/third_party/icu/source/test/intltest/ |
intltest.cpp | 519 strcpy(basePath, "/"); 543 strcpy(testToBeCalled.basePath, this->basePath ); 544 UBool result = testToBeCalled.runTest( testPath, par, testToBeCalled.basePath ); 545 strcpy(testToBeCalled.basePath, this->basePath ); // reset it. 676 if ((char *)this->basePath != baseName) { 677 strcpy(this->basePath, baseName); [all...] |
intltest.h | 238 char basePath[1024];
|
/external/icu4c/test/intltest/ |
intltest.cpp | 535 strcpy(basePath, "/"); 559 strcpy(testToBeCalled.basePath, this->basePath ); 560 UBool result = testToBeCalled.runTest( testPath, par, testToBeCalled.basePath ); 561 strcpy(testToBeCalled.basePath, this->basePath ); // reset it. 698 if ((char *)this->basePath != baseName) { 699 strcpy(this->basePath, baseName); [all...] |
/frameworks/base/core/java/com/android/internal/util/ |
FileRotator.java | 91 * @param basePath Directory under which all files will be placed. 98 public FileRotator(File basePath, String prefix, long rotateAgeMillis, long deleteAgeMillis) { 99 mBasePath = Preconditions.checkNotNull(basePath);
|
/build/tools/droiddoc/templates-pdk/assets/ |
android-developer-docs.js | 316 var basePath = getBaseUri(location.pathname); 317 var section = basePath.substring(1,basePath.indexOf("/",1)); 373 var basePath = getBaseUri(location.pathname); 374 var section = basePath.substring(1,basePath.indexOf("/",1));
|
/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/ |
URI.java | 503 String basePath = p_base.getPath(); 506 if (basePath != null) 508 int lastSlash = basePath.lastIndexOf('/'); 512 path = basePath.substring(0, lastSlash + 1); [all...] |
/external/apache-xml/src/main/java/org/apache/xml/utils/ |
URI.java | 523 String basePath = p_base.getPath(); 526 if (basePath != null) 528 int lastSlash = basePath.lastIndexOf('/'); 532 path = basePath.substring(0, lastSlash + 1); [all...] |