Home
last modified time | relevance | path

Searched refs:CheckFunctionAndThrow (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/foundation/communication/nfc/frameworks/js/napi/tag/
H A Dnfc_napi_foreground_dispatch.cpp442 !CheckFunctionAndThrow(env, argv[ARGV_INDEX_2], "callback", "AsyncCallback<TagInfo>")) { in RegisterForegroundDispatch()
602 !CheckFunctionAndThrow(env, argv[ARGV_INDEX_3], "callback", "AsyncCallback<TagInfo>")) { in On()
637 … if (!CheckFunctionAndThrow(env, argv[ARGV_INDEX_2], "callback", "AsyncCallback<TagInfo>")) { in Off()
/ohos5.0/foundation/communication/nfc/frameworks/js/napi/common/
H A Dnfc_napi_common_utils.h218 bool CheckFunctionAndThrow(const napi_env &env, const napi_value &param, const std::string &argName,
H A Dnfc_napi_common_utils.cpp806 bool CheckFunctionAndThrow(const napi_env &env, const napi_value &param, const std::string &argName, in CheckFunctionAndThrow() function