Lines Matching refs:NULL
72 return NULL; in socket_new()
93 CHECK(socket != NULL); in socket_listen()
115 CHECK(socket != NULL); in socket_accept()
118 OSI_NO_INTR(fd = accept(socket->fd, NULL, NULL)); in socket_accept()
121 return NULL; in socket_accept()
131 CHECK(socket != NULL); in socket_read()
132 CHECK(buf != NULL); in socket_read()
141 CHECK(socket != NULL); in socket_write()
142 CHECK(buf != NULL); in socket_write()
152 CHECK(socket != NULL); in socket_write_and_transfer_fd()
153 CHECK(buf != NULL); in socket_write_and_transfer_fd()
168 msg.msg_name = NULL; in socket_write_and_transfer_fd()
185 CHECK(socket != NULL); in socket_bytes_available()
194 CHECK(socket != NULL); in socket_register()
203 void (*read_fn)(void*) = (read_cb != NULL) ? internal_read_ready : NULL; in socket_register()
204 void (*write_fn)(void*) = (write_cb != NULL) ? internal_write_ready : NULL; in socket_register()
211 CHECK(socket != NULL); in socket_unregister()
214 socket->reactor_object = NULL; in socket_unregister()
218 CHECK(context != NULL); in internal_read_ready()
225 CHECK(context != NULL); in internal_write_ready()