Lines Matching refs:error_msg
97 bool* needs_native_bridge, char** error_msg) { in OpenNativeLibrary() argument
111 *error_msg = strdup(dlerror()); in OpenNativeLibrary()
118 *error_msg = strdup(dlerror()); in OpenNativeLibrary()
133 *error_msg = strdup(isolated_ns.error().message().c_str()); in OpenNativeLibrary()
140 return OpenNativeLibraryInNamespace(ns, path, needs_native_bridge, error_msg); in OpenNativeLibrary()
181 *error_msg = strdup(NativeBridgeGetError()); in OpenNativeLibrary()
183 *error_msg = strdup(dlerror()); in OpenNativeLibrary()
190 bool CloseNativeLibrary(void* handle, const bool needs_native_bridge, char** error_msg) { in CloseNativeLibrary() argument
195 *error_msg = strdup(NativeBridgeGetError()); in CloseNativeLibrary()
200 *error_msg = strdup(dlerror()); in CloseNativeLibrary()
214 bool* needs_native_bridge, char** error_msg) { in OpenNativeLibraryInNamespace() argument
216 if (!handle.ok() && error_msg != nullptr) { in OpenNativeLibraryInNamespace()
217 *error_msg = strdup(handle.error().message().c_str()); in OpenNativeLibraryInNamespace()