/AliOS-Things-master/components/SDL2/src/power/linux/ |
A D | SDL_syspower.c | 138 int secs = -1; in check_proc_acpi_battery() local 207 *seconds = secs; in check_proc_acpi_battery() 424 *seconds = secs; in SDL_GetPowerInfo_Linux_proc_apm() 452 int secs; in SDL_GetPowerInfo_Linux_sys_class_power_supply() local 499 secs = (secs <= 0) ? -1 : secs; /* 0 == unknown */ in SDL_GetPowerInfo_Linux_sys_class_power_supply() 506 secs = -1; in SDL_GetPowerInfo_Linux_sys_class_power_supply() 547 int secs; in check_upower_device() local 585 secs = -1; in check_upower_device() 587 secs = (int) si64; in check_upower_device() 588 secs = (secs <= 0) ? -1 : secs; /* 0 == unknown */ in check_upower_device() [all …]
|
/AliOS-Things-master/components/py_engine/tests/unix/ |
A D | time.py | 27 secs = time.mktime((year, month, day, 14, 0, 0, 0, 0, 0)) + tzseconds 28 if secs != seconds: 31 % (year, month, day, secs, seconds) 35 secs = time.mktime(tuple) 36 if secs != seconds: 39 % (year, month, day, secs, seconds)
|
/AliOS-Things-master/components/py_engine/tests/pyb/ |
A D | modtime.py | 22 secs = time.mktime((year, month, day, 0, 0, 0, 0, 0)) 23 if secs != seconds: 26 % (year, month, day, secs, seconds) 29 secs = time.mktime(tuple) 30 if secs != seconds: 33 % (year, month, day, secs, seconds)
|
/AliOS-Things-master/components/py_engine/tests/wipy/ |
A D | time.py | 22 secs = time.mktime((year, month, day, 0, 0, 0, 0, 0)) 23 if secs != seconds: 26 % (year, month, day, secs, seconds) 29 secs = time.mktime(tuple) 30 if secs != seconds: 33 % (year, month, day, secs, seconds)
|
/AliOS-Things-master/components/SDL2/src/power/macosx/ |
A D | SDL_syspower.c | 48 int secs = -1; in checkps() local 97 secs = (int) val; in checkps() 98 if (secs > 0) { in checkps() 99 secs *= 60; /* value is in minutes, so convert to seconds. */ in checkps() 121 if ((secs < 0) && (*seconds < 0)) { in checkps() 128 } else if (secs > *seconds) { in checkps() 133 *seconds = secs; in checkps()
|
/AliOS-Things-master/components/SDL2/src/power/windows/ |
A D | SDL_syspower.c | 60 const int secs = (int) status.BatteryLifeTime; in SDL_GetPowerInfo_Windows() local 65 if (secs != 0xFFFFFFFF) { /* ((DWORD)-1) == unknown */ in SDL_GetPowerInfo_Windows() 66 *seconds = secs; in SDL_GetPowerInfo_Windows()
|
/AliOS-Things-master/components/SDL2/src/power/haiku/ |
A D | SDL_syspower.c | 112 const int secs = (int) battery_time; in SDL_GetPowerInfo_Haiku() local 117 if (secs != 0xFFFF) { /* 0xFFFF == unknown */ in SDL_GetPowerInfo_Haiku() 118 *seconds = secs; in SDL_GetPowerInfo_Haiku()
|
/AliOS-Things-master/components/SDL2/test/ |
A D | testautomation_platform.c | 457 int secs; in platform_testGetPowerInfo() local 462 state = SDL_GetPowerInfo(&secs, &pct); in platform_testGetPowerInfo() 476 secs >= 0, in platform_testGetPowerInfo() 478 secs); in platform_testGetPowerInfo() 489 secs == -1, in platform_testGetPowerInfo() 491 secs); in platform_testGetPowerInfo() 505 secs==secsAgain, in platform_testGetPowerInfo()
|
/AliOS-Things-master/components/mbedtls/library/ |
A D | timing.c | 412 cycles, ratio, millisecs, secs, hardfail, \ 431 unsigned long millisecs = 0, secs = 0; in mbedtls_timing_self_test() local 444 secs = 1; in mbedtls_timing_self_test() 448 mbedtls_set_alarm( (int) secs ); in mbedtls_timing_self_test() 456 if( millisecs < 800 * secs || millisecs > 1200 * secs + 300 ) in mbedtls_timing_self_test()
|
/AliOS-Things-master/components/SDL2/include/ |
A D | SDL_power.h | 65 extern DECLSPEC SDL_PowerState SDLCALL SDL_GetPowerInfo(int *secs, int *pct);
|
/AliOS-Things-master/hardware/chip/haas1000/drivers/net/lwip/src/include/lwip/prot/ |
A D | dhcp.h | 72 PACK_STRUCT_FIELD(u16_t secs);
|
/AliOS-Things-master/components/lwip/lwip2.0.0/include/lwip/prot/ |
A D | dhcp.h | 72 PACK_STRUCT_FIELD(u16_t secs);
|
/AliOS-Things-master/components/lwip/lwip2.0.0/include/lwip/apps/ |
A D | dhcps.h | 85 uint16_t secs; /* Filled in by client, seconds elapsed since client began address member
|
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/common/network/dhcp/ |
A D | dhcps.h | 87 uint16_t secs; /* Filled in by client, seconds elapsed since client began address member
|
A D | dhcps.c | 362 dhcp_message_repository->secs = 0; in dhcps_initialize_message()
|
/AliOS-Things-master/components/py_engine/engine/shared/netutils/ |
A D | dhcpserver.c | 80 uint16_t secs; // client seconds elapsed member
|
/AliOS-Things-master/components/lwip/lwip2.0.0/core/ipv4/ |
A D | dhcp.c | 1870 dhcp->msg_out->secs = 0; in dhcp_create_msg() 1997 void dhcp_start_timeout_check(u32_t secs) in dhcp_start_timeout_check() argument 1999 sys_timeout(secs, dhcp_check_status, NULL); in dhcp_start_timeout_check()
|
/AliOS-Things-master/components/lwip/lwip2.0.0/apps/dhcpd/ |
A D | dhcps.c | 398 dhcp_message_repository->secs = 0; in dhcps_initialize_message()
|
/AliOS-Things-master/components/SDL2/src/audio/coreaudio/ |
A D | SDL_coreaudio.m | 995 …const CFTimeInterval secs = (((this->spec.size / (SDL_AUDIO_BITSIZE(this->spec.format) / 8)) / thi… 996 CFRunLoopRunInMode(kCFRunLoopDefaultMode, secs, 0);
|