/ohos5.0/foundation/communication/nfc/frameworks/js/napi/tag/ |
H A D | nfc_napi_tag_ndef.cpp | 127 size_t argc = ARGV_NUM_1; in CreateNdefMessage() 128 napi_value argv[ARGV_NUM_1] = {0}; in CreateNdefMessage() 132 if (argc != ARGV_NUM_1) { in CreateNdefMessage() 300 if (parameterCount == ARGV_NUM_1) { in CheckReadNdefParameters() 370 size_t paramsCount = ARGV_NUM_1; in ReadNdef() 387 if (paramsCount == ARGV_NUM_1) { in ReadNdef() 398 if (parameterCount == ARGV_NUM_1) { in CheckWriteNdefParameters() 513 if (parameterCount == ARGV_NUM_1) { in CheckSetReadOnlyParameters() 555 size_t paramsCount = ARGV_NUM_1; in SetReadOnly() 574 if (paramsCount == ARGV_NUM_1) { in SetReadOnly() [all …]
|
H A D | nfc_napi_ndef_message.cpp | 26 napi_value argv[ARGV_NUM_1] = {0}; in GetNdefRecords() 57 std::size_t argc = ARGV_NUM_1; in MakeUriRecord() 58 napi_value argv[ARGV_NUM_1] = {0}; in MakeUriRecord() 62 if (!CheckArgCountAndThrow(env, argc, ARGV_NUM_1) || in MakeUriRecord() 161 std::size_t argc = ARGV_NUM_1; in MessageToBytes() 162 napi_value argv[ARGV_NUM_1] = {0}; in MessageToBytes() 166 if (!CheckArgCountAndThrow(env, argc, ARGV_NUM_1) || in MessageToBytes()
|
H A D | nfc_napi_tag_isodep.cpp | 83 if (parameterCount == ARGV_NUM_1) { in CheckExtendedApduSupportedParameters() 87 } else if (parameterCount > ARGV_NUM_1) { in CheckExtendedApduSupportedParameters() 132 size_t paramsCount = ARGV_NUM_1; in IsExtendedApduSupported() 133 napi_value params[ARGV_NUM_1] = {0}; in IsExtendedApduSupported() 149 if (paramsCount == ARGV_NUM_1) { in IsExtendedApduSupported()
|
H A D | nfc_napi_tag_sesstion.cpp | 117 size_t argc = ARGV_NUM_1; in SetSendDataTimeout() 118 napi_value argv[ARGV_NUM_1] = {0}; in SetSendDataTimeout() 182 case ARGV_NUM_1: { in MatchSendDataParameters() 326 size_t argc = ARGV_NUM_1; in SetTimeout() 327 napi_value argv[ARGV_NUM_1] = {0}; in SetTimeout() 334 if (!CheckArgCountAndThrow(env, argc, ARGV_NUM_1) || in SetTimeout() 388 if (parameterCount == ARGV_NUM_1) { in CheckTransmitParametersAndThrow()
|
H A D | nfc_napi_tag_mifare_classic.cpp | 67 size_t expectedArgsCount = ARGV_NUM_1; in GetBlockCountInSector() 69 napi_value argv[ARGV_NUM_1] = {0}; in GetBlockCountInSector() 189 size_t expectedArgsCount = ARGV_NUM_1; in GetBlockIndex() 191 napi_value argv[ARGV_NUM_1] = {0}; in GetBlockIndex() 223 size_t expectedArgsCount = ARGV_NUM_1; in GetSectorIndex() 225 napi_value argv[ARGV_NUM_1] = {0}; in GetSectorIndex() 344 if (parameterCount == ARGV_NUM_1) { in CheckParameters() 430 !CheckArrayNumberAndThrow(env, parameters[ARGV_NUM_1], "data", "number[]")) { in CheckWriteSingleBlockParameters() 437 !CheckArrayNumberAndThrow(env, parameters[ARGV_NUM_1], "data", "number[]")) { in CheckWriteSingleBlockParameters()
|
H A D | nfc_napi_tag_mifare_ul.cpp | 37 if (parameterCount == ARGV_NUM_1) { in CheckReadMultiplePagesParameters() 122 !CheckArrayNumberAndThrow(env, parameters[ARGV_NUM_1], "data", "number[]")) { in CheckWriteSinglePagesParameters() 129 !CheckArrayNumberAndThrow(env, parameters[ARGV_NUM_1], "data", "number[]")) { in CheckWriteSinglePagesParameters()
|
H A D | nfc_napi_tag.cpp | 385 size_t argc = ARGV_NUM_1; in JS_Constructor() 386 napi_value argv[ARGV_NUM_1] = {0}; in JS_Constructor() 391 if (!CheckArgCountAndThrow(env, argc, ARGV_NUM_1)) { in JS_Constructor() 681 std::size_t argc = ARGV_NUM_1; in GetSpecificTagObj() 682 napi_value argv[ARGV_NUM_1] = {0}; in GetSpecificTagObj() 885 std::size_t argc = ARGV_NUM_1; in GetTagInfo() 886 napi_value argv[ARGV_NUM_1] = {nullptr}; in GetTagInfo() 888 if (!CheckArgCountAndThrow(env, argc, ARGV_NUM_1) || in GetTagInfo()
|
H A D | nfc_napi_foreground_dispatch.cpp | 454 size_t argc = ARGV_NUM_1; in UnregisterForegroundDispatch() 455 napi_value argv[ARGV_NUM_1] = {0}; in UnregisterForegroundDispatch() 459 if (!CheckArgCountAndThrow(env, argc, ARGV_NUM_1) || in UnregisterForegroundDispatch()
|
H A D | nfc_napi_tag_ndef_formatable.cpp | 38 if (parameterCount == ARGV_NUM_1) { in CheckFormatParameters()
|
/ohos5.0/foundation/communication/nfc/frameworks/js/napi/cardEmulation/ |
H A D | nfc_napi_cardEmulation_adapter.cpp | 33 size_t argc = ARGV_NUM_1; in IsSupported() 34 napi_value argv[ARGV_NUM_1] = {0}; in IsSupported() 38 … if (!CheckArgCountAndThrow(env, argc, ARGV_NUM_1) || !ParseInt32(env, type, argv[ARGV_INDEX_0])) { in IsSupported()
|
H A D | nfc_napi_hce_adapter.cpp | 165 if (parameterCount == ARGV_NUM_1) { in CheckTransmitParametersAndThrow() 469 size_t argc = ARGV_NUM_1; in StopHce() 470 napi_value argv[ARGV_NUM_1] = {0}; in StopHce() 474 if (!CheckArgCountAndThrow(env, argc, ARGV_NUM_1) || in StopHce()
|
/ohos5.0/foundation/communication/netmanager_base/frameworks/js/napi/netpolicy/src/ |
H A D | napi_net_policy.cpp | 348 case ARGV_NUM_1: in MatchGetNetQuotaPoliciesInputParam() 404 size_t paramsCount = ARGV_NUM_1; in GetNetQuotaPolicies() 405 napi_value params[ARGV_NUM_1] = {0}; in GetNetQuotaPolicies() 414 if (paramsCount == ARGV_NUM_1) { in GetNetQuotaPolicies() 577 if (argc == ARGV_NUM_1) { in SetBackgroundPolicy() 601 size_t argc = ARGV_NUM_1; in GetBackgroundPolicy() 680 if (argc == ARGV_NUM_1) { in GetPolicyByUid() 712 if (argc == ARGV_NUM_1) { in GetUidsByPolicy() 759 if (argc == ARGV_NUM_1) { // promise call in SetNetQuotaPolicies()
|
/ohos5.0/foundation/communication/netmanager_base/frameworks/js/napi/common/ |
H A D | napi_common.h | 44 ARGV_NUM_1, enumerator
|
/ohos5.0/foundation/communication/nfc/frameworks/js/napi/common/ |
H A D | nfc_napi_common_utils.h | 57 ARGV_NUM_1 = 1, enumerator
|