Home
last modified time | relevance | path

Searched refs:GetData (Results 1 – 25 of 1252) sorted by relevance

12345678910>>...51

/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_client/fuzztest/ui/rsnode_fuzzer/
H A Drsnode_fuzzer.cpp99 Vector4f bounds(GetData<float>(), GetData<float>(), GetData<float>(), GetData<float>()); in RSNodeFuzzTestInner01()
100 Vector4f frame(GetData<float>(), GetData<float>(), GetData<float>(), GetData<float>()); in RSNodeFuzzTestInner01()
102 Vector4f cornerRadius(GetData<float>(), GetData<float>(), GetData<float>(), GetData<float>()); in RSNodeFuzzTestInner01()
103 Quaternion quaternion(GetData<float>(), GetData<float>(), GetData<float>(), GetData<float>()); in RSNodeFuzzTestInner01()
110 surfaceNode->SetBounds(GetData<float>(), GetData<float>(), GetData<float>(), GetData<float>()); in RSNodeFuzzTestInner01()
115 surfaceNode->SetFrame(GetData<float>(), GetData<float>(), GetData<float>(), GetData<float>()); in RSNodeFuzzTestInner01()
166 Vector4f width(GetData<float>(), GetData<float>(), GetData<float>(), GetData<float>()); in RSNodeFuzzTestInner02()
168GetData<BorderStyle>(), GetData<BorderStyle>(), GetData<BorderStyle>(), GetData<BorderStyle>()); in RSNodeFuzzTestInner02()
182 …surfaceNode->SetBorderColor(GetData<uint32_t>(), GetData<uint32_t>(), GetData<uint32_t>(), GetData in RSNodeFuzzTestInner02()
184 …surfaceNode->SetBorderWidth(GetData<float>(), GetData<float>(), GetData<float>(), GetData<float>()… in RSNodeFuzzTestInner02()
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/fuzztest/rsproperty_fuzzer/
H A Drsproperty_fuzzer.cpp39 T GetData() in GetData() function
77 float x1 = GetData<float>(); in RSPropertiesFuzzTestInner01()
78 float y1 = GetData<float>(); in RSPropertiesFuzzTestInner01()
79 float z1 = GetData<float>(); in RSPropertiesFuzzTestInner01()
80 float w1 = GetData<float>(); in RSPropertiesFuzzTestInner01()
82 float x2 = GetData<float>(); in RSPropertiesFuzzTestInner01()
83 float y2 = GetData<float>(); in RSPropertiesFuzzTestInner01()
87 float x3 = GetData<float>(); in RSPropertiesFuzzTestInner01()
88 float y3 = GetData<float>(); in RSPropertiesFuzzTestInner01()
92 float x4 = GetData<float>(); in RSPropertiesFuzzTestInner01()
[all …]
/ohos5.0/foundation/graphic/graphic_2d/frameworks/opengl_wrapper/test/fuzztest/eglwrapperdisplay_fuzzer/
H A Deglwrapperdisplay_fuzzer.cpp36 T GetData() in GetData() function
65 EGLint major1 = GetData<EGLint>(); in DoSomethingInterestingWithMyAPI()
66 EGLint minor1 = GetData<EGLint>(); in DoSomethingInterestingWithMyAPI()
74 void* disp2 = GetData<void*>(); in DoSomethingInterestingWithMyAPI()
99 EGLint value1 = GetData<EGLint>(); in DoSomethingInterestingWithMyAPI()
102 EGLint value2 = GetData<EGLint>(); in DoSomethingInterestingWithMyAPI()
105 EGLint buffer1 = GetData<EGLint>(); in DoSomethingInterestingWithMyAPI()
107 EGLint buffer2 = GetData<EGLint>(); in DoSomethingInterestingWithMyAPI()
110 EGLint value3 = GetData<EGLint>(); in DoSomethingInterestingWithMyAPI()
138 EGLint rects1 = GetData<EGLint>(); in DoSomethingInterestingWithMyAPI()
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/fuzztest/rscpuoverdrawcanvaslistener_fuzzer/
H A Drscpuoverdrawcanvaslistener_fuzzer.cpp41 T GetData() in GetData() function
138 left = GetData<float>(); in DoDrawNestedRoundRect()
139 right = GetData<float>(); in DoDrawNestedRoundRect()
140 top = GetData<float>(); in DoDrawNestedRoundRect()
144 xRad = GetData<float>(); in DoDrawNestedRoundRect()
145 yRad = GetData<float>(); in DoDrawNestedRoundRect()
257 x = GetData<float>(); in DoDrawShadow()
258 y = GetData<float>(); in DoDrawShadow()
259 z = GetData<float>(); in DoDrawShadow()
270 r = GetData<uint32_t>(); in DoDrawShadow()
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/fuzztest/rsgpuoverdrawcanvaslistener_fuzzer/
H A Drsgpuoverdrawcanvaslistener_fuzzer.cpp42 T GetData() in GetData() function
139 left = GetData<float>(); in DoDrawNestedRoundRect()
140 right = GetData<float>(); in DoDrawNestedRoundRect()
141 top = GetData<float>(); in DoDrawNestedRoundRect()
145 xRad = GetData<float>(); in DoDrawNestedRoundRect()
146 yRad = GetData<float>(); in DoDrawNestedRoundRect()
258 x = GetData<float>(); in DoDrawShadow()
259 y = GetData<float>(); in DoDrawShadow()
260 z = GetData<float>(); in DoDrawShadow()
339 top = GetData<float>(); in DoDrawImageRect()
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/fuzztest/rsrenderimage_fuzzer/
H A Drsrenderimage_fuzzer.cpp44 T GetData() in GetData() function
123 int idx = GetData<int>(); in RSBorderFuzzTest()
137 float x = GetData<float>(); in RSBorderFuzzTest()
138 float y = GetData<float>(); in RSBorderFuzzTest()
139 float z = GetData<float>(); in RSBorderFuzzTest()
140 float w = GetData<float>(); in RSBorderFuzzTest()
209 int fitNum = GetData<int>(); in RSImageFuzzTest()
226 int width = GetData<int>(); in RSImageFuzzTest()
228 int id = GetData<int>(); in RSImageFuzzTest()
291 float x = GetData<float>(); in RSPathFuzzTest()
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/fuzztest/pipeline/rsrendernode_fuzzer/
H A Drsrendernode_fuzzer.cpp46 T GetData() in GetData() function
104 int index = GetData<int>(); in RSBaseRenderNodeFuzzTest()
109 bool flag = GetData<bool>(); in RSBaseRenderNodeFuzzTest()
112 int left = GetData<int>(); in RSBaseRenderNodeFuzzTest()
113 int top = GetData<int>(); in RSBaseRenderNodeFuzzTest()
114 int width = GetData<int>(); in RSBaseRenderNodeFuzzTest()
200 int left = GetData<int>(); in RSDirtyRegionManagerFuzzTest()
201 int top = GetData<int>(); in RSDirtyRegionManagerFuzzTest()
220 manager.SetSurfaceSize(GetData<int32_t>(), GetData<int32_t>()); in RSDirtyRegionManagerFuzzTest()
257 int left = GetData<int>(); in RSDisplayRenderNodeFuzzTest()
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/fuzztest/rssurfaceohos_fuzzer/
H A Drssurfaceohos_fuzzer.cpp39 T GetData() in GetData() function
64 … auto rsSurfaceFrameOhosRaster = RSSurfaceFrameOhosRaster(GetData<int32_t>(), GetData<int32_t>()); in RSSurfaceOhosFuzzTest()
72 rsSurfaceFrameOhosRaster.SetReleaseFence(GetData<int32_t>()); in RSSurfaceOhosFuzzTest()
74 rsSurfaceFrameOhosRaster.SetDamageRegion(GetData<int32_t>(), in RSSurfaceOhosFuzzTest()
75 GetData<int32_t>(), GetData<int32_t>(), GetData<int32_t>()); in RSSurfaceOhosFuzzTest()
76 … RectI r1 = RectI(GetData<int32_t>(), GetData<int32_t>(), GetData<int32_t>(), GetData<int32_t>()); in RSSurfaceOhosFuzzTest()
77 … RectI r2 = RectI(GetData<int32_t>(), GetData<int32_t>(), GetData<int32_t>(), GetData<int32_t>()); in RSSurfaceOhosFuzzTest()
78 … RectI r3 = RectI(GetData<int32_t>(), GetData<int32_t>(), GetData<int32_t>(), GetData<int32_t>()); in RSSurfaceOhosFuzzTest()
79 … RectI r4 = RectI(GetData<int32_t>(), GetData<int32_t>(), GetData<int32_t>(), GetData<int32_t>()); in RSSurfaceOhosFuzzTest()
91 surface_->SetSurfaceBufferUsage(GetData<uint64_t>()); in RSSurfaceOhosFuzzTest()
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/fuzztest/rssurfacenodecommand_fuzzer/
H A Drssurfacenodecommand_fuzzer.cpp39 T GetData() in GetData() function
66 NodeId id = GetData<NodeId>(); in DoSurfacenodecommand()
70 Vector4f bounds = {GetData<float>(), GetData<float>(), GetData<float>(), GetData<float>()}; in DoSurfacenodecommand()
71 uint64_t screenId = GetData<uint64_t>(); in DoSurfacenodecommand()
72 SurfaceId surfaceId = GetData<SurfaceId>(); in DoSurfacenodecommand()
81 …SurfaceNodeCommandHelper::UpdateSurfaceDefaultSize(context, id, GetData<float>(), GetData<float>()… in DoSurfacenodecommand()
90 SurfaceNodeCommandHelper::SetContainerWindow(context, id, GetData<bool>(), GetData<float>()); in DoSurfacenodecommand()
116 NodeId id = GetData<NodeId>(); in DoCreateWithConfig()
118 std::string name(STRING_LEN, GetData<char>()); in DoCreateWithConfig()
119 uint8_t type = GetData<uint8_t>(); in DoCreateWithConfig()
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/test/fuzztest/rsanimationbase_fuzzer/
H A Drsanimationbase_fuzzer.cpp45 T GetData() in GetData() function
68 cstr[i] = GetData<char>(); in GetStringFromData()
83 int remainTime = GetData<int>(); in RSAnimationFractionFuzzerTest()
106 pid_t pid = GetData<pid_t>(); in RSAnimationManagerFuzzerTest()
128 int duration = GetData<int>(); in RSAnimationTimingProtocolFuzzerTest()
130 float speed = GetData<float>(); in RSAnimationTimingProtocolFuzzerTest()
157 float x1 = GetData<float>(); in RSCubicBezierInterpolatorFuzzerTest()
158 float x2 = GetData<float>(); in RSCubicBezierInterpolatorFuzzerTest()
159 float y1 = GetData<float>(); in RSCubicBezierInterpolatorFuzzerTest()
160 float y2 = GetData<float>(); in RSCubicBezierInterpolatorFuzzerTest()
[all …]
/ohos5.0/base/security/security_component_manager/test/fuzztest/security_component/common/
H A Dfuzz_common.cpp56 return GetData<uint32_t>() % (SecCompType::MAX_SC_TYPE - 1) + 1; in GetScType()
87 { JsonTagConstants::JSON_BG_COLOR_TAG, GetData<uint32_t>() } in ConstructLocationJson()
96 { JsonTagConstants::JSON_IS_CLIPPED_TAG, GetData<bool>() }, in ConstructLocationJson()
97 { JsonTagConstants::JSON_TOP_CLIP_TAG, GetData<double>() }, in ConstructLocationJson()
99 { JsonTagConstants::JSON_LEFT_CLIP_TAG, GetData<double>() }, in ConstructLocationJson()
138 { JsonTagConstants::JSON_IS_CLIPPED_TAG, GetData<bool>() }, in ConstructSaveJson()
139 { JsonTagConstants::JSON_TOP_CLIP_TAG, GetData<double>() }, in ConstructSaveJson()
179 { JsonTagConstants::JSON_IS_CLIPPED_TAG, GetData<bool>() }, in ConstructPasteJson()
204 rect.x_ = std::fmod(std::fabs(GetData<double>()), width); in ConstructRandomRect()
205 rect.y_ = std::fmod(std::fabs(GetData<double>()), height); in ConstructRandomRect()
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_client/test/fuzztest/rsanimation_fuzzer/
H A Drsanimation_fuzzer.cpp53 T GetData() in GetData() function
76 char tmp = GetData<char>(); in GetStringFromData()
113 float ctrlX1 = GetData<float>(); in RsAnimationTimingCurveFuzzTest()
114 float ctrlY1 = GetData<float>(); in RsAnimationTimingCurveFuzzTest()
118 float mass = GetData<float>(); in RsAnimationTimingCurveFuzzTest()
137 float first = GetData<float>(); in RsCurveAnimationFuzzTest()
139 float third = GetData<float>(); in RsCurveAnimationFuzzTest()
323 float x1 = GetData<float>(); in RsTransitionEffectFuzzTest()
324 float x2 = GetData<float>(); in RsTransitionEffectFuzzTest()
325 float y1 = GetData<float>(); in RsTransitionEffectFuzzTest()
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/fuzztest/render/rspixelmapshader_fuzzer/
H A Drspixelmapshader_fuzzer.cpp39 T GetData() in GetData() function
59 int32_t width = GetData<uint8_t>(); in GetPixelMapFromData()
60 int32_t height = GetData<uint8_t>(); in GetPixelMapFromData()
68 opts.editable = GetData<bool>(); in GetPixelMapFromData()
69 opts.useSourceIfMatch = GetData<bool>(); in GetPixelMapFromData()
92 canvas->Clear(GetData<uint32_t>()); in GetPixelMapFromData()
94 brush.SetColor(GetData<uint32_t>()); in GetPixelMapFromData()
117 if (GetData<int>() % 2) { // use cubic sampling in RSMainFuzzTest()
118 sampling = Drawing::SamplingOptions({GetData<float>(), GetData<float>()}); in RSMainFuzzTest()
127 …matrix.SetMatrix(GetData<float>(), GetData<float>(), GetData<float>(), GetData<float>(), GetData<f… in RSMainFuzzTest()
[all …]
/ohos5.0/foundation/graphic/graphic_2d/utils/color_manager/test/fuzztest/colormanager_fuzzer/
H A Dcolormanager_fuzzer.cpp37 T GetData() in GetData() function
63 … Color randomColor = Color(GetData<float>(), GetData<float>(), GetData<float>(), GetData<float>()); in ColorFuzzTest()
64 ColorSpace csObject = ColorSpace(GetData<ColorSpaceName>()); in ColorFuzzTest()
65 …ColorSpaceConvertor convertor = ColorSpaceConvertor(GetData<ColorSpaceName>(), GetData<ColorSpaceN… in ColorFuzzTest()
69 (void)randomColor.Convert(GetData<ColorSpaceName>()); in ColorFuzzTest()
91 TransferFunc func = GetData<TransferFunc>(); in ColorSpaceFuzzTest()
92 float gamma = GetData<float>(); in ColorSpaceFuzzTest()
93 Matrix3x3 toXYZ = GetData<Matrix3x3>(); in ColorSpaceFuzzTest()
106 Vector3 color = { GetData<float>(), GetData<float>(), GetData<float>() }; in ColorSpaceFuzzTest()
124 …ColorSpaceConvertor convertor = ColorSpaceConvertor(GetData<ColorSpaceName>(), GetData<ColorSpaceN… in ColorSpaceConvertorFuzzTest()
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_client/fuzztest/ui/rscanvasdrawingnode_fuzzer/
H A Drscanvasdrawingnode_fuzzer.cpp46 T GetData() in GetData() function
113 int w = GetData<int>(); in DoGetBitmap()
114 int h = GetData<int>(); in DoGetBitmap()
116 float fLeft = GetData<float>(); in DoGetBitmap()
117 float fTop = GetData<float>(); in DoGetBitmap()
141 int w = GetData<int>(); in DoGetPixelmap()
142 int h = GetData<int>(); in DoGetPixelmap()
144 float fLeft = GetData<float>(); in DoGetPixelmap()
145 float fTop = GetData<float>(); in DoGetPixelmap()
168 int w = GetData<int>(); in DoResetSurface()
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/composer/hdi_backend/test/fuzztest/hdidevice_fuzzer/
H A Dhdidevice_fuzzer.cpp38 T GetData() in GetData() function
56 uint32_t screenId = GetData<uint32_t>(); in HdiDeviceFuzzTest3()
57 uint32_t layerId = GetData<uint32_t>(); in HdiDeviceFuzzTest3()
59 uint8_t metaData2 = GetData<uint8_t>(); in HdiDeviceFuzzTest3()
62 uint32_t maskInfo = GetData<uint32_t>(); in HdiDeviceFuzzTest3()
86 uint32_t layerId = GetData<uint32_t>(); in HdiDeviceFuzzTest2()
101 uint32_t zorder = GetData<uint32_t>(); in HdiDeviceFuzzTest2()
102 bool isPreMulti = GetData<bool>(); in HdiDeviceFuzzTest2()
145 bool needFlush = GetData<bool>(); in DoSomethingInterestingWithMyAPI()
159 float maxLum = GetData<float>(); in DoSomethingInterestingWithMyAPI()
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/fuzztest/rsblurfilter_fuzzer/
H A Drsblurfilter_fuzzer.cpp46 T GetData() in GetData() function
137 float rhs = GetData<float>(); in DoMultiply()
155 int32_t width = GetData<int32_t>(); in DoDrawImageRect()
159 float l = GetData<float>(); in DoDrawImageRect()
160 float t = GetData<float>(); in DoDrawImageRect()
161 float r = GetData<float>(); in DoDrawImageRect()
162 float b = GetData<float>(); in DoDrawImageRect()
163 float l2 = GetData<float>(); in DoDrawImageRect()
164 float t2 = GetData<float>(); in DoDrawImageRect()
165 float r2 = GetData<float>(); in DoDrawImageRect()
[all …]
/ohos5.0/foundation/resourceschedule/resource_schedule_service/cgroup_sched/test/fuzztest/cgroupsched_fuzzer/
H A Dcgroupsched_fuzzer.cpp62 T GetData() in GetData() function
88 char tmp = GetData<char>(); in GetStringFromData()
385 uid_t uid = GetData<uid_t>(); in HandleProcessDiedFuzzTest()
386 pid_t pid = GetData<pid_t>(); in HandleProcessDiedFuzzTest()
411 uid_t uid = GetData<uid_t>(); in HandleTransientTaskStartFuzzTest()
412 pid_t pid = GetData<pid_t>(); in HandleTransientTaskStartFuzzTest()
436 uid_t uid = GetData<uid_t>(); in HandleTransientTaskEndFuzzTest()
437 pid_t pid = GetData<pid_t>(); in HandleTransientTaskEndFuzzTest()
461 uid_t uid = GetData<uid_t>(); in HandleContinuousTaskUpdateFuzzTest()
462 pid_t pid = GetData<pid_t>(); in HandleContinuousTaskUpdateFuzzTest()
[all …]
/ohos5.0/foundation/graphic/graphic_surface/surface/test/fuzztest/bufferqueue_fuzzer/
H A Dbufferqueue_fuzzer.cpp39 double valueDouble = GetData<double>(); in GetBufferExtraDataFromData()
60 bool isShared = GetData<bool>(); in BufferQueueFuzzTest2()
62 int32_t width = GetData<int32_t>(); in BufferQueueFuzzTest2()
63 int32_t height = GetData<int32_t>(); in BufferQueueFuzzTest2()
64 uint64_t usage = GetData<uint64_t>(); in BufferQueueFuzzTest2()
77 bool flag = GetData<bool>(); in BufferQueueFuzzTest2()
79 bool status = GetData<bool>(); in BufferQueueFuzzTest2()
107 bool isShared = GetData<bool>(); in BufferQueueFuzzTest1()
164 bool isShared = GetData<bool>(); in DoSomethingInterestingWithMyAPI()
166 bool cleanAll = GetData<bool>(); in DoSomethingInterestingWithMyAPI()
[all …]
/ohos5.0/foundation/distributeddatamgr/relational_store/frameworks/cj/src/
H A Drelational_store_ffi.cpp360 auto nativeRdbStore = FFIData::GetData<RdbStoreImpl>(id); in FfiOHOSRelationalStoreQuery()
388 auto nativeRdbStore = FFIData::GetData<RdbStoreImpl>(id); in FfiOHOSRelationalStoreRemoteQuery()
409 auto nativeRdbStore = FFIData::GetData<RdbStoreImpl>(id); in FfiOHOSRelationalStoreDelete()
424 auto nativeRdbStore = FFIData::GetData<RdbStoreImpl>(id); in FfiOHOSRelationalStoreSetDistributedTables()
434 auto nativeRdbStore = FFIData::GetData<RdbStoreImpl>(id); in FfiOHOSRelationalStoreSetDistributedTablesType()
445 auto nativeRdbStore = FFIData::GetData<RdbStoreImpl>(id); in FfiOHOSRelationalStoreSetDistributedTablesConfig()
455 auto nativeRdbStore = FFIData::GetData<RdbStoreImpl>(id); in FfiOHOSRelationalStoreObtainDistributedTableName()
464 auto nativeRdbStore = FFIData::GetData<RdbStoreImpl>(id); in FfiOHOSRelationalStoreBackUp()
473 auto nativeRdbStore = FFIData::GetData<RdbStoreImpl>(id); in FfiOHOSRelationalStoreReStore()
482 auto nativeRdbStore = FFIData::GetData<RdbStoreImpl>(id); in FfiOHOSRelationalStoreCommit()
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/fuzztest/rscommand_fuzzer/
H A Drscommand_fuzzer.cpp40 T GetData() in GetData() function
67 uint64_t id = GetData<uint64_t>(); in RSSurfaceNodeCommandFuzzTest()
71 float width = GetData<float>(); in RSSurfaceNodeCommandFuzzTest()
72 float height = GetData<float>(); in RSSurfaceNodeCommandFuzzTest()
73 uint8_t alpha = GetData<uint8_t>(); in RSSurfaceNodeCommandFuzzTest()
74 bool available = GetData<bool>(); in RSSurfaceNodeCommandFuzzTest()
75 bool isRefresh = GetData<bool>(); in RSSurfaceNodeCommandFuzzTest()
78 float density = GetData<float>(); in RSSurfaceNodeCommandFuzzTest()
79 bool flag = GetData<bool>(); in RSSurfaceNodeCommandFuzzTest()
90 Vector4f bounds = {GetData<float>(), GetData<float>(), GetData<float>(), GetData<float>()}; in RSSurfaceNodeCommandFuzzTest()
[all …]
/ohos5.0/foundation/resourceschedule/qos_manager/test/fuzztest/concurrent_fuzzer/
H A Dconcurrent_fuzzer.cpp69 template <class T> T GetData() in GetData() function
206 int level = GetData<int>(); in FuzzConcurrentTaskServiceSetThreadQos()
228 int tid = GetData<int>(); in FuzzConcurrentTaskServiceSetQosForOtherThread()
258 int tid = GetData<int>(); in FuzzConcurrentTaskServiceResetQosForOtherThread()
713 int uid = GetData<int>(); in FuzzTaskControllerQueryRenderService()
731 int uid = GetData<int>(); in FuzzTaskControllerQueryExecutorStart()
776 int uid = GetData<int>(); in FuzzTaskControllerNewForeground()
777 int pid = GetData<int>(); in FuzzTaskControllerNewForeground()
789 int pid = GetData<int>(); in FuzzTaskControllerNewForegroundAppRecord()
803 int pid = GetData<int>(); in FuzzTaskControllerNewBackground()
[all …]
/ohos5.0/foundation/graphic/graphic_utils_lite/test/
H A Dgraphic_math_unit_test.cpp434 EXPECT_EQ(matrix->GetData()[0], 1);
656 EXPECT_EQ(rotate.GetData()[i++], 1);
678 EXPECT_EQ(scale.GetData()[i++], 1);
679 EXPECT_EQ(scale.GetData()[i++], 0);
680 EXPECT_EQ(scale.GetData()[i++], 0);
681 EXPECT_EQ(scale.GetData()[i++], 0);
682 EXPECT_EQ(scale.GetData()[i++], 1);
683 EXPECT_EQ(scale.GetData()[i++], 0);
684 EXPECT_EQ(scale.GetData()[i++], 0);
685 EXPECT_EQ(scale.GetData()[i++], 0);
[all …]
/ohos5.0/foundation/ai/neural_network_runtime/frameworks/native/neural_network_runtime/
H A Dlite_graph_to_hdi_model_v2_1.cpp49 std::vector<int8_t> ret(reinterpret_cast<const int8_t *>(data.GetData()), in ConvertActivation()
67 std::vector<int8_t> ret(reinterpret_cast<const int8_t *>(data.GetData()), in ConvertAddFusion()
84 std::vector<int8_t> ret(reinterpret_cast<const int8_t *>(data.GetData()), in ConvertAll()
104 std::vector<int8_t> ret(reinterpret_cast<const int8_t *>(data.GetData()), in ConvertArgMaxFusion()
121 std::vector<int8_t> ret(reinterpret_cast<const int8_t *>(data.GetData()), in ConvertAssert()
146 std::vector<int8_t> ret(reinterpret_cast<const int8_t *>(data.GetData()), in ConvertAvgPoolFusion()
164 std::vector<int8_t> ret(reinterpret_cast<const int8_t *>(data.GetData()), in ConvertBatchToSpaceND()
179 std::vector<int8_t> ret(reinterpret_cast<const int8_t *>(data.GetData()), in ConvertBiasAdd()
196 std::vector<int8_t> ret(reinterpret_cast<const int8_t *>(data.GetData()), in ConvertBroadcastTo()
211 std::vector<int8_t> ret(reinterpret_cast<const int8_t *>(data.GetData()), in ConvertCast()
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/fuzztest/rsbasecommon_fuzzer/
H A Drsbasecommon_fuzzer.cpp50 T GetData() in GetData() function
154 int y1 = GetData<int>(); in RSObjOcclusionFuzzTest()
155 int l1 = GetData<int>(); in RSObjOcclusionFuzzTest()
156 int r1 = GetData<int>(); in RSObjOcclusionFuzzTest()
157 int y2 = GetData<int>(); in RSObjOcclusionFuzzTest()
158 int l2 = GetData<int>(); in RSObjOcclusionFuzzTest()
159 int r2 = GetData<int>(); in RSObjOcclusionFuzzTest()
162 float s1 = GetData<float>(); in RSObjOcclusionFuzzTest()
163 float e1 = GetData<float>(); in RSObjOcclusionFuzzTest()
165 float s2 = GetData<float>(); in RSObjOcclusionFuzzTest()
[all …]

12345678910>>...51