Home
last modified time | relevance | path

Searched refs:origName (Results 1 – 2 of 2) sorted by relevance

/frameworks/rs/cpu_ref/
DrsCpuExecutable.cpp267 static void* loadAsCopy(const char *origName, std::string newName) { in loadAsCopy() argument
270 int fd = TEMP_FAILURE_RETRY(open(origName, O_RDONLY | O_CLOEXEC)); in loadAsCopy()
272 ALOGE("Unable to open original file %s: %s", origName, strerror(errno)); in loadAsCopy()
284 int r = copyFile(newName.c_str(), origName); in loadAsCopy()
286 ALOGE("Could not create copy %s -> %s", origName, newName.c_str()); in loadAsCopy()
298 void* SharedLibraryUtils::loadSOHelper(const char *origName, const char *cacheDir, in loadSOHelper() argument
312 if (access(origName, F_OK) != 0) { in loadSOHelper()
318 if (LoadedLibraries.find(origName) == LoadedLibraries.end()) { in loadSOHelper()
322 loaded = dlopen(origName, RTLD_NOW | RTLD_LOCAL); in loadSOHelper()
324 LoadedLibraries.insert(origName); in loadSOHelper()
[all …]
DrsCpuExecutable.h70 static void *loadSOHelper(const char *origName, const char *cacheDir,