Lines Matching refs:type
166 size_t uv_handle_size(uv_handle_type type) { in uv_handle_size() argument
167 switch (type) { in uv_handle_size()
174 size_t uv_req_size(uv_req_type type) { in uv_req_size() argument
175 switch(type) { in uv_req_size()
329 if (handle->type != UV_TCP) in uv_tcp_bind()
380 if (handle->type != UV_UDP) in uv_udp_bind()
400 if (handle->type != UV_TCP) in uv_tcp_connect()
417 if (handle->type != UV_UDP) in uv_udp_connect()
445 if (handle->type != UV_UDP) in uv__udp_is_connected()
459 if (handle->type != UV_UDP) in uv__udp_check_before_send()
520 if (handle->type != UV_UDP || alloc_cb == NULL || recv_cb == NULL) in uv_udp_recv_start()
528 if (handle->type != UV_UDP) in uv_udp_recv_stop()
555 const char* type; in uv__print_handles() local
571 switch (h->type) { in uv__print_handles()
572 #define X(uc, lc) case UV_##uc: type = #lc; break; in uv__print_handles()
575 default: type = "<unknown>"; in uv__print_handles()
583 type, in uv__print_handles()
743 ent->type = uv__fs_get_dirent_type(dent); in uv_fs_scandir_next()
749 uv_dirent_type_t type; in uv__fs_get_dirent_type() local
754 type = UV_DIRENT_DIR; in uv__fs_get_dirent_type()
757 type = UV_DIRENT_FILE; in uv__fs_get_dirent_type()
760 type = UV_DIRENT_LINK; in uv__fs_get_dirent_type()
763 type = UV_DIRENT_FIFO; in uv__fs_get_dirent_type()
766 type = UV_DIRENT_SOCKET; in uv__fs_get_dirent_type()
769 type = UV_DIRENT_CHAR; in uv__fs_get_dirent_type()
772 type = UV_DIRENT_BLOCK; in uv__fs_get_dirent_type()
775 type = UV_DIRENT_UNKNOWN; in uv__fs_get_dirent_type()
778 type = UV_DIRENT_UNKNOWN; in uv__fs_get_dirent_type()
781 return type; in uv__fs_get_dirent_type()