Searched refs:path (Results 101 - 125 of 443) sorted by last modified time

1234567891011>>

/frameworks/compile/mclinker/lib/LD/
H A DGNUArchiveReader.cpp243 pArchiveFile.path(),
261 // get nested file path, the nested file's member name is the relative
262 // path to the archive containing it.
263 sys::fs::Path input_path(pArchiveFile.path().parent_path());
273 m_MemAreaFactory.produce(member->path(), FileHandle::ReadOnly);
278 error(diag::err_cannot_open_input) << member->name() << member->path();
/frameworks/compile/mclinker/lib/MC/
H A DMCLDDriver.cpp158 fatal(diag::err_unrecognized_input_file) << (*input)->path()
186 << (*input)->name() << (*input)->path();
228 // Bitcode is read by the other path. This function reads relocation sections
H A DSearchDirs.cpp61 if (file == entry.path()->stem().native() ) {
62 if(mcld::sys::fs::detail::shared_library_extension == entry.path()->extension().native()) {
63 return entry.path();
74 if (file == entry.path()->stem().native() &&
75 mcld::sys::fs::detail::static_library_extension == entry.path()->extension().native()) {
76 return entry.path();
/frameworks/compile/mclinker/lib/Support/
H A DDirectory.cpp166 Path* DirIterator::path() function in class:DirIterator
173 const Path* DirIterator::path() const function in class:DirIterator
239 const Path* x_path = path();
240 const Path* y_path = y.path();
H A DHandleToArea.cpp24 llvm::StringRef(pHandle->path().native().c_str(),
25 pHandle->path().native().size()));
38 return erase(pArea->handler()->path());
49 if (bucket->hash_value == hash_value && bucket->handle->path() == pPath) {
68 if (bucket->handle->path() == pPath) {
86 if (bucket->handle->path() == pPath) {
H A DSpace.cpp86 fatal(diag::err_cannot_read_small_file) << pHandler.path()
97 error(diag::err_cannot_read_file) << pHandler.path() << start << size;
114 fatal(diag::err_cannot_read_small_file) << pHandler.path()
124 error(diag::err_cannot_mmap_file) << pHandler.path() << start << size;
148 error(diag::err_cannot_munmap_file) << pHandler.path();
165 error(diag::err_cannot_write_file) << pHandler.path()
/frameworks/compile/mclinker/tools/llvm-mcld/
H A Dllvm-mcld.cpp265 cl::desc("Add path searchdir to the list of paths that ld will search for archive libraries and ld control scripts."),
270 ArgSearchDirListAlias("library-path",
678 if (exists(sd->path()) && is_directory(sd->path())) {
/frameworks/compile/mclinker/tools/mcld/lib/Core/
H A DLinker.cpp162 mcld::sys::fs::Path* path = NULL; local
163 // find out the real path of the namespec.
170 path = mLDInfo->options().directories().find(pNameSpec,
176 path = mLDInfo->options().directories().find(pNameSpec,
183 path = mLDInfo->options().directories().find(pNameSpec,
187 if (NULL == path)
190 mcld::Input* input = mLDInfo->inputFactory().produce(pNameSpec, *path,
196 return openFile(*path, kOpenNameSpec, *input);
/frameworks/compile/mclinker/tools/mcld/lib/Support/
H A DLinkerConfig.cpp171 if (exists(sd->path()) && is_directory(sd->path())) {
/frameworks/compile/mclinker/tools/mcld/
H A Dmain.cpp73 llvm::cl::desc("Add path searchdir to the list of paths that "
167 llvm::errs() << "Failed to determine the absolute path of `" << input_path
172 llvm::sys::path::remove_filename(output_path);
173 llvm::sys::path::append(output_path, "a.out");
206 // 3. If given, set up dynamic linker path.
/frameworks/compile/mclinker/unittests/
H A DDirIteratorTest.cpp57 if (0 != entry.path())
58 size = entry.path()->native().size();
H A DFileHandleTest.cpp48 mcld::sys::fs::Path path(TOPDIR);
49 path.append("unittests/test.txt");
50 ASSERT_TRUE(m_pTestee->open(path, FileHandle::ReadOnly));
64 mcld::sys::fs::Path path(TOPDIR);
65 path.append("unittests/test.txt");
67 int fd = ::open(path.native().c_str(), O_RDONLY);
88 mcld::sys::fs::Path path(TOPDIR);
89 path.append("unittests/test.txt");
90 ASSERT_TRUE(m_pTestee->open(path, FileHandle::ReadOnly));
H A DFragmentRefTest.cpp46 Path path(TOPDIR);
47 path.append("unittests/test3.txt");
49 MemoryArea* area = areaFactory->produce(path, FileHandle::ReadWrite);
H A DMCRegionFragmentTest.cpp46 Path path(TOPDIR);
47 path.append("unittests/test3.txt");
49 MemoryArea* area = areaFactory->produce(path, MemoryArea::ReadWrite);
61 Path path(TOPDIR);
62 path.append("unittests/test3.txt");
64 MemoryArea* area = areaFactory->produce(path, MemoryArea::ReadWrite);
H A DMemoryAreaTest.cpp50 Path path(TOPDIR);
51 path.append("unittests/test3.txt");
54 MemoryArea* area = AreaFactory->produce(path, FileHandle::ReadOnly);
65 Path path(TOPDIR);
66 path.append("unittests/test2.txt");
68 MemoryArea* area = AreaFactory->produce(path, FileHandle::ReadOnly);
80 area->handler()->open(path, FileHandle::ReadOnly);
93 Path path(TOPDIR) ;
94 path.append("unittests/test3.txt") ;
96 MemoryArea* area = AreaFactory->produce(path, FileHandl
[all...]
H A DReadStageTest.cpp53 mcld::sys::fs::Path path = TOPDIR; local
54 path.append("test/libs/ARM/Android/android-14");
55 m_pLinker->setSysRoot(path);
H A DTestLinkerTest.cpp47 mcld::sys::fs::Path path = TOPDIR; local
48 path.append("test/libs/ARM/Android/android-14");
49 m_pLinker->setSysRoot(path);
/frameworks/compile/mclinker/unittests/Linker/
H A DTestLinker.cpp128 if (exists(sd->path()) && is_directory(sd->path())) {
207 mcld::sys::fs::Path* path = NULL; local
208 // find out the real path of the namespec.
215 path = m_pInfo->options().directories().find(pNameSpec,
221 path = m_pInfo->options().directories().find(pNameSpec,
228 path = m_pInfo->options().directories().find(pNameSpec,
232 if (NULL == path) {
237 mcld::Input* input = m_pInfo->inputFactory().produce(pNameSpec, *path,
246 if (!handler->open(*path, mcl
[all...]
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/
H A DSimpleModelRS.java158 public void loadA3DFile(String path) { argument
159 FileA3D model = FileA3D.createFromFile(mRS, path);
161 initTextAllocation(path);
H A DSimpleModelView.java102 public void loadA3DFile(String path) { argument
103 mRender.loadA3DFile(path);
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/
H A DSceneManager.java128 public static boolean isSDCardPath(String path) { argument
129 int sdCardIndex = path.indexOf("sdcard/");
134 sdCardIndex = path.indexOf("mnt/sdcard/");
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/
H A DTestAppRS.java118 void loadModel(String path) { argument
121 mSceneManager.loadModel(path, mLoadedCallback);
/frameworks/base/tools/aapt/
H A DAaptAssets.cpp35 * Pass in just the filename, not the full path.
48 return false; // reject path sep chars
65 static bool isHidden(const char *root, const char *path) argument
80 if (strcmp(path, ".") == 0 || strcmp(path, "..") == 0) {
99 fullPath.appendPath(path);
102 int plen = strlen(path);
127 ignore = strncasecmp(token, path + plen - n, n) == 0;
131 ignore = strncasecmp(token, path, n - 1) == 0;
133 ignore = strcasecmp(token, path)
1705 makeDir(const String8& path) argument
2046 addResource(const String8& leafName, const String8& path, const sp<AaptFile>& file, const String8& resType) argument
[all...]
H A DAaptAssets.h197 // a full path to a file on the filesystem that holds its data.
226 AaptGroup(const String8& leaf, const String8& path) argument
227 : mLeaf(leaf), mPath(path) { }
232 // Returns the relative path after the AaptGroupEntry dirs.
259 AaptDir(const String8& leaf, const String8& path) argument
260 : mLeaf(leaf), mPath(path) { }
549 const String8& path,
H A DCacheUpdater.h30 // Make sure all the directories along this path exist
31 virtual void ensureDirectoriesExist(String8 path) = 0;
34 virtual void deleteFile(String8 path) = 0;
52 // Make sure all the directories along this path exist
53 virtual void ensureDirectoriesExist(String8 path) argument
55 // Check to see if we're dealing with a fully qualified path
62 // If something in the path doesn't exist, then walk the path backwards
64 if (stat(path.string(),&s) == -1) {
66 existsPath = path;
89 deleteFile(String8 path) argument
[all...]

Completed in 163 milliseconds

1234567891011>>