Lines Matching refs:err

118     DWORD err = GetLastError();  in uv__init_global_job_handle()  local
119 if (err != ERROR_ACCESS_DENIED) in uv__init_global_job_handle()
120 uv_fatal_error(err, "AssignProcessToJobObject"); in uv__init_global_job_handle()
529 int err = 0; in make_program_args() local
554 err = UV_ENOMEM; in make_program_args()
561 err = UV_ENOMEM; in make_program_args()
596 return err; in make_program_args()
894 int err = 0; in uv_spawn() local
927 err = uv__utf8_to_utf16_alloc(options->file, &application); in uv_spawn()
928 if (err) in uv_spawn()
931 err = make_program_args( in uv_spawn()
935 if (err) in uv_spawn()
939 err = make_program_env(options->env, &env); in uv_spawn()
940 if (err) in uv_spawn()
946 err = uv__utf8_to_utf16_alloc(options->cwd, &cwd); in uv_spawn()
947 if (err) in uv_spawn()
956 err = GetLastError(); in uv_spawn()
962 err = ERROR_OUTOFMEMORY; in uv_spawn()
968 err = GetLastError(); in uv_spawn()
982 err = ERROR_OUTOFMEMORY; in uv_spawn()
989 err = GetLastError(); in uv_spawn()
995 err = uv__stdio_create(loop, options, &child_stdio_buffer); in uv_spawn()
996 if (err) in uv_spawn()
1005 err = ERROR_FILE_NOT_FOUND; in uv_spawn()
1068 err = GetLastError(); in uv_spawn()
1088 DWORD err = GetLastError(); in uv_spawn() local
1089 if (err != ERROR_ACCESS_DENIED) in uv_spawn()
1090 uv_fatal_error(err, "AssignProcessToJobObject"); in uv_spawn()
1096 err = GetLastError(); in uv_spawn()
1128 assert(!err); in uv_spawn()
1138 err = uv_translate_sys_error(err); in uv_spawn()
1154 return err; in uv_spawn()
1291 int err; in uv__kill() local
1299 err = GetLastError(); in uv__kill()
1300 if (err == ERROR_ACCESS_DENIED) { in uv__kill()
1322 return uv_translate_sys_error(err); in uv__kill()
1355 int err; in uv_process_kill() local
1361 err = uv__kill(process->process_handle, signum); in uv_process_kill()
1362 if (err) { in uv_process_kill()
1363 return err; /* err is already translated. */ in uv_process_kill()
1373 int err; in uv_kill() local
1385 err = GetLastError(); in uv_kill()
1386 if (err == ERROR_INVALID_PARAMETER) { in uv_kill()
1389 return uv_translate_sys_error(err); in uv_kill()
1393 err = uv__kill(process_handle, signum); in uv_kill()
1396 return err; /* err is already translated. */ in uv_kill()