Searched refs:ui32 (Results 1 – 2 of 2) sorted by relevance
/AliOS-Things-master/components/SDL2/src/power/linux/ |
A D | SDL_syspower.c | 549 Uint32 ui32 = 0; in check_upower_device() local 553 …ion(conn, UPOWER_DBUS_NODE, path, UPOWER_DEVICE_DBUS_INTERFACE, "Type", DBUS_TYPE_UINT32, &ui32)) { in check_upower_device() 555 } else if (ui32 != 2) { /* 2==Battery*/ in check_upower_device() 557 …, UPOWER_DBUS_NODE, path, UPOWER_DEVICE_DBUS_INTERFACE, "PowerSupply", DBUS_TYPE_BOOLEAN, &ui32)) { in check_upower_device() 559 } else if (!ui32) { in check_upower_device() 561 …nn, UPOWER_DBUS_NODE, path, UPOWER_DEVICE_DBUS_INTERFACE, "IsPresent", DBUS_TYPE_BOOLEAN, &ui32)) { in check_upower_device() 563 } else if (!ui32) { in check_upower_device() 565 …on(conn, UPOWER_DBUS_NODE, path, UPOWER_DEVICE_DBUS_INTERFACE, "State", DBUS_TYPE_UINT32, &ui32)) { in check_upower_device() 567 } else if (ui32 == 1) { /* 1 == charging */ in check_upower_device() 569 } else if ((ui32 == 2) || (ui32 == 3)) { /* 2 == discharging, 3 == empty. */ in check_upower_device() [all …]
|
/AliOS-Things-master/components/SDL2/include/ |
A D | SDL_endian.h | 221 Uint32 ui32; in SDL_SwapFloat() member 224 swapper.ui32 = SDL_Swap32(swapper.ui32); in SDL_SwapFloat()
|
Completed in 21 milliseconds