Home
last modified time | relevance | path

Searched refs:cName (Results 1 – 4 of 4) sorted by relevance

/expo/packages/expo-modules-core/android/src/main/cpp/
H A DExpoModulesHostObject.cpp30 auto cName = name.utf8(runtime); in get() local
32 if (!installer->hasModule(cName)) { in get()
33 modulesCache.erase(cName); in get()
36 if (UniqueJSIObject &cachedObject = modulesCache[cName]) { in get()
42 [this, cName](jsi::Runtime &rt) { in get()
43 auto module = installer->getModule(cName); in get()
49 modulesCache[cName] = std::make_unique<jsi::Object>( in get()
52 return jsi::Value(runtime, *modulesCache[cName]); in get()
H A DJavaScriptModuleObject.cpp257 std::string cName = name->toStdString(); in registerSyncFunction() local
260 cName, in registerSyncFunction()
261 cName, in registerSyncFunction()
277 std::string cName = name->toStdString(); in registerAsyncFunction() local
280 cName, in registerAsyncFunction()
281 cName, in registerAsyncFunction()
298 std::string cName = name->toStdString(); in registerClass() local
311 cName, in registerClass()
331 auto cName = name->toStdString(); in registerProperty() local
334 cName, in registerProperty()
[all …]
H A DJavaScriptObject.h118 auto cName = name->toStdString(); in setProperty() local
121 cName.c_str(), in setProperty()
133 auto cName = name->toStdString(); in defineProperty() local
136 …common::definePropertyOnJSIObject(jsRuntime, jsObject.get(), cName.c_str(), std::move(descriptor)); in defineProperty()
H A DJavaScriptObject.cpp129 auto cName = name->toStdString(); in unsetProperty() local
132 cName.c_str(), in unsetProperty()