HomeSort by relevance Sort by last modified time
    Searched refs:basePath (Results 1 - 25 of 57) sorted by null

1 2 3

  /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/webkit/Source/WebCore/fileapi/
LocalFileSystem.cpp 55 void LocalFileSystem::initializeLocalFileSystem(const String& basePath)
63 OwnPtr<LocalFileSystem> localFileSystem = adoptPtr(new LocalFileSystem(basePath));
79 static void openFileSystem(ScriptExecutionContext*, const String& basePath, const String& identifier, AsyncFileSystem::Type type, bool create, PassOwnPtr<AsyncFileSystemCallbacks> callbacks)
81 AsyncFileSystem::openFileSystem(basePath, identifier, type, create, callbacks);
LocalFileSystem.h 69 LocalFileSystem(const String& basePath)
70 : m_basePath(basePath)
FileSystemCallbacks.h 103 static PassOwnPtr<EntriesCallbacks> create(PassRefPtr<EntriesCallback>, PassRefPtr<ErrorCallback>, PassRefPtr<DirectoryReaderBase>, const String& basePath);
108 EntriesCallbacks(PassRefPtr<EntriesCallback>, PassRefPtr<ErrorCallback>, PassRefPtr<DirectoryReaderBase>, const String& basePath);
FileSystemCallbacks.cpp 141 PassOwnPtr<EntriesCallbacks> EntriesCallbacks::create(PassRefPtr<EntriesCallback> successCallback, PassRefPtr<ErrorCallback> errorCallback, PassRefPtr<DirectoryReaderBase> directoryReader, const String& basePath)
143 return adoptPtr(new EntriesCallbacks(successCallback, errorCallback, directoryReader, basePath));
146 EntriesCallbacks::EntriesCallbacks(PassRefPtr<EntriesCallback> successCallback, PassRefPtr<ErrorCallback> errorCallback, PassRefPtr<DirectoryReaderBase> directoryReader, const String& basePath)
150 , m_basePath(basePath)
  /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/webkit/Source/WebCore/platform/
AsyncFileSystem.cpp 56 void AsyncFileSystem::openFileSystem(const String& basePath, const String& storageIdentifier, Type type, bool, PassOwnPtr<AsyncFileSystemCallbacks> callbacks)
64 String rootPath = basePath;
AsyncFileSystem.h 72 static void openFileSystem(const String& basePath, const String& storageIdentifier, Type, bool create, PassOwnPtr<AsyncFileSystemCallbacks>);
  /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() + "}";
  /packages/apps/Email/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/webkit/Source/WebCore/platform/wx/
FileSystemWx.cpp 152 wxDirTraverserNonRecursive(wxString basePath, wxArrayString& files) : m_basePath(basePath), m_files(files) { }
  /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/webkit/Source/WebCore/page/
PageGroup.cpp 175 String basePath = "";
195 if (basePath.isEmpty())
196 basePath = p->settings()->localStorageDatabasePath();
227 if (!basePath.isEmpty()) {
228 Vector<String> files = listDirectory(basePath, "*.localstorage");
  /external/skia/tools/
skdiff_main.cpp 349 SkString basePath(baseDir);
359 basePath.append(*baseFiles[i]);
363 drp->fBase.fFullPath = basePath;
375 basePath.append(*comparisonFiles[j]);
379 drp->fBase.fFullPath = basePath;
391 basePath.append(*baseFiles[i]);
395 drp->fBase.fFullPath = basePath;
  /external/webkit/Tools/DumpRenderTree/mac/
ResourceLoadDelegate.mm 84 NSString *basePath = [[[[dataSource request] URL] path] stringByDeletingLastPathComponent];
86 return [[self path] substringFromIndex:[basePath length] + 1];
  /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));

Completed in 1325 milliseconds

1 2 3