Home
last modified time | relevance | path

Searched refs:vectorSize (Results 1 – 25 of 26) sorted by relevance

12

/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/src/bundlemgr/
H A Dbundle_user_mgr_host.cpp68 const int32_t vectorSize = data.ReadInt32(); in HandleCreateNewUser() local
69 if (vectorSize > DISALLOWLISTMAXSIZE) { in HandleCreateNewUser()
70 APP_LOGE("Abnormal data size reading form parcel, size %{public}d", vectorSize); in HandleCreateNewUser()
74 for (int32_t i = 0; i < vectorSize; i++) { in HandleCreateNewUser()
/ohos5.0/drivers/peripheral/camera/vdi_base/common/pipeline_core/pipeline_impl/src/builder/
H A Dstream_pipeline_builder.cpp62 std::vector<int32_t> vectorSize; in Build() local
63 vectorSize.push_back(portSpec.format_.w_); in Build()
64 vectorSize.push_back(portSpec.format_.h_); in Build()
65 sizeSet.insert(vectorSize); in Build()
/ohos5.0/foundation/communication/bluetooth_service/test/unittest/pbap/
H A Dpbap_server_test.cpp128 int vectorSize = devices.size(); variable
129 EXPECT_EQ(vectorSize, 0);
144 int vectorSize = devices.size(); variable
145 EXPECT_EQ(vectorSize, 0);
H A Dpbap_client_test.cpp149 int vectorSize = devices.size(); variable
150 EXPECT_EQ(vectorSize, 0);
165 int vectorSize = devices.size(); variable
166 EXPECT_EQ(vectorSize, 0);
/ohos5.0/foundation/communication/bluetooth_service/test/unittest/map/
H A Dmap_mse_test.cpp154 int vectorSize = devices.size(); variable
155 EXPECT_EQ(vectorSize, 0);
170 int vectorSize = devices.size(); variable
171 EXPECT_EQ(vectorSize, 0);
/ohos5.0/base/account/os_account/frameworks/account_iam/src/
H A Daccount_iam_callback_stub.cpp109 uint32_t vectorSize = 0; in ProcOnCredentialInfo() local
111 if (!data.ReadUint32(vectorSize)) { in ProcOnCredentialInfo()
115 if (vectorSize > MAX_VEC_SIZE) { in ProcOnCredentialInfo()
119 for (uint32_t i = 0; i < vectorSize; ++i) { in ProcOnCredentialInfo()
/ohos5.0/commonlibrary/c_utils/base/test/fuzztest/parcel_fuzzer/
H A Dparcel_fuzzer.cpp384 size_t vectorSize = dataProvider->ConsumeIntegralInRange<size_t>(1, MAX_VECTOR_SIZE); in __anon90ce765f1702() local
385 std::vector<string> testdata(vectorSize); in __anon90ce765f1702()
386 for (size_t i = 0; i < vectorSize; i++) { in __anon90ce765f1702()
396 size_t vectorSize = dataProvider->ConsumeIntegralInRange<size_t>(1, MAX_VECTOR_SIZE); in __anon90ce765f1802() local
397 std::vector<u16string> testdata(vectorSize); in __anon90ce765f1802()
398 for (size_t i = 0; i < vectorSize; i++) { in __anon90ce765f1802()
457 size_t vectorSize = dataProvider->ConsumeIntegralInRange<size_t>(1, MAX_VECTOR_SIZE); in __anon90ce765f1d02() local
458 std::vector<uint8_t> data = dataProvider->ConsumeBytes<uint8_t>(vectorSize); in __anon90ce765f1d02()
/ohos5.0/foundation/systemabilitymgr/safwk/services/safwk/src/
H A Dmain.cpp86 auto vectorSize = strVector.size(); in SetProcName() local
87 if (vectorSize > 0) { in SetProcName()
88 auto& fileName = strVector[vectorSize - 1]; in SetProcName()
/ohos5.0/foundation/communication/netmanager_base/test/fuzztest/netpolicyclient_fuzzer/
H A Dnet_policy_client_fuzzer.cpp221 uint32_t vectorSize = NetPolicyGetData<uint32_t>() % 21; in SetCellularPoliciesFuzzTest() local
223 for (uint32_t i = 0; i < vectorSize; i++) { in SetCellularPoliciesFuzzTest()
305 uint32_t vectorSize = NetPolicyGetData<uint32_t>() % 21; in SetNetQuotaPoliciesFuzzTest() local
307 for (uint32_t i = 0; i < vectorSize; i++) { in SetNetQuotaPoliciesFuzzTest()
/ohos5.0/base/notification/distributed_notification_service/frameworks/core/src/manager/
H A Dans_manager_proxy_bundle.cpp756 int32_t vectorSize = 0; in GetAllNotificationEnabledBundles() local
775 if (!reply.ReadInt32(vectorSize)) { in GetAllNotificationEnabledBundles()
780 if (vectorSize > MAX_STATUS_VECTOR_NUM) { in GetAllNotificationEnabledBundles()
785 for (auto i = 0; i < vectorSize; i++) { in GetAllNotificationEnabledBundles()
/ohos5.0/foundation/distributeddatamgr/udmf/framework/ndkimpl/data/
H A Dudmf.cpp85 unsigned int vectorSize = strVector.size(); in StrVectorToTypesArray() local
86 if (vectorSize > MAX_RECORDS_COUNT) { in StrVectorToTypesArray()
89 char** typesArray = new (std::nothrow) char* [vectorSize] {nullptr}; in StrVectorToTypesArray()
90 for (unsigned int i = 0; i < vectorSize; ++i) { in StrVectorToTypesArray()
94 DestroyStringArray(typesArray, vectorSize); in StrVectorToTypesArray()
101 DestroyStringArray(typesArray, vectorSize); in StrVectorToTypesArray()
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/gles/
H A Dspirv_cross_helper_structs_gles.h59 uint32_t vectorSize; in RENDER_BEGIN_NAMESPACE() member
/ohos5.0/foundation/window/window_manager/window_scene/test/unittest/
H A Dscene_session_manager_stub_test.cpp871 uint32_t vectorSize = 128; variable
872 data.WriteUint32(vectorSize);
876 vectorSize = static_cast<uint32_t>(info.size());
877 data.WriteUint32(vectorSize);
1653 uint32_t vectorSize = 128; variable
1654 data.WriteUint32(vectorSize);
1658 vectorSize = static_cast<uint32_t>(info.size());
1659 data.WriteUint32(vectorSize);
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeBinaryCompile/LumeShaderCompiler/src/
H A Dspirv_cross_helper_structs_gles.h177 uint32_t vectorSize; member
H A Dspirv_cross_helpers_gles.cpp290 [[maybe_unused]] const size_t size = c.vectorSize * c.columns * sizeof(uint32_t); in DefineForSpec()
387 t.vectorSize = constant.vector_size(); in CreateSpecInfos()
/ohos5.0/base/print/print_fwk/test/fuzztest/scanhelper_fuzzer/
H A Dscanhelper_fuzzer.cpp108 int32_t vectorSize = dataProvider->ConsumeIntegralInRange<int32_t>(0, MAX_SET_NUMBER); in TestSetOptionConstraintString() local
109 for (int i = 0; i< vectorSize; i++) { in TestSetOptionConstraintString()
121 int32_t vectorSize = dataProvider->ConsumeIntegralInRange<int32_t>(0, MAX_SET_NUMBER); in TestSetOptionConstraintNumber() local
122 for (int i = 0; i< vectorSize; i++) { in TestSetOptionConstraintNumber()
/ohos5.0/foundation/systemabilitymgr/samgr/services/samgr/native/source/collect/
H A Ddevice_status_collect_manager.cpp100 size_t vectorSize = strVector.size(); in GetSaControlListByPersistEvent() local
101 for (size_t i = 0; i < vectorSize; i++) { in GetSaControlListByPersistEvent()
/ohos5.0/base/theme/wallpaper_mgr/services/src/
H A Dwallpaper_service_stub.cpp483 int32_t vectorSize = data.ReadInt32(); in OnSetAllWallpapers() local
485 for (int32_t i = 0; i < vectorSize; i++) { in OnSetAllWallpapers()
/ohos5.0/base/notification/distributed_notification_service/frameworks/core/src/
H A Dans_manager_proxy.cpp2032 int32_t vectorSize = 0; in GetAllNotificationEnabledBundles() local
2051 if (!reply.ReadInt32(vectorSize)) { in GetAllNotificationEnabledBundles()
2056 if (vectorSize > MAX_STATUS_VECTOR_NUM) { in GetAllNotificationEnabledBundles()
2061 for (auto i = 0; i < vectorSize; i++) { in GetAllNotificationEnabledBundles()
H A Dans_manager_stub.cpp2391 int32_t vectorSize = bundleOption.size(); in HandleGetAllNotificationEnableStatus() local
2392 if (vectorSize > MAX_STATUS_VECTOR_NUM) { in HandleGetAllNotificationEnableStatus()
2402 if (!reply.WriteInt32(vectorSize)) { in HandleGetAllNotificationEnableStatus()
/ohos5.0/foundation/systemabilitymgr/samgr/frameworks/native/source/
H A Dsystem_ability_manager_proxy.cpp80 auto vectorSize = strVector.size(); in InitSamgrProxy() local
81 if (vectorSize == 0) { in InitSamgrProxy()
85 auto& fileName = strVector[vectorSize - 1]; in InitSamgrProxy()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/
H A Ddb_common.cpp820 size_t vectorSize = assets.size(); in RemoveDuplicateAssetsData() local
821 std::vector<size_t> arr(vectorSize, 0); in RemoveDuplicateAssetsData()
/ohos5.0/foundation/window/window_manager/window_scene/session_manager/src/zidl/
H A Dscene_session_manager_stub.cpp750 uint32_t vectorSize = data.ReadUint32(); in HandleNotifyDumpInfoResult() local
751 if (vectorSize > MAX_VECTOR_SIZE) { in HandleNotifyDumpInfoResult()
755 for (uint32_t i = 0; i < vectorSize; i++) { in HandleNotifyDumpInfoResult()
H A Dscene_session_manager_proxy.cpp1393 uint32_t vectorSize = static_cast<uint32_t>(info.size()); in NotifyDumpInfoResult() local
1394 if (!data.WriteUint32(vectorSize)) { in NotifyDumpInfoResult()
/ohos5.0/base/account/os_account/frameworks/account_iam/test/unittest/src/
H A Daccount_iam_client_test.cpp814 uint32_t vectorSize = 1; variable
818 data.WriteUint32(vectorSize);

12