/device/google/contexthub/sensorhal/ |
D | hubconnection.cpp | 659 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 …]
|
D | hubconnection.h | 265 uint8_t magAccuracyUpdate(sensors_vec_t *sv);
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/ |
D | tupleobject.c | 840 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()
|
D | stringobject.c | 3898 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/ |
D | tupleobject.c | 850 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()
|
D | stringobject.c | 3878 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/ |
D | test_multiprocessing.py | 832 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/ |
D | getnameinfo.c | 234 (flags & NI_DGRAM) ? "udp" : "tcp", &sv, &svd); in getnameinfo_inet()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/ |
D | socketmodule.c | 3621 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/ |
D | socketmodule.c | 3703 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]);
|