Lines Matching refs:loop

443   uv_loop_t* loop = uv_default_loop();  in TEST_IMPL()  local
453 r = uv_fs_event_init(loop, &fs_event); in TEST_IMPL()
457 r = uv_timer_init(loop, &timer); in TEST_IMPL()
462 uv_run(loop, UV_RUN_DEFAULT); in TEST_IMPL()
473 MAKE_VALGRIND_HAPPY(loop); in TEST_IMPL()
486 uv_loop_t* loop = uv_default_loop(); in TEST_IMPL() local
494 r = uv_fs_event_init(loop, &fs_event); in TEST_IMPL()
498 r = uv_timer_init(loop, &timer); in TEST_IMPL()
503 uv_run(loop, UV_RUN_DEFAULT); in TEST_IMPL()
511 MAKE_VALGRIND_HAPPY(loop); in TEST_IMPL()
520 uv_loop_t* loop; in TEST_IMPL()
525 loop = uv_default_loop(); in TEST_IMPL()
534 r = uv_fs_event_init(loop, &fs_event); in TEST_IMPL()
541 r = uv_timer_init(loop, &timer); in TEST_IMPL()
549 r = uv_fs_event_init(loop, &fs_event_root); in TEST_IMPL()
562 uv_run(loop, UV_RUN_DEFAULT); in TEST_IMPL()
575 MAKE_VALGRIND_HAPPY(loop); in TEST_IMPL()
584 uv_loop_t* loop; in TEST_IMPL() local
590 loop = uv_default_loop(); in TEST_IMPL()
602 r = uv_fs_event_init(loop, &fs_event); in TEST_IMPL()
606 r = uv_timer_init(loop, &timer); in TEST_IMPL()
611 uv_run(loop, UV_RUN_DEFAULT); in TEST_IMPL()
622 MAKE_VALGRIND_HAPPY(loop); in TEST_IMPL()
637 uv_loop_t* loop = uv_default_loop(); in TEST_IMPL() local
648 r = uv_fs_event_init(loop, &fs_event); in TEST_IMPL()
652 r = uv_timer_init(loop, &timer); in TEST_IMPL()
657 uv_run(loop, UV_RUN_DEFAULT); in TEST_IMPL()
668 MAKE_VALGRIND_HAPPY(loop); in TEST_IMPL()
682 uv_loop_t* loop; in TEST_IMPL() local
685 loop = uv_default_loop(); in TEST_IMPL()
701 uv_update_time(loop); in TEST_IMPL()
704 r = uv_fs_event_init(loop, &fs_event); in TEST_IMPL()
708 r = uv_timer_init(loop, &timer); in TEST_IMPL()
712 r = uv_run(loop, UV_RUN_DEFAULT); in TEST_IMPL()
721 MAKE_VALGRIND_HAPPY(loop); in TEST_IMPL()
732 uv_loop_t* loop; in TEST_IMPL() local
734 loop = uv_default_loop(); in TEST_IMPL()
737 ASSERT_OK(uv_fs_event_init(loop, watchers + 0)); in TEST_IMPL()
739 ASSERT_OK(uv_fs_event_init(loop, watchers + 1)); in TEST_IMPL()
741 ASSERT_OK(uv_timer_init(loop, &timer)); in TEST_IMPL()
743 ASSERT_OK(uv_run(loop, UV_RUN_DEFAULT)); in TEST_IMPL()
745 MAKE_VALGRIND_HAPPY(loop); in TEST_IMPL()
754 uv_loop_t* loop; in TEST_IMPL() local
757 loop = uv_default_loop(); in TEST_IMPL()
767 uv_update_time(loop); in TEST_IMPL()
770 r = uv_fs_event_init(loop, &fs_event); in TEST_IMPL()
779 r = uv_timer_init(loop, &timer); in TEST_IMPL()
790 uv_run(loop, UV_RUN_DEFAULT); in TEST_IMPL()
800 MAKE_VALGRIND_HAPPY(loop); in TEST_IMPL()
806 uv_loop_t* loop; in TEST_IMPL() local
815 loop = uv_default_loop(); in TEST_IMPL()
817 r = uv_fs_event_init(loop, &fs_event); in TEST_IMPL()
826 MAKE_VALGRIND_HAPPY(loop); in TEST_IMPL()
836 uv_loop_t* loop = uv_default_loop(); in TEST_IMPL() local
845 r = uv_fs_event_init(loop, &fs_event); in TEST_IMPL()
856 uv_run(loop, UV_RUN_DEFAULT); in TEST_IMPL()
865 MAKE_VALGRIND_HAPPY(loop); in TEST_IMPL()
874 uv_loop_t* loop = uv_default_loop(); in TEST_IMPL() local
883 r = uv_fs_event_init(loop, &fs_event); in TEST_IMPL()
893 uv_run(loop, UV_RUN_DEFAULT); in TEST_IMPL()
902 MAKE_VALGRIND_HAPPY(loop); in TEST_IMPL()
910 r = uv_fs_event_init(handle->loop, &fs_event); in timer_cb()
925 uv_loop_t* loop; in TEST_IMPL() local
928 loop = uv_default_loop(); in TEST_IMPL()
930 r = uv_timer_init(loop, &timer); in TEST_IMPL()
936 uv_run(loop, UV_RUN_DEFAULT); in TEST_IMPL()
940 MAKE_VALGRIND_HAPPY(loop); in TEST_IMPL()
949 uv_loop_t* loop; in TEST_IMPL() local
952 loop = uv_default_loop(); in TEST_IMPL()
957 r = uv_fs_event_init(loop, &fs_event); in TEST_IMPL()
967 uv_run(loop, UV_RUN_DEFAULT); in TEST_IMPL()
975 MAKE_VALGRIND_HAPPY(loop); in TEST_IMPL()
983 uv_loop_t* loop; in TEST_IMPL() local
986 loop = uv_default_loop(); in TEST_IMPL()
991 r = uv_fs_event_init(loop, &fs_event); in TEST_IMPL()
1002 uv_update_time(loop); in TEST_IMPL()
1006 uv_run(loop, UV_RUN_DEFAULT); in TEST_IMPL()
1013 MAKE_VALGRIND_HAPPY(loop); in TEST_IMPL()
1025 uv_loop_t* loop; in TEST_IMPL() local
1028 loop = uv_default_loop(); in TEST_IMPL()
1033 r = uv_fs_event_init(loop, &fs_event); in TEST_IMPL()
1038 r = uv_timer_init(loop, &timer); in TEST_IMPL()
1043 uv_run(loop, UV_RUN_DEFAULT); in TEST_IMPL()
1047 uv_run(loop, UV_RUN_ONCE); in TEST_IMPL()
1056 MAKE_VALGRIND_HAPPY(loop); in TEST_IMPL()
1064 uv_loop_t* loop; in TEST_IMPL() local
1069 loop = uv_default_loop(); in TEST_IMPL()
1073 r = uv_fs_event_init(loop, &fs_event1); in TEST_IMPL()
1078 r = uv_fs_event_init(loop, &fs_event2); in TEST_IMPL()
1086 uv_run(loop, UV_RUN_DEFAULT); in TEST_IMPL()
1091 MAKE_VALGRIND_HAPPY(loop); in TEST_IMPL()
1099 uv_loop_t* loop = uv_default_loop(); in TEST_IMPL() local
1117 r = uv_fs_event_init(loop, &fs_event); in TEST_IMPL()
1137 uv_run(loop, UV_RUN_DEFAULT); in TEST_IMPL()
1144 MAKE_VALGRIND_HAPPY(loop); in TEST_IMPL()
1153 uv_loop_t* loop; in TEST_IMPL() local
1156 loop = uv_default_loop(); in TEST_IMPL()
1157 r = uv_fs_event_init(loop, &fs_event); in TEST_IMPL()
1165 MAKE_VALGRIND_HAPPY(loop); in TEST_IMPL()