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

1 2

  /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 424 String basePath = null;
432 basePath = getFilesDir().getCanonicalPath();
434 basePath = getDatabasePath("foo").getParentFile().getCanonicalPath();
436 basePath = new File(getApplicationInfo().dataDir).getCanonicalPath();
438 basePath = getSharedPrefsFile("foo").getParentFile().getCanonicalPath();
440 basePath = getCacheDir().getCanonicalPath();
447 if (basePath != null) {
448 File outFile = new File(basePath, path);
  /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/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");
  /build/tools/droiddoc/templates-pdk/assets/
android-developer-docs.js 188 var basePath = getBaseUri(location.pathname);
189 var section = basePath.substring(1,basePath.indexOf("/",1));
206 var basePath = getBaseUri(location.pathname);
207 var section = basePath.substring(1,basePath.indexOf("/",1));
  /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 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...]
  /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);
  /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...]

Completed in 988 milliseconds

1 2