Home
last modified time | relevance | path

Searched refs:value1 (Results 1 – 11 of 11) sorted by relevance

/device/google/contexthub/firmware/os/core/
Dsensors.c475 if (!evt->value1) { //we failed -> give up in sensorInternalFwStateChanged()
481 s->currentRate = evt->value1; in sensorInternalFwStateChanged()
499 …if (s->currentRate == SENSOR_RATE_POWERING_ON && evt->value1) { //we're now on - upload f… in sensorInternalPowerStateChanged()
504 else if (s->currentRate == SENSOR_RATE_POWERING_OFF && !evt->value1) { //we're now off in sensorInternalPowerStateChanged()
510 …else if (s->currentRate == SENSOR_RATE_POWERING_ON && !evt->value1) { //we need to power back on in sensorInternalPowerStateChanged()
513 …else if (s->currentRate == SENSOR_RATE_POWERING_OFF && evt->value1) { //we need to power back o… in sensorInternalPowerStateChanged()
527 s->currentRate = evt->value1; in sensorInternalRateChanged()
535 bool sensorSignalInternalEvt(uint32_t handle, uint32_t intEvtNum, uint32_t value1, uint64_t value2) in sensorSignalInternalEvt() argument
548 evt->value1 = value1; in sensorSignalInternalEvt()
DosApi.c100 uint32_t value1 = va_arg(args, uint32_t); in osExpApiSensorSignal() local
105 *retValP = (uintptr_t)sensorSignalInternalEvt(handle, intEvtNum, value1, value2); in osExpApiSensorSignal()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_weakref.py982 def check_popitem(self, klass, key1, value1, key2, value2): argument
984 weakdict[key1] = value1
990 self.assertTrue(v is value1)
996 self.assertTrue(v is value1)
1008 def check_setdefault(self, klass, key, value1, value2): argument
1009 self.assertTrue(value1 is not value2,
1013 o = weakdict.setdefault(key, value1)
1014 self.assertIs(o, value1)
1016 self.assertIs(weakdict.get(key), value1)
1017 self.assertIs(weakdict[key], value1)
[all …]
Dtest_sys.py104 typ1, value1, traceback1 = sys.exc_info()
109 self.assertTrue(value1 is exc)
110 self.assertTrue(value1 is value2)
/device/google/contexthub/firmware/os/inc/
Dsensors_priv.h39 uint32_t value1; member
DsyscallDo.h99 …* eOsSensorSignalInternalEvt(uint32_t handle, uint32_t intEvtNum, uint32_t value1, uint64_t value2) in eOsSensorSignalInternalEvt() argument
104 …SCALL_OS_MAIN_SENSOR, SYSCALL_OS_MAIN_SENSOR_SIGNAL), handle, intEvtNum, value1, value2_lo, value2… in eOsSensorSignalInternalEvt()
Dsensors.h263 bool sensorSignalInternalEvt(uint32_t handle, uint32_t intEvtNum, uint32_t value1, uint64_t value2);
/device/google/marlin/liblight/
Dlights.c140 write_double_int(char const* path, int value1, int value2) in write_double_int() argument
148 size_t bytes = snprintf(buffer, sizeof(buffer), "%d %d\n", value1, value2); in write_double_int()
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellLevel1CommandsLib/
DUefiShellLevel1CommandsLib.uni171 " for %a in value1 value2\r\n"
178 " variable %a has the value "value1", so in second FOR, the %a has\r\n"
180 " of %a. The string after substitution becomes FOR value1 in value3\r\n"
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/email/test/
Dtest_email_renamed.py2528 value1 = 'text'
2531 value1, value2)
2533 eq(msg.get('Header'), value1)
Dtest_email.py2681 value1 = 'text'
2684 value1, value2)
2686 eq(msg.get('Header'), value1)