Searched refs:eol (Results 1 – 13 of 13) sorted by relevance
/PHP-7.4/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-7.4/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-7.4/sapi/phpdbg/ |
H A D | phpdbg_eol.c | 40 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 D | phpdbg_prompt.h | 63 PHPDBG_COMMAND(eol);
|
H A D | phpdbg.h | 292 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() 2129 settings->eol = PHPDBG_G(eol); in main()
|
H A D | phpdbg_prompt.c | 97 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 D | bug66431_1.phpt | 37 /* trim the returned text as we'll get windows eol from a word doc. */
|
/PHP-7.4/ext/soap/ |
H A D | php_http.c | 1369 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 D | ftp.c | 1320 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 D | streams.c | 853 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 D | http_fopen_wrapper.c | 96 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