Lines Matching refs:buf
26 PHPDBG_API int phpdbg_consume_stdin_line(char *buf) { in ZEND_EXTERN_MODULE_GLOBALS()
30 memcpy(buf, PHPDBG_G(input_buffer), bytes); in ZEND_EXTERN_MODULE_GLOBALS()
42 if (buf[i] == '\x03') { in ZEND_EXTERN_MODULE_GLOBALS()
44 memmove(buf + i, buf + i + 1, len + bytes - i - 1); in ZEND_EXTERN_MODULE_GLOBALS()
50 if (buf[i] == '\n') { in ZEND_EXTERN_MODULE_GLOBALS()
53 memcpy(PHPDBG_G(input_buffer), buf + i + 1, PHPDBG_G(input_buflen)); in ZEND_EXTERN_MODULE_GLOBALS()
56 buf[i + 1] = 0; in ZEND_EXTERN_MODULE_GLOBALS()
63 …} while ((bytes = phpdbg_mixed_read(PHPDBG_G(io)[PHPDBG_STDIN].fd, buf + len, PHPDBG_MAX_CMD - len… in ZEND_EXTERN_MODULE_GLOBALS()
95 char buf[PHPDBG_MAX_CMD]; in phpdbg_output_pager() local
97 phpdbg_consume_stdin_line(buf); in phpdbg_output_pager()
98 if (*buf == 'q') { in phpdbg_output_pager()