Home
last modified time | relevance | path

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

/PHP-7.4/ext/standard/tests/file/
H A Dbug44607.phpt5 $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-7.4/ext/standard/tests/streams/
H A Dstream_get_line_nb.phpt23 $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 Dbug60455_02.phpt2 Bug #60455: stream_get_line and 1-line followed by eol input
/PHP-7.4/sapi/phpdbg/
H A Dphpdbg_eol.c40 PHPDBG_G(eol) = PHPDBG_EOL_CRLF; in phpdbg_eol_global_update()
42 PHPDBG_G(eol) = PHPDBG_EOL_LF; in phpdbg_eol_global_update()
44 PHPDBG_G(eol) = PHPDBG_EOL_CR; in phpdbg_eol_global_update()
106 if (PHPDBG_EOL_CRLF == PHPDBG_G(eol)) { /* XXX add LFCR case if it's gonna be needed */ in phpdbg_eol_convert()
136 } else if (PHPDBG_EOL_LF == PHPDBG_G(eol) || PHPDBG_EOL_CR == PHPDBG_G(eol)) { in phpdbg_eol_convert()
139 if (PHPDBG_EOL_LF == PHPDBG_G(eol)) { in phpdbg_eol_convert()
H A Dphpdbg_prompt.h63 PHPDBG_COMMAND(eol);
H A Dphpdbg.h292 int eol; /* type of line ending to use */ variable
H A Dphpdbg.c74 …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()
2129 settings->eol = PHPDBG_G(eol); in main()
H A Dphpdbg_prompt.c97 PHPDBG_COMMAND_D(eol, "set EOL", 'E', NULL, "|s", 0),
1915 PHPDBG_COMMAND(eol) /* {{{ */ in PHPDBG_COMMAND() argument
/PHP-7.4/ext/com_dotnet/tests/
H A Dbug66431_1.phpt37 /* trim the returned text as we'll get windows eol from a word doc. */
/PHP-7.4/ext/soap/
H A Dphp_http.c1369 char *eol; in get_http_header_value_nodup() local
1379 eol = strchr(tmp, '\n'); in get_http_header_value_nodup()
1380 if (eol == NULL) { in get_http_header_value_nodup()
1381 eol = headers + headerslen; in get_http_header_value_nodup()
1382 } else if (eol > tmp) { in get_http_header_value_nodup()
1383 if (*(eol-1) == '\r') { in get_http_header_value_nodup()
1384 eol--; in get_http_header_value_nodup()
1388 while (eol > tmp && (*(eol-1) == ' ' || *(eol-1) == '\t')) { in get_http_header_value_nodup()
1389 eol--; in get_http_header_value_nodup()
1393 *len = eol - tmp; in get_http_header_value_nodup()
/PHP-7.4/ext/ftp/
H A Dftp.c1320 char *data, *eol; in ftp_readline() local
1334 for (eol = data; rcvd; rcvd--, eol++) { in ftp_readline()
1335 if (*eol == '\r') { in ftp_readline()
1336 *eol = 0; in ftp_readline()
1337 ftp->extra = eol + 1; in ftp_readline()
1338 if (rcvd > 1 && *(eol + 1) == '\n') { in ftp_readline()
1346 } else if (*eol == '\n') { in ftp_readline()
1347 *eol = 0; in ftp_readline()
1348 ftp->extra = eol + 1; in ftp_readline()
1356 data = eol; in ftp_readline()
/PHP-7.4/main/streams/
H A Dstreams.c853 const char *cr, *lf, *eol = NULL; in php_stream_locate_eol() local
873 eol = cr; in php_stream_locate_eol()
877 eol = lf; in php_stream_locate_eol()
880 eol = memchr(readptr, '\r', avail); in php_stream_locate_eol()
883 eol = memchr(readptr, '\n', avail); in php_stream_locate_eol()
886 return eol; in php_stream_locate_eol()
926 const char *eol; in _php_stream_get_line() local
930 eol = php_stream_locate_eol(stream, NULL); in _php_stream_get_line()
932 if (eol) { in _php_stream_get_line()
933 cpysz = eol - readptr + 1; in _php_stream_get_line()
/PHP-7.4/ext/standard/
H A Dhttp_fopen_wrapper.c96 char *eol = header_start + (lc_eol - lc_header_start); in strip_header() local
100 memmove(header_start, eol+1, eollen); in strip_header()

Completed in 55 milliseconds