Home
last modified time | relevance | path

Searched refs:MATH_TWO (Results 1 - 6 of 6) sorted by relevance

/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/utils/samplingoptions_fuzzer/
H A Dsampling_options_fuzzer.cpp29 constexpr uint32_t MATH_TWO = 2; member
44 SamplingOptions sam1 = SamplingOptions(static_cast<FilterMode>(fm % MATH_TWO)); in SamplingOptionsFuzzTest000()
45 SamplingOptions sam2 = SamplingOptions(static_cast<FilterMode>(fm % MATH_TWO), in SamplingOptionsFuzzTest000()
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/utils/vertices_fuzzer/
H A Dvertices_fuzzer.cpp31 constexpr size_t MATH_TWO = 2; member
59 ver.MakeCopy(static_cast<VertexMode>(mode % MATH_THREE), MATH_TWO, positions, texs, colors, arr_size, indices); in VerticesFuzzTest000()
60 ver1.MakeCopy(static_cast<VertexMode>(mode % MATH_THREE), MATH_TWO, positions, texs, colors, arr_size, indices); in VerticesFuzzTest000()
61 ver.MakeCopy(static_cast<VertexMode>(mode % MATH_THREE), MATH_TWO, positions, texs, colors); in VerticesFuzzTest000()
62 ver1.MakeCopy(static_cast<VertexMode>(mode % MATH_THREE), MATH_TWO, positions, texs, colors); in VerticesFuzzTest000()
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/image/yuvinfo_fuzzer/
H A Dyuv_info_fuzzer.cpp29 constexpr size_t MATH_TWO = 2; member
47 static_cast<YUVInfo::SubSampling>(sampling % MATH_TWO), in YuvInfoFuzzTest000()
49 static_cast<YUVInfo::YUVDataType>(dataType % MATH_TWO)); in YuvInfoFuzzTest000()
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/utils/memorystream_fuzzer/
H A Dmemory_stream_fuzzer.cpp30 constexpr size_t MATH_TWO = 2; member
42 uint32_t copyData = GetObject<uint32_t>() % MATH_TWO; in MemoryStreamFuzzTest000()
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/utils/matrix_fuzzer/
H A Dmatrix_fuzzer.cpp32 constexpr size_t MATH_TWO = 2; member
157 scalar scaleFactors[MATH_TWO] = {xRad, yRad}; in MatrixFuzzTest002()
/foundation/graphic/graphic_2d/rosen/samples/2d_graphics/test/src/
H A Dpath_test.cpp22 static constexpr float MATH_TWO = 2.0f; member
42 b.SetX(a.GetX() + (len / MATH_TWO)); // half of len, for point position calculation in TestDrawStar()
43 b.SetY(a.GetY() + std::sqrt((c.GetX() - d.GetX()) * (c.GetX() - d.GetX()) + (len / MATH_TWO) * (len / MATH_TWO))); in TestDrawStar()
46 e.SetX(a.GetX() - (len / MATH_TWO)); // half of len, for point position calculation in TestDrawStar()

Completed in 3 milliseconds