/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/tests/tcp_server/ |
H A D | mod.rs | 117 let size2 = stream.read(&mut buf).await.expect("tcp stream read error2 !"); localVariable 118 assert_eq!(&buf[..size2], $req_body.as_bytes()); 119 assert_eq!(size + size2, length, "Incorrect total request bytes !"); 220 let size2 = stream.read(&mut buf).expect("tcp stream read error2 !"); localVariable 221 assert_eq!(&buf[..size2], $req_body.as_bytes()); 222 assert_eq!(size + size2, length, "Incorrect total request bytes !");
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/platform/ohos/ |
H A D | rs_ashmem_helper_test.cpp | 120 size_t size2 = 10; variable 121 auto res02 = AshmemAllocator::CreateAshmemAllocatorWithFd(fd2, size2, mapType); 171 size_t size2 = 0; variable 172 ashmemAllocator.CopyFromAshmem(size2); 173 ASSERT_EQ(ashmemAllocator.CopyFromAshmem(size2), nullptr);
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/image/ |
H A D | image_test_ng.cpp | 991 EXPECT_TRUE(size2 != std::nullopt); 992 EXPECT_EQ(size2.value(), SizeF(WIDTH, HEIGHT)); 1040 ASSERT_NE(size2, std::nullopt); 1111 ASSERT_NE(size2, std::nullopt); 1180 ASSERT_NE(size2, std::nullopt); 1222 ASSERT_NE(size2, std::nullopt); 1223 EXPECT_EQ(size2.value(), SizeF(WIDTH, HEIGHT)); 1279 ASSERT_NE(size2, std::nullopt); 1333 ASSERT_NE(size2, std::nullopt); 1403 ASSERT_NE(size2, std::nullopt); [all …]
|
/ohos5.0/drivers/external_device_manager/frameworks/ddk/usb/ |
H A D | usb_config_desc_parser.cpp | 298 int32_t size2; in GetInterfaceNumber() local 300 …for ((buffer2 = buffer, size2 = size); size2 > 0; (buffer2 += header->bLength, size2 -= header->bL… in GetInterfaceNumber() 301 if (size2 < static_cast<int32_t>(sizeof(UsbDescriptorHeader))) { in GetInterfaceNumber() 302 EDM_LOGW(MODULE_USB_DDK, "descriptor has %{public}d excess bytes", size2); in GetInterfaceNumber() 306 if ((header->bLength > size2) || (header->bLength < sizeof(UsbDescriptorHeader))) { in GetInterfaceNumber()
|
/ohos5.0/base/hiviewdfx/hiview/core/test/unittest/common/ |
H A D | plugin_platform_test.cpp | 70 auto size2 = pluginList2.size(); variable 71 ASSERT_EQ(size2, 5ul);
|
/ohos5.0/foundation/multimedia/av_codec/test/moduletest/demuxer/src/ |
H A D | api_test.cpp | 494 int64_t size2 = 0; variable 498 size2 = static_cast<int64_t>(fileStatus.st_size); 501 OH_AVSource *source2 = OH_AVSource_CreateWithFD(fd2, 0, size2); 502 cout << size2 << "------------------" << endl;
|
H A D | func_test.cpp | 920 int64_t size2 = GetFileSize(file2); variable 925 source = OH_AVSource_CreateWithFD(fd, size1, size2); 1031 int64_t size2 = GetFileSize(file2); variable 1037 source = OH_AVSource_CreateWithFD(fd, size1, size2);
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_client/unittest/ui/ |
H A D | rs_ui_display_soloist_test.cpp | 58 size_t size2 = 1; variable 59 EXPECT_EQ(size2, soloistManager.GetIdToSoloistMap().size());
|
/ohos5.0/foundation/ability/dmsfwk/services/dtbabilitymgr/test/unittest/continuation_manager/ |
H A D | continuation_manager_test.cpp | 1279 size_t size2 = continuationResults2.size(); variable 1280 if (size1 != size2) { 1436 size_t size2 = input3.size(); variable 1437 if (size1 != size2) { 1473 size_t size2 = deviceTypeVec2.size(); variable 1474 if (size1 != size2) { 1529 size_t size2 = deviceTypeVec2.size(); variable 1530 if (size1 != size2) { 1586 size_t size2 = deviceTypeVec2.size(); variable 1587 if (size1 != size2) {
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/fuzztest/sync_fuzzer/ |
H A D | sync_fuzzer.cpp | 255 int size2; in PragmaOperation() local 256 input = static_cast<PragmaData>(&size2); in PragmaOperation()
|
/ohos5.0/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_thumbnail_service_test/src/ |
H A D | medialibrary_thumbnail_service_test.cpp | 817 Size size2; variable 818 size2.height = 0; 819 size2.width = 1; 820 ThumbnailUtils::SetThumbnailSizeValue(values2, size2, column); 821 EXPECT_NE(size.height, size2.height);
|
/ohos5.0/drivers/peripheral/usb/ddk/host/src/ |
H A D | usb_raw_api_library.c | 166 size_t size2; in GetInterfaceNumber() local 169 …for ((buffer2 = buffer, size2 = size); size2 > 0; (buffer2 += header->bLength, size2 -= header->bL… in GetInterfaceNumber() 170 if (size2 < sizeof(struct UsbDescriptorHeader)) { in GetInterfaceNumber() 171 HDF_LOGW("%{public}s: descriptor has %{public}zu excess bytes", __func__, size2); in GetInterfaceNumber() 175 if ((header->bLength > size2) || (header->bLength < sizeof(struct UsbDescriptorHeader))) { in GetInterfaceNumber()
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/qrcode/ |
H A D | qrcode_test_ng.cpp | 463 auto size2 = qrCodeLayoutAlgorithm->MeasureContent(contentConstraint, &layoutWrapper); variable 464 ASSERT_NE(size2, std::nullopt); 465 EXPECT_EQ(size2->Height(), 200.0f);
|
/ohos5.0/foundation/multimedia/av_codec/test/moduletest/demuxer/src/InnerAPI/ |
H A D | api_test.cpp | 323 int64_t size2 = 0; variable 327 size2 = static_cast<int64_t>(fileStatus.st_size); 329 std::shared_ptr<AVSource> source2 = AVSourceFactory::CreateWithFD(fd2, 0, size2);
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/loading_progress/ |
H A D | loading_progress_test_ng.cpp | 115 auto size2 = layoutAlgorithm.MeasureContent(layoutConstraint, &layoutWrapper); variable 116 EXPECT_NE(size2, std::nullopt); 117 EXPECT_EQ(size2.value(), SizeF(SELFSIZE_WIDTH, SELFSIZE_WIDTH));
|
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/pixel_map_test/ |
H A D | pixel_map_test.cpp | 1280 Size size2; variable 1282 size2.width = 1; 1283 size2.height = 1; 1285 ret = pixelMap1->ResetConfig(size2, pixelFormat2); 1311 Size size2; variable 1313 size2.width = 1; 1314 size2.height = 1; 1316 ret = pixelMap1->ResetConfig(size2, pixelFormat2);
|
/ohos5.0/foundation/ability/ability_base/interfaces/kits/native/want/src/ |
H A D | pac_map.cpp | 987 long size2 = 0; in CompareArrayData() local 988 array_two->GetLength(size2); in CompareArrayData() 990 if (size1 != 0 && size2 != 0 && size1 != size2) { in CompareArrayData()
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/slider/ |
H A D | slider_test_ng.cpp | 874 auto size2 = sliderLayoutAlgorithm->MeasureContent(layoutConstraintSizevalid, &layoutWrapper); variable 875 EXPECT_NE(size2, std::nullopt); 876 EXPECT_EQ(size2.value(), 1053 auto size2 = sliderLayoutAlgorithm->MeasureContent(layoutConstraintSizevalid, &layoutWrapper); variable 1054 EXPECT_NE(size2, std::nullopt);
|
/ohos5.0/foundation/communication/ipc/ipc/native/test/unittest/common/ |
H A D | ipc_capi_parcel_unittest.cpp | 720 auto size2 = OH_IPCParcel_GetDataSize(parcel2); variable 726 EXPECT_EQ(OH_IPCParcel_GetDataSize(parcel1), size1 + size2);
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/rich_editor/ |
H A D | rich_editor_base_testone_ng.cpp | 1105 …auto size2 = layoutAlgorithm->MeasureContent(parentLayoutConstraint, AceType::RawPtr(layoutWrapper… variable 1106 EXPECT_EQ(size2.value().Width(), 1.0f);
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/patternlock/ |
H A D | patternlock_test_ng.cpp | 1640 auto size2 = layoutAlgorithm.MeasureContent(constraint2, &layoutWrapper); variable 1641 EXPECT_EQ(size2.value(), SizeF(15.0f, 15.0f));
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/checkbox/ |
H A D | checkbox_test_ng.cpp | 857 auto size2 = checkBoxLayoutAlgorithm->MeasureContent(layoutConstraintSize2, &layoutWrapper); variable 858 EXPECT_EQ(size2->Width(), WIDTH.ConvertToPx());
|
/ohos5.0/foundation/multimedia/av_codec/test/unittest/avsource_test/ |
H A D | avsource_unit_test.cpp | 406 int64_t size2 = GetFileSize(g_mp3Path); variable 410 …red_ptr<AVSourceMock> source2 = AVSourceMockFactory::CreateSourceWithFD(fd2, SOURCE_OFFSET, size2);
|