/ohos5.0/drivers/hdf_core/interfaces/inner_api/utils/ |
H A D | hdf_base.h | 59 #define HDF_BSP_ERR_NUM(v) (HDF_BSP_ERR_START + (v)) /**< Defines the BSP module error codes. */ argument 66 #define HDF_DEV_ERR_NUM(v) (HDF_DEV_ERR_START + (v)) /**< Defines the device module error codes. */ 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/graphic/graphic_3d/kits/js/src/ |
H A D | Vec2Proxy.cpp | 39 void Vec2Proxy::SetValue(const BASE_NS::Math::Vec2& v) in SetValue() 86 auto x = obj.Get<float>("x"); in SetValue() local 89 BASE_NS::Math::Vec2 v(x, y); in SetValue() local
|
H A D | Vec3Proxy.cpp | 38 void Vec3Proxy::SetValue(const BASE_NS::Math::Vec3& v) in SetValue() 90 auto x = obj.Get<float>("x"); in SetValue() local 94 BASE_NS::Math::Vec3 v(x, y, z); in SetValue() local
|
H A D | Vec4Proxy.cpp | 41 void Vec4Proxy::SetValue(const BASE_NS::Math::Vec4& v) in SetValue() 98 auto x = obj.Get<float>("x"); in SetValue() local 103 BASE_NS::Math::Vec4 v { x, y, z, w }; in SetValue() local
|
H A D | QuatProxy.cpp | 38 void QuatProxy::SetValue(const BASE_NS::Math::Quat& v) in SetValue() 92 auto x = obj.Get<float>("x"); in SetValue() local
|
H A D | SceneResourceImpl.cpp | 32 napi_value v; in RegisterEnums() local 35 #define DECL_ENUM(enu, x) \ in RegisterEnums() argument
|
H A D | EnvironmentJS.cpp | 68 napi_value v; in Init() local 70 #define DECL_ENUM(enu, x) \ in Init() argument 334 for (auto& v : coeffs) { in GetIrradianceCoefficients() local 357 auto x = obj.Get<float>("x"); in SetIrradianceCoefficients() local
|
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/atomicservicenavigation/interfaces/ |
H A D | atomicservicenavigation.js | 20 constructor(w, x, y, z = -1, a1 = undefined, b1) { argument 40 setInitiallyProvidedValue(v) { argument
|
/ohos5.0/base/security/huks/test/fuzz_test/innerapi_fuzzer/hksbnexpmod_fuzzer/ |
H A D | hksbnexpmod_fuzzer.cpp | 39 struct HksBlob x = { BN_SIZE, ReadData<uint8_t *>(data, size, BN_SIZE) }; in DoSomethingInterestingWithMyAPI() local 52 std::vector<uint8_t> v(data, data + size); in LLVMFuzzerTestOneInput() local
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/base/geometry/ng/ |
H A D | vector.h | 36 float x = 0.0f; member 63 float x = 0.0f; member 76 float x = 0.0f; member 91 float x = 0.0f; member 95 float v = 0.0f; member
|
/ohos5.0/foundation/graphic/graphic_3d/lume/metaobject/src/curves/ |
H A D | bezier_curve.cpp | 61 constexpr bool IsFloatNull(float v, float epsilon) noexcept in IsFloatNull() 78 float x; in GetLinearX() local
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/common/ |
H A D | rs_vector3.h | 79 Vector3<T>::Vector3(T x, T y, T z) in Vector3() 87 Vector3<T>::Vector3(T* v) in Vector3() 119 T x = data_[0]; in Cross() local 134 T x = data_[0]; in GetSqrLength() local 153 void Vector3<T>::SetValues(T x, T y, T z) in SetValues()
|
H A D | rs_vector2.h | 79 Vector2<T>::Vector2(T x, T y) in Vector2() 86 Vector2<T>::Vector2(const T* v) in Vector2()
|
/ohos5.0/foundation/multimodalinput/input/util/common/include/ |
H A D | mmi_vector3.h | 78 Vector3<T>::Vector3(T x, T y, T z) in Vector3() 86 Vector3<T>::Vector3(T* v) in Vector3() 118 T x = data_[0]; in Cross() local 133 T x = data_[0]; in GetSqrLength() local 152 void Vector3<T>::SetValues(T x, T y, T z) in SetValues()
|
H A D | mmi_vector2.h | 76 Vector2<T>::Vector2(T x, T y) in Vector2() 83 Vector2<T>::Vector2(const T* v) in Vector2()
|
/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
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/animation/ |
H A D | rs_particle_noise_field.cpp | 164 float PerlinNoise2D::Grad(int hash, float x, float y) in Grad() 175 double v = h < 4 ? y : h == 12 || h == 14 ? x : 0; in Grad() local 196 float PerlinNoise2D::Noise(float x, float y) in Noise() 210 float v = Fade(y); in Noise() local 228 Vector2f PerlinNoise2D::Curl(float x, float y) in Curl()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/gestures/ |
H A D | velocity_tracker.cpp | 24 const auto& x = axis.GetXVals(); in CheckExtremePoint() local 64 const auto& x = axis.GetXVals(); in GetLinearSlope() local 87 void CorrectMonotonicAxisVelocity(const LeastSquareImpl& axis, double& v, double extremX) in CorrectMonotonicAxisVelocity() 109 auto x = axis.GetXVals().back(); in UpdateAxisVelocity() local 161 void VelocityTracker::UpdateTrackerPoint(double x, double y, const TimeStamp& time, bool end) in UpdateTrackerPoint()
|
/ohos5.0/foundation/communication/netmanager_base/services/netmanagernative/bpf/include/netfirewall/ |
H A D | netfirewall_ct.h | 22 #define READ_ONCE(x) (*(volatile typeof(x) *)&(x)) argument 23 #define WRITE_ONCE(x, v) (*(volatile typeof(x) *)&(x)) = (v) argument
|
/ohos5.0/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/src/ |
H A D | rbtree.c | 92 static void LeftRotate(struct RbTree *t, struct RbTreeNode *x) in LeftRotate() 111 static void RightRotate(struct RbTree *t, struct RbTreeNode *x) in RightRotate() 204 struct RbTreeNode *x = t->root; in RbTreeInsert() local 233 static void Transplant(struct RbTree *t, struct RbTreeNode *u, struct RbTreeNode *v) in Transplant() 247 static struct RbTreeNode *Minimum(const struct RbTree *t, struct RbTreeNode *x) in Minimum() 258 struct RbTreeNode *x = *treeNode; in DeleteFixUpBlack() local 289 struct RbTreeNode *x = *treeNode; in DeleteFixUpRed() local 318 static void DeleteFixUp(struct RbTree *t, struct RbTreeNode *x) in DeleteFixUp() 336 struct RbTreeNode *x = NULL; in RbTreeDelete() local 396 static void TraverseInOrder(const struct RbTree *t, const struct RbTreeNode *x, in TraverseInOrder() [all …]
|
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/converter/src/ |
H A D | post_proc_slr.cpp | 37 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() 106 inline uint32_t SLRCast(float v) in SLRCast() 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() 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_3d/lume/LumeBase/api/base/math/ |
H A D | quaternion_util.h | 122 float x = Math::sqrt(discardEpsilon(1.f + m00 - m11 - m22)) * 0.5f; in BASE_BEGIN_NAMESPACE() local 251 constexpr float v[8] = // i / (2i + 1) for i >= 1 in BASE_BEGIN_NAMESPACE() local
|
/ohos5.0/foundation/arkui/ui_lite/frameworks/draw/ |
H A D | draw_utils.cpp | 157 int16_t x, in DrawPixel() 672 int16_t x = trans.GetLeft(); in GetTransformInitState() local 733 int64_t v = in.init.verticalV; local 737 float v = in.init.verticalV; local 835 int64_t v = in.init.verticalV; local 839 float v = in.init.verticalV; local 955 int64_t v = in.init.verticalV; local 959 float v = in.init.verticalV; local 1058 for (int16_t x = 0; x < len; ++x) { local 1547 int64_t v = in.init.verticalV; local [all …]
|
/ohos5.0/foundation/multimedia/image_effect/frameworks/native/efilter/filterimpl/brightness/ |
H A D | cpu_brightness_algo.cpp | 83 for (uint32_t x = 0; x < width; ++x) { in OnApplyRGBA8888() local 136 uint8_t v = srcNV21UV[nv_index]; in OnApplyYUVNV21() local 196 uint8_t v = srcNV12UV[nv_index + 1]; in OnApplyYUVNV12() local
|
/ohos5.0/foundation/multimedia/image_effect/frameworks/native/efilter/filterimpl/contrast/ |
H A D | cpu_contrast_algo.cpp | 73 for (uint32_t x = 0; x < width; ++x) { in OnApplyRGBA8888() local 125 uint8_t v = srcNV21UV[nv_index]; in OnApplyYUVNV21() local 183 uint8_t v = srcNV12UV[nv_index + 1]; in OnApplyYUVNV12() local
|