Lines Matching refs:path
41 void addPath(const char* path) { in addPath() argument
42 mPaths.push_back(path); in addPath()
46 for (const auto& path: mPaths) { in forEachPath() local
47 func(path); in forEachPath()
101 sSearchPaths()->forEachPath([&lib, libraryName](const std::string& path) { in do_open() argument
103 auto libName = PathUtils::join(path, libraryName); in do_open()
189 char* path = NULL; in do_open() local
204 path = static_cast<char*>(malloc(pathLen)); in do_open()
205 snprintf(path, pathLen, "%s%s", libraryName, kDllExtension); in do_open()
206 libPath = path; in do_open()
224 sSearchPaths()->forEachPath([&lib, libraryName, libPath](const std::string& path) { in do_open() argument
226 auto libName = PathUtils::join(path, libraryName); in do_open()
233 auto libPathName = PathUtils::join(path, libPath); in do_open()
248 sSearchPaths()->forEachPath([&lib, libPath, libraryName](const std::string& path) { in do_open() argument
250 auto libPathName = PathUtils::join(path, libPath); in do_open()
257 if (path) { in do_open()
258 free(path); in do_open()
290 void SharedLibrary::addLibrarySearchPath(const char* path) { in addLibrarySearchPath() argument
291 sSearchPaths()->addPath(path); in addLibrarySearchPath()