Home
last modified time | relevance | path

Searched refs:rootPath (Results 1 – 25 of 29) sorted by relevance

12

/external/guava/guava-tests/test/com/google/common/collect/
DBstPathTest.java37 SimplePath rootPath = new SimplePath(root, null); in testTailAtRoot() local
38 assertFalse(rootPath.hasPrefix()); in testTailAtRoot()
39 assertNull(rootPath.prefixOrNull()); in testTailAtRoot()
41 rootPath.getPrefix(); in testTailAtRoot()
49 SimplePath rootPath = new SimplePath(root, null); in testTailDown() local
50 SimplePath nodePath = new SimplePath(node, rootPath); in testTailDown()
52 assertEquals(rootPath, nodePath.prefixOrNull()); in testTailDown()
53 assertEquals(rootPath, nodePath.getPrefix()); in testTailDown()
/external/webkit/Source/WebCore/platform/
DAsyncFileSystem.cpp64 String rootPath = basePath; in openFileSystem() local
65 rootPath.append(PlatformFilePathSeparator); in openFileSystem()
66 rootPath += storageIdentifier; in openFileSystem()
67 rootPath.append(PlatformFilePathSeparator); in openFileSystem()
68 rootPath += typeString; in openFileSystem()
69 rootPath.append(PlatformFilePathSeparator); in openFileSystem()
71 callbacks->didOpenFileSystem(name, AsyncFileSystem::create(type, rootPath)); in openFileSystem()
/external/webkit/Source/WebCore/html/
DFileInputType.cpp171 String rootPath = directoryName(paths[0]); in setFileList() local
173 while (!paths[i].startsWith(rootPath)) in setFileList()
174 rootPath = directoryName(rootPath); in setFileList()
176 rootPath = directoryName(rootPath); in setFileList()
177 ASSERT(rootPath.length()); in setFileList()
180 String relativePath = paths[i].substring(1 + rootPath.length()).replace('\\', '/'); in setFileList()
/external/jmonkeyengine/engine/src/android/com/jme3/asset/plugins/
DAndroidLocator.java14 private String rootPath = ""; field in AndroidLocator
64 public void setRootPath(String rootPath) { in setRootPath() argument
65 this.rootPath = rootPath; in setRootPath()
71 String assetPath = rootPath + key.getName(); in locate()
/external/jmonkeyengine/engine/src/core-plugins/com/jme3/asset/plugins/
DFileLocator.java47 public void setRootPath(String rootPath) { in setRootPath() argument
48 if (rootPath == null) in setRootPath()
52 root = new File(rootPath).getCanonicalFile(); in setRootPath()
DZipLocator.java70 public void setRootPath(String rootPath) { in setRootPath() argument
72 zipfile = new ZipFile(new File(rootPath), ZipFile.OPEN_READ); in setRootPath()
74 throw new AssetLoadException("Failed to open zip file: " + rootPath, ex); in setRootPath()
DUrlLocator.java57 public void setRootPath(String rootPath) { in setRootPath() argument
59 this.root = new URL(rootPath); in setRootPath()
DClasspathLocator.java55 public void setRootPath(String rootPath) { in setRootPath() argument
56 this.root = rootPath; in setRootPath()
DHttpZipLocator.java61 private String rootPath = ""; field in HttpZipLocator
339 if (!rootPath.equals(path)){
340 rootPath = path;
/external/webkit/Source/WebKit/chromium/src/
DAsyncFileSystemChromium.h49 static PassOwnPtr<AsyncFileSystem> create(AsyncFileSystem::Type type, const String& rootPath) in create() argument
51 return adoptPtr(new AsyncFileSystemChromium(type, rootPath)); in create()
69 AsyncFileSystemChromium(AsyncFileSystem::Type, const String& rootPath);
DWorkerAsyncFileSystemChromium.h55 …iptExecutionContext* context, AsyncFileSystem::Type type, const String& rootPath, bool synchronous) in create() argument
57 return adoptPtr(new WorkerAsyncFileSystemChromium(context, type, rootPath, synchronous)); in create()
78 …mChromium(ScriptExecutionContext*, AsyncFileSystem::Type, const String& rootPath, bool synchronous…
DAsyncFileSystemChromium.cpp53 AsyncFileSystemChromium::AsyncFileSystemChromium(AsyncFileSystem::Type type, const String& rootPath) in AsyncFileSystemChromium() argument
54 : AsyncFileSystem(type, rootPath) in AsyncFileSystemChromium()
148 virtual void didOpenFileSystem(const WebKit::WebString& name, const WebKit::WebString& rootPath) in didOpenFileSystem() argument
DWorkerFileSystemCallbacksBridge.cpp282 …Bridge::didOpenFileSystemOnMainThread(const String& name, const String& rootPath, const String& mo… in didOpenFileSystemOnMainThread() argument
284 …mayPostTaskToWorker(createCallbackTask(&didOpenFileSystemOnWorkerThread, this, name, rootPath), mo… in didOpenFileSystemOnMainThread()
321 …utionContext*, WorkerFileSystemCallbacksBridge* bridge, const String& name, const String& rootPath) in didOpenFileSystemOnWorkerThread() argument
323 bridge->m_callbacksOnWorkerThread->didOpenFileSystem(name, rootPath); in didOpenFileSystemOnWorkerThread()
DWorkerFileSystemCallbacksBridge.h101 …void didOpenFileSystemOnMainThread(const String& name, const String& rootPath, const String& mode);
126 …ptExecutionContext*, WorkerFileSystemCallbacksBridge*, const String& name, const String& rootPath);
DWorkerAsyncFileSystemChromium.cpp59 …iptExecutionContext* context, AsyncFileSystem::Type type, const String& rootPath, bool synchronous) in WorkerAsyncFileSystemChromium() argument
60 : AsyncFileSystem(type, rootPath) in WorkerAsyncFileSystemChromium()
DWebFileSystemCallbacksImpl.h60 virtual void didOpenFileSystem(const WebString& name, const WebString& rootPath);
/external/jmonkeyengine/engine/src/core/com/jme3/asset/
DAssetManager.java86 public void registerLocator(String rootPath, String locatorClassName); in registerLocator() argument
113 public void registerLocator(String rootPath, Class<? extends AssetLocator> locatorClass); in registerLocator() argument
123 public void unregisterLocator(String rootPath, Class<? extends AssetLocator> locatorClass); in unregisterLocator() argument
DImplHandler.java189 public void addLocator(final Class<?> locatorType, String rootPath){ in addLocator() argument
190 ImplThreadLocal local = new ImplThreadLocal(locatorType, rootPath); in addLocator()
196 public void removeLocator(final Class<?> locatorType, String rootPath){ in removeLocator() argument
201 if (locator.getPath().equals(rootPath) && in removeLocator()
DDesktopAssetManager.java146 public void registerLocator(String rootPath, Class<? extends AssetLocator> locatorClass){ in registerLocator() argument
147 handler.addLocator(locatorClass, rootPath); in registerLocator()
154 public void registerLocator(String rootPath, String clsName){ in registerLocator() argument
164 registerLocator(rootPath, clazz); in registerLocator()
168 public void unregisterLocator(String rootPath, Class<? extends AssetLocator> clazz){ in unregisterLocator() argument
169 handler.removeLocator(clazz, rootPath); in unregisterLocator()
DAssetConfig.java82 String rootPath = scan.next(); in loadText() local
85 manager.registerLocator(rootPath, locatorClass); in loadText()
DAssetLocator.java46 public void setRootPath(String rootPath); in setRootPath() argument
/external/eyes-free/AccessCheck/src/com/android/accessibility/
DAccessibilityValidator.java73 public AccessibilityValidator(String rootPath, String androidSdkPath) { in AccessibilityValidator() argument
74 mRootFilePath = new File(rootPath); in AccessibilityValidator()
79 + rootPath); in AccessibilityValidator()
/external/qemu/android/utils/
Ddirscanner.c151 dirScanner_new ( const char* rootPath ) in dirScanner_new() argument
157 p = bufprint(p, end, "%s", rootPath); in dirScanner_new()
Ddirscanner.h23 DirScanner* dirScanner_new ( const char* rootPath );
/external/webkit/Source/WebKit/chromium/public/
DWebFileSystemCallbacks.h61 virtual void didOpenFileSystem(const WebString& name, const WebString& rootPath) = 0;

12