Searched refs:CheckFunctionAndThrow (Results 1 – 3 of 3) sorted by relevance
/ohos5.0/foundation/communication/nfc/frameworks/js/napi/tag/ |
H A D | nfc_napi_foreground_dispatch.cpp | 442 !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 D | nfc_napi_common_utils.h | 218 bool CheckFunctionAndThrow(const napi_env &env, const napi_value ¶m, const std::string &argName,
|
H A D | nfc_napi_common_utils.cpp | 806 bool CheckFunctionAndThrow(const napi_env &env, const napi_value ¶m, const std::string &argName, in CheckFunctionAndThrow() function
|