/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/ |
H A D | ndk_test.cpp | 40 const NativePixelMap *p = nullptr; variable 56 const NativePixelMap *p = nullptr; variable 72 const NativePixelMap *p = nullptr; variable 88 const NativePixelMap *p = nullptr; variable 104 const NativePixelMap *p = nullptr; variable 153 float x = 0.5; variable 170 float x = 0.5; variable 188 float x = 0.5; variable 205 float x = 0.5; variable 221 int32_t x = 0; variable [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/ui_effect/include/ |
H A D | ui_effect_napi_utils.h | 22 #define UIEFFECT_IS_OK(x) ((x) == napi_ok) argument 23 #define UIEFFECT_NOT_NULL(p) ((p) != nullptr) argument 24 #define UIEFFECT_IS_READY(x, p) (UIEFFECT_IS_OK(x) && UIEFFECT_NOT_NULL(p)) argument 26 #define UIEFFECT_NAPI_CHECK_RET_VOID_D(x, msg) \ argument 36 #define UIEFFECT_NAPI_CHECK_RET_D(x, res, msg) \ argument 46 #define UIEFFECT_NAPI_CHECK_RET_DELETE_POINTER(x, res, pointer, msg) \ argument
|
/ohos5.0/foundation/ai/ai_engine/services/common/utils/ |
H A D | aie_macros.h | 27 #define CHK_RET(x, ret) \ argument 37 #define CHK_RET_NONE(x) \ argument 55 #define AIE_DELETE(p) \ argument 67 #define AIE_DELETE_ARRAY(p) \ argument
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include/utils/ |
H A D | point.h | 71 inline PointF::PointF(const PointF& p) noexcept : x_(p.GetX()), y_(p.GetY()) {} in PointF() 73 inline PointF::PointF(scalar x, scalar y) noexcept : x_(x), y_(y) {} in PointF() 85 inline void PointF::SetX(scalar x) in SetX() 95 inline void PointF::Set(scalar x, scalar y) in Set() 106 inline void PointF::Offset(scalar x, scalar y) in Offset() 228 inline PointI::PointI(const PointI& p) noexcept : x_(p.GetX()), y_(p.GetY()) {} in PointI() 230 inline PointI::PointI(int x, int y) noexcept : x_(x), y_(y) {} in PointI() 242 inline void PointI::SetX(int x) in SetX() 252 inline void PointI::Set(int x, int y) in Set()
|
H A D | point3.h | 64 inline Point3::Point3(const Point3& p) noexcept : x_(p.GetX()), y_(p.GetY()), z_(p.GetZ()) {} in Point3() 66 inline Point3::Point3(scalar x, scalar y, scalar z) noexcept : x_(x), y_(y), z_(z) {} in Point3() 83 inline void Point3::SetX(scalar x) in SetX()
|
/ohos5.0/commonlibrary/c_utils/base/include/ |
H A D | pubdef.h | 46 #define FREE_AND_NIL(p) do {if (p) { delete (p); (p) = nullptr;}} while (0) argument 48 #define FREE_AND_NIL_ARRAY(p) do {if (p) {delete[] (p); (p) = nullptr;}} while (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/arkui/ace_engine/frameworks/core/components_ng/pattern/canvas/ |
H A D | canvas_paint_mem.h | 65 static inline void* ThrowOnFailure(size_t size, void* p) in ThrowOnFailure() 73 static inline size_t Add(size_t x, size_t y) in Add() 78 static inline uint32_t Mul32(uint32_t x, uint32_t y) in Mul32() 86 static inline uint64_t Mul64(uint64_t x, uint64_t y) in Mul64() 105 void* p; in MallocFlags() local 118 static inline void* MallocThrow(size_t x, size_t y) in MallocThrow()
|
/ohos5.0/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/effect_kit/include/ |
H A D | effect_kit_napi_utils.h | 22 #define EFFECT_IS_OK(x) ((x) == napi_ok) argument 23 #define EFFECT_NOT_NULL(p) ((p) != nullptr) argument 24 #define EFFECT_IS_READY(x, p) (EFFECT_IS_OK(x) && EFFECT_NOT_NULL(p)) argument 26 #define EFFECT_NAPI_CHECK_RET(x, res) \ argument 35 #define EFFECT_NAPI_CHECK_RET_VOID_D(x, msg) \ argument 45 #define EFFECT_NAPI_CHECK_RET_D(x, res, msg) \ argument 55 #define EFFECT_NAPI_CHECK_RET_DELETE_POINTER(x, res, pointer, msg) \ argument 67 #define EFFECT_NAPI_CHECK_BUILD_ERROR(x, build, res, result) \ argument
|
/ohos5.0/base/security/crypto_framework/plugin/openssl_plugin/key/asy_key_generator/src/ |
H A D | ecc_asy_key_generator_openssl.c | 59 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 D | ecc_common_param_spec_generator_openssl.c | 58 BIGNUM *x = OpensslBnNew(); in BuildCommonParamPart() local 97 BIGNUM *p = 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/build/rust/tests/test_bindgen_test/test_for_extern_c/ |
H A D | test_extern_c.rs | 29 let x: i32 = -123; in main() localVariable 33 let p: f64 = 3.0; in main() localVariable
|
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/fullscreenlaunchcomponent/interfaces/ |
H A D | fullscreenlaunchcomponent.js | 24 constructor(v, w, x, y = -1, z = undefined, a1) { argument 144 const p = await abilityManager.isEmbeddedOpenAllowed(this.context, this.appId); constant
|
/ohos5.0/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/alg_module_test/src/ |
H A D | openssl_dsa_helper.c | 82 BIGNUM *x = NULL; in InitDsa() local 84 BIGNUM *p = NULL; in InitDsa() local 363 const BIGNUM *x = DSA_get0_priv_key(dsa); in SaveDsaKeyToHksBlob() local 365 const BIGNUM *p = DSA_get0_p(dsa); in SaveDsaKeyToHksBlob() local
|
/ohos5.0/foundation/multimedia/image_framework/frameworks/kits/js/common/include/ |
H A D | image_napi_utils.h | 22 #define IMG_IS_OK(x) ((x) == napi_ok) argument 23 #define IMG_NOT_NULL(p) ((p) != nullptr) argument 24 #define IMG_IS_READY(x, p) (IMG_IS_OK(x) && IMG_NOT_NULL(p)) argument 26 #define IMG_NAPI_CHECK_RET_D(x, res, msg) \ argument 36 #define IMG_NAPI_CHECK_RET(x, res) \ argument 57 #define IMG_NAPI_CHECK_BUILD_ERROR(x, build, res, result) \ argument
|
/ohos5.0/base/security/huks/utils/crypto_adapter/ |
H A D | hks_client_service_adapter.c | 146 …const uint32_t alg, uint32_t keySize, const struct HksBlob *x, const struct HksBlob *y, struct Hks… in EccToX509PublicKey() 200 …const uint32_t alg, uint32_t keySize, const struct HksBlob *x, const struct HksBlob *y, struct Hks… in Sm2ToX509PublicKey() 208 …const struct HksBlob *publicKey, struct HksBlob *y, struct HksBlob *p, struct HksBlob *q, struct H… in GetDsaPubKeyParam() 237 static int32_t DsaToX509PublicKey(const struct HksBlob *y, const struct HksBlob *p, const struct Hk… in DsaToX509PublicKey() 292 struct HksBlob p = {0}; in DsaPublicKeyToX509() local 491 BIGNUM *x = BN_new(); in EcKeyToPublicKey() local 644 const BIGNUM *p = NULL; in X509PublicKeyToDsa() local
|
/ohos5.0/foundation/resourceschedule/ffrt/src/sync/ |
H A D | perf_counter.cpp | 19 #define unlikely(x) __builtin_expect(!!(x), 0) argument 22 #define likely(x) __builtin_expect(!!(x), 1) argument 165 struct perf_ignore* p = find_ignore(record); in perf_ignore() local
|
/ohos5.0/drivers/hdf_core/framework/model/input/driver/touchscreen/ |
H A D | touch_ft5x06.c | 44 char *p; in Ft5x06_EP00() local 65 char *p; in Ft5x06_EP01() local 213 int32_t x = 0; in ParsePointData() local
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing_ndk/cpp/dm/ |
H A D | shadowutils.cpp | 54 float x; member 161 for (auto p : paths) { in destory_path() local 164 for (auto p : concavePaths) { in destory_path() local 203 void draw_rect_path_shadow(OH_Drawing_Canvas* canvas, DRAW_RECT_PARAM& param, float& dy, float& x) in draw_rect_path_shadow() 251 float x = 0; in draw_rect() local 268 float x = kPad; in draw_star() local 370 float x = 0; in draw_paths() local
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/ |
H A D | rs_base_render_util.cpp | 90 inline float SafePow(float x, float e) in SafePow() 101 return [gamma](float x) { return SafePow(x, 1.0f / gamma); }; in GenOETF() 110 return [gamma](float x) { return SafePow(x, gamma); }; in GenEOTF() 123 inline float RcpResponsePq(float x, const TransferParameters& p) in RcpResponsePq() 129 inline float ResponsePq(float x, const TransferParameters& p) in ResponsePq() 136 static constexpr float RcpResponse(float x, const TransferParameters& p) in RcpResponse() 141 inline constexpr float Response(float x, const TransferParameters& p) in Response() 146 inline constexpr float RcpFullResponse(float x, const TransferParameters& p) in RcpFullResponse() 151 inline constexpr float FullResponse(float x, const TransferParameters& p) in FullResponse() 176 return [params](float x) { return Response(x, params); }; in GenEOTF() [all …]
|
/ohos5.0/base/security/crypto_framework/interfaces/innerkits/algorithm_parameter/ |
H A D | detailed_ecc_key_params.h | 31 HcfBigInteger p; member 36 HcfBigInteger x; member
|
/ohos5.0/foundation/graphic/graphic_2d/utils/color_manager/src/ |
H A D | color_space.cpp | 189 Vector3 operator*(const Vector3& x, const Matrix3x3& a) in operator *() 200 Vector3 operator*(const Matrix3x3& a, const Vector3& x) in operator *() 267 static bool IsFinite(float x) in IsFinite() 334 auto &p = transferFunc; in ToLinear() local 352 auto &p = transferFunc; in ToNonLinear() local
|
/ohos5.0/base/startup/init/services/utils/ |
H A D | init_utils.c | 39 #define CONVERT_MICROSEC_TO_SEC(x) ((x) / 1000 / 1000.0) argument 47 float ConvertMicrosecondToSecond(int x) in ConvertMicrosecondToSecond() 85 struct passwd *p = getpwnam(name); in DecodeUid() local 340 char *p = strtok_r(buffer, del, &rest); in SplitStringExt() local 403 const char *p = buffer; in WriteAll() local 448 const char *p = NULL; in MakeDirRecursive() local 602 char *p = strl; in StringReplaceChr() local
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/fuzztest/rsgpuoverdrawcanvaslistener_fuzzer/ |
H A D | rsgpuoverdrawcanvaslistener_fuzzer.cpp | 63 float x = GetData<float>(); in DoDrawPoint() local 76 float x = GetData<float>(); in DoDrawLine() local 213 float x = GetData<float>(); in DoDrawCircle() local 253 float x = GetData<float>(); in DoDrawShadow() local 302 float x = GetData<float>(); in DoDrawBitmap() local 317 float x = GetData<float>(); in DoDrawImage() local 386 int p = GetData<int>(); in DoAttachPen() local
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/image/ |
H A D | image_compressor.cpp | 101 cl_program p = clCreateProgramWithBinary(context, 1, &device_id, &len, &ptr, NULL, &err); in LoadShaderBin() local 402 static uint8_t SelectPartition(int32_t seed, int32_t x, int32_t y, int32_t z, int32_t partitionCoun… 510 for (int32_t x = 0; x < DIM; x++) { local 540 PartInfo p = {}; local
|
/ohos5.0/base/security/huks/frameworks/huks_standard/main/crypto_engine/openssl/src/ |
H A D | hks_openssl_dsa.c | 101 BIGNUM *p = BN_bin2bn(buff, keyMaterial->pSize, NULL); in InitDsaStructParameter() local 204 const BIGNUM *x = DSA_get0_priv_key(dsa); in DsaKeyMaterialData() local 206 const BIGNUM *p = DSA_get0_p(dsa); in DsaKeyMaterialData() local
|