/hardware/bsp/intel/peripheral/libupm/examples/python/ |
itg3200.py | 31 rot = gyro.getRawValues() # Read raw sensor data variable 33 print "Raw: %6d %6d %6d" % (rot[0], rot[1], rot[2])
|
/hardware/bsp/intel/peripheral/libupm/examples/c++/ |
itg3200.cxx | 32 int16_t *rot; local 40 rot = gyro->getRawValues(); // Read raw sensor data 42 fprintf(stdout, "Raw: %6d %6d %6d\n", rot[0], rot[1], rot[2]);
|
/hardware/bsp/intel/peripheral/libupm/examples/java/ |
Itg3200Sample.java | 39 int[] rot; local 47 rot = gyro.getRawValues(); 50 System.out.println("Raw Values: X: " + rot[0] + " Y: " + rot[1] + " Z: " + rot[2]);
|
/system/connectivity/shill/ |
crypto_rot47.cc | 42 int rot = ch + kRotHalf; local 43 ch = (rot > kRotMax) ? rot - kRotSize : rot;
|
/external/regex-re2/util/ |
hash.cc | 43 #define rot(x,k) (((x)<<(k)) | ((x)>>(32-(k)))) macro 66 Some k values for my "a-=c; a^=rot(c,k); c+=b;" arrangement that 91 a -= c; a ^= rot(c, 4); c += b; \ 92 b -= a; b ^= rot(a, 6); a += c; \ 93 c -= b; c ^= rot(b, 8); b += a; \ 94 a -= c; a ^= rot(c,16); c += b; \ 95 b -= a; b ^= rot(a,19); a += c; \ 96 c -= b; c ^= rot(b, 4); b += a; \ 126 c ^= b; c -= rot(b,14); \ 127 a ^= c; a -= rot(c,11); [all...] |
/hardware/bsp/intel/peripheral/libupm/examples/javascript/ |
itg3200.js | 33 var rot; variable 40 rot = gyro.getRawValues(); // Read raw sensor data 42 var rots = (rot.getitem(0) + " "); 43 rots += (rot.getitem(1) + " "); 44 rots += rot.getitem(2);
|
/development/perftests/panorama/feature_mos/src/mosaic/ |
EdgePointerUtil.h | 27 inline EdgePointer rot(EdgePointer a) function
|
Delaunay.h | 113 #define oprev(a) rot(onext(rot(a))) 114 #define lnext(a) rot(onext(rotinv(a))) 116 #define rnext(a) rotinv(onext(rot(a))) 124 #define right(a) orig(rot(a))
|
/hardware/qcom/display/msm8226/liboverlay/ |
mdpWrapper.h | 63 bool startRotator(int fd, msm_rotator_img_info& rot); 66 bool rotate(int fd, msm_rotator_data_info& rot); 112 void dump(const char* const s, const msm_rotator_img_info& rot); 113 void dump(const char* const s, const msm_rotator_data_info& rot); 151 inline bool startRotator(int fd, msm_rotator_img_info& rot) { 153 if (ioctl(fd, MSM_ROTATOR_IOCTL_START, &rot) < 0){ 161 inline bool rotate(int fd, msm_rotator_data_info& rot) { 163 if (ioctl(fd, MSM_ROTATOR_IOCTL_ROTATE, &rot) < 0) { 336 inline void dump(const char* const s, const msm_rotator_img_info& rot) { 337 ALOGE("%s msm_rotator_img_info sessid=%u dstx=%d dsty=%d rot=%d, ena=%d scale=%d" [all...] |
/hardware/qcom/display/msm8960/liboverlay/ |
mdpWrapper.h | 58 bool startRotator(int fd, msm_rotator_img_info& rot); 61 bool rotate(int fd, msm_rotator_data_info& rot); 92 void dump(const char* const s, const msm_rotator_img_info& rot); 93 void dump(const char* const s, const msm_rotator_data_info& rot); 128 inline bool startRotator(int fd, msm_rotator_img_info& rot) { 129 if (ioctl(fd, MSM_ROTATOR_IOCTL_START, &rot) < 0){ 137 inline bool rotate(int fd, msm_rotator_data_info& rot) { 138 if (ioctl(fd, MSM_ROTATOR_IOCTL_ROTATE, &rot) < 0) { 245 inline void dump(const char* const s, const msm_rotator_img_info& rot) { 246 ALOGE("%s msm_rotator_img_info sessid=%u dstx=%d dsty=%d rot=%d, ena=%d scale=%d" [all...] |
overlayUtils.cpp | 382 const msm_rotator_img_info& rot) { 384 snprintf(str, 256, "%s sessid=%u rot=%d, enable=%d downscale=%d\n", 385 prefix, rot.session_id, rot.rotations, rot.enable, 386 rot.downscale_ratio); 388 getDump(buf, len, "\tsrc", rot.src); 389 getDump(buf, len, "\tdst", rot.dst); 390 getDump(buf, len, "\tsrc_rect", rot.src_rect); 394 const msm_rotator_data_info& rot) { [all...] |
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/ |
EdgePointerUtil.h | 27 inline EdgePointer rot(EdgePointer a) function
|
Delaunay.h | 113 #define oprev(a) rot(onext(rot(a))) 114 #define lnext(a) rot(onext(rotinv(a))) 116 #define rnext(a) rotinv(onext(rot(a))) 124 #define right(a) orig(rot(a))
|
/external/toybox/toys/lsb/ |
md5sum.c | 123 unsigned *rot[5], *temp; local 128 rot[i] = TT.state + i; 135 work = *rot[2] ^ *rot[3]; 136 if (!i) work = (work & *rot[1]) ^ *rot[3]; 138 if (i==2) work = ((*rot[1]|*rot[2])&*rot[3])|(*rot[1]&*rot[2]) [all...] |
/hardware/qcom/display/msm8084/liboverlay/ |
mdpWrapper.h | 60 bool startRotator(int fd, msm_rotator_img_info& rot); 63 bool rotate(int fd, msm_rotator_data_info& rot); 115 void dump(const char* const s, const msm_rotator_img_info& rot); 116 void dump(const char* const s, const msm_rotator_data_info& rot); 151 inline bool startRotator(int fd, msm_rotator_img_info& rot) { 152 if (ioctl(fd, MSM_ROTATOR_IOCTL_START, &rot) < 0){ 160 inline bool rotate(int fd, msm_rotator_data_info& rot) { 161 if (ioctl(fd, MSM_ROTATOR_IOCTL_ROTATE, &rot) < 0) { 341 inline void dump(const char* const s, const msm_rotator_img_info& rot) { 342 ALOGE("%s msm_rotator_img_info sessid=%u dstx=%d dsty=%d rot=%d, ena=%d scale=%d" [all...] |
/hardware/qcom/display/msm8909/liboverlay/ |
mdpWrapper.h | 66 bool startRotator(int fd, msm_rotator_img_info& rot); 69 bool rotate(int fd, msm_rotator_data_info& rot); 114 void dump(const char* const s, const msm_rotator_img_info& rot); 115 void dump(const char* const s, const msm_rotator_data_info& rot); 153 inline bool startRotator(int fd, msm_rotator_img_info& rot) { 155 if (ioctl(fd, MSM_ROTATOR_IOCTL_START, &rot) < 0){ 163 inline bool rotate(int fd, msm_rotator_data_info& rot) { 165 if (ioctl(fd, MSM_ROTATOR_IOCTL_ROTATE, &rot) < 0) { 360 inline void dump(const char* const s, const msm_rotator_img_info& rot) { 361 ALOGE("%s msm_rotator_img_info sessid=%u dstx=%d dsty=%d rot=%d, ena=%d scale=%d" [all...] |
/hardware/qcom/display/msm8994/liboverlay/ |
mdpWrapper.h | 66 bool startRotator(int fd, msm_rotator_img_info& rot); 69 bool rotate(int fd, msm_rotator_data_info& rot); 114 void dump(const char* const s, const msm_rotator_img_info& rot); 115 void dump(const char* const s, const msm_rotator_data_info& rot); 153 inline bool startRotator(int fd, msm_rotator_img_info& rot) { 155 if (ioctl(fd, MSM_ROTATOR_IOCTL_START, &rot) < 0){ 163 inline bool rotate(int fd, msm_rotator_data_info& rot) { 165 if (ioctl(fd, MSM_ROTATOR_IOCTL_ROTATE, &rot) < 0) { 360 inline void dump(const char* const s, const msm_rotator_img_info& rot) { 361 ALOGE("%s msm_rotator_img_info sessid=%u dstx=%d dsty=%d rot=%d, ena=%d scale=%d" [all...] |
/frameworks/base/rs/java/android/renderscript/ |
Matrix2f.java | 101 * @param rot rotation angle 103 public void loadRotate(float rot) { 105 rot *= (float)(java.lang.Math.PI / 180.0f); 106 c = (float)java.lang.Math.cos(rot); 107 s = (float)java.lang.Math.sin(rot); 161 * @param rot angle of rotation 163 public void rotate(float rot) { 165 tmp.loadRotate(rot);
|
Matrix3f.java | 108 * @param rot angle of rotation 113 public void loadRotate(float rot, float x, float y, float z) { 115 rot *= (float)(java.lang.Math.PI / 180.0f); 116 c = (float)java.lang.Math.cos(rot); 117 s = (float)java.lang.Math.sin(rot); 147 * @param rot rotation angle 149 public void loadRotate(float rot) { 152 rot *= (float)(java.lang.Math.PI / 180.0f); 153 c = (float)java.lang.Math.cos(rot); 154 s = (float)java.lang.Math.sin(rot); [all...] |
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
Matrix2f.java | 104 * @param rot rotation angle 106 public void loadRotate(float rot) { 108 rot *= (float)(java.lang.Math.PI / 180.0f); 109 c = (float)java.lang.Math.cos(rot); 110 s = (float)java.lang.Math.sin(rot); 164 * @param rot angle of rotation 166 public void rotate(float rot) { 168 tmp.loadRotate(rot);
|
Matrix3f.java | 111 * @param rot angle of rotation 116 public void loadRotate(float rot, float x, float y, float z) { 118 rot *= (float)(java.lang.Math.PI / 180.0f); 119 c = (float)java.lang.Math.cos(rot); 120 s = (float)java.lang.Math.sin(rot); 150 * @param rot rotation angle 152 public void loadRotate(float rot) { 155 rot *= (float)(java.lang.Math.PI / 180.0f); 156 c = (float)java.lang.Math.cos(rot); 157 s = (float)java.lang.Math.sin(rot); [all...] |
/external/autotest/client/site_tests/graphics_SanAngeles/src/ |
matrixop.c | 84 Matrix4x4 rot; local 105 rot[0*4 + 0] = xx + (1.f - xx) * c; 106 rot[1*4 + 0] = xy * one_c - zs; 107 rot[2*4 + 0] = xz * one_c + ys; 108 rot[3*4 + 0] = 0.f; 110 rot[0*4 + 1] = xy * one_c + zs; 111 rot[1*4 + 1] = yy + (1.f - yy) * c; 112 rot[2*4 + 1] = yz * one_c - xs; 113 rot[3*4 + 1] = 0.f; 115 rot[0*4 + 2] = xz * one_c - ys [all...] |
/hardware/invensense/6515/libsensors_iio/software/core/mllite/ |
hal_outputs.c | 426 long rot[9], quat_geo[4]; local 430 inv_quaternion_to_rotation(quat_geo, rot); 431 r[0][0] = rot[0]*conv; 432 r[0][1] = rot[1]*conv; 433 r[0][2] = rot[2]*conv; 434 r[1][0] = rot[3]*conv; 435 r[1][1] = rot[4]*conv; 436 r[1][2] = rot[5]*conv; 437 r[2][0] = rot[6]*conv; 438 r[2][1] = rot[7]*conv 455 long rot[9], quat_6_axis[4]; local 488 long rot[9]; local [all...] |
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/ |
hal_outputs.c | 380 long rot[9], quat_geo[4];
local 384 inv_quaternion_to_rotation(quat_geo, rot);
385 r[0][0] = rot[0]*conv;
386 r[0][1] = rot[1]*conv;
387 r[0][2] = rot[2]*conv;
388 r[1][0] = rot[3]*conv;
389 r[1][1] = rot[4]*conv;
390 r[1][2] = rot[5]*conv;
391 r[2][0] = rot[6]*conv;
392 r[2][1] = rot[7]*conv; 409 long rot[9], quat_6_axis[4]; local 442 long rot[9]; local [all...] |
/frameworks/rs/ |
rsMatrix4x4.h | 42 void loadRotate(float rot, float x, float y, float z); 64 void rotate(float rot, float x, float y, float z) { 66 tmp.loadRotate(rot, x, y, z);
|