Home
last modified time | relevance | path

Searched refs:input_buffer_index (Results 1 – 1 of 1) sorted by relevance

/systemd-251/src/shared/
Dvarlink.c117 size_t input_buffer_index; member
508 if (MALLOC_SIZEOF_SAFE(v->input_buffer) <= v->input_buffer_index + v->input_buffer_size) { in varlink_read()
513 if (v->input_buffer_index == 0) { in varlink_read()
525 memcpy(b, v->input_buffer + v->input_buffer_index, v->input_buffer_size); in varlink_read()
528 v->input_buffer_index = 0; in varlink_read()
532 rs = MALLOC_SIZEOF_SAFE(v->input_buffer) - (v->input_buffer_index + v->input_buffer_size); in varlink_read()
536 … n = recv(v->fd, v->input_buffer + v->input_buffer_index + v->input_buffer_size, rs, MSG_DONTWAIT); in varlink_read()
541 n = read(v->fd, v->input_buffer + v->input_buffer_index + v->input_buffer_size, rs); in varlink_read()
577 assert(v->input_buffer_index + v->input_buffer_size <= MALLOC_SIZEOF_SAFE(v->input_buffer)); in varlink_parse_message()
579 begin = v->input_buffer + v->input_buffer_index; in varlink_parse_message()
[all …]