Lines Matching defs:loop
29 std::string ScriptPath(uv_loop_t* loop, const std::string& script_name) {
35 if (0 == uv_fs_realpath(loop, &req, script_name.c_str(), nullptr)) {
99 explicit RequestQueueData(uv_loop_t* loop)
101 int err = uv_async_init(loop, &async_, [](uv_async_t* async) {
285 uv_loop_t loop;
286 loop.data = nullptr;
287 int err = uv_loop_init(&loop);
289 std::shared_ptr<RequestQueueData> queue(new RequestQueueData(&loop),
291 std::string script_path = ScriptPath(&loop, script_name_);
303 &loop,
318 uv_run(&loop, UV_RUN_DEFAULT);
319 CheckedUvLoopClose(&loop);