Searched refs:input_buflen (Results 1 – 4 of 4) sorted by relevance
/PHP-8.3/sapi/phpdbg/ |
H A D | phpdbg_io.c | 27 int bytes = PHPDBG_G(input_buflen), len = 0; in ZEND_EXTERN_MODULE_GLOBALS() 29 if (PHPDBG_G(input_buflen)) { in ZEND_EXTERN_MODULE_GLOBALS() 51 PHPDBG_G(input_buflen) = len + bytes - 1 - i; in ZEND_EXTERN_MODULE_GLOBALS() 52 if (PHPDBG_G(input_buflen)) { in ZEND_EXTERN_MODULE_GLOBALS() 53 memcpy(PHPDBG_G(input_buffer), buf + i + 1, PHPDBG_G(input_buflen)); in ZEND_EXTERN_MODULE_GLOBALS()
|
H A D | phpdbg_prompt.c | 467 PHPDBG_G(input_buflen) += bytes; in PHPDBG_COMMAND() 468 if (PHPDBG_G(input_buflen) <= 0) { in PHPDBG_COMMAND() 478 memmove(PHPDBG_G(input_buffer), ++buf, --PHPDBG_G(input_buflen)); in PHPDBG_COMMAND() 486 } while (--PHPDBG_G(input_buflen)); in PHPDBG_COMMAND() 489 PHPDBG_G(input_buflen) = buf - nl; in PHPDBG_COMMAND() 490 memmove(PHPDBG_G(input_buffer), nl, PHPDBG_G(input_buflen)); in PHPDBG_COMMAND() 492 PHPDBG_G(input_buflen) = 0; in PHPDBG_COMMAND() 496 smart_str_appendl(&code, PHPDBG_G(input_buffer), PHPDBG_G(input_buflen)); in PHPDBG_COMMAND() 497 PHPDBG_G(input_buflen) = 0; in PHPDBG_COMMAND() 499 …PDBG_STDIN].fd, PHPDBG_G(input_buffer) + PHPDBG_G(input_buflen), PHPDBG_MAX_CMD - PHPDBG_G(input_b… in PHPDBG_COMMAND()
|
H A D | phpdbg.h | 303 int input_buflen; /* length of stdin input buffer */ variable
|
H A D | phpdbg.c | 135 pg->input_buflen = 0; in php_phpdbg_globals_ctor() 1701 settings->input_buflen = PHPDBG_G(input_buflen); in main() 1702 memcpy(settings->input_buffer, PHPDBG_G(input_buffer), settings->input_buflen); in main()
|
Completed in 29 milliseconds