Home
last modified time | relevance | path

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

/PHP-5.3/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-5.3/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-5.3/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-5.3/ext/ftp/
H A Dftp.c1141 char *data, *eol; in ftp_readline() local
1155 for (eol = data; rcvd; rcvd--, eol++) { in ftp_readline()
1156 if (*eol == '\r') { in ftp_readline()
1157 *eol = 0; in ftp_readline()
1158 ftp->extra = eol + 1; in ftp_readline()
1159 if (rcvd > 1 && *(eol + 1) == '\n') { in ftp_readline()
1167 } else if (*eol == '\n') { in ftp_readline()
1168 *eol = 0; in ftp_readline()
1169 ftp->extra = eol + 1; in ftp_readline()
1177 data = eol; in ftp_readline()
/PHP-5.3/ext/soap/
H A Dphp_http.c1273 char *eol; in get_http_header_value() local
1277 eol = strchr(tmp, '\n'); in get_http_header_value()
1278 if (eol == NULL) { in get_http_header_value()
1279 eol = headers + headerslen; in get_http_header_value()
1280 } else if (eol > tmp && *(eol-1) == '\r') { in get_http_header_value()
1281 eol--; in get_http_header_value()
1283 return estrndup(tmp, eol - tmp); in get_http_header_value()
/PHP-5.3/main/streams/
H A Dstreams.c775 char *cr, *lf, *eol = NULL; in php_stream_locate_eol() local
795 eol = cr; in php_stream_locate_eol()
799 eol = lf; in php_stream_locate_eol()
802 eol = memchr(readptr, '\r', avail); in php_stream_locate_eol()
805 eol = memchr(readptr, '\n', avail); in php_stream_locate_eol()
808 return eol; in php_stream_locate_eol()
848 char *eol; in _php_stream_get_line() local
852 eol = php_stream_locate_eol(stream, NULL, 0 TSRMLS_CC); in _php_stream_get_line()
854 if (eol) { in _php_stream_get_line()
855 cpysz = eol - readptr + 1; in _php_stream_get_line()
/PHP-5.3/ext/sqlite/libsqlite/src/
H A Dvdbe.c4163 int n, eol, nField, i, c, nDelim; in sqliteVdbeExec() local
4176 eol = 0; in sqliteVdbeExec()
4177 while( eol==0 ){ in sqliteVdbeExec()
4191 eol = 1; in sqliteVdbeExec()
4201 eol = 1; in sqliteVdbeExec()
/PHP-5.3/sapi/thttpd/
H A Dthttpd_patch594 eol = strpbrk( protocol, " \t\n\r" );
595 if ( eol != (char*) 0 )
596 *eol = '\0';

Completed in 87 milliseconds