Searched refs:left_buf (Results 1 – 2 of 2) sorted by relevance
| /f-stack/dpdk/lib/librte_cmdline/ |
| H A D | cmdline_rdline.c | 63 cirbuf_init(&rdl->left, rdl->left_buf, 0, RDLINE_BUF_SIZE); in rdline_newline() 108 cirbuf_init(&rdl->left, rdl->left_buf, 0, RDLINE_BUF_SIZE); in rdline_reset() 127 memcpy(rdl->left_buf+len_l, rdl->right_buf, len_r); in rdline_get_buffer() 129 rdl->left_buf[len_l + len_r] = '\n'; in rdline_get_buffer() 130 rdl->left_buf[len_l + len_r + 1] = '\0'; in rdline_get_buffer() 131 return rdl->left_buf; in rdline_get_buffer() 359 rdl->left_buf[CIRBUF_GET_LEN(&rdl->left)] = '\0'; in rdline_char_in() 372 ret = rdl->complete(rdl, rdl->left_buf, in rdline_char_in() 402 ret = rdl->complete(rdl, rdl->left_buf, in rdline_char_in() 444 cirbuf_init(&rdl->left, rdl->left_buf, 0, RDLINE_BUF_SIZE); in rdline_char_in() [all …]
|
| H A D | cmdline_rdline.h | 68 char left_buf[RDLINE_BUF_SIZE+2]; /* reserve 2 chars for the \n\0 */ member
|