Home
last modified time | relevance | path

Searched refs:bufptr (Results 1 – 1 of 1) sorted by relevance

/PHP-8.3/sapi/phpdbg/
H A Dphpdbg_list.c233 char *bufptr, *endptr; in phpdbg_compile_file() local
238 if (zend_stream_fixup(file, &bufptr, &len) == FAILURE) { in phpdbg_compile_file()
247 data.buf = estrndup(bufptr, len); in phpdbg_compile_file()
260 for (line = 0, bufptr = data.buf - 1, endptr = data.buf + data.len; ++bufptr < endptr;) { in phpdbg_compile_file()
261 if (*bufptr == '\n') { in phpdbg_compile_file()
262 dataptr->line[++line] = (uint32_t)(bufptr - data.buf) + 1; in phpdbg_compile_file()
317 char *bufptr, *endptr; in phpdbg_compile_string() local
327 …for (line = 0, bufptr = dataptr->buf - 1, endptr = dataptr->buf + dataptr->len; ++bufptr < endptr;… in phpdbg_compile_string()
328 if (*bufptr == '\n') { in phpdbg_compile_string()
329 dataptr->line[++line] = (uint32_t)(bufptr - dataptr->buf) + 1; in phpdbg_compile_string()

Completed in 5 milliseconds