Home
last modified time | relevance | path

Searched refs:size (Results 36801 - 36825 of 58262) sorted by relevance

1...<<1471147214731474147514761477147814791480>>...2331

/base/global/resource_management_lite/frameworks/resmgr_lite/src/
H A Dresource_manager_impl.cpp146 for (size_t i = 0; i < idItem->values_.size(); ++i) { in GetStringArray()
241 size_t loop = idItem->values_.size() / 2; in GetPluralString()
333 size_t loop = currItem->values_.size() / 2; in ResolveParentReference()
505 for (size_t i = 0; i < idItem->values_.size(); ++i) { in GetIntArray()
/base/hiviewdfx/hiappevent/frameworks/js/napi/src/
H A Dnapi_util.cpp400 for (size_t i = 0; i < strs.size(); ++i) { in CreateStrings()
565 for (size_t i = 0; i < jsonValue.size(); ++i) { in CreateValueByJson()
606 for (size_t i = 0; i < events.size(); ++i) { in CreateEventInfoArray()
623 for (size_t i = 0; i < it->second.size(); ++i) { in CreateEventGroups()
/base/security/device_auth/test/fuzztest/session_manager/session/v2/auth_sub_session/authsubsession_fuzzer/
H A Dauthsubsession_fuzzer.cpp551 bool FuzzDoCallback(const uint8_t* data, size_t size) in FuzzDoCallback() argument
554 (void)size; in FuzzDoCallback()
593 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument
596 OHOS::FuzzDoCallback(data, size); in LLVMFuzzerTestOneInput()
/base/security/dlp_permission_service/interfaces/inner_api/dlp_parse/test/
H A Ddlp_file_manager_test.cpp389 .size = 0 in HWTEST_F()
393 .size = 0 in HWTEST_F()
402 .size = 0 in HWTEST_F()
710 ASSERT_TRUE(cert.size() == 0); in HWTEST_F()
/base/security/huks/services/huks_standard/huks_service/main/hks_storage/src/
H A Dhks_storage_manager.c77 if (processName->size == strlen(HKS_LITE_NATIVE_PROCESS_NAME) in CheckIsLiteHap()
100 struct HksBlob userIdBlob = { .data = (uint8_t *)&userId, .size = sizeof(userId) }; in GetUserIdPath()
123 if (memcpy_s(outMaterial->uidPath, HKS_MAX_DIRENT_FILE_LEN, processName->data, processName->size) != EOK) { in GetUidPath()
415 keyBlob->data, keyBlob->size) != HKS_SUCCESS) { in HksManageStoreGetKeyBlob()
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/asymmetric_alg_test/
H A Dhks_rsa_cipher_part5_test.cpp313 * @tc.desc: alg-RSA pur-ENCRYPT-DECRYPT size-4096 pad-OAEP dig-SHA384 mode-ECB.
345 * @tc.desc: alg-RSA pur-ENCRYPT-DECRYPT size-4096 pad-OAEP dig-SHA512 mode-ECB.
377 * @tc.desc: alg-RSA pur-ENCRYPT-DECRYPT size-4096 pad-OAEP dig-SHA512 mode-ECB. Decrypt-Abort
407 struct HksBlob newKeyAlias = { .size = (uint32_t)strlen(tmpKey), .data = (uint8_t *)tmpKey }; in HWTEST_F()
419 EXPECT_NE(HksMemCmp(inData.data, cipherText.data, inData.size), HKS_SUCCESS) << "cipherText equals inData"; in HWTEST_F()
450 * @tc.desc: alg-RSA pur-ENCRYPT-DECRYPT size-4096 pad-OAEP dig-SHA512 mode-ECB. Encrypt-Abort
480 struct HksBlob newKeyAlias = { .size = (uint32_t)strlen(tmpKey), .data = (uint8_t *)tmpKey }; in HWTEST_F()
506 * @tc.desc: alg-RSA pur-ENCRYPT-DECRYPT size-4096 pad-OAEP dig-SHA512 mode-ECB. abnormal
534 struct HksBlob newKeyAlias = { .size = (uint32_t)strlen(tmpKey), .data = (uint8_t *)tmpKey }; in HWTEST_F()
554 * @tc.desc: alg-RSA pur-ENCRYPT-DECRYPT size
[all...]
/base/security/huks/test/unittest/huks_standard_test/crypto_engine_test/src/
H A Dhks_crypto_hal_rsa_oaep_encrypt.cpp657 HksBlob key = { .size = keyLen, .data = (uint8_t *)HksMalloc(keyLen) }; in RunTestCase()
666 HksBlob message = { .size = inLen, .data = (uint8_t *)HksMalloc(inLen) }; in RunTestCase()
672 HksBlob cipherText = { .size = outLen, .data = (uint8_t *)HksMalloc(outLen + HKS_PADDING_SUPPLENMENT) }; in RunTestCase()
674 HksBlob tagAead = { .size = 0, .data = nullptr }; in RunTestCase()
H A Dhks_crypto_hal_ecdsa_sign.cpp516 HksBlob key = { .size = 0, .data = nullptr }; in RunTestCase()
523 HksBlob message = { .size = dataLen, .data = (uint8_t *)HksMalloc(dataLen) }; in RunTestCase()
543 struct HksBlob signature = { .size = SIGNATURE_SIZE, .data = (uint8_t *)HksMalloc(SIGNATURE_SIZE) }; in RunTestCase()
548 struct HksBlob pubKey = { .size = MAX_PUB_KEY_SIZE, .data = (uint8_t *)HksMalloc(MAX_PUB_KEY_SIZE) }; in RunTestCase()
/base/security/security_component_manager/services/security_component_service/sa/sa_main/
H A Dsec_comp_manager.cpp80 if (iter->second.compList.size() > MAX_SINGLE_PROC_COMP_SIZE) { in AddSecurityComponentToList()
181 return (iter.second.isForeground) && (iter.second.compList.size() > 0); in IsForegroundCompExist()
188 return (iter.second.compList.size() > 0); in IsCompExist()
507 if (remote.size() < REPORT_REMOTE_OBJECT_SIZE) { in ReportSecurityComponentClickEvent()
/base/telephony/core_service/services/tel_ril/src/
H A Dtel_ril_sms.cpp127 iCdmaCBConfigInfoList.size = cdmaCBConfigInfoList.size; in SetCdmaCBConfig()
407 smsMessageInfo->size = iSmsMessageInfo.size; in BuildSmsMessageInfo()
/base/telephony/cellular_data/services/src/state_machine/
H A Dcellular_data_state_machine.cpp225 uint8_t ipInfoArraySize = ipInfoArray.size(); in GetIpType()
260 if (mtuIpTypeArray.size() != VALID_VECTOR_SIZE || mtuIpTypeArray[0].empty() || mtuIpTypeArray[1].empty()) { in GetMtuSizeFromOpCfg()
261 TELEPHONY_LOGE("mtu size string is invalid"); in GetMtuSizeFromOpCfg()
287 if (address.size() == HOST_SIZE) { in SplitProxyIpAddress()
290 if (address.size() == HOST_PORT_SIZE) { in SplitProxyIpAddress()
/base/update/sys_installer/services/module_update/service/src/
H A Dmodule_update_main.cpp261 int percent = static_cast<float>(index) / files.size() * 95; // 95 : 95% percent in ReallyInstallModulePackage()
482 if (preInfo.version.size() == 0 && actInfo.version.size() == 0) { in ParseHmpVersionInfo()
487 if (actInfo.version.size() == 0) { in ParseHmpVersionInfo()
/base/update/updateservice/services/engine/src/
H A Dupdate_service_stub.cpp362 int32_t size = data.ReadInt32(); in ApplyNewVersionStub() local
363 if (size > MAX_VECTOR_SIZE) { in ApplyNewVersionStub()
364 ENGINE_LOGE("ReadComponentDescriptions size is over, size=%{public}d", size); in ApplyNewVersionStub()
367 for (size_t i = 0; i < static_cast<size_t>(size); i++) { in ApplyNewVersionStub()
/base/web/webview/interfaces/kits/napi/webviewcontroller/
H A Dnative_media_player_impl.cpp301 WVLOG_D("begin to handle video size changed,nweb id is %{public}d", nwebId_); in HandleVideoSizeChanged()
397 NAPI_CALL_RETURN_VOID(env_, napi_create_array_with_length(env_, controls.size(), value)); in ConstructControls()
399 for (unsigned int i = 0; i < controls.size(); i++) { in ConstructControls()
488 NAPI_CALL_RETURN_VOID(env_, napi_create_array_with_length(env_, sourceInfos.size(), value)); in ConstructSourceInfos()
490 for (unsigned int i = 0; i < sourceInfos.size(); i++) { in ConstructSourceInfos()
H A Dweb_scheme_handler_request.cpp92 int32_t size = OH_ArkWebRequestHeaderList_GetSize(arkWebHeaderlist); in WebSchemeHandlerRequest() local
93 if (size <= 0) { in WebSchemeHandlerRequest()
94 WVLOG_E("OH_ArkWebRequestHeaderList_GetSize:%{public}d", size); in WebSchemeHandlerRequest()
97 for (int32_t index = 0; index < size; index++) { in WebSchemeHandlerRequest()
/base/useriam/user_auth_framework/test/fuzztest/services/userauthservice_fuzzer/
H A Duser_auth_service_fuzzer.cpp570 void UserAuthFuzzTest(const uint8_t *data, size_t size) in UserAuthFuzzTest() argument
573 parcel.WriteBuffer(data, size); in UserAuthFuzzTest()
586 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) in LLVMFuzzerTestOneInput() argument
588 OHOS::UserIam::UserAuth::UserAuthFuzzTest(data, size); in LLVMFuzzerTestOneInput()
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/cipher/src/drv/cipher_v1.0/drivers/core/
H A Ddrv_hash_v200.c26 /* hash in entry list size */
29 /* hash in entry list size */
89 hi_log_error("chn %u, src addr 0x%x, size 0x%x\n", chn_num, in->hash_start_addr, in->hash_alg_length); in hash_print_last_node()
441 hi_log_info("HASH DMA buffer, MMU 0x%x, MMZ 0x%x, VIA %pK, size 0x%x\n", addr_l32(g_hash_dma.dma_addr), in drv_hash_cfg_init()
656 hi_u32 id, size; in hash_addbuf() local
664 size = sizeof(struct hash_entry_in); in hash_addbuf()
666 (hi_void)memset_s(addr, size, 0, size); in hash_addbuf()
/device/soc/hisilicon/common/platform/hieth-sf/src/
H A Dinterface.c130 void NetDmaCacheInv(void *addr, uint32_t size) in NetDmaCacheInv() argument
133 uint32_t end = (uintptr_t)addr + size; in NetDmaCacheInv()
139 void NetDmaCacheClean(void *addr, uint32_t size) in NetDmaCacheClean() argument
142 uint32_t end = (uintptr_t)addr + size; in NetDmaCacheClean()
/device/qemu/drivers/virtio/
H A Dvirtgpu.c311 uint32_t size; member
428 /* fit user-space page size mmap */
731 if ((region->range.size + (region->pgOff << PAGE_SHIFT)) > VirtgpuFbPageSize()) { in FbMmap()
732 HDF_LOGE("[%s]mmap size + pgOff exceed framebuffer size", __func__); in FbMmap()
743 region->range.size >> PAGE_SHIFT, region->regionFlags); in FbMmap()
744 if (n != (region->range.size >> PAGE_SHIFT)) { in FbMmap()
/device/soc/hisilicon/common/platform/uart/
H A Duart_hi35xx.c101 static int32_t Hi35xxRead(struct UartHost *host, uint8_t *data, uint32_t size) in Hi35xxRead() argument
117 ret = Pl011Read(udd, (char *)data, size); in Hi35xxRead()
124 static int32_t Hi35xxWrite(struct UartHost *host, uint8_t *data, uint32_t size) in Hi35xxWrite() argument
138 ret = udd->ops->StartTx(udd, (char *)data, size); in Hi35xxWrite()
/device/soc/rockchip/common/sdk_linux/drivers/video/backlight/
H A Dpwm_bl.c271 size_t size = sizeof(*data->levels) * data->max_brightness; in pwm_backlight_parse_dt() local
274 data->levels = devm_kzalloc(dev, size, GFP_KERNEL); in pwm_backlight_parse_dt()
328 size = sizeof(*table) * num_levels; in pwm_backlight_parse_dt()
329 table = devm_kzalloc(dev, size, GFP_KERNEL); in pwm_backlight_parse_dt()
/device/soc/rockchip/common/sdk_linux/init/
H A Dinitramfs.c219 static void __init read_into(char *buf, unsigned size, enum state next) in read_into() argument
221 if (byte_count >= size) { in read_into()
223 eat(size); in read_into()
227 remains = size; in read_into()
/device/soc/rockchip/common/sdk_linux/drivers/gpio/
H A Dgpiolib-of.c125 int size; in of_gpio_need_valid_mask() local
128 size = of_property_count_u32_elems(np, "gpio-reserved-ranges"); in of_gpio_need_valid_mask()
129 if (size > 0 && size % 2 == 0) { in of_gpio_need_valid_mask()
369 char prop_name[32]; /* 32 is max size of property name */ in of_find_spi_gpio()
492 char prop_name[32]; /* 32 is max size of property name */ in of_find_gpio()
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/i915/gt/uc/
H A Dintel_guc.c635 * to DRAM. The value of the GuC ggtt_pin_bias is the GuC WOPCM size.
641 * @size: size of area to allocate (both virtual space and memory)
651 struct i915_vma *intel_guc_allocate_vma(struct intel_guc *guc, u32 size) in intel_guc_allocate_vma() argument
659 obj = i915_gem_object_create_shmem(gt->i915, size); in intel_guc_allocate_vma()
686 * @size: size of area to allocate (both virtual space and memory)
695 int intel_guc_allocate_and_map_vma(struct intel_guc *guc, u32 size, struct i915_vma **out_vma, void **out_vaddr) in intel_guc_allocate_and_map_vma() argument
700 vma = intel_guc_allocate_vma(guc, size); in intel_guc_allocate_and_map_vma()
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/
H A Ddhd_linux_platdev.c147 void* wifi_platform_prealloc(wifi_adapter_info_t *adapter, int section, unsigned long size) in wifi_platform_prealloc() argument
156 alloc_ptr = plat_data->mem_prealloc(section, size); in wifi_platform_prealloc()
159 if (size != 0L) in wifi_platform_prealloc()
160 bzero(alloc_ptr, size); in wifi_platform_prealloc()

Completed in 61 milliseconds

1...<<1471147214731474147514761477147814791480>>...2331