/ohos5.0/drivers/hdf_core/adapter/khdf/uniproton/test/sample_driver/include/ |
H A D | platform_assert.h | 49 #define CHECK_EQ(a, b) CHECK((a) == (b)) argument 50 #define CHECK_NE(a, b) CHECK((a) != (b)) argument 51 #define CHECK_GE(a, b) CHECK((a) >= (b)) argument 52 #define CHECK_GT(a, b) CHECK((a) > (b)) argument 53 #define CHECK_LE(a, b) CHECK((a) <= (b)) argument 54 #define CHECK_LT(a, b) CHECK((a) < (b)) argument 71 #define CHECK_EQ_RETURN(a, b, ret) CHECK_AND_RETURN((a) == (b), ret) argument 72 #define CHECK_NE_RETURN(a, b, ret) CHECK_AND_RETURN((a) != (b), ret) argument 73 #define CHECK_GE_RETURN(a, b, ret) CHECK_AND_RETURN((a) >= (b), ret) argument 74 #define CHECK_GT_RETURN(a, b, ret) CHECK_AND_RETURN((a) > (b), ret) argument [all …]
|
/ohos5.0/drivers/hdf_core/framework/test/unittest/platform/common/ |
H A D | platform_assert.h | 27 #define CHECK_EQ(a, b) CHECK((a) == (b)) argument 28 #define CHECK_NE(a, b) CHECK((a) != (b)) argument 29 #define CHECK_GE(a, b) CHECK((a) >= (b)) argument 30 #define CHECK_GT(a, b) CHECK((a) > (b)) argument 31 #define CHECK_LE(a, b) CHECK((a) <= (b)) argument 32 #define CHECK_LT(a, b) CHECK((a) < (b)) argument 49 #define CHECK_EQ_RETURN(a, b, ret) CHECK_AND_RETURN((a) == (b), ret) argument 50 #define CHECK_NE_RETURN(a, b, ret) CHECK_AND_RETURN((a) != (b), ret) argument 51 #define CHECK_GE_RETURN(a, b, ret) CHECK_AND_RETURN((a) >= (b), ret) argument 52 #define CHECK_GT_RETURN(a, b, ret) CHECK_AND_RETURN((a) > (b), ret) argument [all …]
|
/ohos5.0/drivers/peripheral/camera/test/ut/v4l2/ |
H A D | hdi_interfaces_test.cpp | 54 auto callback = [this](std::shared_ptr<SurfaceBuffer> b) { in TEST_F() 107 auto callback = [this](std::shared_ptr<SurfaceBuffer> b) { in TEST_F() 152 auto callback = [this](std::shared_ptr<SurfaceBuffer> b) { in TEST_F() 198 auto callback = [this](std::shared_ptr<SurfaceBuffer> b) { in TEST_F() 242 auto callback = [this](std::shared_ptr<SurfaceBuffer> b) { in TEST_F() 296 auto callback = [this](std::shared_ptr<SurfaceBuffer> b) { in TEST_F() 340 auto callback = [this](std::shared_ptr<SurfaceBuffer> b) { in TEST_F() 384 auto callback = [this](std::shared_ptr<SurfaceBuffer> b) { in TEST_F() 428 auto callback = [this](std::shared_ptr<SurfaceBuffer> b) { in TEST_F() 482 auto callback = [this](std::shared_ptr<SurfaceBuffer> b) { in TEST_F() [all …]
|
/ohos5.0/foundation/graphic/graphic_utils_lite/interfaces/innerkits/ |
H A D | graphic_neon_utils.h | 37 static inline uint8x8_t Multipling(uint8x8_t a, uint8x8_t b) in Multipling() 65 static inline uint8x8_t NeonMulDiv255(uint8x8_t a, uint8x8_t b) in NeonMulDiv255() 72 static inline float32x4_t NeonDiv(float32x4_t a, float32x4_t b) in NeonDiv() 82 static inline uint8x8_t NeonDivInt(uint16x8_t a, uint8x8_t b) in NeonDivInt() 127 uint16x8_t b = vmull_u8(b2, a2) + vmull_u8(b1, da); in NeonBlendRGBA() local 140 uint16x8_t b = vmull_u8(b2, a2) + vmull_u8(b1, da); in NeonBlendXRGB() local 195 uint8x8_t& b, in LoadBufA_ARGB8888() 209 uint8x8_t& b, in LoadBufA_XRGB8888() 223 uint8x8_t& b, in LoadBufA_RGB888() 237 uint8x8_t& b, in LoadBufA_RGB565() [all …]
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeBinaryCompile/LumeShaderCompiler/test/simple/snippets/ |
H A D | core_lerp_blocks.h | 15 void GenericLerp(in vec2 a, in vec2 b, in float t, out vec2 c) in GenericLerp() 20 void GenericLerp(in vec3 a, in vec3 b, in float t, out vec3 c) in GenericLerp() 25 void GenericLerp(in vec4 a, in vec4 b, in float t, out vec4 c) in GenericLerp()
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeBase/api/base/util/ |
H A D | color.h | 65 uint8_t b = (color >> COLOR_SHIFT_0) & UINT8_MAX; in MakeColorFromLinear() local 78 uint8_t b = (color >> COLOR_SHIFT_0) & UINT8_MAX; in MakeColorFromSRGB() local 92 uint32_t b = (static_cast<uint32_t>(color.z) & UINT8_MAX) << COLOR_SHIFT_0; in FromColorToLinear() local 106 …uint32_t b = (static_cast<uint32_t>(LinearToSRGBConv(color.z) * 255.f) & UINT8_MAX) << COLOR_SHIFT… in FromColorToSRGB() local 121 uint32_t b = (static_cast<uint32_t>(color.z) & UINT8_MAX) << COLOR_SHIFT_16; in FromColorRGBAToLinear() local 134 …uint32_t b = (static_cast<uint32_t>(LinearToSRGBConv(color.z) * 255.0f) & UINT8_MAX) << COLOR_SHIF… in FromColorRGBAToSRGB() local
|
/ohos5.0/foundation/multimedia/av_codec/test/moduletest/audio_encoder/InnerAPI/ |
H A D | InnerParamCheckTest.cpp | 136 uint8_t b[100]; variable 193 uint8_t b[100]; variable 251 uint8_t b[100]; variable 304 uint8_t b[100]; variable 356 uint8_t b[100]; variable 409 uint8_t b[100]; variable
|
/ohos5.0/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/wifi_ap/Mock/ |
H A D | operator_overload.cpp | 20 bool operator==(const StationInfo &a, const StationInfo &b) in operator ==() 34 bool operator==(const HotspotConfig &a, const HotspotConfig &b) in operator ==()
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeEngine/ecshelper/PropertyTools/ |
H A D | property_macros.h | 38 #define BEGIN_COMPONENT(a, b) argument 46 #define BEGIN_COMPONENT_MANAGER(a, b, c) argument 47 #define END_COMPONENT_MANAGER(a, b, c) argument 48 #define END_COMPONENT(a, b, c) argument 49 #define END_COMPONENT_EXT(a, b, c, d) argument
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/api/render/shaders/common/ |
H A D | render_tonemap_common.h | 28 const float b = 0.03f; in TonemapAces() local 42 float b = 2.12f; in TonemapAcesFilmRec2020() local 56 const float b = 0.50f; in TonemapFilmic() local 66 const float b = 0.50f; in TonemapFilmic() 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() 70 int b = (y + ((475 * (u - 128)) >> 8)); in YuvToB() local
|
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/fillp/src/public/include/ |
H A D | utils.h | 37 #define UTILS_MIN(a, b) ((a) < (b) ? (a) : (b)) argument 38 #define UTILS_MAX(a, b) ((a) > (b) ? (a) : (b)) argument 82 …LLP_BOOL UtilsIpv6AddrMatch(FILLP_CONST struct sockaddr_in6 *a, FILLP_CONST struct sockaddr_in6 *b) in UtilsIpv6AddrMatch() 93 #define UTILS_ADDR_FAMILY_MATCH(a, b) (((struct sockaddr_in *)(void *)(a))->sin_family == \ argument 96 #define UTILS_ADDR_PORT_MATCH(a, b) (((struct sockaddr_in *)(void *)(a))->sin_port == \ argument 99 #define UTILS_IPV4_ADDR_MATCH(a, b) ((a)->sin_addr.s_addr == (b)->sin_addr.s_addr && \ argument 102 #define UTILS_IPV6_ADDR_MATCH(a, b) (UTILS_ADDR_PORT_MATCH((a), (b)) && \ argument
|
/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() 70 void Color::SetBlue(uint32_t b) in SetBlue() 119 void Color::SetBlueF(scalar b) in SetBlueF() 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/distributeddatamgr/relational_store/rdbmock/frameworks/native/win32/sys/ |
H A D | ioctl.h | 22 #define _IOC(a, b, c, d) (((a) << 30) | ((b) << 8) | (c) | ((d) << 16)) argument 24 #define _IOR(a, b, c) _IOC(_IOC_READ, (a), (b), sizeof(c)) argument
|
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/nstackx_congestion/platform/unix/ |
H A D | nstackx_nlmsg.h | 42 static inline int32_t NlMax(int32_t a, int32_t b) in NlMax() 47 static inline int32_t NlMin(int32_t a, int32_t b) in NlMin()
|
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/util/ |
H A D | bit.rs | 679 let mut b = Bit::from_usize(0); in ut_bit_set() localVariable 683 let mut b = Bit::from_usize(USIZE_MAX_HALF); in ut_bit_set() localVariable 687 let mut b = Bit::from_usize(USIZE_MAX); in ut_bit_set() localVariable 703 let mut b = Bit::from_usize(0); in ut_bit_clear() localVariable 707 let mut b = Bit::from_usize(USIZE_MAX_HALF); in ut_bit_clear() localVariable 711 let mut b = Bit::from_usize(USIZE_MAX); in ut_bit_clear() localVariable
|
/ohos5.0/drivers/peripheral/camera/test/ut/pipeline_core/ |
H A D | stream_pipeline_dispatcher_test.cpp | 70 std::unique_ptr<StreamPipelineBuilder> b = StreamPipelineBuilder::Create(streamMgr); variable 94 std::unique_ptr<StreamPipelineBuilder> b = StreamPipelineBuilder::Create(streamMgrConf); variable 118 std::unique_ptr<StreamPipelineBuilder> b = StreamPipelineBuilder::Create(streamMgrAbConf); variable
|
H A D | stream_pipeline_builder_test.cpp | 72 std::unique_ptr<StreamPipelineBuilder> b = StreamPipelineBuilder::Create(streamMgr); variable 87 std::unique_ptr<StreamPipelineBuilder> b = StreamPipelineBuilder::Create(streamMgr); variable
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/platform/utils/ |
H A D | parcel.h | 84 inline void SetBehavior(BehaviorFlag b) const in SetBehavior() 94 inline void ClearBehavior(BehaviorFlag b) const in ClearBehavior() 105 inline bool TestBehavior(BehaviorFlag b) const in TestBehavior()
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/gles/ |
H A D | gl_functions.h | 25 #define declare(a, b) extern a b; argument 73 #define declare(a, b) extern a b; argument
|
H A D | wgl_state.cpp | 26 #define declare(a, b) a b = nullptr; argument 53 #define declareWGL(a, b) a b = nullptr; argument 162 #define declareWGL(a, b) \ in DoDummy() argument 416 #define declareWGL(a, b) \ in CreateContext() argument 451 const auto addAttribute = [&attributes](int a, int b) { in CreateContext() 507 #define declare(a, b) \ in GlInitialize() argument
|
H A D | egl_functions.h | 23 #define declare(a, b) extern a b; argument
|
/ohos5.0/foundation/communication/ipc/ipc/test/rpc/server/ |
H A D | rpc_server.c | 48 int32_t b; in RemoteRequestOne() local 57 int32_t b; in RemoteRequestOne() local 66 int32_t b; in RemoteRequestOne() local
|
/ohos5.0/commonlibrary/c_utils/base/include/ |
H A D | parcel.h | 87 inline void SetBehavior(BehaviorFlag b) const in SetBehavior() 98 inline void ClearBehavior(BehaviorFlag b) const in ClearBehavior() 112 inline bool TestBehavior(BehaviorFlag b) const in TestBehavior()
|
/ohos5.0/foundation/communication/dsoftbus/core/transmission/trans_channel/tcp_direct/include/ |
H A D | trans_tcp_direct_message.h | 30 #define MIN(a, b) ((a) < (b) ? (a) : (b)) argument
|