| /OK3568_Linux_fs/buildroot/dl/unixbench/git/UnixBench/src/ |
| H A D | ubgears.c | 131 static GLfloat angle = 0.0; variable 152 GLfloat angle, da; in gear() local 169 angle = i * 2.0 * M_PI / teeth; in gear() 170 glVertex3f(r0 * cos(angle), r0 * sin(angle), width * 0.5); in gear() 171 glVertex3f(r1 * cos(angle), r1 * sin(angle), width * 0.5); in gear() 173 glVertex3f(r0 * cos(angle), r0 * sin(angle), width * 0.5); in gear() 174 glVertex3f(r1 * cos(angle + 3 * da), r1 * sin(angle + 3 * da), in gear() 183 angle = i * 2.0 * M_PI / teeth; in gear() 185 glVertex3f(r1 * cos(angle), r1 * sin(angle), width * 0.5); in gear() 186 glVertex3f(r2 * cos(angle + da), r2 * sin(angle + da), width * 0.5); in gear() [all …]
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/map/ |
| H A D | transform.cpp | 20 static double _normalizeAngle(double angle, double anchorAngle) in _normalizeAngle() argument 22 if (std::isnan(angle) || std::isnan(anchorAngle)) { in _normalizeAngle() 26 angle = util::wrap(angle, -M_PI, M_PI); in _normalizeAngle() 27 if (angle == -M_PI) angle = M_PI; in _normalizeAngle() 28 double diff = std::abs(angle - anchorAngle); in _normalizeAngle() 29 if (std::abs(angle - util::M2PI - anchorAngle) < diff) { in _normalizeAngle() 30 angle -= util::M2PI; in _normalizeAngle() 32 if (std::abs(angle + util::M2PI - anchorAngle) < diff) { in _normalizeAngle() 33 angle += util::M2PI; in _normalizeAngle() 36 return angle; in _normalizeAngle() [all …]
|
| /OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/include/xcore/base/ |
| H A D | xcam_common.h | 104 format_angle (float angle) in format_angle() argument 106 if (angle < 0.0f) in format_angle() 107 angle += 360.0f; in format_angle() 108 if (angle >= 360.0f) in format_angle() 109 angle -= 360.0f; in format_angle() 111 XCAM_ASSERT (angle >= 0.0f && angle < 360.0f); in format_angle() 112 return angle; in format_angle()
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/qvm/ |
| H A D | mat_operations.hpp | 1113 rot_mat_( V const & axis, Angle angle ) in rot_mat_() 1121 scalar_type const s = sin<Angle>(angle); in rot_mat_() 1122 scalar_type const c = cos<Angle>(angle); in rot_mat_() 1225 rot_mat( A const & axis, Angle angle ) in rot_mat() argument 1227 return qvm_detail::rot_mat_<Dim,A>(axis,angle); in rot_mat() 1238 set_rot( A & a, B const & axis, Angle angle ) 1240 assign(a,rot_mat<mat_traits<A>::rows>(axis,angle)); 1251 rotate( A & a, B const & axis, Angle angle ) 1253 a *= rot_mat<mat_traits<A>::rows>(axis,angle); 1308 get( T const & angle ) in get() [all …]
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/layout/ |
| H A D | symbol_projection.hpp | 29 : point(point_), angle(angle_), tileDistance(std::move(tileDistance_)) in PlacedGlyph() 32 … : point(std::move(other.point)), angle(other.angle), tileDistance(std::move(other.tileDistance)) in PlacedGlyph() 35 … : point(std::move(other.point)), angle(other.angle), tileDistance(std::move(other.tileDistance)) in PlacedGlyph() 38 float angle; member
|
| /OK3568_Linux_fs/kernel/lib/math/ |
| H A D | cordic.c | 49 s32 angle, valtmp; in cordic_calc_iq() local 56 angle = 0; in cordic_calc_iq() 72 if (theta > angle) { in cordic_calc_iq() 75 angle += arctan_table[iter]; in cordic_calc_iq() 79 angle -= arctan_table[iter]; in cordic_calc_iq()
|
| /OK3568_Linux_fs/kernel/drivers/iio/position/ |
| H A D | iqs624-pos.c | 30 u16 angle; member 57 u16 angle = event_data->ui_data; in iqs624_pos_notifier() local 68 angle = event_data->interval; in iqs624_pos_notifier() 81 } else if (iqs624_pos->angle_en && (angle != iqs624_pos->angle)) { in iqs624_pos_notifier() 88 iqs624_pos->angle = angle; in iqs624_pos_notifier() 201 iqs624_pos->angle = val; in iqs624_pos_write_event_config()
|
| /OK3568_Linux_fs/app/forlinx/flapp/src/plugins/serialassistant/ |
| H A D | rollswitchwidget.cpp | 27 QPoint getPoint(int r, int angle) in getPoint() argument 29 int x1 = r * qCos(angle * M_PI / 180); in getPoint() 30 int y1 = r * qSin(angle * M_PI /180); in getPoint() 125 QPointF RollSwitchWidget::getPoint(const QRect &rect, int angle) in getPoint() argument 133 int x1 = r * qCos(angle * M_PI / 180); in getPoint() 134 int y1 = r * qSin(angle * M_PI /180); in getPoint()
|
| /OK3568_Linux_fs/external/camera_engine_rkaiq/rkisp_demo/demo/include/ |
| H A D | drmrga.h | 126 static inline void rga_set_rotation(rga_info_t *info, int angle) in rga_set_rotation() argument 128 if (angle == 90) in rga_set_rotation() 130 else if (angle == 180) in rga_set_rotation() 132 else if (angle == 270) in rga_set_rotation()
|
| /OK3568_Linux_fs/yocto/poky/meta/recipes-graphics/cairo/cairo/ |
| H A D | CVE-2019-6462.patch | 26 return table[i].angle; 31 angle = M_PI / i++; 32 error = _arc_error_normalized (angle); 36 return angle;
|
| /OK3568_Linux_fs/app/forlinx/forlinx_up4_qt/qopenglwidget/ |
| H A D | glwidget.cpp | 463 qreal angle = i * sectorAngle; in createGeometry() local 464 qreal x5 = 0.30 * sin(angle); in createGeometry() 465 qreal y5 = 0.30 * cos(angle); in createGeometry() 466 qreal x6 = 0.20 * sin(angle); in createGeometry() 467 qreal y6 = 0.20 * cos(angle); in createGeometry() 469 angle += sectorAngle; in createGeometry() 470 qreal x7 = 0.20 * sin(angle); in createGeometry() 471 qreal y7 = 0.20 * cos(angle); in createGeometry() 472 qreal x8 = 0.30 * sin(angle); in createGeometry() 473 qreal y8 = 0.30 * cos(angle); in createGeometry()
|
| /OK3568_Linux_fs/app/forlinx/forlinx_qt/qopenglwidget/ |
| H A D | glwidget.cpp | 463 qreal angle = i * sectorAngle; in createGeometry() local 464 qreal x5 = 0.30 * sin(angle); in createGeometry() 465 qreal y5 = 0.30 * cos(angle); in createGeometry() 466 qreal x6 = 0.20 * sin(angle); in createGeometry() 467 qreal y6 = 0.20 * cos(angle); in createGeometry() 469 angle += sectorAngle; in createGeometry() 470 qreal x7 = 0.20 * sin(angle); in createGeometry() 471 qreal y7 = 0.20 * cos(angle); in createGeometry() 472 qreal x8 = 0.30 * sin(angle); in createGeometry() 473 qreal y8 = 0.30 * cos(angle); in createGeometry()
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/strategies/transform/ |
| H A D | matrix_transformers.hpp | 349 inline rad_rotate_transformer(CalculationType const& angle) in rad_rotate_transformer() argument 351 cos(angle), sin(angle), 0, in rad_rotate_transformer() 352 -sin(angle), cos(angle), 0, in rad_rotate_transformer() 384 inline rotate_transformer(CalculationType const& angle) in rotate_transformer() argument 388 >(detail::as_radian<DegreeOrRadian>::get(angle)) in rotate_transformer()
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/location/declarativemaps/ |
| H A D | qquickgeomapgesturearea_p.h | 75 Q_PROPERTY(qreal angle READ angle) in Q_PROPERTY() 82 QGeoMapPinchEvent(const QPointF ¢er, qreal angle, in Q_PROPERTY() 85 : QObject(), m_center(center), m_angle(angle), in Q_PROPERTY() 96 qreal angle() const { return m_angle; } in angle() function 97 void setAngle(qreal angle) { m_angle = angle; } in setAngle() argument
|
| /OK3568_Linux_fs/external/rknpu2/examples/3rdparty/rga/RV110X/include/ |
| H A D | drmrga.h | 231 static inline void rga_set_rotation(rga_info_t *info, int angle) { in rga_set_rotation() argument 232 if (angle == 90) in rga_set_rotation() 234 else if (angle == 180) in rga_set_rotation() 236 else if (angle == 270) in rga_set_rotation()
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/include/mbgl/map/ |
| H A D | camera.hpp | 32 optional<double> angle; member 44 && a.angle == b.angle in operator ==()
|
| /OK3568_Linux_fs/kernel/drivers/input/sensors/angle/ |
| H A D | Kconfig | 7 tristate "angle device support" 15 tristate "angle kxtik" 21 tristate "angle lis3dh"
|
| /OK3568_Linux_fs/kernel/drivers/iio/common/cros_ec_sensors/ |
| H A D | Kconfig | 26 tristate "ChromeOS EC Sensor for lid angle" 29 Module to report the angle between lid and base for some 31 This module is loaded when the EC can calculate the angle between the base
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/positioning/ |
| H A D | qdoublematrix4x4.cpp | 492 void QDoubleMatrix4x4::rotate(double angle, const QDoubleVector3D& vector) in rotate() argument 494 rotate(angle, vector.x(), vector.y(), vector.z()); in rotate() 497 void QDoubleMatrix4x4::rotate(double angle, double x, double y, double z) in rotate() argument 499 if (angle == 0.0) in rotate() 502 if (angle == 90.0 || angle == -270.0) { in rotate() 505 } else if (angle == -90.0 || angle == 270.0) { in rotate() 508 } else if (angle == 180.0 || angle == -180.0) { in rotate() 512 double a = qDegreesToRadians(angle); in rotate() 601 void QDoubleMatrix4x4::projectedRotate(double angle, double x, double y, double z) in projectedRotate() argument 605 if (angle == 0.0) in projectedRotate() [all …]
|
| /OK3568_Linux_fs/external/linux-rga/include/ |
| H A D | drmrga.h | 347 static inline void rga_set_rotation(rga_info_t *info, int angle) { in rga_set_rotation() argument 348 if (angle == 90) in rga_set_rotation() 350 else if (angle == 180) in rga_set_rotation() 352 else if (angle == 270) in rga_set_rotation()
|
| /OK3568_Linux_fs/external/rknpu2/examples/3rdparty/rga/RK3588/include/ |
| H A D | drmrga.h | 347 static inline void rga_set_rotation(rga_info_t *info, int angle) { in rga_set_rotation() argument 348 if (angle == 90) in rga_set_rotation() 350 else if (angle == 180) in rga_set_rotation() 352 else if (angle == 270) in rga_set_rotation()
|
| /OK3568_Linux_fs/external/rknpu2/examples/rknn_yolov5_android_apk_demo/app/src/main/cpp/rga/ |
| H A D | drmrga.h | 347 static inline void rga_set_rotation(rga_info_t *info, int angle) { in rga_set_rotation() argument 348 if (angle == 90) in rga_set_rotation() 350 else if (angle == 180) in rga_set_rotation() 352 else if (angle == 270) in rga_set_rotation()
|
| /OK3568_Linux_fs/external/rknpu2/examples/3rdparty/rga/RK356X/include/ |
| H A D | drmrga.h | 347 static inline void rga_set_rotation(rga_info_t *info, int angle) { in rga_set_rotation() argument 348 if (angle == 90) in rga_set_rotation() 350 else if (angle == 180) in rga_set_rotation() 352 else if (angle == 270) in rga_set_rotation()
|
| /OK3568_Linux_fs/external/xserver/xkb/ |
| H A D | xkbgeom.h | 105 short angle; member 121 short angle; member 138 short angle; member 160 short angle; member 177 short angle; member 224 short angle; member
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/text/ |
| H A D | quads.cpp | 69 const float angle = shapedIcon.angle(); in getIconQuad() local 71 if (angle) { in getIconQuad() 73 float angle_sin = std::sin(angle); in getIconQuad() 74 float angle_cos = std::cos(angle); in getIconQuad()
|