/ohos5.0/foundation/graphic/graphic_surface/test_header/export/ |
H A D | test_header.h | 33 #define STEP_ASSERT_(l, r, func, opstr) ASSERT_##func(l, r) << STEP_CONDITION(#l " " opstr " " #r) argument 35 #define STEP_ASSERT_EQ(l, r) STEP_ASSERT_(l, r, EQ, "==") argument 36 #define STEP_ASSERT_NE(l, r) STEP_ASSERT_(l, r, NE, "!=") argument 37 #define STEP_ASSERT_GE(l, r) STEP_ASSERT_(l, r, GE, ">=") argument 38 #define STEP_ASSERT_LE(l, r) STEP_ASSERT_(l, r, LE, "<=") argument 39 #define STEP_ASSERT_GT(l, r) STEP_ASSERT_(l, r, GT, ">") argument 40 #define STEP_ASSERT_LT(l, r) STEP_ASSERT_(l, r, LT, "<") argument
|
/ohos5.0/foundation/graphic/graphic_2d/utils/test_header/export/ |
H A D | test_header.h | 33 #define STEP_ASSERT_(l, r, func, opstr) ASSERT_##func(l, r) << STEP_CONDITION(#l " " opstr " " #r) argument 35 #define STEP_ASSERT_EQ(l, r) STEP_ASSERT_(l, r, EQ, "==") argument 36 #define STEP_ASSERT_NE(l, r) STEP_ASSERT_(l, r, NE, "!=") argument 37 #define STEP_ASSERT_GE(l, r) STEP_ASSERT_(l, r, GE, ">=") argument 38 #define STEP_ASSERT_LE(l, r) STEP_ASSERT_(l, r, LE, "<=") argument 39 #define STEP_ASSERT_GT(l, r) STEP_ASSERT_(l, r, GT, ">") argument 40 #define STEP_ASSERT_LT(l, r) STEP_ASSERT_(l, r, LT, "<") argument
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/common/ |
H A D | rs_occlusion_region.cpp | 202 for (const auto& r : rects_) { in MakeBound() local 240 for (auto& r : r1.GetRegionRects()) { in RegionOpLocal() local 265 Rects r; in RegionOpLocal() local 317 Region& Region::AndSelf(Region& r) in AndSelf() 322 Region& Region::OrSelf(Region& r) in OrSelf() 327 Region& Region::XOrSelf(Region& r) in XOrSelf() 332 Region& Region::SubSelf(Region& r) in SubSelf() 337 Region Region::And(Region& r) in And() 344 Region Region::Or(Region& r) in Or() 351 Region Region::Xor(Region& r) in Xor() [all …]
|
H A D | rs_occlusion_region_helper.cpp | 21 void Assembler::Insert(const Rect&r) in Insert() 81 std::vector<Rect>::iterator r = lastRectRowBegin_; in MergeSpanVertically() local 157 void OuterLooper::MoveScanline(RectsPtr &r, int &top, int &bottom) in MoveScanline() 227 void InnerLooper::MoveRect(RectsPtr &r, int &left, int &right) in MoveRect()
|
/ohos5.0/foundation/window/window_manager/utils/src/ |
H A D | wm_occlusion_region.cpp | 25 std::ostream& operator<<(std::ostream& os, const Rect& r) in operator <<() 205 for (const auto& r : rects_) { in MakeBound() local 247 Rects r; in RegionOpLocal() local 276 Region Region::Or(Region& r) in Or() 283 Region Region::And(Region& r) in And() 290 Region Region::Sub(Region& r) in Sub() 297 Region Region::Xor(Region& r) in Xor() 304 Region& Region::OrSelf(Region& r) in OrSelf() 309 Region& Region::AndSelf(Region& r) in AndSelf() 314 Region& Region::SubSelf(Region& r) in SubSelf() [all …]
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/fuzztest/common/ |
H A D | fuzzer_data.cpp | 33 auto *r = reinterpret_cast<const int *>(curr_); in GetInt() local 43 auto *r = reinterpret_cast<const uint32_t *>(curr_); in GetUInt32() local 53 auto *r = reinterpret_cast<const uint64_t *>(curr_); in GetUInt64() local 67 std::vector<uint8_t> r(curr_, curr_ + size); in GetSequence() local
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeBase/api/base/util/ |
H A D | color.h | 67 uint8_t r = (color >> COLOR_SHIFT_16) & UINT8_MAX; in MakeColorFromLinear() local 80 uint8_t r = (color >> COLOR_SHIFT_16) & UINT8_MAX; in MakeColorFromSRGB() local 94 uint32_t r = (static_cast<uint32_t>(color.x) & UINT8_MAX) << COLOR_SHIFT_16; in FromColorToLinear() local 108 …uint32_t r = (static_cast<uint32_t>(LinearToSRGBConv(color.x) * 255.f) & UINT8_MAX) << COLOR_SHIFT… in FromColorToSRGB() local 120 uint32_t r = (static_cast<uint32_t>(color.x) & UINT8_MAX) << COLOR_SHIFT_0; in FromColorRGBAToLinear() local 133 …uint32_t r = (static_cast<uint32_t>(LinearToSRGBConv(color.x) * 255.0f) & UINT8_MAX) << COLOR_SHIF… in FromColorRGBAToSRGB() local
|
/ohos5.0/foundation/graphic/graphic_utils_lite/interfaces/innerkits/ |
H A D | graphic_neon_utils.h | 125 uint16x8_t r = vmull_u8(r2, a2) + vmull_u8(r1, da); in NeonBlendRGBA() local 138 uint16x8_t r = vmull_u8(r2, a2) + vmull_u8(r1, da); in NeonBlendXRGB() local 155 static inline void LoadBuf_ARGB8888(uint8_t* buf, uint8x8_t& r, uint8x8_t& g, uint8x8_t& b, uint8x8… in LoadBuf_ARGB8888() 164 static inline void LoadBuf_XRGB8888(uint8_t* buf, uint8x8_t& r, uint8x8_t& g, uint8x8_t& b, uint8x8… in LoadBuf_XRGB8888() 173 static inline void LoadBuf_RGB888(uint8_t* buf, uint8x8_t& r, uint8x8_t& g, uint8x8_t& b, uint8x8_t… in LoadBuf_RGB888() 181 static inline void LoadBuf_RGB565(uint8_t* buf, uint8x8_t& r, uint8x8_t& g, uint8x8_t& b, uint8x8_t… in LoadBuf_RGB565() 193 uint8x8_t& r, in LoadBufA_ARGB8888() 207 uint8x8_t& r, in LoadBufA_XRGB8888() 221 uint8x8_t& r, in LoadBufA_RGB888() 235 uint8x8_t& r, in LoadBufA_RGB565() [all …]
|
/ohos5.0/foundation/graphic/graphic_3d/lume/metaobject/include/meta/interface/serialization/ |
H A D | intf_import_context.h | 48 auto r = Import(name, static_cast<IAny&>(v)); in ImportValue() local 59 auto r = Import(name, static_cast<IAny&>(v)); in ImportValue() local
|
/ohos5.0/foundation/multimedia/image_effect/interfaces/inner_api/native/utils/ |
H A D | format_helper.h | 38 static inline uint8_t RGBToY(uint8_t r, uint8_t g, uint8_t b) in RGBToY() 44 static inline uint8_t RGBToU(uint8_t r, uint8_t g, uint8_t b) in RGBToU() 50 static inline uint8_t RGBToV(uint8_t r, uint8_t g, uint8_t b) in RGBToV() 58 int r = (y + ((403 * (v - 128)) >> 8)); in YuvToR() local
|
/ohos5.0/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/src/ |
H A D | register_engine_access.cpp | 107 auto& r = META_NS::GetObjectRegistry(); in RegisterMapEngineAccessImpl() local 162 auto& r = META_NS::GetObjectRegistry(); in UnregisterEngineAccess() local
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/draw/ |
H A D | color.cpp | 29 Color::Color(uint32_t r, uint32_t g, uint32_t b, uint32_t a) noexcept : alpha_(a), red_(r), green_(… in Color() 60 void Color::SetRed(uint32_t r) in SetRed() 109 void Color::SetRedF(scalar r) in SetRedF() 129 void Color::SetRgb(uint32_t r, uint32_t g, uint32_t b, uint32_t a) in SetRgb() 137 void Color::SetRgbF(scalar r, scalar g, scalar b, scalar a) in SetRgbF()
|
/ohos5.0/foundation/resourceschedule/ffrt/benchmarks/fork_join/ |
H A D | fork_join.cpp | 26 for (uint32_t r = 0; r < REPEAT; r++) { in ForkJoin() local 40 for (uint32_t r = 0; r < REPEAT; r++) { in ForkJoinWorker() local
|
/ohos5.0/foundation/distributeddatamgr/pasteboard/services/dialog/PasteboardDialog/hvigor/ |
H A D | hvigor-wrapper.js | 15 …s"),n=require("fs"),r=require("child_process"),u=require("process"),o=require("tty"),i=require("ut… argument
|
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/application/hvigor/ |
H A D | hvigor-wrapper.js | 15 …s"),n=require("fs"),r=require("child_process"),u=require("process"),o=require("tty"),i=require("ut… function
|
/ohos5.0/base/useriam/face_auth/ui/Settings_FaceAuth/hvigor/ |
H A D | hvigor-wrapper.js | 16 …s"),n=require("fs"),r=require("child_process"),u=require("process"),o=require("tty"),i=require("ut… argument
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/declaration/svg/ |
H A D | svg_circle_declaration.h | 26 Dimension r; member 63 void SetR(const Dimension& r) in SetR()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/utils/rect_fuzzer/ |
H A D | rect_fuzzer.cpp | 64 int r = GetObject<int>(); in RectFuzzTest001() local 89 scalar r = GetObject<scalar>(); in RectFuzzTest002() local 128 scalar r = GetObject<scalar>(); in RectFuzzTest003() local
|
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/api/3d/shaders/common/ |
H A D | 3d_dm_indirect_lighting_common.h | 64 vec4 r = roughness * c0 + c1; in EnvBRDFApprox() local 80 vec2 r = Roughness * c0 + c1; in EnvBRDFApproxNonmetal() local
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing_ndk/cpp/dm/ |
H A D | strokes.cpp | 39 void rnd_rect(DrawRect& r, OH_Drawing_Pen* pen, TestRend& rand) in rnd_rect() 86 DrawRect r; in OnTestFunction() local
|
H A D | alpha_gradients.cpp | 36 void AlphaGradients::draw_grad(OH_Drawing_Canvas *canvas, DrawRect &r, uint32_t c0, uint32_t c1, bo… in draw_grad() 90 DrawRect r = { 0, 0, 300, 30 }; in OnTestFunction() local
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include/utils/ |
H A D | rect.h | 123 inline RectI::RectI(const RectI& r) noexcept in RectI() 127 inline RectI::RectI(const int l, const int t, const int r, const int b) noexcept in RectI() 318 inline RectF::RectF(const RectF& r) noexcept in RectF() 322 inline RectF::RectF(const RectI& r) noexcept in RectF() 326 inline RectF::RectF(const scalar l, const scalar t, const scalar r, const scalar b) noexcept in RectF()
|
/ohos5.0/foundation/graphic/graphic_2d/utils/color_manager/export/ |
H A D | color.h | 39 float r = 0.0f; variable
|
/ohos5.0/base/web/webview/ohos_interface/ohos_glue/base/include/ |
H A D | ark_web_scoped_refptr.h | 31 ark_web_scoped_refptr(const ark_web_scoped_refptr& r) : ark_web_scoped_refptr(r.ptr_) {} in ark_web_scoped_refptr()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/fuzztest/rscolor_fuzzer/ |
H A D | rscolor_fuzzer.cpp | 64 uint32_t r = GetData<uint32_t>(); in DoRSColor() local 90 uint32_t r = GetData<uint32_t>(); in DoOperator() local 146 uint32_t r = GetData<uint32_t>(); in DoNoParameters() local
|