Searched refs:LoadFunction (Results 1 – 5 of 5) sorted by relevance
/ohos5.0/foundation/ai/neural_network_runtime/example/deep_learning_framework/tflite/nnrt/ |
H A D | nnrt_implementation.cpp | 29 void LoadFunction(void* handle, const char* name, T* nnrtFunction) in LoadFunction() function 63 LoadFunction(libNeuralNetworks, "OH_NNModel_Construct", &nnrt.OH_NNModel_Construct); in LoadNnrt() 64 LoadFunction(libNeuralNetworks, "OH_NNModel_AddTensor", &nnrt.OH_NNModel_AddTensor); in LoadNnrt() 68 LoadFunction(libNeuralNetworks, "OH_NNModel_Finish", &nnrt.OH_NNModel_Finish); in LoadNnrt() 69 LoadFunction(libNeuralNetworks, "OH_NNModel_Destroy", &nnrt.OH_NNModel_Destroy); in LoadNnrt() 79 LoadFunction(libNeuralNetworks, "OH_NNCompilation_Build", &nnrt.OH_NNCompilation_Build); in LoadNnrt() 84 LoadFunction(libNeuralNetworks, "OH_NNExecutor_SetInput", &nnrt.OH_NNExecutor_SetInput); in LoadNnrt() 87 LoadFunction(libNeuralNetworks, "OH_NNExecutor_Run", &nnrt.OH_NNExecutor_Run); in LoadNnrt() 94 LoadFunction(libNeuralNetworks, "OH_NNExecutor_Destroy", &nnrt.OH_NNExecutor_Destroy); in LoadNnrt() 98 LoadFunction(libNeuralNetworks, "OH_NNDevice_GetName", &nnrt.OH_NNDevice_GetName); in LoadNnrt() [all …]
|
/ohos5.0/foundation/ai/neural_network_runtime/frameworks/native/neural_network_core/ |
H A D | nnrt_client.cpp | 26 void LoadFunction(void* handle, const char* name, T* nnrtFunction) in LoadFunction() function 60 LoadFunction(libNNRtService, "CheckModelSizeFromPath", &nnrtService.CheckModelSizeFromPath); in GetInstance() 62 LoadFunction(libNNRtService, "CheckModelSizeFromModel", &nnrtService.CheckModelSizeFromModel); in GetInstance() 63 LoadFunction(libNNRtService, "GetNNRtModelIDFromPath", &nnrtService.GetNNRtModelIDFromPath); in GetInstance() 64 LoadFunction(libNNRtService, "GetNNRtModelIDFromCache", &nnrtService.GetNNRtModelIDFromCache); in GetInstance() 67 LoadFunction(libNNRtService, "SetModelID", &nnrtService.SetModelID); in GetInstance() 69 LoadFunction(libNNRtService, "IsSupportScheduling", &nnrtService.IsSupportScheduling); in GetInstance() 70 LoadFunction(libNNRtService, "Authentication", &nnrtService.Authentication); in GetInstance() 71 LoadFunction(libNNRtService, "Scheduling", &nnrtService.Scheduling); in GetInstance() 72 LoadFunction(libNNRtService, "UpdateModelLatency", &nnrtService.UpdateModelLatency); in GetInstance() [all …]
|
/ohos5.0/base/web/webview/interfaces/native/ |
H A D | arkweb_interface.cpp | 70 static void LoadFunction(const char* functionName, Fn* fnOut) in LoadFunction() function 97 #define ARKWEB_NATIVE_LOAD_FN_PTR(fn, ndkFn) LoadFunction(#ndkFn, &(g_ComponentImpl->fn)) in LoadComponentAPI() 121 #define ARKWEB_NATIVE_LOAD_FN_PTR(fn, ndkFn) LoadFunction(#ndkFn, &(g_ControllerImpl->fn)) in LoadControllerAPI() 145 #define ARKWEB_NATIVE_LOAD_FN_PTR(fn, ndkFn) LoadFunction(#ndkFn, &(g_WebMessagePortImpl->fn)) in LoadWebMessagePortAPI() 169 #define ARKWEB_NATIVE_LOAD_FN_PTR(fn, ndkFn) LoadFunction(#ndkFn, &(g_WebMessageImpl->fn)) in LoadWebMessageAPI() 194 #define ARKWEB_NATIVE_LOAD_FN_PTR(fn, ndkFn) LoadFunction(#ndkFn, &(g_CookieManagerImpl->fn)) in LoadCookieManagerAPI()
|
H A D | arkweb_scheme_handler.cpp | 101 void LoadFunction(const char* functionName, Fn* fnOut) in LoadFunction() function 116 #define LOAD_FN_PTR(fn) LoadFunction(#fn, &api->impl_##fn) in LoadSchemeHandlerApi()
|
/ohos5.0/base/web/webview/ohos_nweb/src/ |
H A D | nweb_helper.cpp | 103 void LoadFunction(const char* functionName, Fn* fnOut) in LoadFunction() function 118 #define LOAD_FN_PTR(fn) LoadFunction(#fn, &api->impl_##fn) in LoadNWebCApi()
|