Searched refs:scalar (Results 1 – 2 of 2) sorted by relevance
/device/generic/goldfish/sensors/ |
D | multihal_sensors_qemu.cpp | 167 if (sscanf(values, "%f", &payload->scalar) == 1) { in parseQemuSensorEvent() 169 payload->scalar, 0.001)) { in parseQemuSensorEvent() 174 state->lastAmbientTemperatureValue = payload->scalar; in parseQemuSensorEvent() 179 if (sscanf(values, "%f", &payload->scalar) == 1) { in parseQemuSensorEvent() 181 payload->scalar, 0.001)) { in parseQemuSensorEvent() 186 state->lastProximityValue = payload->scalar; in parseQemuSensorEvent() 191 if (sscanf(values, "%f", &payload->scalar) == 1) { in parseQemuSensorEvent() 193 payload->scalar, 0.001)) { in parseQemuSensorEvent() 198 state->lastLightValue = payload->scalar; in parseQemuSensorEvent() 203 if (sscanf(values, "%f", &payload->scalar) == 1) { in parseQemuSensorEvent() [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/classes/ |
D | Vec.py | 56 def __mul__(self, scalar): argument 58 v = [x * scalar for x in self.v]
|