Home
last modified time | relevance | path

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

/PHP-7.1/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.1/ext/standard/tests/streams/
H A Dstream_get_line_nb.phpt23 $eol = b'<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], b", $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(b"incomplete line"), $eol)); // EOL not found but $len…
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.1/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()
97 if (PHPDBG_EOL_CRLF == PHPDBG_G(eol)) { /* XXX add LFCR case if it's gonna be needed */ in phpdbg_eol_convert()
133 } else if (PHPDBG_EOL_LF == PHPDBG_G(eol) || PHPDBG_EOL_CR == PHPDBG_G(eol)) { in phpdbg_eol_convert()
136 if (PHPDBG_EOL_LF == PHPDBG_G(eol)) { in phpdbg_eol_convert()
H A Dphpdbg_prompt.h63 PHPDBG_COMMAND(eol);
H A Dphpdbg.h290 int eol; /* type of line ending to use */ variable
H A Dphpdbg.c180 pg->eol = PHPDBG_EOL_LF; in php_phpdbg_globals_ctor()
2125 settings->eol = PHPDBG_G(eol); in main()
H A Dphpdbg_prompt.c100 PHPDBG_COMMAND_D(eol, "set EOL", 'E', NULL, "|s", 0),
1952 PHPDBG_COMMAND(eol) /* {{{ */ in PHPDBG_COMMAND() argument
/PHP-7.1/ext/mbstring/libmbfl/tests/conv_encoding.tests/
H A Dgen_exp.c415 int eol = 0; in main() local
425 eol = 1; in main()
433 if (eol) in main()
440 eol = 1; in main()
451 if (eol) in main()
/PHP-7.1/ext/ftp/
H A Dftp.c1183 char *data, *eol; in ftp_readline() local
1197 for (eol = data; rcvd; rcvd--, eol++) { in ftp_readline()
1198 if (*eol == '\r') { in ftp_readline()
1199 *eol = 0; in ftp_readline()
1200 ftp->extra = eol + 1; in ftp_readline()
1201 if (rcvd > 1 && *(eol + 1) == '\n') { in ftp_readline()
1209 } else if (*eol == '\n') { in ftp_readline()
1210 *eol = 0; in ftp_readline()
1211 ftp->extra = eol + 1; in ftp_readline()
1219 data = eol; in ftp_readline()
/PHP-7.1/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.1/ext/soap/
H A Dphp_http.c1354 char *eol; in get_http_header_value() local
1358 eol = strchr(tmp, '\n'); in get_http_header_value()
1359 if (eol == NULL) { in get_http_header_value()
1360 eol = headers + headerslen; in get_http_header_value()
1361 } else if (eol > tmp && *(eol-1) == '\r') { in get_http_header_value()
1362 eol--; in get_http_header_value()
1364 return estrndup(tmp, eol - tmp); in get_http_header_value()
/PHP-7.1/main/streams/
H A Dstreams.c828 const char *cr, *lf, *eol = NULL; in php_stream_locate_eol() local
848 eol = cr; in php_stream_locate_eol()
852 eol = lf; in php_stream_locate_eol()
855 eol = memchr(readptr, '\r', avail); in php_stream_locate_eol()
858 eol = memchr(readptr, '\n', avail); in php_stream_locate_eol()
861 return eol; in php_stream_locate_eol()
901 const char *eol; in _php_stream_get_line() local
905 eol = php_stream_locate_eol(stream, NULL); in _php_stream_get_line()
907 if (eol) { in _php_stream_get_line()
908 cpysz = eol - readptr + 1; in _php_stream_get_line()
/PHP-7.1/ext/standard/
H A Dhttp_fopen_wrapper.c98 char *eol = header_start + (lc_eol - lc_header_start); in strip_header() local
104 memmove(header_start, eol+1, eollen); in strip_header()

Completed in 62 milliseconds