/foundation/multimedia/media_foundation/tests/unittest/avbuffer/ |
H A D | avsharedmemorybase_func_unit_test.cpp | 21 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 D | raw_recognizer.h | 26 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 D | swipe_recognizer.h | 74 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 D | skia_task_executor.h | 49 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 D | touch_listener_component.h | 131 EventMarker eventIds_[EventAction::SIZE][EventStage::SIZE][EventType::SIZE]; 132 EventMarker swipeIds_[EventAction::SIZE][EventStage::SIZE];
|
H A D | render_touch_listener.cpp | 42 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 D | wifi_hdi_wpa_p2p_impl_test.cpp | 24 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 D | wifiscanserver_fuzzer.cpp | 36 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 D | thread_pool_test.cpp | 33 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 D | interface_helpers.h | 60 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 D | rdb_result_set_impl_test.cpp | 45 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 D | raw_socket_test.cpp | 23 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 D | loading_progress_utill.h | 25 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 D | image_painter_test_ng.cpp | 45 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 D | system_sound_manager_napi_ext.cpp | 37 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 D | system_sound_manager_napi.cpp | 42 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 D | lnn_ip_network_impl_test.cpp | 32 #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 D | js_ui_index.h | 70 FUNCTION("size", SIZE) \
|
/foundation/multimedia/camera_framework/interfaces/kits/js/camera_napi/include/ |
H A D | camera_napi_const.h | 43 const int32_t SIZE = 100; member
|
/foundation/graphic/graphic_3d/lume/metaobject/test/src/ext/ |
H A D | InterfaceHelpersTest.cpp | 124 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 D | softbus_session_manager_test.cpp | 39 static const int SIZE = 3; variable 60 NativeTokenGet(g_perms, SIZE); in SetUp()
|
/foundation/multimedia/player_framework/frameworks/js/audio_haptic/src/ |
H A D | audio_haptic_manager_napi.cpp | 30 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 D | image_packer_napi.cpp | 74 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 D | chart_component.h | 157 static const char * const SIZE; member in OHOS::ACELite::final
|
/foundation/arkui/ace_engine/frameworks/bridge/common/dom/ |
H A D | dom_node.cpp | 113 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()
|