Searched refs:buffer_end (Results 1 – 2 of 2) sorted by relevance
37 char* buffer_end, in vbufprint() argument41 int len = vsnprintf( buffer, buffer_end - buffer, fmt, args ); in vbufprint()42 if (len < 0 || buffer+len >= buffer_end) { in vbufprint()43 if (buffer < buffer_end) in vbufprint()44 buffer_end[-1] = 0; in vbufprint()45 return buffer_end; in vbufprint()
668 static uint8_t *buffer_end(Buffer *buffer) in buffer_end() function770 ret = gnutls_read(vs->tls_session, buffer_end(&vs->input), 4096); in vnc_client_read()780 ret = socket_recv(vs->csock, buffer_end(&vs->input), 4096); in vnc_client_read()