Home
last modified time | relevance | path

Searched +defs:a +defs:x (Results 1 – 25 of 82) 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()
27 const float a = 2.51f; in TonemapAces() local
39 vec3 TonemapAcesFilmRec2020(vec3 x) in TonemapAcesFilmRec2020()
41 float a = 15.8f; in TonemapAcesFilmRec2020() local
53 float TonemapFilmic(float x) in TonemapFilmic()
55 const float a = 0.15f; in TonemapFilmic() local
63 vec3 TonemapFilmic(vec3 x) in TonemapFilmic()
65 const float a = 0.15f; in TonemapFilmic() local
/ohos5.0/base/security/certificate_framework/test/unittest/v1.0/src/
H A Dcf_mock.cpp388 ASN1_TIME *__wrap_X509_getm_notBefore(const X509 *x) in __wrap_X509_getm_notBefore()
398 ASN1_TIME *__wrap_X509_getm_notAfter(const X509 *x) in __wrap_X509_getm_notAfter()
418 int __wrap_i2d_X509(X509 *a, unsigned char **out) in __wrap_i2d_X509()
468 int __wrap_X509_STORE_add_cert(X509_STORE *ctx, X509 *x) in __wrap_X509_STORE_add_cert()
578 const ASN1_INTEGER *__wrap_X509_get0_serialNumber(const X509 *x) in __wrap_X509_get0_serialNumber()
598 EVP_PKEY *__wrap_X509_get_pubkey(X509 *x) in __wrap_X509_get_pubkey()
688 long __wrap_ASN1_INTEGER_get(const ASN1_INTEGER *a) in __wrap_ASN1_INTEGER_get()
748 int __wrap_X509_verify(X509 *a, EVP_PKEY *r) in __wrap_X509_verify()
858 struct stack_st_OPENSSL_STRING *__wrap_X509_get1_ocsp(X509 *x) in __wrap_X509_get1_ocsp()
900 int __wrap_ASN1_STRING_length(const ASN1_STRING *x) in __wrap_ASN1_STRING_length()
[all …]
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/tests/
H A Dbuilder.rs34 let x = Arc::new(Mutex::new(0)); in sdv_set_builder_after_start() localVariable
41 let mut a = xc.lock().unwrap(); in sdv_set_builder_after_start() localVariable
50 let a = x.lock().unwrap(); in sdv_set_builder_after_start() localVariable
63 let x = Arc::new(Mutex::new(0)); in sdv_set_builder_before_stop() localVariable
70 let mut a = xc.lock().unwrap(); in sdv_set_builder_before_stop() localVariable
79 let a = x.lock().unwrap(); in sdv_set_builder_before_stop() localVariable
/ohos5.0/base/security/huks/frameworks/huks_standard/main/crypto_engine/openssl/src/
H A Dhks_openssl_bn.c51 …struct HksBnExpModParams *bnParams, const struct HksBlob *a, const struct HksBlob *e, const struct… in BnBuildParams()
66 static int32_t BnExpModExport(BIGNUM *bnX, struct HksBlob *x) in BnExpModExport()
101 int32_t HksOpensslBnExpMod(struct HksBlob *x, const struct HksBlob *a, in HksOpensslBnExpMod()
/ohos5.0/base/security/huks/frameworks/huks_standard/main/crypto_engine/mbedtls/src/
H A Dhks_mbedtls_bn.c32 static int32_t CheckBnExpModNx(const struct HksBlob *n, const struct HksBlob *x) in CheckBnExpModNx()
48 int32_t HksMbedtlsBnExpMod(struct HksBlob *x, const struct HksBlob *a, in HksMbedtlsBnExpMod()
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/time/
H A Dtimer.rs201 let mut a = 0; in ut_new_timer_base() localVariable
226 let mut a = 0; in ut_new_timer_timeout() localVariable
251 let x = Arc::new(Mutex::new(0)); in ut_new_timer_schedule() localVariable
255 let mut a = xc.lock().unwrap(); in ut_new_timer_schedule() localVariable
264 let x = x.lock().unwrap(); in ut_new_timer_schedule() localVariable
/ohos5.0/base/security/huks/test/unittest/huks_lite_test/liteos_m_adapter/
H A Dhks_bn_exp_mod_test.c63 struct HksBlob *x = NULL; in LITE_TEST_CASE() local
64 struct HksBlob *a = NULL; in LITE_TEST_CASE() local
/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/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/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/sdk_test/src/
H A Dhks_bn_exp_mod_test.cpp63 struct HksBlob *x = NULL; variable
64 struct HksBlob *a = NULL; variable
/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
57 #define EQUAL_TO_ZERO(x) (fabs(x) <= (EPS)) argument
/ohos5.0/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_native/client/hdi_client/hdi_interface/
H A Dwifi_hdi_common.h29 #define HDI_BIT(x) (1U << (x)) argument
74 #define HDI_GET_RSN_ID(a) HdiGetBe32((const uint8_t *) (a)) argument
76 #define HDI_BIT_MULTI(a, b, c, d) \ argument
93 static inline uint32_t HdiGetBe24(const uint8_t *a) in HdiGetBe24()
98 static inline uint32_t HdiGetBe32(const uint8_t *a) in HdiGetBe32()
104 static inline uint16_t HdiGetBe16(const uint8_t *a) in HdiGetBe16()
/ohos5.0/base/security/huks/test/fuzz_test/innerapi_fuzzer/hksbnexpmod_fuzzer/
H A Dhksbnexpmod_fuzzer.cpp39 struct HksBlob x = { BN_SIZE, ReadData<uint8_t *>(data, size, BN_SIZE) }; in DoSomethingInterestingWithMyAPI() local
40 struct HksBlob a = { BN_SIZE, ReadData<uint8_t *>(data, size, BN_SIZE) }; in DoSomethingInterestingWithMyAPI() local
/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()
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/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()
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
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/drivers/hdf_core/interfaces/inner_api/utils/
H A Dhdf_base.h87 #define HDF_ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0])) argument
98 #define HDF_LIBRARY_FULL_PATH(x) "/usr/lib/" x ".so" argument
123 #define HDF_LIBRARY_NAME(x) x ".so" argument
129 #define HDF_LIBRARY_FULL_PATH(x) "/vendor/lib64/" x ".z.so" argument
131 #define HDF_LIBRARY_FULL_PATH(x) "/vendor/lib/" x ".z.so" argument
162 #define HDF_LIBRARY_NAME(x) x ".z.so" argument
/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/drivers/peripheral/display/buffer/vdi_base/include/
H A Dhi_gbm_internal.h23 #define ALIGN_UP(x, a) ((((x) + ((a)-1)) / (a)) * (a)) argument
/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
80 float a = GetData<float>(); in DoDrawLine() local
213 float x = GetData<float>(); in DoDrawCircle() local
253 float x = GetData<float>(); in DoDrawShadow() local
268 uint32_t a = GetData<uint32_t>(); in DoDrawShadow() local
302 float x = GetData<float>(); in DoDrawBitmap() local
317 float x = 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()
/ohos5.0/base/security/huks/test/unittest/huks_lite_test/liteos_a_adapter/
H A Dhks_bn_exp_mod_test.cpp105 struct HksBlob *x = NULL; variable
106 struct HksBlob *a = NULL; variable

1234