/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/api/render/shaders/common/ |
H A D | render_tonemap_common.h | 25 vec3 TonemapAces(vec3 x) in TonemapAces() 29 const float c = 2.43f; in TonemapAces() local 39 vec3 TonemapAcesFilmRec2020(vec3 x) in TonemapAcesFilmRec2020() 43 float c = 1.2f; in TonemapAcesFilmRec2020() local 53 float TonemapFilmic(float x) in TonemapFilmic() 57 const float c = 0.10f; in TonemapFilmic() local 63 vec3 TonemapFilmic(vec3 x) in TonemapFilmic() 67 const float c = 0.10f; in TonemapFilmic() local
|
/ohos5.0/drivers/hdf_core/framework/tools/hcs-view/hcsWebView/src/engine/graphics/ |
H A D | X2DFast.js | 78 DrawCircle(ox, oy, rw, rh, c = 0xffffffff, lw = 1) { argument 95 fillRect(x, y, w, h, c = 0xffffffff) { argument 99 drawLine(x1, y1, x2, y2, c = 0xffffffff, linewidth = 1) { argument 113 drawRect(x, y, w, h, c = 0xffffffff, lw = 1) { argument 120 static testTransform(x, y, sw, sh, ra, ox, oy, realw, realh) { argument 164 swapC(c) { argument 171 drawCut_(pcut, m00, m01, m10, m11, m22, m30, m31, c = COLOR) { argument 186 drawCutEx(cid, tmat, c = COLOR) { argument 195 drawCut(cid, x = 0, y = 0, sw = 1, sh = 1, ra = 0, ox = 0, oy = 0, c = COLOR) { argument 215 …drawText(s, size = DRAWTEXT_SIZE, x = 0, y = 0, sw = 1, sh = 1, ra = 0, ox = 0, oy = 0, c = COLOR)… argument
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/samples/webgl/entry/src/main/js/MainAbility/pages/index/utils/ |
H A D | Matrix.js | 40 setTranslate(x, y, z) { argument 47 setScale(x, y, z) { argument 54 rotateX(e, s, c) { argument 73 rotateY(e, s, c) { argument 92 rotateZ(e, s, c) { argument 111 setRotate(angle, x, y, z) { argument 336 translate(x, y, z) { argument 345 scale(x, y, z) { argument 361 rotate(angle, x, y, z) { argument
|
/ohos5.0/foundation/graphic/graphic_utils_lite/frameworks/diagram/vertexgenerate/ |
H A D | vertex_generate_stroke.cpp | 39 void VertexGenerateStroke::AddVertex(float x, float y, uint32_t cmd) in AddVertex() 68 uint32_t VertexGenerateStroke::GenerateVertex(float* x, float* y) in GenerateVertex() 210 bool VertexGenerateStroke::IsVertexOutVertices(float* x, float* y) in IsVertexOutVertices() 216 const PointF& c = outVertices_[outVertex_++]; in IsVertexOutVertices() local
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing_ndk/cpp/dm/ |
H A D | largeclippedpath.cpp | 58 for (int x = 0; x < kGridCount; ++x) { in OnTestFunction() local 71 float c = n * M_PI * (i - 0.5f) / kNumPetals; // 0.5f 曲线参数 in OnTestFunction() local
|
/ohos5.0/foundation/distributeddatamgr/kv_store/kvstoremock/interfaces/mock/base/ |
H A D | securectype.h | 84 #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 265 #define SECUREC_MEMSET_SM(dest, destMax, c, count) \ argument
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/transform/ |
H A D | transform_component.cpp | 33 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() 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/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() 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() 181 for (int c = cStart; c <= cEnd; ++c) { 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/render_service_base/include/common/ |
H A D | rs_matrix3.h | 405 T x = data_[0] * ((data_[4] * data_[8]) - (data_[5] * data_[7])); in Determinant() local 444 T c = cos(a); in Rotate() local 463 T c = cos(a); in Rotate() local 530 Matrix3<T> Matrix3<T>::ShearY(T x) const in ShearY()
|
/ohos5.0/foundation/multimodalinput/input/util/common/include/ |
H A D | mmi_matrix3.h | 419 T x = data_[0] * ((data_[4] * data_[8]) - (data_[5] * data_[7])); in Determinant() local 458 T c = cos(a); in Rotate() local 477 T c = cos(a); in Rotate() local 544 Matrix3<T> Matrix3<T>::ShearY(T x) const in ShearY()
|
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/converter/include/ |
H A D | matrix.h | 25 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()
|
/ohos5.0/base/security/certificate_framework/test/unittest/v1.0/src/ |
H A D | cf_mock.cpp | 120 … .WillByDefault([this](const OPENSSL_STACK *st, OPENSSL_sk_copyfunc c, OPENSSL_sk_freefunc f) { in SetMockFunDefaultBehaviorPartOne() 388 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() 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() 698 const unsigned char *__wrap_ASN1_STRING_get0_data(const ASN1_STRING *x) in __wrap_ASN1_STRING_get0_data() 798 OPENSSL_STACK *__wrap_OPENSSL_sk_deep_copy(const OPENSSL_STACK *st, OPENSSL_sk_copyfunc c, OPENSSL_… in __wrap_OPENSSL_sk_deep_copy() 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/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_native/client/hdi_client/hdi_interface/ |
H A D | wifi_hdi_common.h | 29 #define HDI_BIT(x) (1U << (x)) argument 76 #define HDI_BIT_MULTI(a, b, c, d) \ argument
|
/ohos5.0/foundation/graphic/graphic_2d/utils/color_manager/src/ |
H A D | color_space.cpp | 178 Matrix3x3 c = {}; in operator *() local 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() 323 for (size_t c = 0; c < dst[0].size(); ++c) { in Invert() local
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/common/properties/ |
H A D | decoration.cpp | 345 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 void CanvasPath2D::BezierCurveTo(double cp1x, double cp1y, double cp2x, double cp2y, double x, doub… 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 D | foldsplitcontainer.js | 119 this.containerGlobalPosition = { x: 0, y: 0 }; property in FoldSplitContainer.constructor.containerGlobalPosition 681 const c = b.creaseRects; constant
|
/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 382 Drawing::Color c(r, g, b, a); in DoAttachPen() local
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/svg/parse/ |
H A D | svg_image.cpp | 38 auto x = ConvertDimensionToPx(imageAttr_.x, viewPort, SvgLengthType::HORIZONTAL); in OnDraw() local 138 …std::transform(head.begin(), head.end(), head.begin(), [](unsigned char c) { return std::tolower(c… in ParseHrefAttr()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_client/test/ |
H A D | render_service_client_rs_demo.cpp | 115 auto x = surfaceGeometry_.GetLeft(); in Run() local 216 static DmsMock c; in GetInstance() local 266 static RSDemoTestCase c; in GetInstance() local
|
H A D | render_service_display_mode_demo.cpp | 107 auto x = surfaceGeometry_.GetLeft(); in Run() local 194 static RSDisplayModeTestCase c; in GetInstance() local
|
/ohos5.0/foundation/graphic/graphic_utils_lite/interfaces/kits/gfx_utils/ |
H A D | graphic_math.h | 54 #define MATH_ABS(x) ((x) > 0 ? (x) : (-(x))) 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 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() 524 T x = data_[0] * ((data_[4] * data_[8]) - (data_[5] * data_[7])); in Determinant() local 568 T c = static_cast<T>(Sin(angle + QUARTER_IN_DEGREE)); in Rotate() local
|
/ohos5.0/foundation/graphic/graphic_utils_lite/frameworks/ |
H A D | transform.cpp | 72 …int32_t c = (static_cast<int32_t>(polygon_[j].x_ - polygon_[i].x_) * (polygon_[k].y_ - polygon_[j]… in GetClockWise() local 197 float x = rectX + cameraPosition_.x_; in GetOrigPoint() local 266 float x = rect_.GetX() + cameraPosition_.x_; in UpdateMap() 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() 117 float c = 0.0f; member 123 inline float RcpResponsePq(float x, const TransferParameters& p) in RcpResponsePq() 129 inline float ResponsePq(float x, const TransferParameters& p) in ResponsePq() 163 return [params](float x) { return RcpResponse(x, params); }; in GenOETF() 172 return [params](float x) { return ResponsePq(x, params); }; in GenEOTF() 176 return [params](float x) { return Response(x, params); }; in GenEOTF() 179 return [params](float x) { return FullResponse(x, params); }; in GenEOTF() [all …]
|
/ohos5.0/base/hiviewdfx/hilog_lite/frameworks/featured/ |
H A D | hiview_log.c | 106 #define SECUREC_MUL10(x) ((((x) << 2) + (x)) << 1) argument 125 #define SECUREC_MALLOC(x) malloc((size_t)(x)) argument 129 #define SECUREC_FREE(x) free((void *)(x)) argument 133 #define SECUREC_CHAR(x) x argument 298 #define SECUREC_FMT_TYPE(c, fmtTable) \ argument 300 #define SECUREC_DECODE_STATE(c, fmtTable, laststate) \ argument 304 #define SECUREC_DECODE_STATE(c, fmtTable, laststate) \ argument
|
/ohos5.0/base/hiviewdfx/hilog/frameworks/libhilog/vsnprintf/ |
H A D | output_p.inl | 30 #define SECUREC_MUL10(x) ((((x) << 2) + (x)) << 1) argument 136 #define SECUREC_FMT_TYPE(c, fmtTable) ((((unsigned int)(int)(c)) <= (unsigned int)(int)SECUREC_CHA… argument 138 #define SECUREC_DECODE_STATE(c, fmtTable, laststate) (SecFmtState)(((fmtTable[(SECUREC_FMT_TYPE(c,f… argument 143 #define SECUREC_DECODE_STATE(c,fmtTable,laststate) (SecFmtState)((fmtTable[(fmtTable[(unsigned char… argument
|