Home
last modified time | relevance | path

Searched refs:size (Results 47301 - 47325 of 56270) sorted by relevance

1...<<1891189218931894189518961897189818991900>>...2251

/foundation/multimedia/player_framework/services/services/recorder/server/
H A Drecorder_server.cpp721 int32_t RecorderServer::SetMaxFileSize(int64_t size) in SetMaxFileSize() argument
723 MEDIA_LOGI("RecorderServer:0x%{public}06" PRIXPTR " SetMaxFileSize in, size: %{public}" PRIi64 "", in SetMaxFileSize()
724 FAKE_POINTER(this), size); in SetMaxFileSize()
728 config_.maxFileSize = size; in SetMaxFileSize()
729 MaxFileSize maxFileSize(size); in SetMaxFileSize()
1010 if (lastErrMsg_.size() != 0) { in DumpInfo()
1031 write(fd, dumpString.c_str(), dumpString.size()); in DumpInfo()
/foundation/multimedia/media_library/frameworks/js/src/sendable/
H A Dsendable_medialibrary_napi_utils.cpp96 static napi_status GetParamStr(napi_env env, napi_value arg, const size_t size, string &result) in GetParamStr() argument
99 unique_ptr<char[]> buffer = make_unique<char[]>(size); in GetParamStr()
104 CHECK_STATUS_RET(napi_get_value_string_utf8(env, arg, buffer.get(), size, &res), "Failed to get string value"); in GetParamStr()
419 if ((context->mediaTypes.size() != ARGS_ONE) && (context->mediaTypes.size() != ARGS_TWO)) { in UpdateMediaTypeSelections()
425 if (context->mediaTypes.size() == ARGS_TWO) { in UpdateMediaTypeSelections()
/foundation/systemabilitymgr/samgr/services/samgr/native/source/schedule/
H A Dsystem_ability_state_scheduler.cpp588 if (notLoadAbilityCount + unloadableAbilityCount == processContext->saList.size()) { in CanUnloadAllSystemAbilityLocked()
596 Str16ToStr8(processContext->processName).c_str(), processContext->saList.size(), notLoadAbilityCount, in CanUnloadAllSystemAbilityLocked()
773 Str16ToStr8(processContext->processName).c_str(), processContext->saList.size(), notLoadAbilityCount); in CanKillSystemProcessLocked()
774 if (notLoadAbilityCount == processContext->saList.size()) { in CanKillSystemProcessLocked()
822 if (processContext->restartCountsCtrl.size() < RESTART_TIMES_LIMIT) { in CanRestartProcessLocked()
825 } else if (processContext->restartCountsCtrl.size() == RESTART_TIMES_LIMIT) { in CanRestartProcessLocked()
/foundation/window/window_manager/test/systemtest/dms/
H A Dscreen_manager_test.cpp224 ASSERT_LT(0, allScreens.size()); \
268 ASSERT_LT(0, childIds.size()); in CheckScreenStateInGroup()
316 ASSERT_GE(info.trigger.size(), 0UL); in CheckScreenGroupStateForMirror()
510 ASSERT_GT(modes.size(), 0); in HWTEST_F()
511 for (uint32_t modeIdx = 0; modeIdx < modes.size(); modeIdx++) { in HWTEST_F()
936 ASSERT_GE(screens.size(), 1); in HWTEST_F()
/foundation/communication/ipc/ipc/native/src/core/source/
H A Dipc_process_skeleton.cpp89 size_t len = str.size(); in ConvertToSecureString()
613 ZLOGD(LOG_LABEL, "query proxys of session handle:%{public}d size:%{public}zu", socketId, proxyHandle.size()); in QueryProxyBySocketId()
764 if (idleDataThreads_.size() == 0) { in GetIdleDataThread()
805 if ((dataInfoQueue_[threadId]).size() == 0) { in PopDataInfoFromThread()
1086 if (it->second.size() == 0) { in DetachAppInfoToStubIndex()
1511 if (it->second.size() == 0) { in DetachAppAuthInfoByStub()
/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/wifi_native/client/hdi_client/
H A Dwifi_hdi_wpa_client_test.cpp107 int size = HAL_GET_MAX_SCAN_INFO; in HWTEST_F() local
108 ScanInfo *results = (ScanInfo *)malloc(sizeof(ScanInfo) * size); in HWTEST_F()
109 for (int i = 0; i < size; ++i) { in HWTEST_F()
1483 int size = 1; in HWTEST_F() local
1484 int result = wifiHdiWpaClient->PushDeviceConfigParseMask(&pConfig, type, mask, parseStr, size); in HWTEST_F()
1488 result = wifiHdiWpaClient->PushDeviceConfigParseMask(&pConfig, type, mask, parseStr, size); in HWTEST_F()
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/rust/ylong_cloud_extension/src/ipc_conn/
H A Dconnect.rs1128 assert_eq!(result.size, asset.size); in ut_asset_deserialize()
1163 assert_eq!(result_one.size, default_one.size); in ut_assets_serialize()
1175 assert_eq!(result_two.size, default_two.size); in ut_assets_serialize()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/
H A Dauto_launch.cpp149 autoLaunchItemSize += item.second.size(); in EnableKvStoreAutoLaunchParmCheck()
152 LOGE("[AutoLaunch] EnableKvStoreAutoLaunchParmCheck size is max(8) now"); in EnableKvStoreAutoLaunchParmCheck()
619 LOGI("[AutoLaunch] GetConnInDoOpenMap doOpenMap.size():%zu", doOpenMap.size()); in GetConnInDoOpenMap()
625 totalSize += items.second.size(); in GetConnInDoOpenMap()
697 // originalUserId size maybe 0 in ReceiveUnknownIdentifierCallBack()
1375 if (extItemMap_[identifier].size() == 0) { in CloseConnection()
1392 if (originalUserId.empty() && autoLaunchItemMap_[identifier].size() > 1) { in GetAutoLaunchItemUid()
1397 if (originalUserId.empty() && autoLaunchItemMap_[identifier].size() == 1) { in GetAutoLaunchItemUid()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/moduletest/src/
H A Ddistributeddb_nb_create_test.cpp52 (void)g_passwd1.SetValue(PASSWD_VECTOR_1.data(), PASSWD_VECTOR_1.size()); in SetUpTestCase()
53 (void)g_passwd2.SetValue(PASSWD_VECTOR_2.data(), PASSWD_VECTOR_2.size()); in SetUpTestCase()
1431 EXPECT_EQ(password.SetValue(passwordVector.data(), passwordVector.size()), CipherPassword::ErrorCode::OK); in HWTEST_F()
1452 * @tc.steps: step5. use Rekey to update db's passwd to p2=passwordVector whose size is 128B, then close in HWTEST_F()
1457 EXPECT_EQ(password.SetValue(passwordVector.data(), passwordVector.size()), CipherPassword::ErrorCode::OK); in HWTEST_F()
1473 * @tc.steps: step7. use Rekey to update db's passwd to p2=passwordVector whose size is 129B. in HWTEST_F()
1477 EXPECT_EQ(password.SetValue(passwordVector.data(), passwordVector.size()), CipherPassword::ErrorCode::OVERSIZE); in HWTEST_F()
1563 EXPECT_EQ(password.SetValue(passwordVector.data(), passwordVector.size()), CipherPassword::ErrorCode::OVERSIZE); in HWTEST_F()
1847 * @tc.desc: verify that can calculate the space size normally with the existing databaseID.
1873 * @tc.steps: step2. put 100 (keys,values) to db that every item's size in HWTEST_F()
[all...]
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/syncer/cloud/
H A Ddistributeddb_cloud_kvstore_test.cpp178 if (notifyCnt == userSet.size()) { in BlockSync()
274 if (notifyCnt == userSet.size()) { in SyncAndGetProcessInfo()
298 if ((idx >= users.size()) || (idx >= userStatus.size()) || (idx >= userExpectInfo.size())) { in CheckUserSyncInfo()
1582 EXPECT_EQ(entries.size(), 0u); // 1 record in HWTEST_F()
/foundation/distributedhardware/device_manager/interfaces/inner_kits/native_cpp/src/ipc/standard/
H A Dipc_cmd_parser.cpp71 if (strcpy_s(devInfo.deviceId, deviceIdStr.size() + 1, deviceIdStr.c_str()) != DM_OK) { in DecodeDmDeviceInfo()
75 if (strcpy_s(devInfo.deviceName, deviceNameStr.size() + 1, deviceNameStr.c_str()) != DM_OK) { in DecodeDmDeviceInfo()
80 if (strcpy_s(devInfo.networkId, networkIdStr.size() + 1, networkIdStr.c_str()) != DM_OK) { in DecodeDmDeviceInfo()
92 if (strcpy_s(devInfo.deviceId, deviceIdStr.size() + 1, deviceIdStr.c_str()) != DM_OK) { in DecodeDmDeviceBasicInfo()
96 if (strcpy_s(devInfo.deviceName, deviceNameStr.size() + 1, deviceNameStr.c_str()) != DM_OK) { in DecodeDmDeviceBasicInfo()
101 if (strcpy_s(devInfo.networkId, networkIdStr.size() + 1, networkIdStr.c_str()) != DM_OK) { in DecodeDmDeviceBasicInfo()
/foundation/filemanagement/app_file_service/tests/unittests/backup_sa/module_ipc/
H A Dsvc_session_manager_test.cpp88 * @tc.size: MEDIUM
130 * @tc.size: MEDIUM
188 * @tc.size: MEDIUM
232 * @tc.size: MEDIUM
275 * @tc.size: MEDIUM
308 * @tc.size: MEDIUM
340 * @tc.size: MEDIUM
398 * @tc.size: MEDIUM
447 * @tc.size: MEDIUM
498 * @tc.size
[all...]
/foundation/window/window_manager/window_scene/test/unittest/
H A Dscene_session_manager_test3.cpp1691 EXPECT_EQ(privacyBundleList.size(), 0); in HWTEST_F()
1710 EXPECT_EQ(privacyBundleList.size(), 0); in HWTEST_F()
1735 EXPECT_EQ(privacyBundleList.size(), 0); in HWTEST_F()
1741 EXPECT_EQ(privacyBundleList.size(), 0); in HWTEST_F()
1747 EXPECT_EQ(privacyBundleList.size(), 1); in HWTEST_F()
1751 EXPECT_EQ(privacyBundleList.size(), 0); in HWTEST_F()
/foundation/window/window_manager/wmserver/src/
H A Dwindow_controller.cpp813 * Window tile num may change when display rotate or change size, need to execute minimize in NotifyDisplayStateChange()
1134 // if start dragging or start moving dock_slice, need to update size change reason in NotifyServerReadyToMoveOrDrag()
1665 if (node->abilityInfo_.abilityName_.size() > 0) { in SetAspectRatio()
1718 if (index < static_cast<int32_t>(rects.size())) { in UpdateTouchHotAreas()
1722 WLOGI("windowId: %{public}u, size: %{public}d, rects: %{public}s", in UpdateTouchHotAreas()
1723 node->GetWindowId(), static_cast<int32_t>(rects.size()), oss.str().c_str()); in UpdateTouchHotAreas()
1724 if (rects.size() > TOUCH_HOT_AREA_MAX_NUM) { in UpdateTouchHotAreas()
1822 WLOGFD("no animation minimize size: %{public}u", static_cast<uint32_t>(windowIds.size())); in MinimizeWindowsByLauncher()
1825 WLOGFD("animation minimize size in MinimizeWindowsByLauncher()
[all...]
/kernel/linux/linux-5.10/drivers/crypto/stm32/
H A Dstm32-hash.c153 size_t size; member
1339 for (j = 0; j < hdev->pdata->algs_info[i].size; j++) { in stm32_hash_register_algs()
1364 for (j = 0; j < hdev->pdata->algs_info[i].size; j++) in stm32_hash_unregister_algs()
1375 .size = ARRAY_SIZE(algs_md5_sha1),
1387 .size = ARRAY_SIZE(algs_md5_sha1),
1391 .size = ARRAY_SIZE(algs_sha224_sha256),
/kernel/linux/linux-5.10/drivers/crypto/qat/qat_common/
H A Dqat_hal.c1040 unsigned int inst_num, unsigned int size, in qat_hal_concat_micro_code()
1110 alloc_inst_size = lm_init_header->size; in qat_hal_batch_wr_lm()
1119 unsigned int addr, *value, size; in qat_hal_batch_wr_lm() local
1124 size = plm_init->size; in qat_hal_batch_wr_lm()
1127 size, addr, value); in qat_hal_batch_wr_lm()
1039 qat_hal_concat_micro_code(u64 *micro_inst, unsigned int inst_num, unsigned int size, unsigned int addr, unsigned int *value) qat_hal_concat_micro_code() argument
/kernel/linux/linux-5.10/arch/x86/net/
H A Dbpf_jit_comp.c207 static void jit_fill_hole(void *area, unsigned int size) in jit_fill_hole() argument
210 memset(area, 0xcc, size); in jit_fill_hole()
679 static void emit_ldx(u8 **pprog, u32 size, u32 dst_reg, u32 src_reg, int off) in emit_ldx() argument
684 switch (size) { in emit_ldx()
718 static void emit_stx(u8 **pprog, u32 size, u32 dst_reg, u32 src_reg, int off) in emit_stx() argument
723 switch (size) { in emit_stx()
1222 * Compute size of x86 insn and its target dest x86 register. in do_jit()
1478 pr_err("bpf_jit: fatal insn size error\n"); in do_jit()
2104 * The verifier changed their opcode from LDX|MEM|size in bpf_int_jit_compile()
2105 * to LDX|PROBE_MEM|size t in bpf_int_jit_compile()
[all...]
/kernel/linux/linux-5.10/arch/loongarch/include/asm/
H A Dloongarchregs.h1222 static inline void write_csr_pagesize(unsigned int size) in write_csr_pagesize() argument
1224 csr_xchg32(size << CSR_TLBIDX_SIZE, CSR_TLBIDX_SIZEM, LOONGARCH_CSR_TLBIDX); in write_csr_pagesize()
1232 static inline void write_csr_tlbrefill_pagesize(unsigned int size) in write_csr_tlbrefill_pagesize() argument
1234 csr_xchg64(size << CSR_TLBREHI_PS_SHIFT, CSR_TLBREHI_PS, LOONGARCH_CSR_TLBREHI); in write_csr_tlbrefill_pagesize()
1508 /* Default page size for a given kernel configuration */
1516 #error Bad page size configuration!
1519 /* Default huge tlb size for a given kernel configuration */
1527 #error Bad page size configuration for hugetlbfs!
/kernel/linux/linux-5.10/arch/mips/kernel/
H A Dtraps.c2320 void set_handler(unsigned long offset, const void *addr, unsigned long size) in set_handler() argument
2323 memcpy((void *)(ebase + offset), ((unsigned char *)addr - 1), size); in set_handler()
2325 memcpy((void *)(ebase + offset), addr, size); in set_handler()
2327 local_flush_icache_range(ebase + offset, ebase + offset + size); in set_handler()
2339 unsigned long size) in set_uncached_handler()
2346 memcpy((void *)(uncached_ebase + offset), addr, size); in set_uncached_handler()
2338 set_uncached_handler(unsigned long offset, void *addr, unsigned long size) set_uncached_handler() argument
/kernel/linux/linux-5.10/arch/sparc/lib/
H A DM7memcpy.S223 cmp %o2, %o3 ! limit to store buffer size
313 cmp %o2, %o3 ! limit to store buffer size
441 andn %o2, 0x3f, %o5 ! %o5 is multiple of block size
556 andn %o2, 0x3f, %o5 ! %o5 is multiple of block size
670 andn %o2, 0x3f, %o5 ! %o5 is multiple of block size
923 .size FUNC_NAME, .-FUNC_NAME
/kernel/linux/linux-5.10/arch/x86/kvm/
H A Dhyperv.c954 size_t size = ARRAY_SIZE(hv->hv_crash_param); in kvm_hv_msr_get_crash_data() local
956 if (WARN_ON_ONCE(index >= size)) in kvm_hv_msr_get_crash_data()
959 *pdata = hv->hv_crash_param[array_index_nospec(index, size)]; in kvm_hv_msr_get_crash_data()
998 size_t size = ARRAY_SIZE(hv->hv_crash_param); in kvm_hv_msr_set_crash_data() local
1000 if (WARN_ON_ONCE(index >= size)) in kvm_hv_msr_set_crash_data()
1003 hv->hv_crash_param[array_index_nospec(index, size)] = data; in kvm_hv_msr_set_crash_data()
/kernel/linux/linux-5.10/drivers/edac/
H A Dthunderx_edac.c50 static void decode_register(char *str, size_t size, in decode_register() argument
58 ret = snprintf(str, size, "\n\t%s, %s", in decode_register()
63 size -= ret; in decode_register()
214 #define ring_pos(pos, size) ((pos) & (size - 1))
673 layer.size = 2; in thunderx_lmc_probe()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/igb/
H A De1000_82575.c331 u16 size; in igb_init_nvm_params_82575() local
333 size = (u16)((eecd & E1000_EECD_SIZE_EX_MASK) >> in igb_init_nvm_params_82575()
336 /* Added to a constant, "size" becomes the left-shift value in igb_init_nvm_params_82575()
339 size += NVM_WORD_SIZE_BASE_SHIFT; in igb_init_nvm_params_82575()
341 /* Just in case size is out of range, cap it to the largest in igb_init_nvm_params_82575()
342 * EEPROM size supported in igb_init_nvm_params_82575()
344 if (size > 15) in igb_init_nvm_params_82575()
345 size = 15; in igb_init_nvm_params_82575()
347 nvm->word_size = BIT(size); in igb_init_nvm_params_82575()
2333 * igb_rxpbs_adjust_82580 - adjust RXPBS value to reflect actual RX PBA size
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/adaptec/
H A Dstarfire.c108 /* PCI DMA burst size -- on sparc64 we want to force it to 64 bytes, on the others the default of 128 is fine. */
184 MODULE_PARM_DESC(small_frames, "Maximum size of receive frames that bypass interrupt latency (0,64,128,256,512)");
200 The Starfire hardware uses multiple fixed-size descriptor queues/rings. The
203 This driver uses that hardware queue size for the Rx ring, where a large
222 allocates full frame size skbuffs for the Rx ring buffers, so all frames
910 /* Set the size of the Rx buffers. */ in netdev_open()
1010 if (fw_rx->size % 4) { in netdev_open()
1012 fw_rx->size, FIRMWARE_RX); in netdev_open()
1022 if (fw_tx->size % 4) { in netdev_open()
1024 fw_tx->size, FIRMWARE_T in netdev_open()
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/net/
H A Dipsec.c178 unsigned short rta_type, const void *payload, size_t size) in rtattr_pack()
182 size_t nl_size = RTA_ALIGN(nh->nlmsg_len) + RTA_LENGTH(size); in rtattr_pack()
190 attr->rta_len = RTA_LENGTH(size); in rtattr_pack()
192 memcpy(RTA_DATA(attr), payload, size); in rtattr_pack() local
198 unsigned short rta_type, const void *payload, size_t size) in _rtattr_begin()
202 if (rtattr_pack(nh, req_sz, rta_type, payload, size)) in _rtattr_begin()
1984 * Some structures in xfrm uapi header differ in size between
177 rtattr_pack(struct nlmsghdr *nh, size_t req_sz, unsigned short rta_type, const void *payload, size_t size) rtattr_pack() argument
197 _rtattr_begin(struct nlmsghdr *nh, size_t req_sz, unsigned short rta_type, const void *payload, size_t size) _rtattr_begin() argument

Completed in 91 milliseconds

1...<<1891189218931894189518961897189818991900>>...2251