Home
last modified time | relevance | path

Searched +defs:x +defs:b (Results 1 – 25 of 77) sorted by relevance

1234

/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/api/render/shaders/common/
H A Drender_tonemap_common.h25 vec3 TonemapAces(vec3 x) in TonemapAces()
28 const float b = 0.03f; in TonemapAces() local
39 vec3 TonemapAcesFilmRec2020(vec3 x) in TonemapAcesFilmRec2020()
42 float b = 2.12f; in TonemapAcesFilmRec2020() local
53 float TonemapFilmic(float x) in TonemapFilmic()
56 const float b = 0.50f; in TonemapFilmic() local
63 vec3 TonemapFilmic(vec3 x) in TonemapFilmic()
66 const float b = 0.50f; in TonemapFilmic() local
/ohos5.0/commonlibrary/c_utils/base/include/
H A Dpubdef.h29 #define B_TO_M(b) ((b) / 1024 / 1024) argument
33 #define B_TO_K(b) ((b) / 1024) argument
51 #define MAX(x, y) (((x) > (y)) ? (x) : (y)) argument
53 #define MIN(x, y) (((x) < (y)) ? (x) : (y)) argument
57 #define EQUAL_TO_ZERO(x) (fabs(x) <= (EPS)) argument
/ohos5.0/drivers/hdf_core/adapter/khdf/uniproton/test/sample_driver/include/
H A Dplatform_assert.h49 #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
74 #define CHECK_GT_RETURN(a, b, ret) CHECK_AND_RETURN((a) > (b), ret) argument
76 #define CHECK_LT_RETURN(a, b, ret) CHECK_AND_RETURN((a) < (b), ret) argument
[all …]
/ohos5.0/drivers/hdf_core/framework/test/unittest/platform/common/
H A Dplatform_assert.h27 #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
52 #define CHECK_GT_RETURN(a, b, ret) CHECK_AND_RETURN((a) > (b), ret) argument
54 #define CHECK_LT_RETURN(a, b, ret) CHECK_AND_RETURN((a) < (b), ret) argument
[all …]
/ohos5.0/base/security/crypto_framework/plugin/openssl_plugin/key/asy_key_generator/src/
H A Decc_asy_key_generator_openssl.c59 static HcfResult CheckEc224CurveId(BIGNUM *p, BIGNUM *b, BIGNUM *x, BIGNUM *y) in CheckEc224CurveId()
80 static HcfResult CheckEc256CurveId(BIGNUM *p, BIGNUM *b, BIGNUM *x, BIGNUM *y) in CheckEc256CurveId()
101 static HcfResult CheckEc384CurveId(BIGNUM *p, BIGNUM *b, BIGNUM *x, BIGNUM *y) in CheckEc384CurveId()
122 static HcfResult CheckEc521CurveId(BIGNUM *p, BIGNUM *b, BIGNUM *x, BIGNUM *y) in CheckEc521CurveId()
143 static HcfResult CheckBP160r1CurveId(BIGNUM *p, BIGNUM *b, BIGNUM *x, BIGNUM *y) in CheckBP160r1CurveId()
164 static HcfResult CheckBP160t1CurveId(BIGNUM *p, BIGNUM *b, BIGNUM *x, BIGNUM *y) in CheckBP160t1CurveId()
185 static HcfResult CheckBP192r1CurveId(BIGNUM *p, BIGNUM *b, BIGNUM *x, BIGNUM *y) in CheckBP192r1CurveId()
206 static HcfResult CheckBP192t1CurveId(BIGNUM *p, BIGNUM *b, BIGNUM *x, BIGNUM *y) in CheckBP192t1CurveId()
227 static HcfResult CheckBP224r1CurveId(BIGNUM *p, BIGNUM *b, BIGNUM *x, BIGNUM *y) in CheckBP224r1CurveId()
248 static HcfResult CheckBP224t1CurveId(BIGNUM *p, BIGNUM *b, BIGNUM *x, BIGNUM *y) in CheckBP224t1CurveId()
[all …]
H A Decc_common_param_spec_generator_openssl.c58 BIGNUM *x = OpensslBnNew(); in BuildCommonParamPart() local
99 BIGNUM *b = OpensslBnNew(); in BuildCommonParamGFp() local
284 EC_POINT **ecPoint, BIGNUM **x, BIGNUM **y) in InitEccPoint()
337 static HcfResult ConvertBigNumToEccPoint(const BIGNUM *x, const BIGNUM *y, in ConvertBigNumToEccPoint()
395 BIGNUM *x = NULL; in HcfEngineConvertPoint() local
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/gavdp/a2dp_codec/sbclib/include/
H A Dsbc_math.h22 static inline int32_t FABS(int32_t x) in FABS()
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/drivers/hdf_core/adapter/khdf/uniproton/osal/src/
H A Dosal_mem.c40 #define MEM_IS_ALIGNED(a, b) (!(((uintptr_t)(a)) & (((uintptr_t)(b)) - 1))) argument
71 int x = 0; in OsalMemLog2() local
/ohos5.0/foundation/graphic/graphic_2d/rosen/samples/webgl/entry/src/main/js/MainAbility/pages/index/utils/
H A DScene.js23 viewport(x, y, width, height) { argument
45 clear(r = 0, g = 0, b = 0, a = 1) { argument
/ohos5.0/foundation/graphic/graphic_utils_lite/interfaces/kits/gfx_utils/
H A Dtrans_affine.h200 static TransAffine TransAffineScaling(float x, float y) in TransAffineScaling()
219 static TransAffine TransAffineTranslation(float x, float y) in TransAffineTranslation()
225 inline void TransAffine::Transform(float* x, float* y) const in Transform()
232 inline void TransAffine::InverseTransform(float* x, float* y) const in InverseTransform()
236 float b = (*y - data_[5]) * reciprocal; in InverseTransform() local
284 inline void TransAffine::ScalingAbs(float* x, float* y) const in ScalingAbs()
H A Dgraphic_math.h46 #define MATH_MAX(a, b) ((a) > (b) ? (a) : (b)) argument
50 #define MATH_MIN(a, b) ((a) < (b) ? (a) : (b)) argument
54 #define MATH_ABS(x) ((x) > 0 ? (x) : (-(x))) argument
58 #define MATH_MINUS(a, b) ((a) < (b) ? ((b) - (a)) : ((a) - (b))) argument
60 #define MATH_ROUND(x) ((x) > 0 ? (int16_t)((x) + 0.5f) : (int16_t)((x) - 0.5f)) argument
62 #define MATH_ROUND32(x) ((x) > 0 ? (int32_t)((x) + 0.5f) : (int32_t)((x) - 0.5f)) argument
66 #define MATH_FLT_EQUAL(a, b) (MATH_ABS((a) - (b)) <= UI_FLT_EPSILON) argument
119 Vector2(T x, T y) in Vector2()
242 Vector3(T x, T y, T z) in Vector3()
298 Vector4(T x, T y, T z, T w) in Vector4()
[all …]
/ohos5.0/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/
H A Dext_pixel_convert.cpp38 uint8_t b; member
39 uint8_t x; member
45 uint8_t b; member
/ohos5.0/foundation/distributeddatamgr/kv_store/kvstoremock/interfaces/mock/base/
H A Dsecurectype.h84 #define SECUREC_ATTRIBUTE(x, y) __attribute__((format(printf, (x), (y)))) argument
86 #define SECUREC_ATTRIBUTE(x, y) argument
99 #define SECUREC_LIKELY(x) __builtin_expect(!!(x), 1) argument
100 #define SECUREC_UNLIKELY(x) __builtin_expect(!!(x), 0) argument
102 #define SECUREC_LIKELY(x) (x) argument
103 #define SECUREC_UNLIKELY(x) (x) argument
169 #define SECUREC_TWO_MIN(a, b) ((a) < (b) ? (a) : (b)) argument
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing_ndk/cpp/interface/
H A Dpath_test.cpp60 float b = t + rand.nextULessThan(bitmapHeight_); in OnTestPerformance() local
73 float x; in OnTestPerformance() local
91 float x; in OnTestPerformance() local
109 float x; in OnTestPerformance() local
130 float x; in OnTestPerformance() local
165 float x = rand.nextUScalar1() * 300; // 300 用于生成随机坐标 in OnTestPerformance() local
218 float x = rand.nextUScalar1() * 300; // 300 用于生成随机坐标 in OnTestPerformance() local
291 int b = ((t + 100) > bitmapHeight_) ? bitmapHeight_ : (t + 100); // 100 用于高度计算 in OnTestPerformance() local
317 int b = ((t + 100) > bitmapHeight_) ? bitmapHeight_ : (t + 100); // 100 用于高度计算 in OnTestPerformance() local
449 float b; in OnTestPerformance() local
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/fuzztest/rsgpuoverdrawcanvaslistener_fuzzer/
H A Drsgpuoverdrawcanvaslistener_fuzzer.cpp63 float x = GetData<float>(); in DoDrawPoint() local
76 float x = GetData<float>(); in DoDrawLine() local
81 float b = GetData<float>(); in DoDrawLine() local
213 float x = GetData<float>(); in DoDrawCircle() local
253 float x = GetData<float>(); in DoDrawShadow() local
267 uint32_t b = GetData<uint32_t>(); in DoDrawShadow() local
302 float x = GetData<float>(); in DoDrawBitmap() local
317 float x = GetData<float>(); in DoDrawImage() local
380 uint32_t b = GetData<uint32_t>(); in DoAttachPen() local
/ohos5.0/foundation/graphic/graphic_2d/utils/color_manager/src/
H A Dcolor_space.cpp176 Matrix3x3 operator*(const Matrix3x3& a, const Matrix3x3& b) in operator *()
189 Vector3 operator*(const Vector3& x, const Matrix3x3& a) in operator *()
191 Vector3 b = {}; in operator *() local
200 Vector3 operator*(const Matrix3x3& a, const Vector3& x) in operator *()
202 Vector3 b = {}; in operator *() local
211 Matrix3x3 operator/(const Vector3& a, const Vector3& b) in operator /()
267 static bool IsFinite(float x) in IsFinite()
/ohos5.0/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/include/texture_encode/
H A Dcommon.h48 int Clamp3(int x, int xmin, int xmax) in Clamp3()
59 int Min2(int a, int b) in Min2()
64 int Max2(int a, int b) in Max2()
/ohos5.0/foundation/arkui/ace_engine/frameworks/base/utils/
H A Dutils.h60 #define PRIMITIVE_CAT(x, y) x##y argument
61 #define CAT(x, y) PRIMITIVE_CAT(x, y) argument
63 #define COPY_SENTENCE(x) x = other.x; argument
64 #define LOOP_COPY(x) CAT(LOOP_COPY1 x, _END) argument
65 #define LOOP_COPY1(x) COPY_SENTENCE(x) LOOP_COPY2 argument
66 #define LOOP_COPY2(x) COPY_SENTENCE(x) LOOP_COPY1 argument
70 #define COMPARE_SENTENCE(x) (x == other.x) argument
71 #define LOOP_COMPARE(x) CAT(LOOP_COMPARE0 x, _END) argument
72 #define LOOP_COMPARE0(x) COMPARE_SENTENCE(x) LOOP_COMPARE1 argument
73 #define LOOP_COMPARE1(x) &&COMPARE_SENTENCE(x) LOOP_COMPARE2 argument
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/transform/
H A Dtransform_component.cpp33 void TransformComponent::Translate(const Dimension& x, const Dimension& y, const AnimationOption& a… in Translate()
39const Dimension& x, const Dimension& y, const Dimension& z, const AnimationOption& animationOption) in Translate()
47 void TransformComponent::TranslateX(const Dimension& x, const AnimationOption& animationOption) in TranslateX()
68 void TransformComponent::Scale(float x, float y, const AnimationOption& animationOption) in Scale()
73 void TransformComponent::Scale(float x, float y, float z, const AnimationOption& animationOption) in Scale()
81 void TransformComponent::ScaleX(float x, const AnimationOption& animationOption) in ScaleX()
148 float a, float b, float c, float d, float dx, float dy, const AnimationOption& animationOption) in Matrix()
171 void TransformComponent::SetRotateTransition(TransitionType type, double x, double y, double z, dou… in SetRotateTransition()
194 TransitionType type, const Dimension& x, const Dimension& y, const Dimension& z) in SetTranslateTransition()
216 void TransformComponent::SetScaleTransition(TransitionType type, float x, float y, float z) in SetScaleTransition()
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/fuzztest/rscpuoverdrawcanvaslistener_fuzzer/
H A Drscpuoverdrawcanvaslistener_fuzzer.cpp62 float x = GetData<float>(); in DoDrawPoint() local
75 float x = GetData<float>(); in DoDrawLine() local
80 float b = GetData<float>(); in DoDrawLine() local
212 float x = GetData<float>(); in DoDrawCircle() local
252 float x = GetData<float>(); in DoDrawShadow() local
266 uint32_t b = GetData<uint32_t>(); in DoDrawShadow() local
301 float x = GetData<float>(); in DoDrawTextBlob() local
314 float x = GetData<float>(); in DoDrawBitmap() local
329 float x = GetData<float>(); in DoDrawImage() local
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing_ndk/cpp/
H A Dtest_common.cpp96 unsigned b = ((color >> 3) & 0x1F); in color_to_565() local
126 uint8_t* DrawBitmapGetAddr8(OH_Drawing_Bitmap* bitmap, int x, int y) in DrawBitmapGetAddr8()
135 uint16_t* DrawBitmapGetAddr16(OH_Drawing_Bitmap* bitmap, int x, int y) in DrawBitmapGetAddr16()
144 uint32_t* DrawBitmapGetAddr32(OH_Drawing_Bitmap* bitmap, int x, int y) in DrawBitmapGetAddr32()
153 void DrawPathGetBound(DrawRect& r, float x, float y) in DrawPathGetBound()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/common/
H A Drs_vector4.h96 Quaternion(float x, float y, float z, float w) : Vector4f(x, y, z, w) {} in Quaternion()
127 Vector4<T>::Vector4(T x, T y, T z, T w) in Vector4()
241 void Vector4<T>::Min(const Vector4<T>& a, const Vector4<T>& b, Vector4<T>& result) in Min()
253 void Vector4<T>::Max(const Vector4<T>& a, const Vector4<T>& b, Vector4<T>& result) in Max()
302 void Vector4<T>::SetValues(T x, T y, T z, T w) in SetValues()
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/converter/src/
H A Dpost_proc_slr.cpp37 float GetSLRFactor(float x, int a) in GetSLRFactor()
92 bool SLRCheck(const SLRMat &src, const SLRMat &dst, const SLRWeightMat &x, const SLRWeightMat &y) in SLRCheck()
115 int x; member
119 …ol SLRBoxCheck(const SLRSliceKey &key, const SLRMat &src, const SLRMat &dst, const SLRWeightMat &x, in SLRBoxCheck()
161 void SLRBox(const SLRSliceKey &key, const SLRMat &src, SLRMat &dst, const SLRWeightMat &x, const SL… in SLRBox()
197 …uint32_t r = SLRCast(rgba[0]), g = SLRCast(rgba[1]), b = SLRCast(rgba[2]), a = SLRCast(rgba[3]); /… in SLRBox() local
201 void SLRProc::Serial(const SLRMat &src, SLRMat &dst, const SLRWeightMat &x, const SLRWeightMat &y) in Serial()
218 const SLRWeightMat &x, const SLRWeightMat &y) in SLRSubtask()
231 void SLRProc::Parallel(const SLRMat &src, SLRMat &dst, const SLRWeightMat &x, const SLRWeightMat &y) in Parallel()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/skia_adapter/
H A Dskia_matrix44.cpp56 void SkiaMatrix44::Multiply(const Matrix44& a, const Matrix44& b) in Multiply()
63 void SkiaMatrix44::SetCol(int column, scalar x, scalar y, scalar z, scalar w) in SetCol()
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/converter/include/
H A Dmatrix.h25 float x = 0.0f; member
71 static inline double MulAddMul(const float a, const float b, const float c, const float d) in MulAddMul()
76 static inline double MulSubMul(const float a, const float b, const float c, const float d) in MulSubMul()

1234