Lines Matching refs:buffer
73 /* Buffer where to read / write data. */
74 uint8_t* buffer;
117 * buffer, len - Reader / writer buffer address.
127 void* buffer,
147 asio->buffer = (uint8_t*)buffer;
225 * buffer, len - Reader's buffer.
234 void* buffer,
240 AsyncSocketIO* const asio = _async_socket_rw_new(as, 1, buffer, len, io_cb,
248 * buffer, len - Writer's buffer.
257 const void* buffer,
263 AsyncSocketIO* const asio = _async_socket_rw_new(as, 0, (void*)buffer, len,
326 return asio->buffer;
332 return asio->buffer;
830 int res = socket_recv(as->fd, asr->buffer + asr->transferred,
833 res = socket_recv(as->fd, asr->buffer + asr->transferred,
940 int res = socket_send(as->fd, asw->buffer + asw->transferred,
943 res = socket_send(as->fd, asw->buffer + asw->transferred,
1207 void* buffer, uint32_t len,
1216 _async_socket_reader_new(as, buffer, len, reader_cb, reader_opaque,
1238 void* buffer, uint32_t len,
1245 async_socket_read_abs(as, buffer, len, reader_cb, reader_opaque, dl);
1250 const void* buffer, uint32_t len,
1259 _async_socket_writer_new(as, buffer, len, writer_cb, writer_opaque,
1281 const void* buffer, uint32_t len,
1288 async_socket_write_abs(as, buffer, len, writer_cb, writer_opaque, dl);