/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/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() 155 … inline void LoadBuf_ARGB8888(uint8_t* buf, uint8x8_t& r, uint8x8_t& g, uint8x8_t& b, uint8x8_t& a) in LoadBuf_ARGB8888() 164 … inline void LoadBuf_XRGB8888(uint8_t* buf, uint8x8_t& r, uint8x8_t& g, uint8x8_t& b, uint8x8_t& a) in LoadBuf_XRGB8888() 173 …ic inline void LoadBuf_RGB888(uint8_t* buf, uint8x8_t& r, uint8x8_t& g, uint8x8_t& b, uint8x8_t& a) in LoadBuf_RGB888() 181 …ic inline void LoadBuf_RGB565(uint8_t* buf, uint8x8_t& r, uint8x8_t& g, uint8x8_t& b, uint8x8_t& a) in LoadBuf_RGB565() 273 …inline void StoreBuf_ARGB8888(uint8_t* buf, uint8x8_t& r, uint8x8_t& g, uint8x8_t& b, uint8x8_t& a) in StoreBuf_ARGB8888() 293 …c inline void StoreBuf_RGB888(uint8_t* buf, uint8x8_t& r, uint8x8_t& g, uint8x8_t& b, uint8x8_t& a) in StoreBuf_RGB888() [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 68 uint8_t a = (color >> COLOR_SHIFT_24) & UINT8_MAX; in MakeColorFromLinear() local 78 uint8_t b = (color >> COLOR_SHIFT_0) & UINT8_MAX; in MakeColorFromSRGB() local 81 uint8_t a = (color >> COLOR_SHIFT_24) & UINT8_MAX; in MakeColorFromSRGB() local 92 uint32_t b = (static_cast<uint32_t>(color.z) & UINT8_MAX) << COLOR_SHIFT_0; in FromColorToLinear() local 95 uint32_t a = (static_cast<uint32_t>(color.w) & UINT8_MAX) << COLOR_SHIFT_24; in FromColorToLinear() local 106 …uint32_t b = (static_cast<uint32_t>(LinearToSRGBConv(color.z) * 255.f) & UINT8_MAX) << COLOR_SHIFT… in FromColorToSRGB() local 109 uint32_t a = (static_cast<uint32_t>(color.w * 255.f) & UINT8_MAX) << COLOR_SHIFT_24; in FromColorToSRGB() local 121 uint32_t b = (static_cast<uint32_t>(color.z) & UINT8_MAX) << COLOR_SHIFT_16; in FromColorRGBAToLinear() local 123 uint32_t a = (static_cast<uint32_t>(color.w) & UINT8_MAX) << COLOR_SHIFT_24; in FromColorRGBAToLinear() local [all …]
|
/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 | 27 const float a = 2.51f; in TonemapAces() local 28 const float b = 0.03f; in TonemapAces() local 41 float a = 15.8f; in TonemapAcesFilmRec2020() local 42 float b = 2.12f; in TonemapAcesFilmRec2020() local 55 const float a = 0.15f; in TonemapFilmic() local 56 const float b = 0.50f; in TonemapFilmic() local 65 const float a = 0.15f; in TonemapFilmic() local 66 const float b = 0.50f; in TonemapFilmic() 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 …ine static FILLP_BOOL UtilsIpv6AddrMatch(FILLP_CONST struct sockaddr_in6 *a, FILLP_CONST struct so… 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/bundlemanager/bundle_framework_lite/utils/bundle_lite/ |
H A D | adapter.h | 32 #define AdapterMalloc(a) malloc(a) argument 33 #define AdapterFree(a) \ argument 42 #define MutexDelete(a) pthread_mutex_destroy(a) argument 43 #define MutexAcquire(a, b) pthread_mutex_lock(a) argument 53 #define AdapterFree(a) \ argument 62 #define UI_Free(a) \ argument 70 #define Malloc(a) malloc(a) argument 71 #define Free(a) \ argument 80 #define MutexDelete(a) osMutexDelete(a) argument 81 #define MutexAcquire(a, b) osMutexAcquire(a, b) argument [all …]
|
/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() 75 void Color::SetAlpha(uint32_t a) in SetAlpha() 119 void Color::SetBlueF(scalar b) in SetBlueF() 124 void Color::SetAlphaF(scalar a) in SetAlphaF() 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/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 | 46 int32_t a; in RemoteRequestOne() local 48 int32_t b; in RemoteRequestOne() local 55 int32_t a; in RemoteRequestOne() local 57 int32_t b; in RemoteRequestOne() local 64 int32_t a; in RemoteRequestOne() local 66 int32_t b; in RemoteRequestOne() local
|
/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
|
/ohos5.0/foundation/ability/ability_runtime/test/moduletest/ability_record_test/ |
H A D | ability_record_module_test.cpp | 50 bool operator==(const AbilityInfo& a, const AbilityInfo& b) in operator ==() 63 bool operator!=(const AbilityInfo& a, const AbilityInfo& b) in operator !=() 68 bool operator==(const ApplicationInfo& a, const ApplicationInfo& b) in operator ==() 78 bool operator!=(const ApplicationInfo& a, const ApplicationInfo& b) in operator !=() 85 bool operator==(const Want& a, const Want& b) in operator ==() 94 bool operator!=(const Want& a, const Want& b) in operator !=()
|
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/gavdp/a2dp_codec/sbclib/include/ |
H A D | sbc_math.h | 54 static inline int32_t MUL(int32_t a, int32_t b) in MUL() 59 static inline int32_t MULA(int32_t a, int32_t b, int32_t res) in MULA()
|
/ohos5.0/build/rust/tests/test_bindgen_test/test_for_hello_world/ |
H A D | lib.c | 26 uint32_t FuncAAddB(uint32_t a, uint32_t b) in FuncAAddB()
|
/ohos5.0/build/rust/tests/test_cxx/ |
H A D | main.cpp | 20 int a = 2021; in main() local 21 int b = 4; in main() local
|
/ohos5.0/foundation/communication/dsoftbus/core/transmission/trans_channel/proxy/include/ |
H A D | softbus_proxychannel_manager.h | 32 #define MIN(a, b) ((a) < (b) ? (a) : (b)) argument
|
/ohos5.0/foundation/graphic/graphic_2d/utils/color_manager/export/ |
H A D | color.h | 41 float b = 0.0f; variable 42 float a = 0.0f; variable
|
/ohos5.0/foundation/window/window_manager/window_scene/session_manager/src/ |
H A D | scene_input_manager.cpp | 38 bool operator!=(const MMI::Rect& a, const MMI::Rect& b) in operator !=() 46 bool operator==(const MMI::DisplayInfo& a, const MMI::DisplayInfo& b) in operator ==() 59 bool operator!=(const std::vector<float>& a, const std::vector<float>& b) in operator !=() 73 bool IsEqualWindowInfo(const MMI::WindowInfo& a, const MMI::WindowInfo& b) in IsEqualWindowInfo() 87 bool operator==(const MMI::WindowInfo& a, const MMI::WindowInfo& b) in operator ==() 127 bool operator!=(const MMI::WindowInfo& a, const MMI::WindowInfo& b) in operator !=() 135 bool IsEqualUiExtentionWindowInfo(const std::vector<MMI::WindowInfo>& a, const std::vector<MMI::Win… in IsEqualUiExtentionWindowInfo()
|