Searched defs:linebuf (Results 1 - 4 of 4) sorted by relevance
/vbox/src/VBox/Devices/PC/ipxe/src/tests/ |
H A D | linebuf_test.c | 4 #include <ipxe/linebuf.h> 14 struct line_buffer linebuf; local 20 memset ( &linebuf, 0, sizeof ( linebuf ) ); 22 frag_len = line_buffer ( &linebuf, data, len ); 30 if ( ( line = buffered_line ( &linebuf ) ) ) 34 empty_line_buffer ( &linebuf );
|
/vbox/src/VBox/Devices/PC/ipxe/src/core/ |
H A D | linebuf.c | 32 #include <ipxe/linebuf.h> 37 * @v linebuf Line buffer 40 char * buffered_line ( struct line_buffer *linebuf ) { 41 return ( linebuf->ready ? linebuf->data : NULL ); 47 * @v linebuf Line buffer 49 void empty_line_buffer ( struct line_buffer *linebuf ) { 50 free ( linebuf->data ); 51 linebuf->data = NULL; 52 linebuf 74 line_buffer( struct line_buffer *linebuf, const char *data, size_t len ) argument [all...] |
/vbox/src/VBox/RDP/client-1.8.3/ |
H A D | ctrl.c | 64 char linebuf[CTRL_LINEBUF_SIZE]; member in struct:_ctrl_slave_t 164 cmd = utils_string_unescape(slave->linebuf); 407 offs = strlen(it->linebuf); 408 res = recv(it->sock, it->linebuf + offs, CTRL_LINEBUF_SIZE - offs, 0); 412 if (it->linebuf[CTRL_LINEBUF_SIZE - 1] != '\0' && 413 it->linebuf[CTRL_LINEBUF_SIZE - 1] != '\n') 423 if ((p = strchr(it->linebuf, '\n')) == NULL) 430 if (p > it->linebuf && *(p - 1) != '\\') 439 /* strip new linebuf and dispatch command */ 442 memset(it->linebuf, [all...] |
/vbox/src/VBox/Devices/PC/ipxe/src/net/tcp/ |
H A D | httpcore.c | 44 #include <ipxe/linebuf.h> 144 struct line_buffer linebuf; member in struct:http_request 159 empty_line_buffer ( &http->linebuf ); 412 empty_line_buffer ( &http->linebuf ); 590 line_len = line_buffer ( &http->linebuf, iobuf->data, 599 line = buffered_line ( &http->linebuf );
|
Completed in 842 milliseconds