Searched refs:CheckArgCountAndThrow (Results 1 – 10 of 10) sorted by relevance
/ohos5.0/foundation/communication/nfc/frameworks/js/napi/tag/ |
H A D | nfc_napi_ndef_message.cpp | 62 if (!CheckArgCountAndThrow(env, argc, ARGV_NUM_1) || in MakeUriRecord() 84 if (!CheckArgCountAndThrow(env, argc, ARGV_NUM_2) || in MakeTextRecord() 108 if (!CheckArgCountAndThrow(env, argc, ARGV_NUM_2) || in MakeMimeRecord() 136 if (!CheckArgCountAndThrow(env, argc, ARGV_NUM_3) || in MakeExternalRecord() 166 if (!CheckArgCountAndThrow(env, argc, ARGV_NUM_1) || in MessageToBytes()
|
H A D | nfc_napi_foreground_dispatch.cpp | 438 if (!CheckArgCountAndThrow(env, argc, ARGV_NUM_3) || in RegisterForegroundDispatch() 459 if (!CheckArgCountAndThrow(env, argc, ARGV_NUM_1) || in UnregisterForegroundDispatch() 596 if (!CheckArgCountAndThrow(env, argc, ARGV_NUM_4) || in On()
|
H A D | nfc_napi_tag_mifare_classic.cpp | 74 if (!CheckArgCountAndThrow(env, argc, expectedArgsCount) || in GetBlockCountInSector() 196 if (!CheckArgCountAndThrow(env, argc, expectedArgsCount) || in GetBlockIndex() 230 if (!CheckArgCountAndThrow(env, argc, expectedArgsCount) || in GetSectorIndex()
|
H A D | nfc_napi_tag.cpp | 391 if (!CheckArgCountAndThrow(env, argc, ARGV_NUM_1)) { in JS_Constructor() 888 if (!CheckArgCountAndThrow(env, argc, ARGV_NUM_1) || in GetTagInfo()
|
H A D | nfc_napi_tag_sesstion.cpp | 334 if (!CheckArgCountAndThrow(env, argc, ARGV_NUM_1) || in SetTimeout()
|
H A D | nfc_napi_tag_ndef.cpp | 592 if (!CheckArgCountAndThrow(env, argc, expectedArgsCount) || in GetNdefTagTypeString()
|
/ohos5.0/foundation/communication/nfc/frameworks/js/napi/cardEmulation/ |
H A D | nfc_napi_cardEmulation_adapter.cpp | 38 … if (!CheckArgCountAndThrow(env, argc, ARGV_NUM_1) || !ParseInt32(env, type, argv[ARGV_INDEX_0])) { in IsSupported() 66 …if (!CheckArgCountAndThrow(env, argc, ARGV_NUM_2) || !ParseElementName(env, element, argv[ARGV_IND… in IsDefaultService()
|
H A D | nfc_napi_hce_adapter.cpp | 474 if (!CheckArgCountAndThrow(env, argc, ARGV_NUM_1) || in StopHce() 497 …if (!CheckArgCountAndThrow(env, argc, ARGV_NUM_2) || !ParseElementName(env, element, argv[ARGV_IND… in StartHCE()
|
/ohos5.0/foundation/communication/nfc/frameworks/js/napi/common/ |
H A D | nfc_napi_common_utils.h | 220 bool CheckArgCountAndThrow(const napi_env &env, int argCount, int expCount);
|
H A D | nfc_napi_common_utils.cpp | 817 bool CheckArgCountAndThrow(const napi_env &env, int argCount, int expCount) in CheckArgCountAndThrow() function
|