/foundation/arkui/ui_lite/test/unittest/components/ |
H A D | ui_chart_unit_test.cpp | 24 const uint16_t ARRAY_SIZE = 5; member 27 const Point POINT_ARRAY[ARRAY_SIZE] = { {0, 2478}, {1, 2600}, {2, 3000}, {3, 3200}, {4, 3500} }; 46 chartDataSerial_->SetMaxDataCount(ARRAY_SIZE); in SetUp() 102 ret = chartDataSerial_->AddPoints(POINT_ARRAY, ARRAY_SIZE); in HWTEST_F() 122 bool ret = chartDataSerial_->AddPoints(POINT_ARRAY, ARRAY_SIZE); in HWTEST_F() 145 bool ret = chartDataSerial_->AddPoints(POINT_ARRAY, ARRAY_SIZE); in HWTEST_F() 147 ret = chartDataSerial_->ModifyPoint(ARRAY_SIZE + 1, point); in HWTEST_F() 171 bool ret = chartDataSerial_->AddPoints(POINT_ARRAY, ARRAY_SIZE); in HWTEST_F() 190 bool ret = chartDataSerial_->AddPoints(POINT_ARRAY, ARRAY_SIZE); in HWTEST_F() 193 EXPECT_EQ(count, ARRAY_SIZE); in HWTEST_F() [all...] |
/foundation/communication/netmanager_base/utils/common_utils/include/ |
H A D | delayed_queue.h | 29 template <typename T, size_t ARRAY_SIZE, size_t DELAYED_COUNT> class DelayedQueue {
51 index_ = (index_ + 1) % (ARRAY_SIZE + DELAYED_COUNT);
in DelayedQueue() 76 int index = (index_ + DELAYED_COUNT) % (ARRAY_SIZE + DELAYED_COUNT);
in Put() 88 std::array<std::set<std::shared_ptr<T>, std::owner_less<std::shared_ptr<T>>>, ARRAY_SIZE + DELAYED_COUNT> elems_;
|
/foundation/communication/dsoftbus/core/connection/wifi_direct_cpp/ |
H A D | wifi_direct_defines.h | 20 #define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0])) macro
|
/foundation/communication/dsoftbus/core/common/include/ |
H A D | softbus_def.h | 82 #ifndef ARRAY_SIZE 83 #define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0])) macro
|
/foundation/communication/dhcp/test/unittest/services/dhcp_client/ |
H A D | dhcp_result_test.cpp | 27 constexpr int ARRAY_SIZE = 1030; member
|
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing_ndk/cpp/dm/ |
H A D | drawbitmaprect.cpp | 110 const size_t ARRAY_SIZE = sizeof(arrayRect) / sizeof(arrayRect[0]); in OnTestFunction() local 120 for (size_t i = 0; i < ARRAY_SIZE; ++i) { in OnTestFunction()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_particle.cpp | 44 constexpr int32_t ARRAY_SIZE = 2; member 72 if (static_cast<int32_t>(sizeJsArray->Length()) == ARRAY_SIZE) { in ParsSize() 96 if (jsArray->Length() != ARRAY_SIZE) { in ParseParticleRange() 195 if (randomArraySize != ARRAY_SIZE) { in ParseFloatRandomConfig() 265 if (floatRangeJsArray->Length() != ARRAY_SIZE) { in ParseFloatInitRange() 443 if (positionJsArray->Length() == ARRAY_SIZE) { in ParseEmitterOption() 579 if (static_cast<int32_t>(colorRangeJsArray->Length()) != ARRAY_SIZE) { in ParseColorInitRange()
|
/foundation/communication/wifi/wifi/test/wifi_client/ |
H A D | wifi_client.cpp | 26 #define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0])) macro 792 int count = ARRAY_SIZE(g_sta_cli_cmds); in HelpCommand() 805 int count = ARRAY_SIZE(g_sta_cli_cmds); in Help() 818 int count = ARRAY_SIZE(g_sta_cli_cmds); in HandleUserCommand()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/ |
H A D | arkts_native_utils_bridge.cpp | 31 constexpr uint32_t ARRAY_SIZE = 2; member 199 Local<panda::ArrayRef> length = panda::ArrayRef::New(vm, ARRAY_SIZE); in ResoureToLengthMetrics()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/moduletest/common/distributeddb/include/ |
H A D | distributeddb_schema_test_tools.h | 28 const static int ARRAY_SIZE = 3; variable
|
/foundation/arkui/ace_engine/test/unittest/core/property/ |
H A D | accessibility_property_test_ng.cpp | 41 const size_t ARRAY_SIZE = 1; member 76 EXPECT_EQ(actions.size(), ARRAY_SIZE); in HWTEST_F() 92 EXPECT_EQ(actions.size(), ARRAY_SIZE); in HWTEST_F()
|
/foundation/communication/dsoftbus/tests/core/connection/wifi_direct_cpp/processor/ |
H A D | p2p_v1_processor_test.cpp | 823 for (auto i = 0; i < times && index < ARRAY_SIZE(expected); i++) { in InspectProcessorState() 831 return index == ARRAY_SIZE(expected); in InspectProcessorState() 1393 auto index = counter % ARRAY_SIZE(g_fuzzInjectorTable); in GenerateCmdConnV1Req()
|
/foundation/communication/dsoftbus/core/connection/wifi_direct_cpp/entity/ |
H A D | p2p_entity.cpp | 76 actions, ARRAY_SIZE(actions), "P2pEntity", ListenerPriority::LISTENER_PRIORITY_HIGH, P2pEntity::Listener); in Init()
|
/foundation/arkui/ace_engine/interfaces/native/node/ |
H A D | style_modifier.cpp | 88 constexpr uint32_t ARRAY_SIZE = 3; member 9035 std::array<float, ARRAY_SIZE> rotateArray; in SetRotateTransition() 9050 node->uiNodeHandle, &rotateArray[0], ARRAY_SIZE, perspective, angle, &animationOption); in SetRotateTransition() 9064 std::array<float, ARRAY_SIZE> scaleFloatArray; in SetScaleTransition() 10309 std::array<float, ARRAY_SIZE> rotateArray; in ResetRotateTransition() 10313 node->uiNodeHandle, &rotateArray[0], ARRAY_SIZE, 0.0f, 0.0f, &animationOption); in ResetRotateTransition() 10319 std::array<float, ARRAY_SIZE> scaleFloatArray; in ResetScaleTransition() 10329 std::array<float, ARRAY_SIZE> scaleFloatArray; in ResetTranslateTransition()
|
/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/ |
H A D | node_common_modifier.cpp | 86 constexpr int32_t ARRAY_SIZE = 3; member 4176 if (length < ARRAY_SIZE) { in SetRotateTransition() 4257 if (length < ARRAY_SIZE) { in SetScaleTransition()
|