Home
last modified time | relevance | path

Searched refs:sv (Results 1 – 10 of 10) sorted by relevance

/device/google/contexthub/sensorhal/
Dhubconnection.cpp659 uint8_t HubConnection::magAccuracyUpdate(sensors_vec_t *sv) in magAccuracyUpdate() argument
661 float magSq = sv->x * sv->x + sv->y * sv->y + sv->z * sv->z; in magAccuracyUpdate()
678 sensors_vec_t *sv; in processSample() local
685 sv = &initEv(&nev[cnt], timestamp, type, sensor)->acceleration; in processSample()
686 sv->x = sample->ix * mScaleAccel; in processSample()
687 sv->y = sample->iy * mScaleAccel; in processSample()
688 sv->z = sample->iz * mScaleAccel; in processSample()
689 sv->status = SENSOR_STATUS_ACCURACY_HIGH; in processSample()
706 sv->x += mAccelBias[0] - mAccelEnabledBias[0]; in processSample()
707 sv->y += mAccelBias[1] - mAccelEnabledBias[1]; in processSample()
[all …]
Dhubconnection.h265 uint8_t magAccuracyUpdate(sensors_vec_t *sv);
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/
Dtupleobject.c840 register PyTupleObject *sv; in _PyTuple_Resize() local
874 sv = PyObject_GC_Resize(PyTupleObject, v, newsize); in _PyTuple_Resize()
875 if (sv == NULL) { in _PyTuple_Resize()
880 _Py_NewReference((PyObject *) sv); in _PyTuple_Resize()
883 memset(&sv->ob_item[oldsize], 0, in _PyTuple_Resize()
884 sizeof(*sv->ob_item) * (newsize - oldsize)); in _PyTuple_Resize()
885 *pv = (PyObject *) sv; in _PyTuple_Resize()
886 _PyObject_GC_TRACK(sv); in _PyTuple_Resize()
Dstringobject.c3898 register PyStringObject *sv; in _PyString_Resize() local
3918 sv = (PyStringObject *) *pv; in _PyString_Resize()
3919 Py_SIZE(sv) = newsize; in _PyString_Resize()
3920 sv->ob_sval[newsize] = '\0'; in _PyString_Resize()
3921 sv->ob_shash = -1; /* invalidate cached hash value */ in _PyString_Resize()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/
Dtupleobject.c850 register PyTupleObject *sv; in _PyTuple_Resize() local
885 sv = PyObject_GC_Resize(PyTupleObject, v, newsize); in _PyTuple_Resize()
886 if (sv == NULL) { in _PyTuple_Resize()
891 _Py_NewReference((PyObject *) sv); in _PyTuple_Resize()
894 memset(&sv->ob_item[oldsize], 0, in _PyTuple_Resize()
895 sizeof(*sv->ob_item) * (newsize - oldsize)); in _PyTuple_Resize()
896 *pv = (PyObject *) sv; in _PyTuple_Resize()
897 _PyObject_GC_TRACK(sv); in _PyTuple_Resize()
Dstringobject.c3878 register PyStringObject *sv; in _PyString_Resize() local
3898 sv = (PyStringObject *) *pv; in _PyString_Resize()
3899 Py_SIZE(sv) = newsize; in _PyString_Resize()
3900 sv->ob_sval[newsize] = '\0'; in _PyString_Resize()
3901 sv->ob_shash = -1; /* invalidate cached hash value */ in _PyString_Resize()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_multiprocessing.py832 for sv, cv in zip(values, cls.codes_values):
833 sv.value = cv[2]
844 for sv, cv in zip(values, self.codes_values):
845 self.assertEqual(sv.value, cv[1])
851 for sv, cv in zip(values, self.codes_values):
852 self.assertEqual(sv.value, cv[2])
/device/linaro/bootloader/edk2/StdLib/BsdSocketLib/
Dgetnameinfo.c234 (flags & NI_DGRAM) ? "udp" : "tcp", &sv, &svd); in getnameinfo_inet()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
Dsocketmodule.c3621 SOCKET_T sv[2]; local
3634 if (socketpair(family, type, proto, sv) < 0)
3636 s0 = new_sockobject(sv[0], family, type, proto);
3639 s1 = new_sockobject(sv[1], family, type, proto);
3647 SOCKETCLOSE(sv[0]);
3649 SOCKETCLOSE(sv[1]);
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/
Dsocketmodule.c3703 SOCKET_T sv[2]; local
3716 if (socketpair(family, type, proto, sv) < 0)
3718 s0 = new_sockobject(sv[0], family, type, proto);
3721 s1 = new_sockobject(sv[1], family, type, proto);
3729 SOCKETCLOSE(sv[0]);
3731 SOCKETCLOSE(sv[1]);