/third_party/spirv-tools/test/diff/ |
H A D | lcs_test.cpp | 42 while (src_cur < src.size() && dst_cur < dst.size()) { in VerifyMatch()
|
/third_party/spirv-tools/test/fuzz/ |
H A D | transformation_add_copy_memory_test.cpp | 234 for (size_t i = 0, n = source_ids.size(); i < n; ++i) { in TEST() 237 storage_classes[i % storage_classes.size()], initializers[i]); in TEST()
|
/third_party/spirv-tools/test/link/ |
H A D | linker_fixture.h | 77 spvtest::Binaries binaries(bodies.size()); in AssembleAndLink() 78 for (size_t i = 0u; i < bodies.size(); ++i) in AssembleAndLink()
|
/third_party/spirv-tools/test/opt/ |
H A D | compact_ids_test.cpp | 164 optimizer.Run(binary.data(), binary.size(), &binary); in TEST() 208 optimizer.Run(binary.data(), binary.size(), &binary); in TEST()
|
/third_party/spirv-tools/test/val/ |
H A D | val_fixtures.h | 117 spvTextToBinary(ScopedContext(env).context, code.c_str(), code.size(), in CompileFailure() 135 auto status = spvTextToBinary(context.context, code.c_str(), code.size(), in CompileSuccessfully()
|
/third_party/vk-gl-cts/modules/gles3/stress/ |
H A D | es3sSyncTests.cpp | 152 for (int i = 0; i < (int)m_syncObjects.size(); i++) in deinit() 240 for (int i = 0; i < (int)m_syncObjects.size(); i++) in iterate()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/sparse_resources/ |
H A D | vktSparseResourcesShaderIntrinsics.cpp | 105 for (size_t imageSizeNdx = 0; imageSizeNdx < imageParams.imageSizes.size(); ++imageSizeNdx) in createSparseResourcesShaderIntrinsicsTests() 138 // duplicate tests with Nontemporal operand just for smallest size (which is the last one) in createSparseResourcesShaderIntrinsicsTests() 139 if (imageSizeNdx == (imageParams.imageSizes.size() - 1)) in createSparseResourcesShaderIntrinsicsTests()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/spirv_assembly/ |
H A D | vktSpvAsmEmptyStructTests.cpp | 44 for (deUint32 outputNdx = 0; outputNdx < static_cast<deUint32>(outputAllocs.size()); ++outputNdx) in verifyResult() 49 const deUint32 itemCount = static_cast<deUint32>(expectedBytes.size()) / 4u; in verifyResult()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/synchronization/ |
H A D | vktSynchronizationOperation.hpp | 202 vk::VkDeviceSize size); 239 std::size_t size; member
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/ |
H A D | os_win32.c | 237 void * os_zalloc(size_t size) in os_zalloc() argument 239 return calloc(1, size); in os_zalloc() 249 /* Copy string up to the maximum size of the dest buffer */ in os_strlcpy()
|
/third_party/vk-gl-cts/framework/common/ |
H A D | tcuSeedBuilder.cpp | 67 void SeedBuilder::feed (size_t size, const void* ptr) in feed() argument 69 m_hash = advanceCrc32(m_hash, size, (const deUint8*)ptr); in feed()
|
H A D | tcuTestHierarchyIterator.cpp | 154 for (size_t ndx = 1; ndx < nodeStack.size(); ndx++) in buildNodePath() 218 int numChildren = (int)iter.children.size(); in next()
|
/third_party/vk-gl-cts/modules/egl/ |
H A D | teglMultiContextTests.cpp | 202 for (size_t contextNdx = 0; contextNdx < contexts.size(); contextNdx++) in iterate() 213 for (size_t contextNdx = 0; contextNdx < contexts.size(); contextNdx++) in iterate()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/ |
H A D | os_win32.c | 237 void * os_zalloc(size_t size) in os_zalloc() argument 239 return calloc(1, size); in os_zalloc() 249 /* Copy string up to the maximum size of the dest buffer */ in os_strlcpy()
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/flashboot/secure/ |
H A D | crypto.c | 738 hi_u32 size = para->cryptoed_size + buf_len; in upg_check_encrypt() local 739 if (size > para->crypto_total_size) { in upg_check_encrypt() 752 ret = hi_flash_write(para->kernel_addr + para->crypto_end_addr, size - para->crypto_total_size, in upg_check_encrypt() 759 } else if (size == para->crypto_total_size) { in upg_check_encrypt() 989 hi_u32 size = para->cryptoed_size + buf_len; in upg_check_decrypt() local 990 if (size > para->crypto_total_size) { in upg_check_decrypt() 999 ret = hi_flash_read(para->kernel_addr + para->crypto_end_addr, size - para->crypto_total_size, in upg_check_decrypt() 1007 } else if (size == para->crypto_total_size) { in upg_check_decrypt()
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/navigation/ |
H A D | navigation_lifecycle_test_ng.cpp | 749 ASSERT_EQ(children.size(), 1); in HWTEST_F() 790 ASSERT_EQ(children.size(), 1); in HWTEST_F() 808 ASSERT_EQ(children.size(), 2); in HWTEST_F() 855 ASSERT_EQ(children.size(), 1); in HWTEST_F() 887 * @tc.expected: step2. navBar is not visible, and child size is one in HWTEST_F() 896 ASSERT_EQ(children.size(), 1); in HWTEST_F() 924 ASSERT_EQ(children.size(), 2); in HWTEST_F() 956 * @tc.expected: step2. stack size is one,and naveBar is visible in HWTEST_F() 968 ASSERT_EQ(children.size(), 1); in HWTEST_F() 995 ASSERT_EQ(children.size(), in HWTEST_F() [all...] |
/foundation/arkui/ace_engine/test/unittest/core/pattern/rich_editor/ |
H A D | rich_editor_styled_string_test_ng.cpp | 34 const LeadingMargin TEST_LEADING_MARGIN = { .size = TEST_LEADING_MARGIN_SIZE }; 105 ImageSpanAttribute attr { .size = TEST_IMAGE_SIZE, in CreateImageStyledString() 275 EXPECT_EQ(static_cast<int32_t>(richEditorNode_->GetChildren().size()), 1); in HWTEST_F() 280 EXPECT_EQ(imageAttr.size->GetSize(), TEST_IMAGE_SIZE.GetSize()); in HWTEST_F() 354 EXPECT_EQ(static_cast<int32_t>(richEditorNode_->GetChildren().size()), 1); in HWTEST_F() 894 EXPECT_EQ(info.selection_.resultObjects.size(), mutableStr->GetSpanItems().size()); in HWTEST_F() 1059 // 3: Test get urlspan first position size in HWTEST_F() 1061 EXPECT_EQ(firstSpans.size(), 1); in HWTEST_F()
|
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/default_app/ |
H A D | js_default_app.cpp | 73 size_t size = 0; in ParseType() local 74 if (napi_get_value_string_utf8(env, value, nullptr, NAPI_RETURN_ZERO, &size) != napi_ok) { in ParseType() 78 result.reserve(size + 1); in ParseType() 79 result.resize(size); in ParseType() 80 if (napi_get_value_string_utf8(env, value, result.data(), (size + 1), &size) != napi_ok) { in ParseType() 204 for (size_t idx = 0; idx < bundleInfo.abilityInfos.size(); idx++) { in ConvertBundleInfo() 219 for (size_t idx = 0; idx < bundleInfo.extensionInfos.size(); idx++) { in ConvertBundleInfo()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/aot/ |
H A D | aot_handler.cpp | 589 int32_t size = 0; in GetOTACompileList() local 591 size = system::GetIntParameter<int32_t>(OTA_COMPILE_COUNT_MANUAL, OTA_COMPILE_COUNT_MANUAL_DEFAULT); in GetOTACompileList() 593 size = system::GetIntParameter<int32_t>(OTA_COMPILE_COUNT_NIGHT, OTA_COMPILE_COUNT_NIGHT_DEFAULT); in GetOTACompileList() 598 return GetUserBehaviourAppList(bundleNames, size); in GetOTACompileList() 601 bool AOTHandler::GetUserBehaviourAppList(std::vector<std::string> &bundleNames, int32_t size) const in GetUserBehaviourAppList() 603 APP_LOGI("GetUserBehaviourAppList begin, size %{public}d", size); in GetUserBehaviourAppList() 616 ErrCode ret = userStatusFunc(size, interestedApps, bundleNames); in GetUserBehaviourAppList() 617 APP_LOGI("GetUserPreferenceApp ret : %{public}d, bundleNames size : %{public}zu", ret, bundleNames.size()); in GetUserBehaviourAppList() [all...] |
/foundation/arkui/ace_engine/test/unittest/core/rosen/ |
H A D | rosen_render_context_test.cpp | 178 EXPECT_EQ(rosenRenderContext->GetRSNode()->GetChildren().size(), 0); in HWTEST_F() 230 float size = 100.0; in HWTEST_F() local 231 float ret = RosenRenderContext::ConvertDimensionToScaleBySize(dimension, size); in HWTEST_F() 234 float ret2 = RosenRenderContext::ConvertDimensionToScaleBySize(dimension, size); in HWTEST_F() 740 int size = rosenRenderContext->particleImageMap_.size(); in HWTEST_F() local 742 EXPECT_EQ(rosenRenderContext->particleImageMap_.size(), size + 1); in HWTEST_F()
|
/foundation/graphic/graphic_3d/lume/Lume_3D/src/util/ |
H A D | scene_util.cpp | 287 // default size, updated in render system based on main scene camera 451 dstJointNames.reserve(dstJointEntities.size()); in CreateJointMapping() 455 srcJointNames.reserve(srcJointEntities.size()); in CreateJointMapping() 458 srcToDstJointMapping.reserve(srcJointEntities.size()); in CreateJointMapping() 479 trackTargets.reserve(sourceTracks.size()); in UpdateTracks() 517 dst.resize(src.size()); in UpdateTracks() 518 const auto count = dst.size() / sizeof(Math::Vec3); in UpdateTracks() 692 if (dstJointsComponent->count != dstToSrcJointMapping.size()) { in ShareSkin() 697 std::copy(dstToSrcJointMapping.data(), dstToSrcJointMapping.data() + dstToSrcJointMapping.size(), in ShareSkin()
|
/foundation/multimedia/audio_framework/services/audio_service/server/src/ |
H A D | audio_service.cpp | 271 auto usagesSize = workingConfig_.filterOptions.usages.size(); in GetInnerCapFilterPolicy() 272 auto pidsSize = workingConfig_.filterOptions.pids.size(); in GetInnerCapFilterPolicy() 357 if (linkedPairedList_.size() == 0) { in FilterAllFastProcess() 409 for (size_t i = 0; i < filteredRendererMap_.size(); i++) { in OnUpdateInnerCapList() 448 for (size_t i = 0; i < filteredDualToneRendererMap_.size(); i++) { in DisableDualToneList() 505 for (size_t i = 0; i < filteredRendererMap_.size(); i++) { in OnCapturerFilterRemove() 514 AUDIO_INFO_LOG("Filter removed, clear %{public}zu filtered renderer.", filteredRendererMap_.size()); in OnCapturerFilterRemove() 819 if (linkedPairedList_.size() == 0) { in GetMaxAmplitude()
|
/foundation/multimedia/av_codec/services/media_engine/plugins/source/http_source/dash/ |
H A D | dash_media_downloader.cpp | 58 for (unsigned int index = 0; index < segmentDownloaders_.size(); index++) { in Close() 65 for (unsigned int index = 0; index < segmentDownloaders_.size(); index++) { in Pause() 72 for (unsigned int index = 0; index < segmentDownloaders_.size(); index++) { in Resume() 81 MEDIA_LOG_W("dash read, segmentDownloaders size is 0"); in Read() 372 for (unsigned int index = 0; index < streams.size(); index++) { in ReceiveMpdStreamInitEvent() 613 if (bitRates.size() == 0) { in GetNextBitrate() 633 // high size: buffersize * 0.8 in GetNextBitrate() 1013 for (unsigned int index = 0; index < segmentDownloaders_.size(); index++) { in SetInterruptState() 1047 for (size_t i = 0; i < segmentDownloaders_.size(); i++) { in GetPlaybackInfo() 1072 for (size_t i = 0; i < segmentDownloaders_.size(); in SetAppUid() [all...] |
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/pipeline/ |
H A D | rs_paint_filter_canvas.cpp | 1138 return alphaStack_.size() - 1; in SaveAlpha() 1150 if (alphaStack_.size() <= 1u) { in RestoreAlpha() 1158 return alphaStack_.size(); in GetAlphaSaveCount() 1168 int n = static_cast<int>(alphaStack_.size()) - count; in RestoreAlphaToCount() 1194 return envStack_.size() - 1; in SaveEnv() 1200 if (envStack_.size() <= 1) { in RestoreEnv() 1213 int n = static_cast<int>(envStack_.size()) - count; in RestoreEnvToCount() 1221 return envStack_.size(); in GetEnvSaveCount()
|
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/drawing/path_napi/ |
H A D | js_path.cpp | 618 uint32_t size = 0; in OnAddPolygon() local 619 napi_get_array_length(env, array, &size); in OnAddPolygon() 620 if (size == 0) { in OnAddPolygon() 624 points.reserve(size); in OnAddPolygon() 625 for (uint32_t i = 0; i < size; i++) { in OnAddPolygon() 646 if (points.size() != size) { in OnAddPolygon() 654 m_path->AddPoly(points, size, close); in OnAddPolygon()
|