Home
last modified time | relevance | path

Searched +defs:a +defs:y (Results 1 – 25 of 56) sorted by relevance

123

/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/foundation/multimedia/image_effect/interfaces/inner_api/native/utils/
H A Dformat_helper.h33 static inline int Clip(int a, int aMin, int aMax) in Clip()
40 int y = (54 * r + 183 * g + 18 * b) >> 8; in RGBToY() local
56 static inline uint8_t YuvToR(uint8_t y, uint8_t u, uint8_t v) in YuvToR()
62 static inline uint8_t YuvToG(uint8_t y, uint8_t u, uint8_t v) in YuvToG()
68 static inline uint8_t YuvToB(uint8_t y, uint8_t u, uint8_t v) in YuvToB()
/ohos5.0/commonlibrary/c_utils/base/include/
H A Dpubdef.h43 #define ARRAY_SIZE(a) (sizeof((a)) / sizeof((a[0]))) argument
51 #define MAX(x, y) (((x) > (y)) ? (x) : (y)) argument
53 #define MIN(x, y) (((x) < (y)) ? (x) : (y)) argument
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/converter/src/
H A Dpost_proc_slr.cpp37 float GetSLRFactor(float x, int a) in GetSLRFactor()
59 int a = std::max(2, static_cast<int>(std::floor(tao))); // 2 max SLR box size in GetWeights() local
92 bool SLRCheck(const SLRMat &src, const SLRMat &dst, const SLRWeightMat &x, const SLRWeightMat &y) in SLRCheck()
116 int y; member
120 const SLRWeightMat &y) in SLRBoxCheck()
161 …nst SLRSliceKey &key, const SLRMat &src, SLRMat &dst, const SLRWeightMat &x, const SLRWeightMat &y) 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/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()
235 float a = (*x - data_[2]) * 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
58 #define MATH_MINUS(a, b) ((a) < (b) ? ((b) - (a)) : ((a) - (b))) 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()
525 T y = data_[1] * ((data_[3] * data_[8]) - (data_[5] * data_[6])); in Determinant() local
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/fuzztest/rsgpuoverdrawcanvaslistener_fuzzer/
H A Drsgpuoverdrawcanvaslistener_fuzzer.cpp64 float y = GetData<float>(); in DoDrawPoint() local
77 float y = GetData<float>(); in DoDrawLine() local
80 float a = GetData<float>(); in DoDrawLine() local
214 float y = GetData<float>(); in DoDrawCircle() local
254 float y = GetData<float>(); in DoDrawShadow() local
268 uint32_t a = GetData<uint32_t>(); in DoDrawShadow() local
303 float y = GetData<float>(); in DoDrawBitmap() local
318 float y = GetData<float>(); in DoDrawImage() local
381 uint32_t a = GetData<uint32_t>(); in DoAttachPen() local
/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()
265 void Vector4<T>::Mix(const Vector4<T>& min, const Vector4<T>& max, T a, Vector4<T>& result) in Mix()
302 void Vector4<T>::SetValues(T x, T y, T z, T w) in SetValues()
H A Drs_matrix3.h406 T y = data_[1] * ((data_[3] * data_[8]) - (data_[5] * data_[6])); in Determinant() local
443 T a = angle; in Rotate() local
462 T a = angle; in Rotate() local
522 Matrix3<T> Matrix3<T>::ShearX(T y) const in ShearX()
/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()
39 …const Dimension& x, const Dimension& y, const Dimension& z, const AnimationOption& animationOption) in Translate()
52 void TransformComponent::TranslateY(const Dimension& y, const AnimationOption& animationOption) in TranslateY()
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()
86 void TransformComponent::ScaleY(float y, const AnimationOption& animationOption) in ScaleY()
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/base/security/crypto_framework/plugin/openssl_plugin/key/asy_key_generator/src/
H A Decc_common_param_spec_generator_openssl.c64 BIGNUM *y = OpensslBnNew(); in BuildCommonParamPart() local
98 BIGNUM *a = 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()
396 BIGNUM *y = NULL; in HcfEngineConvertPoint() local
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/fuzztest/rscpuoverdrawcanvaslistener_fuzzer/
H A Drscpuoverdrawcanvaslistener_fuzzer.cpp63 float y = GetData<float>(); in DoDrawPoint() local
76 float y = GetData<float>(); in DoDrawLine() local
79 float a = GetData<float>(); in DoDrawLine() local
213 float y = GetData<float>(); in DoDrawCircle() local
253 float y = GetData<float>(); in DoDrawShadow() local
267 uint32_t a = GetData<uint32_t>(); in DoDrawShadow() local
302 float y = GetData<float>(); in DoDrawTextBlob() local
315 float y = GetData<float>(); in DoDrawBitmap() local
330 float y = GetData<float>(); in DoDrawImage() local
/ohos5.0/foundation/multimodalinput/input/util/common/include/
H A Dmmi_matrix3.h420 T y = data_[1] * ((data_[3] * data_[8]) - (data_[5] * data_[6])); in Determinant() local
457 T a = angle; in Rotate() local
476 T a = angle; in Rotate() local
536 Matrix3<T> Matrix3<T>::ShearX(T y) const in ShearX()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/animation/
H A Drs_particle_noise_field.cpp158 float PerlinNoise2D::Lerp(float t, float a, float b) in Lerp()
164 float PerlinNoise2D::Grad(int hash, float x, float y) in Grad()
196 float PerlinNoise2D::Noise(float x, float y) in Noise()
228 Vector2f PerlinNoise2D::Curl(float x, float y) in Curl()
/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.h26 float y = 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()
/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
169 #define SECUREC_TWO_MIN(a, b) ((a) < (b) ? (a) : (b)) argument
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/common/src/
H A Dnative_image.cpp47 std::vector<uint8_t> y; member
54 static inline void DataSwap(uint8_t* a, uint8_t* b, bool flip) in DataSwap()
138 …NativeComponent* y = CreateComponent(int32_t(ComponentType::YUV_Y), yuv.ySize, width, NUM_1, nullp… in SplitYUV422SPComponent() local
184 auto y = GetComponent(int32_t(ComponentType::YUV_Y)); in CombineYUVComponents() local
/ohos5.0/base/security/crypto_framework/test/unittest/src/
H A Dopenssl_adapter_mock.c71 BIGNUM *OpensslBnDup(const BIGNUM *a) in OpensslBnDup()
79 void OpensslBnClear(BIGNUM *a) in OpensslBnClear()
84 void OpensslBnClearFree(BIGNUM *a) in OpensslBnClearFree()
91 void OpensslBnFree(BIGNUM *a) in OpensslBnFree()
177 int OpensslBnNumBits(const BIGNUM *a) in OpensslBnNumBits()
313 BIGNUM *y, BN_CTX *ctx) in OpensslEcPointGetAffineCoordinatesGfp()
386 const BIGNUM *y, BN_CTX *ctx) in OpensslEcPointSetAffineCoordinatesGfp()
994 int OpensslDsaGenerateKey(DSA *a) in OpensslDsaGenerateKey()
1230 void OpensslBioFreeAll(BIO *a) in OpensslBioFreeAll()
1952 const BIGNUM *x, const BIGNUM *y, BN_CTX *ctx) in OpensslEcPointSetAffineCoordinates()
[all …]
/ohos5.0/base/security/crypto_framework/interfaces/innerkits/algorithm_parameter/
H A Ddetailed_ecc_key_params.h37 HcfBigInteger y; member
43 HcfBigInteger a; member
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/common/properties/
H A Ddecoration.cpp345 void CanvasPath2D::SetTransform(double a, double b, double c, double d, double e, double f) in SetTransform()
357 void CanvasPath2D::MoveTo(double x, double y) in MoveTo()
365 void CanvasPath2D::LineTo(double x, double y) in LineTo()
373 void CanvasPath2D::Arc(double x, double y, double radius, double startAngle, double endAngle, doubl… in Arc()
396 void CanvasPath2D::QuadraticCurveTo(double cpx, double cpy, double x, double y) in QuadraticCurveTo()
406 …CanvasPath2D::BezierCurveTo(double cp1x, double cp1y, double cp2x, double cp2y, double x, double y) in BezierCurveTo()
419 …double x, double y, double radiusX, double radiusY, double rotation, double startAngle, double end… in Ellipse()
433 void CanvasPath2D::Rect(double x, double y, double width, double height) in Rect()
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/foldsplitcontainer/interfaces/
H A Dfoldsplitcontainer.js119 this.containerGlobalPosition = { x: 0, y: 0 }; property in FoldSplitContainer.constructor.containerGlobalPosition
696 let a; variable
/ohos5.0/base/security/crypto_framework/plugin/openssl_plugin/common/src/
H A Dopenssl_adapter.c35 void OpensslBnClear(BIGNUM *a) in OpensslBnClear()
40 void OpensslBnClearFree(BIGNUM *a) in OpensslBnClearFree()
50 void OpensslBnFree(BIGNUM *a) in OpensslBnFree()
85 int OpensslBnNumBytes(const BIGNUM *a) in OpensslBnNumBytes()
100 int OpensslBnNumBits(const BIGNUM *a) in OpensslBnNumBits()
221 const BIGNUM *y, BN_CTX *ctx) in OpensslEcPointSetAffineCoordinatesGfp()
258 BIGNUM *y, BN_CTX *ctx) in OpensslEcPointGetAffineCoordinatesGfp()
626 int OpensslDsaGenerateKey(DSA *a) in OpensslDsaGenerateKey()
837 void OpensslBioFreeAll(BIO *a) in OpensslBioFreeAll()
1412 const BIGNUM *x, const BIGNUM *y, BN_CTX *ctx) in OpensslEcPointSetAffineCoordinates()
[all …]

123