Searched refs:CheckNumberAndThrow (Results 1 – 5 of 5) sorted by relevance
/ohos5.0/foundation/communication/nfc/frameworks/js/napi/tag/ |
H A D | nfc_napi_tag_mifare_classic.cpp | 75 !CheckNumberAndThrow(env, argv[ARGV_INDEX_0], "sectorIndex", "number")) { in GetBlockCountInSector() 197 !CheckNumberAndThrow(env, argv[ARGV_INDEX_0], "sectorIndex", "number")) { in GetBlockIndex() 231 !CheckNumberAndThrow(env, argv[ARGV_INDEX_0], "sectorIndex", "number")) { in GetSectorIndex()
|
H A D | nfc_napi_tag_sesstion.cpp | 335 !CheckNumberAndThrow(env, argv[ARGV_INDEX_0], "timeout", "number")) { in SetTimeout()
|
H A D | nfc_napi_tag_ndef.cpp | 593 !CheckNumberAndThrow(env, argv[ARGV_INDEX_0], "type", "number")) { in GetNdefTagTypeString()
|
/ohos5.0/foundation/communication/nfc/frameworks/js/napi/common/ |
H A D | nfc_napi_common_utils.h | 212 bool CheckNumberAndThrow(const napi_env &env, const napi_value ¶m, const std::string &argName,
|
H A D | nfc_napi_common_utils.cpp | 775 bool CheckNumberAndThrow(const napi_env &env, const napi_value ¶m, const std::string &argName, in CheckNumberAndThrow() function
|