/third_party/backends/backend/ |
H A D | dc210.c | 418 sleep (1); in init_dc210() 592 sleep (1); /* not too fast */ in end_of_data()
|
/third_party/python/Lib/multiprocessing/ |
H A D | pool.py | 678 time.sleep(0) 957 time.sleep(timeout)
|
/third_party/python/Lib/test/ |
H A D | test_selectors.py | 11 from time import sleep namespace 343 sleep(0.1)
|
/third_party/sqlite/include/ |
H A D | sqlite3ext.h | 193 int (*sleep)(int); member 542 #define sqlite3_sleep sqlite3_api->sleep
|
/foundation/barrierfree/accessibility/common/interface/test/unittest/ |
H A D | accessible_ability_manager_state_observer_proxy_test.cpp | 677 sleep(SLEEP_TIME_1); in HWTEST_F() 723 sleep(SLEEP_TIME_1); in HWTEST_F() 1969 sleep(SLEEP_TIME_1); in HWTEST_F() 1986 sleep(SLEEP_TIME_1); in HWTEST_F()
|
/kernel/linux/linux-5.10/tools/testing/selftests/net/ |
H A D | fib_tests.sh | 331 sleep 1 396 sleep 1 646 sleep 1 1700 sleep 2
|
/kernel/linux/linux-5.10/drivers/media/usb/em28xx/ |
H A D | em28xx-dvb.c | 857 if (gpio[i].sleep > 0) in px_bcud_init() 858 msleep(gpio[i].sleep); in px_bcud_init() 1996 ops->sleep = NULL; in prevent_sleep() 1997 ops->tuner_ops.sleep = NULL; in prevent_sleep() 2025 * We cannot tell the device to sleep in em28xx_dvb_fini()
|
/kernel/linux/linux-6.6/drivers/media/usb/em28xx/ |
H A D | em28xx-dvb.c | 854 if (gpio[i].sleep > 0) in px_bcud_init() 855 msleep(gpio[i].sleep); in px_bcud_init() 2024 ops->sleep = NULL; in prevent_sleep() 2025 ops->tuner_ops.sleep = NULL; in prevent_sleep() 2053 * We cannot tell the device to sleep in em28xx_dvb_fini()
|
/third_party/skia/third_party/externals/libpng/contrib/gregbook/ |
H A D | rpng2-x.c | 128 # define usleep(x) sleep(((x)+499999)/1000000) 596 * backs as decoded data become available. We optionally call sleep() for in main() 624 sleep(1); in main() 671 sleep(1); in main() 687 * calls to sleep(1) interleaved with checks for quit in main() 695 sleep(1); in main()
|
/kernel/linux/linux-5.10/drivers/atm/ |
H A D | he.c | 2340 int retry = 0, sleep = 1, tx_inuse; in he_close() local 2399 msleep(sleep); in he_close() 2400 if (sleep < 250) in he_close() 2401 sleep = sleep * 2; in he_close()
|
/kernel/linux/linux-5.10/drivers/md/ |
H A D | md-bitmap.c | 72 * In general it is not permitted to sleep in that context as it 494 pr_debug(" daemon sleep: %us\n", le32_to_cpu(sb->daemon_sleep)); in md_bitmap_print_sb() 647 reason = "daemon sleep period out of range"; in md_bitmap_read_sb() 1713 long sleep; in md_bitmap_flush() local 1721 sleep = mddev->bitmap_info.daemon_sleep * 2; in md_bitmap_flush() 1722 bitmap->daemon_lastrun -= sleep; in md_bitmap_flush() 1724 bitmap->daemon_lastrun -= sleep; in md_bitmap_flush() 1726 bitmap->daemon_lastrun -= sleep; in md_bitmap_flush()
|
/kernel/linux/linux-5.10/drivers/staging/rtl8192u/ieee80211/ |
H A D | ieee80211_softmac.c | 1694 short sleep; in ieee80211_sta_ps() local 1711 sleep = ieee80211_sta_ps_sleep(ieee, &th, &tl); in ieee80211_sta_ps() 1712 /* 2 wake, 1 sleep, 0 do nothing */ in ieee80211_sta_ps() 1713 if (sleep == 0) in ieee80211_sta_ps() 1716 if (sleep == 1) { in ieee80211_sta_ps() 1735 } else if (sleep == 2) { in ieee80211_sta_ps()
|
/kernel/linux/linux-6.6/drivers/atm/ |
H A D | he.c | 2337 int retry = 0, sleep = 1, tx_inuse; in he_close() local 2396 msleep(sleep); in he_close() 2397 if (sleep < 250) in he_close() 2398 sleep = sleep * 2; in he_close()
|
/kernel/linux/linux-6.6/drivers/staging/rtl8192e/ |
H A D | rtllib_softmac.c | 1807 short sleep; in rtllib_sta_ps() local 1822 sleep = rtllib_sta_ps_sleep(ieee, &time); in rtllib_sta_ps() 1823 /* 2 wake, 1 sleep, 0 do nothing */ in rtllib_sta_ps() 1824 if (sleep == 0) in rtllib_sta_ps() 1826 if (sleep == 1) { in rtllib_sta_ps() 1843 } else if (sleep == 2) { in rtllib_sta_ps()
|
/kernel/linux/linux-6.6/drivers/staging/rtl8192u/ieee80211/ |
H A D | ieee80211_softmac.c | 1699 short sleep; in ieee80211_sta_ps() local 1717 sleep = ieee80211_sta_ps_sleep(ieee, &th, &tl); in ieee80211_sta_ps() 1718 /* 2 wake, 1 sleep, 0 do nothing */ in ieee80211_sta_ps() 1719 if (sleep == 0) in ieee80211_sta_ps() 1722 if (sleep == 1) { in ieee80211_sta_ps() 1741 } else if (sleep == 2) { in ieee80211_sta_ps()
|
/kernel/linux/linux-6.6/drivers/md/ |
H A D | md-bitmap.c | 72 * In general it is not permitted to sleep in that context as it 537 pr_debug(" daemon sleep: %us\n", le32_to_cpu(sb->daemon_sleep)); in md_bitmap_print_sb() 688 reason = "daemon sleep period out of range"; in md_bitmap_read_sb() 1785 long sleep; in md_bitmap_flush() local 1793 sleep = mddev->bitmap_info.daemon_sleep * 2; in md_bitmap_flush() 1794 bitmap->daemon_lastrun -= sleep; in md_bitmap_flush() 1796 bitmap->daemon_lastrun -= sleep; in md_bitmap_flush() 1798 bitmap->daemon_lastrun -= sleep; in md_bitmap_flush()
|
/foundation/multimedia/av_codec/test/unittest/audio_test/ |
H A D | audio_decoder_avbuffer_capi_unit_test.cpp | 704 sleep(1); in HWTEST_F() 1021 sleep(1); in HWTEST_F() 1345 sleep(1); in HWTEST_F() 1657 sleep(1); in HWTEST_F() 1968 sleep(1); in HWTEST_F() 2220 sleep(1); in HWTEST_F() 2430 sleep(1); in HWTEST_F() 2650 sleep(1); in HWTEST_F() 2842 sleep(1); in HWTEST_F()
|
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
H A D | sdio.c | 723 /* Put device to sleep, turn off KSO */ in brcmf_sdio_kso_control() 733 * the sdiod sleep write access is synced to PMU 32khz clk in brcmf_sdio_kso_control() 953 brcmf_sdio_bus_sleep(struct brcmf_sdio *bus, bool sleep, bool pendok) in brcmf_sdio_bus_sleep() argument 959 (sleep ? "SLEEP" : "WAKE"), in brcmf_sdio_bus_sleep() 965 if (sleep == bus->sleeping) in brcmf_sdio_bus_sleep() 968 /* Going to sleep */ in brcmf_sdio_bus_sleep() 969 if (sleep) { in brcmf_sdio_bus_sleep() 984 brcmf_err("error while changing bus sleep state %d\n", in brcmf_sdio_bus_sleep() 992 if (sleep) { in brcmf_sdio_bus_sleep() 999 bus->sleeping = sleep; in brcmf_sdio_bus_sleep() 4605 brcmf_sdio_sleep(struct brcmf_sdio *bus, bool sleep) brcmf_sdio_sleep() argument [all...] |
/kernel/linux/linux-5.10/drivers/target/iscsi/ |
H A D | iscsi_target.c | 2491 * We need to sleep in these cases (by returning 1) until the Logout in iscsit_handle_logout_cmd() 4445 int sleep = 1; in iscsit_logout_post_handler_closesession() local 4449 * sleep if iscsit_close_connection() has not already occured. in iscsit_logout_post_handler_closesession() 4452 * always sleep waiting for RX/TX thread shutdown to complete in iscsit_logout_post_handler_closesession() 4456 sleep = cmpxchg(&conn->tx_thread_active, true, false); in iscsit_logout_post_handler_closesession() 4457 if (!sleep) in iscsit_logout_post_handler_closesession() 4466 iscsit_stop_session(sess, sleep, sleep); in iscsit_logout_post_handler_closesession() 4473 int sleep = 1; in iscsit_logout_post_handler_samecid() local 4476 sleep in iscsit_logout_post_handler_samecid() [all...] |
/kernel/linux/linux-5.10/fs/btrfs/ |
H A D | disk-io.c | 1731 /* Make the cleaner go to sleep early. */ in cleaner_kthread() 1733 goto sleep; in cleaner_kthread() 1740 goto sleep; in cleaner_kthread() 1743 goto sleep; in cleaner_kthread() 1751 goto sleep; in cleaner_kthread() 1774 sleep: in cleaner_kthread() 1808 goto sleep; in transaction_kthread() 1817 goto sleep; in transaction_kthread() 1827 goto sleep; in transaction_kthread() 1834 sleep in transaction_kthread() [all...] |
/kernel/linux/linux-6.6/fs/btrfs/ |
H A D | disk-io.c | 1469 /* Make the cleaner go to sleep early. */ in cleaner_kthread() 1471 goto sleep; in cleaner_kthread() 1478 goto sleep; in cleaner_kthread() 1481 goto sleep; in cleaner_kthread() 1489 goto sleep; in cleaner_kthread() 1522 sleep: in cleaner_kthread() 1556 goto sleep; in transaction_kthread() 1567 goto sleep; in transaction_kthread() 1577 goto sleep; in transaction_kthread() 1584 sleep in transaction_kthread() [all...] |
/kernel/linux/linux-6.6/drivers/target/iscsi/ |
H A D | iscsi_target.c | 2532 * We need to sleep in these cases (by returning 1) until the Logout in iscsit_handle_logout_cmd() 4596 int sleep = 1; in iscsit_logout_post_handler_closesession() local 4600 * sleep if iscsit_close_connection() has not already occured. in iscsit_logout_post_handler_closesession() 4603 * always sleep waiting for RX/TX thread shutdown to complete in iscsit_logout_post_handler_closesession() 4607 sleep = cmpxchg(&conn->tx_thread_active, true, false); in iscsit_logout_post_handler_closesession() 4608 if (!sleep) in iscsit_logout_post_handler_closesession() 4617 iscsit_stop_session(sess, sleep, sleep); in iscsit_logout_post_handler_closesession() 4624 int sleep = 1; in iscsit_logout_post_handler_samecid() local 4627 sleep in iscsit_logout_post_handler_samecid() [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
H A D | sdio.c | 734 /* Put device to sleep, turn off KSO */ in brcmf_sdio_kso_control() 744 * the sdiod sleep write access is synced to PMU 32khz clk in brcmf_sdio_kso_control() 964 brcmf_sdio_bus_sleep(struct brcmf_sdio *bus, bool sleep, bool pendok) in brcmf_sdio_bus_sleep() argument 970 (sleep ? "SLEEP" : "WAKE"), in brcmf_sdio_bus_sleep() 976 if (sleep == bus->sleeping) in brcmf_sdio_bus_sleep() 979 /* Going to sleep */ in brcmf_sdio_bus_sleep() 980 if (sleep) { in brcmf_sdio_bus_sleep() 995 brcmf_err("error while changing bus sleep state %d\n", in brcmf_sdio_bus_sleep() 1003 if (sleep) { in brcmf_sdio_bus_sleep() 1010 bus->sleeping = sleep; in brcmf_sdio_bus_sleep() 4632 brcmf_sdio_sleep(struct brcmf_sdio *bus, bool sleep) brcmf_sdio_sleep() argument [all...] |
/kernel/linux/linux-5.10/sound/core/ |
H A D | pcm_native.c | 1497 wake_up(&runtime->sleep); in snd_pcm_post_stop() 1616 wake_up(&runtime->sleep); in snd_pcm_post_pause() 1688 wake_up(&runtime->sleep); in snd_pcm_post_suspend() 2136 add_wait_queue(&to_check->sleep, &wait); in snd_pcm_drain() 2154 remove_wait_queue(&to_check->sleep, &wait); in snd_pcm_drain() 3560 poll_wait(file, &runtime->sleep, wait); in snd_pcm_poll()
|
/kernel/linux/linux-6.6/sound/core/ |
H A D | pcm_native.c | 1522 wake_up(&runtime->sleep); in snd_pcm_post_stop() 1637 wake_up(&runtime->sleep); in snd_pcm_post_pause() 1710 wake_up(&runtime->sleep); in snd_pcm_post_suspend() 2153 add_wait_queue(&to_check->sleep, &wait); in snd_pcm_drain() 2171 remove_wait_queue(&to_check->sleep, &wait); in snd_pcm_drain() 3612 poll_wait(file, &runtime->sleep, wait); in snd_pcm_poll()
|