Searched refs:napi_create_array_with_length (Results 1 – 14 of 14) sorted by relevance
/base/powermgr/battery_statistics/frameworks/js/napi/src/ |
D | async_callback_info.cpp | 79 if (napi_ok != napi_create_array_with_length(env, statsInfos_.size(), &arrRes)) { in CreateArrayValue()
|
/base/theme/wallpaper_mgr/interfaces/kits/napi/ |
D | wallpaper_js_util.cpp | 53 napi_status status = napi_create_array_with_length(env, color.size(), &result); in Convert2JSRgbaArray()
|
/base/request/request/upload/interfaces/kits/napi/src/ |
D | js_util.cpp | 127 napi_create_array_with_length(env, cStrings.size(), &jsStrings); in Convert2JSStringVector() 139 napi_create_array_with_length(env, cInts.size(), &jsInts); in Convert2JSValue() 161 napi_create_array_with_length(env, taskStates.size(), &jsTaskStates); in Convert2JSValue() 486 napi_create_array_with_length(env, files.size(), &jsFiles); in Convert2JSFileVector() 542 napi_create_array_with_length(env, requestDatas.size(), &jsRequestDatas); in Convert2JSRequestDataVector()
|
/base/hiviewdfx/hisysevent/interfaces/js/kits/napi/src/ |
D | napi_hisysevent_querier.cpp | 58 napi_create_array_with_length(env, sysEvents.size(), &sysEventInfoJsArray); in OnQuery()
|
D | napi_hisysevent_util.cpp | 578 napi_create_array_with_length(env, len, &array); in AppendArrayParams()
|
/base/location/frameworks/native/source/ |
D | napi_util.cpp | 52 … napi_create_array_with_length(env, statusInfo->GetSatellitesNumber(), &satelliteIdsArray)); in SatelliteStatusToJs() 54 napi_create_array_with_length(env, statusInfo->GetSatellitesNumber(), &cn0Array)); in SatelliteStatusToJs() 56 napi_create_array_with_length(env, statusInfo->GetSatellitesNumber(), &altitudesArray)); in SatelliteStatusToJs() 58 napi_create_array_with_length(env, statusInfo->GetSatellitesNumber(), &azimuthsArray)); in SatelliteStatusToJs() 60 … napi_create_array_with_length(env, statusInfo->GetSatellitesNumber(), &carrierFrequenciesArray)); in SatelliteStatusToJs() 163 … napi_create_array_with_length(env, geoAddress->m_descriptionsSize, &descriptionArray), false); in GeoAddressesToJsObj()
|
/base/update/updateservice/frameworks/js/napi/base/src/ |
D | client_helper.cpp | 135 napi_create_array_with_length(env, validComponentCount, &obj); in BuildComponentDescriptions() 158 napi_create_array_with_length(env, validComponentCount, &napiVersionComponents); in BuildVersionComponents() 219 napi_create_array_with_length(env, validErrorMsgCount, &napiErrorMessages); in BuildErrorMessages() 337 status = napi_create_array_with_length(env, count, &autoUpgradePeriods); in BuildUpgradePolicy()
|
/base/customization/config_policy/interfaces/kits/js/src/ |
D | config_policy_napi.cpp | 232 NAPI_CALL(env, napi_create_array_with_length(env, context.paths_.size(), &result)); in CreateArraysValueFunc()
|
/base/location/frameworks/js/napi/source/ |
D | location_napi_adapter.cpp | 333 … napi_create_array_with_length(context->env, context->replyList.size(), &context->result[PARAM1])); in CreateReverseGeocodeAsyncContext() 374 … napi_create_array_with_length(context->env, context->replyList.size(), &context->result[PARAM1])); in CreateReverseGeocodeAsyncContext()
|
/base/update/updateservice/test/unittest/update_client/ |
D | client_stub.cpp | 182 napi_status napi_create_array_with_length(napi_env env, size_t length, napi_value* result) in napi_create_array_with_length() function
|
/base/global/i18n/interfaces/js/kits/src/ |
D | i18n_addon.cpp | 928 napi_status status = napi_create_array_with_length(env, systemLanguages.size(), &result); in GetSystemLanguages() 986 status = napi_create_array_with_length(env, systemCountries.size(), &result); in GetSystemCountriesImpl() 2723 status = napi_create_array_with_length(env, indexList.size(), &result); in GetIndexList() 3029 status = napi_create_array_with_length(env, languageList.size(), &result); in GetPreferredLanguageList() 3487 napi_status status = napi_create_array_with_length(env, timezoneIDs.size(), &result); in GetAvailableTimezoneIDs() 3514 napi_status status = napi_create_array_with_length(env, cityIDs.size(), &result); in GetAvailableZoneCityIDs()
|
D | intl_addon.cpp | 1519 status = napi_create_array_with_length(env, timeVector.size(), &result); in FormatToParts()
|
/base/account/os_account/interfaces/kits/napi/account_iam/src/ |
D | napi_account_iam_common.cpp | 259 napi_create_array_with_length(env, info.size(), &arr); in CreateCredInfoArray()
|
/base/global/resource_management/interfaces/js/innerkits/core/src/ |
D | resource_manager_addon.cpp | 607 … napi_status status = napi_create_array_with_length(env, context.arrayValue_.size(), &result); in __anon14aac4540502()
|