/foundation/graphic/graphic_3d/lume/metaobject/src/animation/modifiers/ |
H A D | loop.cpp | 36 const auto loopCount = META_ACCESS_PROPERTY_VALUE(LoopCount); in ProcessOnGetDuration() local 37 if (loopCount == 0) { in ProcessOnGetDuration() 41 if (loopCount > 0) { in ProcessOnGetDuration() 42 duration.loopCount = duration.loopCount < 0 ? duration.loopCount : duration.loopCount + loopCount - 1; in ProcessOnGetDuration() 44 duration.loopCount = -1; in ProcessOnGetDuration()
|
/foundation/communication/dsoftbus/components/nstackx/fillp/src/fillp_lib/src/fillp/ |
H A D | fillp_pcb.c | 453 FILLP_ULONG loopCount; in FillpPcbFreeRecvItemArray() local 456 loopCount = (FILLP_ULONG)pcb->recvBoxPlaceInOrder.nodeNum; in FillpPcbFreeRecvItemArray() 457 for (index = 0; index < loopCount; index++) { in FillpPcbFreeRecvItemArray() 462 loopCount = (FILLP_ULONG)pcb->recvList.nodeNum; in FillpPcbFreeRecvItemArray() 463 for (index = 0; index < loopCount; index++) { in FillpPcbFreeRecvItemArray() 468 loopCount = FillpQueueValidOnes(pcb->recvBox); in FillpPcbFreeRecvItemArray() 469 for (index = 0; index < loopCount; index++) { in FillpPcbFreeRecvItemArray() 554 FILLP_UINT32 loopCount; in FillpPcbFreeSendItemArray() local 557 loopCount = pcb->itemWaitTokenLists.nodeNum; in FillpPcbFreeSendItemArray() 558 for (index = 0; index < loopCount; inde in FillpPcbFreeSendItemArray() [all...] |
H A D | fillp_common.c | 136 FILLP_UINT32 loopCount; in FillpMoveUnackToUnrecvAll() local 147 loopCount = (FILLP_UINT32)((lostSeqIndex + unackList->size - ackSeqIndex) & unackList->hashModSize); in FillpMoveUnackToUnrecvAll() 152 loopCount = unackListSize; in FillpMoveUnackToUnrecvAll() 155 for (i = 0; i <= loopCount; i++) { in FillpMoveUnackToUnrecvAll() 289 FILLP_UINT32 i, loopCount; in FillpAckUnackList() local 319 loopCount = unackListSize; in FillpAckUnackList() 321 loopCount = UTILS_MIN((curSeqIndex + unackListSize - lastSeqIndex) & hashModSize, unackListSize); in FillpAckUnackList() 324 for (i = 0; i <= loopCount; i++) { in FillpAckUnackList()
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/image_source_test/ |
H A D | image_source_gif_ex_test.cpp | 477 auto loopCount = imageSource->GetLoopCount(errorCode);
in HWTEST_F() local 478 ASSERT_EQ(loopCount, TEST_FILE_MULTI_FRAME_GIF_LOOP_COUNT_5);
in HWTEST_F() 500 auto loopCount = imageSource->GetLoopCount(errorCode);
in HWTEST_F() local 501 ASSERT_EQ(loopCount, TEST_FILE_MULTI_FRAME_GIF_LOOP_COUNT_1);
in HWTEST_F() 523 auto loopCount = imageSource->GetLoopCount(errorCode);
in HWTEST_F() local 524 ASSERT_EQ(loopCount, TEST_FILE_MULTI_FRAME_GIF_LOOP_COUNT_INF);
in HWTEST_F() 546 auto loopCount = imageSource->GetLoopCount(errorCode);
in HWTEST_F() local 547 ASSERT_EQ(loopCount, TEST_FILE_MULTI_FRAME_GIF_LOOP_COUNT_INF);
in HWTEST_F()
|
/foundation/multimedia/image_framework/frameworks/kits/js/common/ndk/ |
H A D | image_packer_native.cpp | 73 uint32_t loopCount = 0; member 428 Image_ErrorCode OH_PackingOptionsForSequence_SetLoopCount(OH_PackingOptionsForSequence *options, uint32_t loopCount) in OH_PackingOptionsForSequence_SetLoopCount() argument 433 options->loopCount = loopCount; in OH_PackingOptionsForSequence_SetLoopCount() 438 Image_ErrorCode OH_PackingOptionsForSequence_GetLoopCount(OH_PackingOptionsForSequence *options, uint32_t *loopCount) in OH_PackingOptionsForSequence_GetLoopCount() argument 440 if (options == nullptr || loopCount == nullptr) { in OH_PackingOptionsForSequence_GetLoopCount() 443 *loopCount = options->loopCount; in OH_PackingOptionsForSequence_GetLoopCount() 581 packOption.loop = static_cast<uint16_t>(options->loopCount); in OH_ImagePackerNative_PackToDataFromPixelmapSequence() 611 packOption.loop = static_cast<uint16_t>(options->loopCount); in OH_ImagePackerNative_PackToFileFromPixelmapSequence() [all...] |
/foundation/ai/neural_network_runtime/example/deep_learning_framework/tflite/label_classify/ |
H A D | label_classify.cpp | 225 if (settings.loopCount > 0 && settings.numberOfWarmupRuns > 0) { in InferenceModel() 236 LOG(INFO) << "Invoke for " << settings.loopCount << " times"; in InferenceModel() 238 for (int32_t i = 0; i < settings.loopCount; ++i) { in InferenceModel() 247 (GetUs(stopTime) - GetUs(startTime)) / (settings.loopCount * CONVERSION_RATE) << " ms"; in InferenceModel() 282 settings.loopCount = strtol(optarg, nullptr, BASE_NUMBER); in InitSettings()
|
H A D | label_classify.h | 33 int32_t loopCount = 1; member
|
/foundation/graphic/graphic_3d/lume/metaobject/include/meta/interface/animation/ |
H A D | intf_animation_modifier.h | 46 int32_t loopCount { 1 };
|
/foundation/multimedia/audio_framework/frameworks/native/ohaudio/test/example/ |
H A D | oh_audio_capturer_lowlatency_test.cpp | 132 int32_t InitSpk(int32_t loopCount, bool isRemote); 213 int32_t AudioNdkTest::InitSpk(int32_t loopCount, bool isRemote) in InitSpk() argument 215 if (loopCount < 0) { in InitSpk() 217 } else if (loopCount == 0) { in InitSpk() 220 g_loopCount = loopCount; in InitSpk()
|
/foundation/graphic/graphic_3d/lume/Lume_3D/src/render/node/ |
H A D | render_node_default_shadows_blur.cpp | 199 uint32_t loopCount = 0; in RenderData() local 201 loopCount = 1U; in RenderData() 203 loopCount = 2U; in RenderData() 217 for (uint32_t idx = 0; idx < loopCount; ++idx) { in RenderData() 218 const uint32_t descriptorSetIndex = (drawIdx * loopCount) + idx; in RenderData()
|
/foundation/multimedia/image_framework/interfaces/kits/native/include/image/ |
H A D | image_packer_native.h | 360 * @param loopCount The number of image loopCount. 366 Image_ErrorCode OH_PackingOptionsForSequence_SetLoopCount(OH_PackingOptionsForSequence *options, uint32_t loopCount); 372 * @param loopCount The number of image loopCount. 375 * {@link IMAGE_BAD_PARAMETER} options or loopCount is nullptr. 378 Image_ErrorCode OH_PackingOptionsForSequence_GetLoopCount(OH_PackingOptionsForSequence *options, uint32_t *loopCount);
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/syncer/ |
H A D | distributeddb_mock_sync_module_test.cpp | 215 const int loopCount = 10; in AutoLaunchCheck001() local 220 for (int i = 0; i < loopCount; i++) { in AutoLaunchCheck001() 224 if (finishCount == loopCount) { in AutoLaunchCheck001() 231 cv.wait(lock, [&finishCount, &loopCount]() { return finishCount == loopCount; }); in AutoLaunchCheck001() 244 const int loopCount = 1000; in AbilitySync004() local 249 for (int i = 0; i < loopCount; i++) { in AbilitySync004() 254 if (finishCount == loopCount) { in AbilitySync004() 260 cv.wait(lock, [&]() { return finishCount == loopCount; }); in AbilitySync004() 369 const int loopCount in TimeSync001() local 1635 const int loopCount = 1000; HWTEST_F() local 1886 const int loopCount = 100; HWTEST_F() local 2156 const int loopCount = 100; HWTEST_F() local [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/swiper_indicator/indicator_common/ |
H A D | swiper_indicator_pattern.cpp | 407 int32_t loopCount = SwiperIndicatorUtils::CalcLoopCount(currentIndex, itemCount); in GetMouseClickIndex() local 413 int start = currentIndex >= 0 ? loopCount * itemCount : -(loopCount + 1) * itemCount; in GetMouseClickIndex() 414 int end = currentIndex >= 0 ? (loopCount + 1) * itemCount : -loopCount * itemCount; in GetMouseClickIndex() 416 end = currentIndex >= 0 ? loopCount * itemCount - 1 : -(loopCount + 1) * itemCount - 1; in GetMouseClickIndex() 417 start = currentIndex >= 0 ? (loopCount + 1) * itemCount - 1 : -loopCount * itemCount - 1; in GetMouseClickIndex()
|
/foundation/graphic/graphic_3d/lume/metaobject/src/animation/ |
H A D | animation_state.cpp | 154 state_.loops = state_.duration.loopCount; in Move() 373 durationData.loopCount > 0 ? durationData.duration * durationData.loopCount : TimeSpan::Infinite(); in UpdateTotalDuration()
|
/foundation/multimedia/audio_framework/services/audio_service/test/example/ |
H A D | audio_process_client_test.cpp | 308 int32_t InitSpk(int32_t loopCount, bool isRemote); 539 int32_t AudioProcessTest::InitSpk(int32_t loopCount, bool isRemote) in InitSpk() argument 541 if (loopCount < 0) { in InitSpk() 543 } else if (loopCount == 0) { in InitSpk() 546 loopCount_ = loopCount; in InitSpk() 863 cout << "Auto run spk process test enter, please input loopCount and path:" << endl; in AutoRunSpk() 864 int32_t loopCount = GetUserInput(); in AutoRunSpk() local 873 if (g_audioProcessTest->InitSpk(loopCount, false) != SUCCESS) { in AutoRunSpk()
|
/foundation/multimedia/player_framework/frameworks/native/audio_haptic/ |
H A D | audio_haptic_sound_low_latency_impl.cpp | 231 int32_t loopCount = loop_ ? -1 : 0; in SetLoop() local 232 result = soundPoolPlayer_->SetLoop(streamID_, loopCount); in SetLoop()
|
/foundation/communication/dsoftbus/tests/core/discovery/manager/unittest/ |
H A D | disc_manager_mock_test.cpp | 799 uint32_t loopCount = 100; in HWTEST_F() local 802 for (uint32_t i = 0; i < loopCount; ++i) { in HWTEST_F()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/storage/ |
H A D | distributeddb_relational_get_data_test.cpp | 1746 const int loopCount = 1000; in HWTEST_F() local 1748 for (int i = 0; i < loopCount; ++i) { in HWTEST_F() 1758 for (int i = 0; i < loopCount; ++i) { in HWTEST_F()
|
/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/ |
H A D | ext_decoder.cpp | 1753 int loopCount = ZERO;
in HeapMemAlloc() local 1754 res = GetLoopCount(codec_.get(), loopCount);
in HeapMemAlloc() 1755 value = std::to_string(loopCount);
in HeapMemAlloc()
|
/foundation/multimedia/audio_framework/frameworks/native/audiorenderer/test/unittest/renderer_test/src/ |
H A D | audio_renderer_unit_test.cpp | 2793 int loopCount = 20; // 400ms in HWTEST() local 2794 while (loopCount-- > 0) { in HWTEST() 2809 loopCount = 10; // 200ms in HWTEST() 2810 while (loopCount-- > 0) { in HWTEST() 6725 int loopCount = 20; // 400ms in HWTEST() local 6726 while (loopCount-- > 0) { in HWTEST() 6741 loopCount = 10; // 200ms in HWTEST() 6742 while (loopCount-- > 0) { in HWTEST()
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/codec/src/ |
H A D | image_source.cpp | 3396 int32_t loopCount = 0; 3398 errorCode = mainDecoder_->GetImagePropertyInt(0, IMAGE_LOOP_COUNT, loopCount); 3406 return loopCount;
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/swiper/ |
H A D | swiper_pattern.cpp | 1844 auto loopCount = itemCount == 0 ? 0 : std::abs(currentIndex_ / itemCount); in ChangeIndex() local 1845 auto targetIndex = currentIndex_ >= 0 ? loopCount * itemCount + index : -(loopCount + 1) * itemCount + index; in ChangeIndex()
|
/foundation/arkui/napi/sample/native_module_systemtest/ |
H A D | test_napi.cpp | 473 size_t loopCount = 5; in TsFuncreleasefiveThread() local 474 for (size_t i = 0; i < loopCount; i++) { in TsFuncreleasefiveThread()
|