/base/print/print_fwk/frameworks/helper/src/ |
D | printer_capability_helper.cpp | 83 uint32_t arrayLength = 0; in BuildFromJs() local 84 napi_get_array_length(env, jsPageSizes, &arrayLength); in BuildFromJs() 85 for (uint32_t index = 0; index < arrayLength; index++) { in BuildFromJs() 116 uint32_t arrayLength = 0; in BuildFromJsSecond() local 117 napi_get_array_length(env, jsPageSizes, &arrayLength); in BuildFromJsSecond() 118 for (uint32_t index = 0; index < arrayLength; index++) { in BuildFromJsSecond()
|
D | print_range_helper.cpp | 92 uint32_t arrayLength = 0; in BuildFromJs() local 93 PRINT_CALL(env, napi_get_array_length(env, jsPages, &arrayLength)); in BuildFromJs() 94 for (uint32_t index = 0; index < arrayLength; index++) { in BuildFromJs()
|
/base/global/i18n/interfaces/js/kits/src/ |
D | variable_convertor.cpp | 113 uint32_t arrayLength = 0; in GetStringArrayFromJsParam() local 114 napi_get_array_length(env, jsArray, &arrayLength); in GetStringArrayFromJsParam() 117 for (uint32_t i = 0; i < arrayLength; ++i) { in GetStringArrayFromJsParam()
|
D | intl_addon.cpp | 394 uint32_t arrayLength = 0; in DateTimeFormatConstructor() local 395 napi_get_array_length(env, argv[0], &arrayLength); in DateTimeFormatConstructor() 397 for (uint32_t i = 0; i < arrayLength; i++) { in DateTimeFormatConstructor() 457 uint32_t arrayLength = 0; in RelativeTimeFormatConstructor() local 458 napi_get_array_length(env, argv[0], &arrayLength); in RelativeTimeFormatConstructor() 460 for (uint32_t i = 0; i < arrayLength; i++) { in RelativeTimeFormatConstructor() 597 uint32_t arrayLength = 0; in NumberFormatConstructor() local 598 napi_get_array_length(env, argv[0], &arrayLength); in NumberFormatConstructor() 600 for (uint32_t i = 0; i < arrayLength; i++) { in NumberFormatConstructor() 1359 uint32_t arrayLength = 0; in CollatorConstructor() local [all …]
|
/base/msdp/device_status/tools/vdev/src/ |
D | v_input_device.cpp | 182 std::size_t arrayLength, uint8_t *whichBitMask) const in GetEventMask() argument 184 int32_t rc = ioctl(fd_, EVIOCGBIT(type, arrayLength), whichBitMask); in GetEventMask() 190 void VInputDevice::GetPropMask(const std::string &eventName, std::size_t arrayLength, uint8_t *whic… in GetPropMask() argument 192 int32_t rc = ioctl(fd_, EVIOCGPROP(arrayLength), whichBitMask); in GetPropMask()
|
/base/msdp/device_status/tools/vdev/include/ |
D | v_input_device.h | 104 void GetEventMask(const std::string &eventName, uint32_t type, std::size_t arrayLength, 106 …void GetPropMask(const std::string &eventName, std::size_t arrayLength, uint8_t *whichBitMask) con…
|
/base/location/frameworks/native/source/ |
D | napi_util.cpp | 428 uint32_t arrayLength = 0; in GetStringArrayFromJsObj() local 429 NAPI_CALL_BASE(env, napi_get_array_length(env, value, &arrayLength), false); in GetStringArrayFromJsObj() 430 if (arrayLength == 0) { in GetStringArrayFromJsObj() 434 for (size_t i = 0; i < arrayLength; i++) { in GetStringArrayFromJsObj() 514 uint32_t arrayLength = 0; in JsObjToRevGeocodeMock() local 515 NAPI_CALL_BASE(env, napi_get_array_length(env, object, &arrayLength), false); in JsObjToRevGeocodeMock() 516 if (arrayLength == 0) { in JsObjToRevGeocodeMock() 520 for (size_t i = 0; i < arrayLength; i++) { in JsObjToRevGeocodeMock() 537 uint32_t arrayLength = 0; in GetLocationArray() local 538 NAPI_CALL_RETURN_VOID(env, napi_get_array_length(env, object, &arrayLength)); in GetLocationArray() [all …]
|
/base/telephony/sms_mms/frameworks/js/napi/src/ |
D | napi_mms.cpp | 630 uint32_t arrayLength = 0; in ParseDecodeMmsParam() local 631 napi_get_array_length(env, object, &arrayLength); in ParseDecodeMmsParam() 632 if (arrayLength > MAX_MMS_MSG_PART_LEN) { in ParseDecodeMmsParam() 636 context.inLen = arrayLength; in ParseDecodeMmsParam() 637 TELEPHONY_LOGI("napi_mms ParseDecodeMmsParam arrayLength = %{public}d", arrayLength); in ParseDecodeMmsParam() 638 context.inBuffer = std::make_unique<char[]>(arrayLength); in ParseDecodeMmsParam() 643 for (uint32_t i = 0; i < arrayLength; i++) { in ParseDecodeMmsParam() 865 uint32_t arrayLength = 0; in ReadMmsAddress() local 866 napi_get_array_length(env, value, &arrayLength); in ReadMmsAddress() 868 for (uint32_t i = 0; i < arrayLength; i++) { in ReadMmsAddress() [all …]
|
D | napi_sms.cpp | 157 uint16_t arrayLength = static_cast<uint16_t>(parameter.rawDataContent.size()); in ActuallySendDataMessage() local 160 arrayLength, sendCallback.release(), deliveryCallback.release()); in ActuallySendDataMessage() 526 uint32_t arrayLength = 0; in CreateMessage() local 527 napi_get_array_length(env, parameters[0], &arrayLength); in CreateMessage() 530 for (uint32_t i = 0; i < arrayLength; i++) { in CreateMessage()
|
/base/customization/enterprise_device_management/interfaces/kits/common/src/ |
D | napi_edm_common.cpp | 176 uint32_t arrayLength = 0; in ParseStringArray() local 177 NAPI_CALL(env, napi_get_array_length(env, args, &arrayLength)); in ParseStringArray() 178 EDMLOGD("length=%{public}ud", arrayLength); in ParseStringArray() 179 for (uint32_t j = 0; j < arrayLength; j++) { in ParseStringArray()
|
/base/customization/enterprise_device_management/interfaces/kits/wifi_manager/src/ |
D | wifi_manager_addon.cpp | 355 uint32_t arrayLength = 0; in ConfigStaticIp() local 357 napi_get_array_length(env, dnsServers, &arrayLength); in ConfigStaticIp() 358 if (arrayLength != DNS_NUM) { in ConfigStaticIp()
|
/base/sensors/sensor/interfaces/plugin/src/ |
D | sensor_napi_utils.cpp | 56 uint32_t arrayLength = 0; in GetFloatArray() local 57 CHKNRF(env, napi_get_array_length(env, value, &arrayLength), "napi_get_array_length"); in GetFloatArray() 58 for (size_t i = 0; i < arrayLength; ++i) { in GetFloatArray()
|
/base/web/webview/interfaces/kits/napi/webviewcontroller/ |
D | napi_webview_controller.cpp | 71 uint32_t arrayLength = 0; in GetArrayValueType() local 72 napi_get_array_length(env, argv[INTEGER_ZERO], &arrayLength); in GetArrayValueType() 75 for (uint32_t i = 0; i < arrayLength; ++i) { in GetArrayValueType() 2202 uint32_t arrayLength = INTEGER_ZERO; in LoadUrlWithHttpHeaders() local 2203 napi_get_array_length(env, array, &arrayLength); in LoadUrlWithHttpHeaders() 2204 for (uint32_t i = 0; i < arrayLength; ++i) { in LoadUrlWithHttpHeaders() 3247 uint32_t arrayLength = INTEGER_ZERO; in CustomizeSchemes() local 3248 napi_get_array_length(env, array, &arrayLength); in CustomizeSchemes() 3249 if (arrayLength > MAX_CUSTOM_SCHEME_SIZE) { in CustomizeSchemes() 3253 for (uint32_t i = 0; i < arrayLength; ++i) { in CustomizeSchemes() [all …]
|
/base/telephony/call_manager/frameworks/js/napi/src/ |
D | napi_call_manager.cpp | 2670 uint32_t arrayLength = 0; in JoinConference() local 2671 NAPI_CALL(env, napi_get_array_length(env, argv[ARRAY_INDEX_SECOND], &arrayLength)); in JoinConference() 2672 …iCallManagerUtils::MatchValueType(env, argv[ARRAY_INDEX_FIRST], napi_number) || arrayLength == 0) { in JoinConference() 2691 for (uint32_t i = 0; i < arrayLength; i++) { in JoinConference() 2742 uint32_t arrayLength = 0; in ReportOttCallDetailsInfo() local 2743 NAPI_CALL(env, napi_get_array_length(env, argv[ARRAY_INDEX_FIRST], &arrayLength)); in ReportOttCallDetailsInfo() 2744 NAPI_ASSERT(env, arrayLength > 0, "Parameter cannot be empty"); in ReportOttCallDetailsInfo() 2757 for (uint32_t i = 0; i < arrayLength; i++) { in ReportOttCallDetailsInfo()
|