/ohos5.0/commonlibrary/c_utils/base/include/ |
H A D | pubdef.h | 31 #define M_TO_B(m) ((m) * 1024 * 1024) argument 35 #define K_TO_B(m) ((m) * 1024) 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/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/include/ |
H A D | concurrent_adapter.h | 27 #define ADAPTER_AUTO_LOCK(n, m) argument 28 #define ADAPTER_WAIT(x) ffrt::wait({x}) argument
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/skia_adapter/ |
H A D | skia_camera.cpp | 34 void SkiaCamera::Translate(scalar x, scalar y, scalar z) in Translate() 54 void SkiaCamera::SetCameraPos(scalar x, scalar y, scalar z) in SetCameraPos() 90 void SkiaCamera::ApplyToMatrix(Matrix& m) in ApplyToMatrix()
|
H A D | skia_canvas_autocache.cpp | 66 void SkiaCanvasAutoCache::Init(const SkMatrix& m) in Init() 487 void SkiaCanvasAutoCache::onDrawPicture(const SkPicture* picture, const SkMatrix* m, in onDrawPicture() 524 void SkiaCanvasAutoCache::onDrawTextBlob(const SkTextBlob* blob, SkScalar x, SkScalar y, in onDrawTextBlob()
|
H A D | skia_canvas.cpp | 615 auto m = matrix.GetImpl<SkiaMatrix>(); in OpCalculateBefore() local 833 void SkiaCanvas::DrawTextBlob(const TextBlob* blob, const scalar x, const scalar y, const Paint& pa… in DrawTextBlob() 985 auto m = matrix.GetImpl<SkiaMatrix>(); in SetMatrix() local 1006 auto m = matrix.GetImpl<SkiaMatrix>(); in ConcatMatrix() local
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/utils/ |
H A D | camera3d.cpp | 36 void Camera3D::Translate(scalar x, scalar y, scalar z) in Translate() 56 void Camera3D::SetCameraPos(scalar x, scalar y, scalar z) in SetCameraPos() 76 void Camera3D::ApplyToMatrix(Matrix& m) in ApplyToMatrix()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing_ndk/cpp/dm/ |
H A D | shadowutils.cpp | 54 float x; member 56 OH_Drawing_Matrix* m; member 167 for (auto m : matrices) { 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() 211 OH_Drawing_Matrix* m = param.m; in draw_rect_path_shadow() local 251 float x = 0; in draw_rect() local 252 for (auto m : param.matrices) { in draw_rect() local 268 float x = kPad; in draw_star() local 270 for (auto m : param.matrices) { in draw_star() local 336 ShadowUtils::ShadowUtils(ShadowMode m) : sMode(m) in ShadowUtils() [all …]
|
H A D | circular_arcs.cpp | 55 int x = 0; in OnTestFunction() local 62 for (const auto m : matrices) { in OnTestFunction() local 89 for (auto m : matrices) { in OnTestFunction() local
|
H A D | dashing.cpp | 147 OH_Drawing_Matrix *m = OH_Drawing_MatrixCreate(); in make_path_star() local 199 for (size_t x = 0; x < sizeof(gProc) / sizeof(gProc[0]); ++x) { in OnTestFunction() local
|
/ohos5.0/drivers/hdf_core/framework/tools/hcs-view/hcsWebView/src/engine/graphics/ |
H A D | XMat4.js | 35 copy(m) { argument 70 initScaleMat(x, y, z) { argument 76 move(x, y, z = 0) { argument 82 rotate(x, y, z) { argument 98 scale(x, y, z = 1) { argument 148 orthoMat(x, y, w, h) { argument
|
/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() 201 void SLRProc::Serial(const SLRMat &src, SLRMat &dst, const SLRWeightMat &x, const SLRWeightMat &y) in Serial() 208 int m = dst.size_.height, n = dst.size_.width; in Serial() local 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() 239 int m = dst.size_.height, n = dst.size_.width; in Parallel() local
|
H A D | basic_transformer.cpp | 77 Matrix m; in SetScaleParam() local 84 Matrix m; in SetTranslateParam() local 91 Matrix m; in SetRotateParam() local 240 for (int32_t x = 0; x < size.width; ++x) { in DrawPixelmap() local
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/samples/webgl/entry/src/main/js/MainAbility/pages/index/utils/ |
H A D | Matrix.js | 32 set(m) { argument 40 setTranslate(x, y, z) { argument 47 setScale(x, y, z) { 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/distributeddatamgr/pasteboard/test/fuzztest/ffrtutils_fuzzer/ |
H A D | ffrtutils_fuzzer.cpp | 40 int x = TypeCast<int32_t>(rawData, &pos); in FuzzFfrtUtilsSubmitQueueTasks() local 103 int m = TypeCast<int32_t>(rawData, nullptr); in FuzzUtilsSubmitTimeoutTask() local 122 int m = TypeCast<int32_t>(rawData, &pos); in FuzzFfRTTimerSingleSetAndCancel() local
|
/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() 163 void TransformComponent::Matrix3d(Matrix4 m, const AnimationOption& animationOption) in Matrix3d() 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()
|
H A D | render_transform.cpp | 25 void RenderTransform::Translate(const Dimension& x, const Dimension& y) in Translate() 30 void RenderTransform::Translate(const Dimension& x, const Dimension& y, const Dimension& z) in Translate() 53 void RenderTransform::Scale(float x, float y) in Scale() 58 void RenderTransform::Scale(float x, float y, float z) in Scale() 73 void RenderTransform::Skew(float x, float y) in Skew() 86 void RenderTransform::Rotate(float angle, float x, float y, float z) in Rotate() 124 void RenderTransform::Matrix3D(Matrix4 m) in Matrix3D()
|
/ohos5.0/base/msdp/device_status/tools/vdev/src/ |
H A D | virtual_touchscreen_builder.cpp | 288 int32_t x = std::atoi(argv[optind]); in ReadDownAction() local 346 int32_t x = std::atoi(argv[optind]); in ReadMoveToAction() local 405 for (const auto &m : model) { in ReadModel() local 448 int32_t x = VirtualTouchScreenBuilder::GetModelValue(model, "x", DEFAULT_VALUE_MINUS_ONE); in HandleDown() local 480 int32_t x = VirtualTouchScreenBuilder::GetModelValue(model, "x", DEFAULT_VALUE_MINUS_ONE); in HandleMoveTo() local 524 for (const auto &m : model) { in ReadRawModel() local
|
H A D | virtual_mouse_builder.cpp | 295 int32_t x = std::atoi(optarg); in ReadMoveToAction() local 313 int32_t x = std::atoi(optarg); in ReadDragToAction() local 381 for (const auto &m : model) { in ReadModel() local 502 for (const auto &m : model) { in ReadRawModel() local
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing_ndk/cpp/interface/ |
H A D | path_test.cpp | 73 float x; in OnTestPerformance() local 91 float x; in OnTestPerformance() local 109 float x; in OnTestPerformance() local 130 float x; in OnTestPerformance() local 165 float x = rand.nextUScalar1() * 300; // 300 用于生成随机坐标 in OnTestPerformance() local 218 float x = rand.nextUScalar1() * 300; // 300 用于生成随机坐标 in OnTestPerformance() local 232 float x = rand.nextUScalar1() * 300; // 300 用于生成随机坐标 in OnTestPerformance() local 261 OH_Drawing_Matrix* m = OH_Drawing_MatrixCreate(); in OnTestPerformance() local 269 float x = rand.nextUScalar1() * 300; // 300 用于生成随机坐标 in OnTestPerformance() local 534 OH_Drawing_Matrix* m = OH_Drawing_MatrixCreateScale(3, 3, 0, 0); // 3, 3, 0, 0 这些数字用于创建一个变换矩阵 in OnTestPerformance() local
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/common/ |
H A D | rs_obj_abs_geometry.cpp | 142 void ApplyPerspToMatrix(const RSTransform& trans, Drawing::Matrix& m, bool preConcat) in ApplyPerspToMatrix() 219 float x = trans_->quaternion_[0]; in UpdateAbsMatrix3D() local
|
/ohos5.0/base/startup/hvb/libhvb/src/crypto/ |
H A D | hvb_rsa_verify.c | 41 #define bit_val(x) (1U << (x)) argument 42 #define bit_mask(x) (bit_val(x) - 1U) argument 51 uint8_t **m) in emsa_pss_calc_m()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/base/geometry/ |
H A D | transform_util.cpp | 47 float x = a[1] * b[2] - a[2] * b[1]; in Cross3() local 56 bool Normalize(Matrix4& m) in Normalize() 100 double x = decomp.quaternion.GetX(); in BuildRotationMatrix() local 597 double r, s, t, x, y, z, w; in DecomposeTransform() local
|
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/common/src/ |
H A D | pixel_yuv.cpp | 111 const uint8_t *PixelYuv::GetPixel8(int32_t x, int32_t y) in GetPixel8() 117 const uint16_t *PixelYuv::GetPixel16(int32_t x, int32_t y) in GetPixel16() 123 const uint32_t *PixelYuv::GetPixel32(int32_t x, int32_t y) in GetPixel32() 129 bool PixelYuv::GetARGB32Color(int32_t x, int32_t y, uint32_t &color) in GetARGB32Color() 277 auto m = MemoryManager::CreateMemory(allocatorType_, memoryData); in CreateMemory() local 783 ColorYuv420 PixelYuv::GetYuv420Color(uint32_t x, uint32_t y) in GetYuv420Color()
|
/ohos5.0/foundation/resourceschedule/ffrt/test/ut/testcase/ |
H A D | ut_csync.cpp | 110 memTest m; variable 578 int x = 0; in LockTest() local 604 int x = 0; in TryLockTest() local 632 int x = 0; in LockSharedTest() local 662 int x = 0; in TryLockSharedTest() local
|
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/subheader/interfaces/ |
H A D | subheader.js | 2126 constructor(v, w, x, y = -1, z = undefined, a1) { argument 2156 onPlaceChildren(k, l, m) { argument
|