Lines Matching refs:name
52 Result<NativeLoaderNamespace> NativeLoaderNamespace::GetExportedNamespace(const std::string& name, in GetExportedNamespace() argument
55 auto raw = android_get_exported_namespace(name.c_str()); in GetExportedNamespace()
57 return NativeLoaderNamespace(name, raw); in GetExportedNamespace()
60 auto raw = NativeBridgeGetExportedNamespace(name.c_str()); in GetExportedNamespace()
62 return NativeLoaderNamespace(name, raw); in GetExportedNamespace()
65 return Errorf("namespace {} does not exist or exported", name); in GetExportedNamespace()
88 const std::string& name, const std::string& search_paths, const std::string& permitted_paths, in Create() argument
125 android_create_namespace(name.c_str(), nullptr, search_paths.c_str(), type, in Create()
128 return NativeLoaderNamespace(name, raw); in Create()
132 name.c_str(), nullptr, search_paths.c_str(), type, permitted_paths.c_str(), in Create()
135 return NativeLoaderNamespace(name, raw); in Create()
139 is_bridged ? "bridged" : "native", name, search_paths, permitted_paths); in Create()
145 this->name().c_str(), target.name().c_str()); in Link()