Searched refs:eol (Results 1 – 13 of 13) sorted by relevance
/PHP-8.0/ext/standard/tests/file/ |
H A D | bug44607.phpt | 5 $eol = '<EOL>'; 8 $data .= $eol; 12 var_dump(strlen(stream_get_line($fd, 15000, $eol))); 13 var_dump(strlen(stream_get_line($fd, 15000, $eol))); 15 var_dump(strlen(stream_get_line($fd, 15000, $eol))); 16 var_dump(strlen(stream_get_line($fd, 15000, $eol)));
|
/PHP-8.0/ext/standard/tests/streams/ |
H A D | stream_get_line_nb.phpt | 23 $eol = '<EOL>'; 26 var_dump(stream_get_line($sockets[1], 8192, $eol)); // Does not returns incomplete line (EOL not fo… 27 var_dump(stream_get_line($sockets[1], 8192, $eol)); 29 fwrite($sockets[0], ", $eol"); 30 var_dump(stream_get_line($sockets[1], 8192, $eol)); // Returns full line (EOL found) 31 var_dump(stream_get_line($sockets[1], 8192, $eol)); // Nothing to read 32 var_dump(stream_get_line($sockets[1], 8192, $eol)); 35 var_dump(stream_get_line($sockets[1], strlen("incomplete line"), $eol)); // EOL not found but $leng… 38 var_dump(stream_get_line($sockets[1], 8192, $eol)); // Does not returns incomplete line (EOL not fo… 42 var_dump(stream_get_line($sockets[1], 8192, $eol)); // Does not returns incomplete line (EOL not fo… [all …]
|
H A D | bug60455_02.phpt | 2 Bug #60455: stream_get_line and 1-line followed by eol input
|
/PHP-8.0/sapi/phpdbg/ |
H A D | phpdbg_eol.c | 38 PHPDBG_G(eol) = PHPDBG_EOL_CRLF; in phpdbg_eol_global_update() 40 PHPDBG_G(eol) = PHPDBG_EOL_LF; in phpdbg_eol_global_update() 42 PHPDBG_G(eol) = PHPDBG_EOL_CR; in phpdbg_eol_global_update() 104 if (PHPDBG_EOL_CRLF == PHPDBG_G(eol)) { /* XXX add LFCR case if it's gonna be needed */ in phpdbg_eol_convert() 134 } else if (PHPDBG_EOL_LF == PHPDBG_G(eol) || PHPDBG_EOL_CR == PHPDBG_G(eol)) { in phpdbg_eol_convert() 137 if (PHPDBG_EOL_LF == PHPDBG_G(eol)) { in phpdbg_eol_convert()
|
H A D | phpdbg_prompt.h | 61 PHPDBG_COMMAND(eol);
|
H A D | phpdbg.h | 290 int eol; /* type of line ending to use */ variable
|
H A D | phpdbg.c | 74 …STD_PHP_INI_ENTRY("phpdbg.eol", "2", PHP_INI_ALL, OnUpdateEol, eol, zend_phpdbg_globals, phpdbg_gl… 179 pg->eol = PHPDBG_EOL_LF; in php_phpdbg_globals_ctor() 2069 settings->eol = PHPDBG_G(eol); in main()
|
H A D | phpdbg_prompt.c | 95 PHPDBG_COMMAND_D(eol, "set EOL", 'E', NULL, "|s", 0), 1905 PHPDBG_COMMAND(eol) /* {{{ */ in PHPDBG_COMMAND() argument
|
/PHP-8.0/ext/com_dotnet/tests/ |
H A D | bug66431_1.phpt | 37 /* trim the returned text as we'll get windows eol from a word doc. */
|
/PHP-8.0/ext/soap/ |
H A D | php_http.c | 1373 char *eol; in get_http_header_value_nodup() local 1383 eol = strchr(tmp, '\n'); in get_http_header_value_nodup() 1384 if (eol == NULL) { in get_http_header_value_nodup() 1385 eol = headers + headerslen; in get_http_header_value_nodup() 1386 } else if (eol > tmp) { in get_http_header_value_nodup() 1387 if (*(eol-1) == '\r') { in get_http_header_value_nodup() 1388 eol--; in get_http_header_value_nodup() 1392 while (eol > tmp && (*(eol-1) == ' ' || *(eol-1) == '\t')) { in get_http_header_value_nodup() 1393 eol--; in get_http_header_value_nodup() 1397 *len = eol - tmp; in get_http_header_value_nodup()
|
/PHP-8.0/ext/ftp/ |
H A D | ftp.c | 1284 char *data, *eol; in ftp_readline() local 1298 for (eol = data; rcvd; rcvd--, eol++) { in ftp_readline() 1299 if (*eol == '\r') { in ftp_readline() 1300 *eol = 0; in ftp_readline() 1301 ftp->extra = eol + 1; in ftp_readline() 1302 if (rcvd > 1 && *(eol + 1) == '\n') { in ftp_readline() 1310 } else if (*eol == '\n') { in ftp_readline() 1311 *eol = 0; in ftp_readline() 1312 ftp->extra = eol + 1; in ftp_readline() 1320 data = eol; in ftp_readline()
|
/PHP-8.0/main/streams/ |
H A D | streams.c | 851 const char *cr, *lf, *eol = NULL; in php_stream_locate_eol() local 871 eol = cr; in php_stream_locate_eol() 875 eol = lf; in php_stream_locate_eol() 878 eol = memchr(readptr, '\r', avail); in php_stream_locate_eol() 881 eol = memchr(readptr, '\n', avail); in php_stream_locate_eol() 884 return eol; in php_stream_locate_eol() 924 const char *eol; in _php_stream_get_line() local 928 eol = php_stream_locate_eol(stream, NULL); in _php_stream_get_line() 930 if (eol) { in _php_stream_get_line() 931 cpysz = eol - readptr + 1; in _php_stream_get_line()
|
/PHP-8.0/ext/standard/ |
H A D | http_fopen_wrapper.c | 94 char *eol = header_start + (lc_eol - lc_header_start); in strip_header() local 98 memmove(header_start, eol+1, eollen); in strip_header()
|
Completed in 43 milliseconds