Home
last modified time | relevance | path

Searched refs:q (Results 1 – 25 of 48) sorted by relevance

12

/device/google/contexthub/firmware/os/algos/common/math/
Dquat.c21 void initQuat(Quat *q, const struct Mat33 *R) { in initQuat() argument
26 q->x = sqrtf(clamp(Hx - My - Az + 1.0f) * 0.25f); in initQuat()
27 q->y = sqrtf(clamp(-Hx + My - Az + 1.0f) * 0.25f); in initQuat()
28 q->z = sqrtf(clamp(-Hx - My + Az + 1.0f) * 0.25f); in initQuat()
29 q->w = sqrtf(clamp(Hx + My + Az + 1.0f) * 0.25f); in initQuat()
30 q->x = copysignf(q->x, R->elem[1][2] - R->elem[2][1]); in initQuat()
31 q->y = copysignf(q->y, R->elem[2][0] - R->elem[0][2]); in initQuat()
32 q->z = copysignf(q->z, R->elem[0][1] - R->elem[1][0]); in initQuat()
35 void quatToMatrix(struct Mat33 *R, const Quat *q) { in quatToMatrix() argument
36 float q0 = q->w; in quatToMatrix()
[all …]
Dquat.h28 void initQuat(Quat *q, const struct Mat33 *R);
29 void quatToMatrix(struct Mat33 *R, const Quat *q);
30 void quatNormalize(Quat *q);
/device/google/contexthub/firmware/os/core/
DeventQ.c65 struct EvtQueue *q = heapAlloc(sizeof(struct EvtQueue)); in evtQueueAlloc() local
69 if (q && slab) { in evtQueueAlloc()
70 q->forceDiscardCbk = forceDiscardCbk; in evtQueueAlloc()
71 q->evtsSlab = slab; in evtQueueAlloc()
72 q->head.next = &q->head; in evtQueueAlloc()
73 q->head.prev = &q->head; in evtQueueAlloc()
74 return q; in evtQueueAlloc()
77 if (q) in evtQueueAlloc()
78 heapFree(q); in evtQueueAlloc()
85 void evtQueueFree(struct EvtQueue* q) in evtQueueFree() argument
[all …]
/device/google/contexthub/firmware/lib/builtins/
Dudivmoddi4.c32 udwords q; in __udivmoddi4() local
113 q.s.low = 0; in __udivmoddi4()
114 q.s.high = n.s.low << (n_uword_bits - sr); in __udivmoddi4()
134 q.s.high = n.s.high >> sr; in __udivmoddi4()
135 q.s.low = (n.s.high << (n_uword_bits - sr)) | (n.s.low >> sr); in __udivmoddi4()
136 return q.all; in __udivmoddi4()
149 q.s.low = 0; in __udivmoddi4()
150 q.s.high = n.s.low; in __udivmoddi4()
156 q.s.low = 0; in __udivmoddi4()
157 q.s.high = n.s.low << (n_uword_bits - sr); in __udivmoddi4()
[all …]
/device/google/contexthub/firmware/lib/libm/
Def_sqrt.c33 __int32_t ix,s,q,m,t,i; local
60 q = s = 0; /* q = sqrt(x) */
68 q += r;
80 q += 2;
82 q += (q&1);
85 ix = (q>>1)+0x3f000000L;
Def_asin.c47 float t,w,p,q,c,r,s; local
62 q = one+t*(qS1+t*(qS2+t*(qS3+t*qS4)));
63 w = p/q;
71 q = one+t*(qS1+t*(qS2+t*(qS3+t*qS4)));
74 w = p/q;
82 r = p/q;
84 q = pio4_hi-(float)2.0*w;
85 t = pio4_hi-(p-q);
Dkf_rem_pio2.c63 float z,fw,f[20],fq[20],q[20]; local
81 q[i] = fw;
87 for(i=0,j=jz,z=q[jz];j>0;i++,j--) {
90 z = q[j-1]+fw;
141 q[i] = fw;
165 q[i] = fw*(float)iq[i]; fw*=twon8;
170 for(fw=0.0,k=0;k<=jp&&k<=jz-i;k++) fw += PIo2[k]*q[i+k];
/device/generic/goldfish/qemu-props/
Dqemu-props.cpp94 char* q; in main() local
108 q = strchr(temp, '='); in main()
109 if (q == NULL) { in main()
113 *q++ = '\0'; in main()
130 if (property_set(temp, q) < 0) { in main()
131 ALOGW("could not set property '%s' to '%s'", final_prop_name, q); in main()
133 ALOGI("successfully set property '%s' to '%s'", final_prop_name, q); in main()
/device/google/contexthub/firmware/os/inc/
DeventQ.h36 void evtQueueFree(struct EvtQueue* q);
37 bool evtQueueEnqueue(struct EvtQueue* q, uint32_t evtType, void *evtData, TaggedPtr evtFreeData, bo…
38 bool evtQueueDequeue(struct EvtQueue* q, uint32_t *evtTypeP, void **evtDataP, TaggedPtr *evtFreeDat…
39 void evtQueueRemoveAllMatching(struct EvtQueue* q, bool (*match)(uint32_t evtType, const void *dat…
/device/google/contexthub/firmware/os/algos/
Dfusion.c264 Quat q = fusion->x0; in fusionPredict() local
344 mat44Apply(&fusion->x0, &O, &q); in fusionPredict()
423 static void getF(struct Vec4 F[3], const struct Vec4 *q) { in getF() argument
424 F[0].x = q->w; F[1].x = -q->z; F[2].x = q->y; in getF()
425 F[0].y = q->z; F[1].y = q->w; F[2].y = -q->x; in getF()
426 F[0].z = -q->y; F[1].z = q->x; F[2].z = q->w; in getF()
427 F[0].w = -q->x; F[1].w = -q->y; F[2].w = -q->z; in getF()
489 struct Vec4 q; in fusionUpdate() local
490 q.x = fusion->x0.x + 0.5f * (F[0].x * dq.x + F[1].x * dq.y + F[2].x * dq.z); in fusionUpdate()
491 q.y = fusion->x0.y + 0.5f * (F[0].y * dq.x + F[1].y * dq.y + F[2].y * dq.z); in fusionUpdate()
[all …]
/device/linaro/hikey/hifi/firmware/
Dhifi-hikey960.img7 … �� �� �5�����|�����E�������F�5������� �a����#��v������ � � b q A����6���:��0�����…
38 �J�*�j��Z�:�z��F�&�f��V�6�v��N�.�n��^�>�~��A�!�a��Q�1�q� �I�)�i��Y�9�y��E�%�e��U�5�u�
42 …"���$���&��)��1,��/��2��a5���8���<��z@���D��!I���M���R��UX��^��0d���j���q��y�����B���-�������…
45 …e2"�Nk$�0�&�qN)���+�y�.���1��"5��8�^D<��.@��ZD���H��M�ƐR�\�W�6�]� �c�H6j�Bq�wx�)K��~�������G���…
46 …S��� ���-�����_��������_��������%���(�U��&[�r��h��|�����q�����S��*$�!��jV…
47 z���@��q��r������� ���B�<��u�X��/��`��[��U��� �6���=����o�������c��&��…
59 …��<���|��m���|����m�|����'�|����ͫ|�w1�_�|�eb�ߔ|�O��K�|�5���}|����q|��%�f|��V�=Z|���…
63 …'�l�y��7'��y��g'���y�m�'��y�7�'���y���'�ޙy��&(�#�y�pV(�Uzy�!�(�ujy�̵(��Zy�q�(�|Jy�)�c:y��D)�7*…
64 …�8��r�9���r��29�<�r��_9��kr�݌9�,Ur���9��>r���9��'r�g:�r�-@:�9�q��l:�P�q���:�V�q�L�:�J�q���:�…
/device/linaro/hikey/hifi/xaf/hifi-dpf/build_hikey/
Dxa_hikey.img7 … �� �� �5�����|�����E�������F�5������� �a����#��v������ � � b q A����6���:��0�����…
36 �J�*�j��Z�:�z��F�&�f��V�6�v��N�.�n��^�>�~��A�!�a��Q�1�q� �I�)�i��Y�9�y��E�%�e��U�5�u�
40 …"���$���&��)��1,��/��2��a5���8���<��z@���D��!I���M���R��UX��^��0d���j���q��y�����B���-�������…
43 …e2"�Nk$�0�&�qN)���+�y�.���1��"5��8�^D<��.@��ZD���H��M�ƐR�\�W�6�]� �c�H6j�Bq�wx�)K��~�������G���…
44 …S��� ���-�����_��������_��������%���(�U��&[�r��h��|�����q�����S��*$�!��jV…
45 z���@��q��r������� ���B�<��u�X��/��`��[��U��� �6���=����o�������c��&��…
57 …��<���|��m���|����m�|����'�|����ͫ|�w1�_�|�eb�ߔ|�O��K�|�5���}|����q|��%�f|��V�=Z|���…
61 …'�l�y��7'��y��g'���y�m�'��y�7�'���y���'�ޙy��&(�#�y�pV(�Uzy�!�(�ujy�̵(��Zy�q�(�|Jy�)�c:y��D)�7*…
62 …�8��r�9���r��29�<�r��_9��kr�݌9�,Ur���9��>r���9��'r�g:�r�-@:�9�q��l:�P�q���:�V�q�L�:�J�q���:�…
/device/google/cuttlefish/host/frontend/vnc_server/
Dsimulated_hw_composer.cpp71 ThreadSafeQueue<Stripe>::QueueImpl* q) { in EraseHalfOfElements() argument
72 q->erase(q->begin(), std::next(q->begin(), kMaxQueueElements / 2)); in EraseHalfOfElements()
Dsimulated_hw_composer.h48 static void EraseHalfOfElements(ThreadSafeQueue<Stripe>::QueueImpl* q);
/device/google/wahoo/sepolicy/vendor/certs/
Dtango.x509.pem14 GA3/WqRNDo0a56L/q/mZuQC7kU61RYBhu58CAwEAAaNQME4wHQYDVR0OBBYEFNG2
/device/google/coral/json-c/
Djson_object.c597 char buf[128], *p, *q; in json_object_double_to_json_string() local
622 for (q=p ; *q ; q++) { in json_object_double_to_json_string()
623 if (*q!='0') p=q; in json_object_double_to_json_string()
/device/google/bonito/json-c/
Djson_object.c597 char buf[128], *p, *q; in json_object_double_to_json_string() local
622 for (q=p ; *q ; q++) { in json_object_double_to_json_string()
623 if (*q!='0') p=q; in json_object_double_to_json_string()
/device/google/crosshatch/json-c/
Djson_object.c597 char buf[128], *p, *q; in json_object_double_to_json_string() local
622 for (q=p ; *q ; q++) { in json_object_double_to_json_string()
623 if (*q!='0') p=q; in json_object_double_to_json_string()
/device/google/cuttlefish/host/frontend/gcastv2/https/certs/
Dserver.key8 q+CU835bozCfwJ59cUubjPhMiXzwWLwqvdGu1cMVYGCoJXOVPSSRXEgJFIIopw8c
/device/google/bonito/vibrator/cs40l20/wav_wavetable/
D10_THUD_0503.json25 …���j���I���L���s���a�)�������x�v�������\���j���R���`����;�����b�!�������q�S�1����������{…
/device/google/crosshatch/vibrator/cs40l20/wav_wavetable/
D10_THUD_0503.json25 …���j���I���L���s���a�)�������x�v�������\���j���R���`����;�����b�!�������q�S�1����������{…
/device/generic/goldfish-opengl/tests/gles_android_wrapper/
Dgles.cpp176 void glMultiTexCoord4f(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q) in glMultiTexCoord4f() argument
178 getDispatch()->glMultiTexCoord4f(target, s, t, r, q); in glMultiTexCoord4f()
601 void glMultiTexCoord4x(GLenum target, GLfixed s, GLfixed t, GLfixed r, GLfixed q) in glMultiTexCoord4x() argument
603 getDispatch()->glMultiTexCoord4x(target, s, t, r, q); in glMultiTexCoord4x()
966 void glMultiTexCoord4xOES(GLenum target, GLfixed s, GLfixed t, GLfixed r, GLfixed q) in glMultiTexCoord4xOES() argument
968 getDispatch()->glMultiTexCoord4xOES(target, s, t, r, q); in glMultiTexCoord4xOES()
/device/google/wahoo/
Dinit.hardware.diag.rc.userdebug65 service vendor.cnss_diag /vendor/bin/cnss_diag -q -u -w
/device/google/coral/
Dinit.hardware.diag.rc.userdebug66 service vendor.cnss_diag /vendor/bin/cnss_diag -q -u -w
/device/google/bonito/
Dinit.hardware.diag.rc.userdebug67 service vendor.cnss_diag /vendor/bin/cnss_diag -q -u -w

12