Home
last modified time | relevance | path

Searched refs:SIZE (Results 1 - 25 of 33) sorted by relevance

12

/foundation/multimedia/media_foundation/tests/unittest/avbuffer/
H A Davsharedmemorybase_func_unit_test.cpp21 constexpr int SIZE = 15; variable
57 std::make_shared<AVSharedMemoryBase>(SIZE, AVSharedMemory::Flags::FLAGS_READ_WRITE, "test"); in HWTEST_F()
70 std::make_shared<AVSharedMemoryBase>(SIZE, AVSharedMemory::Flags::FLAGS_READ_WRITE, "test"); in HWTEST_F()
76 uint8_t buffer[SIZE] = {0}; in HWTEST_F()
77 ret = memory->Write(buffer, SIZE); in HWTEST_F()
78 ASSERT_TRUE(ret == SIZE); in HWTEST_F()
81 uint8_t readBuffer[SIZE] = {0}; in HWTEST_F()
82 ret = memory->Read(readBuffer, SIZE); in HWTEST_F()
83 ASSERT_TRUE(ret == SIZE); in HWTEST_F()
84 ASSERT_TRUE(memcmp(buffer, readBuffer, SIZE) in HWTEST_F()
[all...]
/foundation/arkui/ace_engine/frameworks/core/gestures/
H A Draw_recognizer.h26 constexpr uint32_t SIZE = 2; member
32 constexpr uint32_t SIZE = 2; member
38 constexpr uint32_t SIZE = 4; member
98 OnTouchEventCallback onEventCallbacks_[EventStage::SIZE][EventType::SIZE];
99 CatchTouchEventCallback catcheventCallbacks_[EventStage::SIZE][EventType::SIZE];
H A Dswipe_recognizer.h74 SwipeCallback swipeCallback_[EventStage::SIZE];
75 CatchSwipeCallback swipeCatchCallback_[EventStage::SIZE];
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/skia_adapter/
H A Dskia_task_executor.h49 template<class T, uint32_t SIZE>
57 uint32_t newHead = (head_ + 1) % SIZE; in Push()
71 tail_ = (tail_ + 1) % SIZE; in Pop()
84 return ((head_ + 1) % SIZE) != tail_; in HasSpace()
92 return tail_ - head_ + SIZE; in Size()
99 T buffer_[SIZE];
/foundation/arkui/ace_engine/frameworks/core/components/touch_listener/
H A Dtouch_listener_component.h131 EventMarker eventIds_[EventAction::SIZE][EventStage::SIZE][EventType::SIZE];
132 EventMarker swipeIds_[EventAction::SIZE][EventStage::SIZE];
H A Drender_touch_listener.cpp42 for (uint32_t eventStage = 0; eventStage < EventStage::SIZE; eventStage++) { in Update()
43 for (uint32_t touchEventType = 0; touchEventType < EventType::SIZE; touchEventType++) { in Update()
/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/wifi_native/client/hdi_client/hdi_interface/
H A Dwifi_hdi_wpa_p2p_impl_test.cpp24 const int SIZE = 128; member
238 char deviceAddress[SIZE] = {0}; in HWTEST_F()
239 HdiP2pGetDeviceAddress(deviceAddress, SIZE); in HWTEST_F()
245 char replyDisc[SIZE] = {0}; in HWTEST_F()
246 WifiErrorNo result = HdiP2pReqServiceDiscovery(&reqService, replyDisc, SIZE); in HWTEST_F()
267 char replyPin[SIZE] = {0}; in HWTEST_F()
268 WifiErrorNo result = HdiP2pConnect(&info, replyPin, SIZE); in HWTEST_F()
/foundation/communication/wifi/wifi/test/fuzztest/wifi_sta/wifiscanserver_fuzzer/
H A Dwifiscanserver_fuzzer.cpp36 constexpr int SIZE = 10; member
78 wifiScanParams.band = static_cast<ScanBandType>(static_cast<int>(data[0]) % SIZE); in ScanInterfaceFuzzTest()
113 scanConfig.scanBand = static_cast<ScanBandType>(static_cast<int>(data[0]) % SIZE); in SingleScanFuzzTest()
121 ScanBandType band = static_cast<ScanBandType>(static_cast<int>(data[0]) % SIZE); in GetBandFreqsFuzzTest()
159 scanConfig.scanBand = static_cast<ScanBandType>(static_cast<int>(data[0]) % SIZE); in StoreRequestScanConfigFuzzTest()
191 scanReport.status = static_cast<ScanStatus>(static_cast<int>(data[0]) % SIZE); in StoreRequestScanConfigFuzzTest()
195 scanIntervalMode.scanMode = static_cast<ScanMode>(static_cast<int>(data[0]) % SIZE); in StoreRequestScanConfigFuzzTest()
223 int status = (static_cast<int>(data[0]) % SIZE + 17); in StoreRequestScanConfigFuzzTest()
261 ScanMode scanMode = static_cast<ScanMode>(static_cast<int>(data[0]) % SIZE); in AllowExternScanByForbidFuzzTest()
274 ScanBandType scanBand = static_cast<ScanBandType>(static_cast<int>(data[0]) % SIZE); in GetAllowBandFreqsControlInfoFuzzTest()
[all...]
/foundation/ai/ai_engine/test/common/threadpool/
H A Dthread_pool_test.cpp33 const int SIZE = 70000; member
142 testThread.SetStackSize(SIZE); in HWTEST_F()
166 threadPool->SetStackSize(SIZE); in HWTEST_F()
167 ASSERT_EQ(threadPool->getStackSize(), SIZE); in HWTEST_F()
/foundation/graphic/graphic_3d/lume/metaobject/include/meta/interface/
H A Dinterface_helpers.h60 constexpr static size_t SIZE = Size; member
186 return I::SIZE;
201 static constexpr size_t SIZE = CountInterfaces<Interfaces...>();
203 constexpr Internal::UIDArray<SIZE> Get() const
244 Internal::UIDArray<SIZE> arr_ {};
258 return BASE_NS::vector<BASE_NS::Uid>(arr.data, arr.data + arr.SIZE);
339 return GetInterfacesVectorImpl(MakeIndexSequence<SIZE>());
349 constexpr static size_t SIZE = GetInterfacesImpl<IntroduceInterfaces, Interfaces...>::SIZE;
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/
H A Drdb_result_set_impl_test.cpp45 static inline constexpr int32_t SIZE = 50; member in OHOS::Test::DistributedRDBTest::RdbResultSetImplTest
54 cursor = std::make_shared<CursorMock::ResultSet>(SIZE); in SetUp()
55 for (int i = 0; i < SIZE; i++) { in SetUp()
125 ASSERT_EQ(count, SIZE); in HWTEST_F()
143 int absPosition = random() % SIZE; in HWTEST_F()
150 ASSERT_EQ(position, SIZE - 1); in HWTEST_F()
157 ASSERT_EQ(position, SIZE); in HWTEST_F()
164 ASSERT_EQ(position, SIZE - 10); in HWTEST_F()
/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_toolkit/unittest/
H A Draw_socket_test.cpp23 uint8_t SIZE = 1; member
70 uint8_t *destHwaddr = &SIZE; in HWTEST_F()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/loading_progress/
H A Dloading_progress_utill.h25 constexpr uint32_t SIZE = 6; member
67 for (uint32_t index = 1; index < SIZE; index++) { in GetRingStrokeWidth()
115 for (uint32_t index = 1; index < SIZE; index++) { in GetCometRadius()
/foundation/arkui/ace_engine/test/unittest/core/render/
H A Dimage_painter_test_ng.cpp45 const NG::SizeF& SIZE { 10, 10 };
98 imagePainter.DrawImage(canvas, OFFSETF, SIZE); in HWTEST_F()
111 imagePainter.DrawImage(canvas, OFFSETF, SIZE); in HWTEST_F()
116 imagePainter.DrawImage(canvas, OFFSETF, SIZE); in HWTEST_F()
129 imagePainter.DrawImage(canvas, OFFSETF, SIZE); in HWTEST_F()
141 imagePainter.DrawImage(canvas, OFFSETF, SIZE); in HWTEST_F()
174 imagePainter.DrawObscuration(canvas, OFFSETF, SIZE); in HWTEST_F()
176 imagePainter.DrawObscuration(canvas, OFFSETF, SIZE); in HWTEST_F()
184 imagePainter.DrawObscuration(canvas, OFFSETF, SIZE); in HWTEST_F()
224 imagePainter.DrawSVGImage(testingCanvas, OFFSETF, SIZE); in HWTEST_F()
[all...]
/foundation/multimedia/player_framework/frameworks/js/system_sound_manager/src/
H A Dsystem_sound_manager_napi_ext.cpp37 const int32_t SIZE = 1024; member
143 char buffer[SIZE] = {0}; in ExtractStringToEnv()
145 napi_get_value_string_utf8(env, argv, buffer, SIZE, &res); in ExtractStringToEnv()
153 char buffer[SIZE] = {0}; in GetToneHapticsSettingsToEnv()
162 napi_get_value_string_utf8(env, property, buffer, SIZE, &res); in GetToneHapticsSettingsToEnv()
367 char buffer[SIZE]; in GetHapticsAttrsSyncedWithTone()
385 napi_get_value_string_utf8(env, argv[i], buffer, SIZE, &res); in GetHapticsAttrsSyncedWithTone()
466 char buffer[SIZE]; in OpenToneHaptics()
484 napi_get_value_string_utf8(env, argv[i], buffer, SIZE, &res); in OpenToneHaptics()
H A Dsystem_sound_manager_napi.cpp42 const int32_t SIZE = 1024; member
1302 char buffer[SIZE]; in SetAlarmToneUri()
1320 napi_get_value_string_utf8(env, argv[i], buffer, SIZE, &res); in SetAlarmToneUri()
1525 char buffer[SIZE]; in OpenAlarmTone()
1543 napi_get_value_string_utf8(env, argv[i], buffer, SIZE, &res); in OpenAlarmTone()
1690 char buffer[SIZE]; in AddCustomizedTone()
1707 napi_get_value_string_utf8(env, argv[i], buffer, SIZE, &res); in AddCustomizedTone()
1807 char buffer[SIZE]; in RemoveCustomizedTone()
1825 napi_get_value_string_utf8(env, argv[i], buffer, SIZE, &res); in RemoveCustomizedTone()
/foundation/communication/dsoftbus/tests/core/bus_center/lnn/net_buscenter/
H A Dlnn_ip_network_impl_test.cpp32 #define SIZE 20 macro
168 int32_t ret = GetAvailableIpAddr(IFNAME_TEST0, const_cast<char *>(WLAN_IP1), SIZE); in HWTEST_F()
170 ret = GetAvailableIpAddr(IFNAME_TEST1, const_cast<char *>(WLAN_IP2), SIZE); in HWTEST_F()
328 ret = GetWifiServiceIpAddr(IFNAME_TEST0, const_cast<char *>(WLAN_IP0), SIZE); in HWTEST_F()
332 ret = GetWifiServiceIpAddr(IFNAME_TEST0, const_cast<char *>(WLAN_IP0), SIZE); in HWTEST_F()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/
H A Djs_ui_index.h70 FUNCTION("size", SIZE) \
/foundation/multimedia/camera_framework/interfaces/kits/js/camera_napi/include/
H A Dcamera_napi_const.h43 const int32_t SIZE = 100; member
/foundation/graphic/graphic_3d/lume/metaobject/test/src/ext/
H A DInterfaceHelpersTest.cpp124 static_assert(GI::SIZE == 8); in HWTEST_F()
216 static_assert(GI::SIZE == 11); in HWTEST_F()
/foundation/multimedia/av_session/services/session/server/test/
H A Dsoftbus_session_manager_test.cpp39 static const int SIZE = 3; variable
60 NativeTokenGet(g_perms, SIZE); in SetUp()
/foundation/multimedia/player_framework/frameworks/js/audio_haptic/src/
H A Daudio_haptic_manager_napi.cpp30 const int32_t SIZE = 1024; member
223 char buffer[SIZE]; in RegisterSource()
245 napi_get_value_string_utf8(env, argv[i], buffer, SIZE, &res); in RegisterSource()
248 napi_get_value_string_utf8(env, argv[i], buffer, SIZE, &res); in RegisterSource()
/foundation/multimedia/image_framework/frameworks/kits/js/common/
H A Dimage_packer_napi.cpp74 const int32_t SIZE = 100; member
636 if (tmpNumber > SIZE) { in parsePackOptionOfQuality()
661 char buffer[SIZE] = {0}; in parsePackOptions()
664 if (napi_get_value_string_utf8(env, tmpValue, buffer, SIZE, &res) != napi_ok) { in parsePackOptions()
679 if (napi_get_value_string_utf8(env, item, buffer, SIZE, &res) != napi_ok) { in parsePackOptions()
/foundation/arkui/ace_engine_lite/frameworks/src/core/components/
H A Dchart_component.h157 static const char * const SIZE; member in OHOS::ACELite::final
/foundation/arkui/ace_engine/frameworks/bridge/common/dom/
H A Ddom_node.cpp113 for (uint32_t eventAction = 0; eventAction < EventAction::SIZE; eventAction++) { in ~DOMNode()
114 for (uint32_t eventStage = 0; eventStage < EventStage::SIZE; eventStage++) { in ~DOMNode()
115 for (uint32_t touchEventType = 0; touchEventType < EventType::SIZE; touchEventType++) { in ~DOMNode()
1841 for (uint32_t eventAction = 0; eventAction < EventAction::SIZE; eventAction++) { in UpdateTouchEventComponent()
1842 for (uint32_t eventStage = 0; eventStage < EventStage::SIZE; eventStage++) { in UpdateTouchEventComponent()
1867 for (uint32_t eventAction = 0; eventAction < EventAction::SIZE; eventAction++) { in UpdateTouchEventComponent()
1868 for (uint32_t eventStage = 0; eventStage < EventStage::SIZE; eventStage++) { in UpdateTouchEventComponent()
1869 for (uint32_t touchEventType = 0; touchEventType < EventType::SIZE; touchEventType++) { in UpdateTouchEventComponent()

Completed in 23 milliseconds

12