Lines Matching refs:ASSERT_OK
62 ASSERT_OK(uv_loop_configure(uv_default_loop(), UV_METRICS_IDLE_TIME)); in TEST_IMPL()
63 ASSERT_OK(uv_timer_init(uv_default_loop(), &timer)); in TEST_IMPL()
64 ASSERT_OK(uv_timer_start(&timer, timer_spin_cb, timeout, 0)); in TEST_IMPL()
66 ASSERT_OK(uv_run(uv_default_loop(), UV_RUN_DEFAULT)); in TEST_IMPL()
90 ASSERT_OK(uv_loop_init(&loop)); in metrics_routine_cb()
91 ASSERT_OK(uv_loop_configure(&loop, UV_METRICS_IDLE_TIME)); in metrics_routine_cb()
92 ASSERT_OK(uv_timer_init(&loop, &timer)); in metrics_routine_cb()
93 ASSERT_OK(uv_timer_start(&timer, timer_spin_cb, timeout, 0)); in metrics_routine_cb()
95 ASSERT_OK(uv_run(&loop, UV_RUN_DEFAULT)); in metrics_routine_cb()
107 ASSERT_OK(uv_loop_close(&loop)); in metrics_routine_cb()
116 ASSERT_OK(uv_thread_create(&threads[i], metrics_routine_cb, NULL)); in TEST_IMPL()
139 ASSERT_OK(uv_loop_configure(uv_default_loop(), UV_METRICS_IDLE_TIME)); in TEST_IMPL()
140 ASSERT_OK(uv_timer_init(uv_default_loop(), &timer)); in TEST_IMPL()
141 ASSERT_OK(uv_timer_start(&timer, timer_noop_cb, 0, 0)); in TEST_IMPL()
143 ASSERT_OK(uv_run(uv_default_loop(), UV_RUN_DEFAULT)); in TEST_IMPL()
146 ASSERT_OK(uv_metrics_idle_time(uv_default_loop())); in TEST_IMPL()
148 ASSERT_OK(uv_metrics_info(uv_default_loop(), &metrics)); in TEST_IMPL()
159 ASSERT_OK(uv_metrics_info(uv_default_loop(), &metrics)); in close_cb()
171 ASSERT_OK(uv_metrics_info(uv_default_loop(), &metrics)); in write_cb()
179 ASSERT_OK(uv_fs_close(uv_default_loop(), in write_cb()
189 ASSERT_OK(uv_metrics_info(uv_default_loop(), &metrics)); in create_cb()
198 ASSERT_OK(uv_fs_write(uv_default_loop(), in create_cb()
213 ASSERT_OK(uv_metrics_info(uv_default_loop(), &metrics)); in prepare_cb()
217 ASSERT_OK(uv_fs_open(uv_default_loop(), in prepare_cb()
232 ASSERT_OK(uv_prepare_init(uv_default_loop(), &prepare)); in TEST_IMPL()
233 ASSERT_OK(uv_prepare_start(&prepare, prepare_cb)); in TEST_IMPL()
235 ASSERT_OK(uv_run(uv_default_loop(), UV_RUN_DEFAULT)); in TEST_IMPL()
248 ASSERT_OK(uv_metrics_info(uv_default_loop(), &metrics)); in fs_prepare_cb()
284 ASSERT_OK(uv_queue_work(uv_default_loop(), in fs_write_cb()
288 ASSERT_OK(uv_queue_work(uv_default_loop(), in fs_write_cb()
322 ASSERT_OK(uv_loop_configure(uv_default_loop(), UV_METRICS_IDLE_TIME)); in TEST_IMPL()
327 ASSERT_OK(uv_prepare_init(uv_default_loop(), &prepare)); in TEST_IMPL()
328 ASSERT_OK(uv_prepare_start(&prepare, fs_prepare_cb)); in TEST_IMPL()
339 ASSERT_OK(uv_fs_write(uv_default_loop(), in TEST_IMPL()
346 ASSERT_OK(uv_fs_stat(uv_default_loop(), in TEST_IMPL()
350 ASSERT_OK(uv_fs_stat(uv_default_loop(), in TEST_IMPL()
354 ASSERT_OK(uv_random(uv_default_loop(), in TEST_IMPL()
360 ASSERT_OK(uv_getaddrinfo(uv_default_loop(), in TEST_IMPL()
371 ASSERT_OK(uv_run(uv_default_loop(), UV_RUN_DEFAULT)); in TEST_IMPL()
373 ASSERT_OK(uv_metrics_info(uv_default_loop(), &metrics)); in TEST_IMPL()