Home
last modified time | relevance | path

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

/PHP-7.4/ext/standard/
H A Dfilters.c334 unsigned int line_len; member
367 inst->line_ccnt = line_len; in php_conv_base64_encode_ctor()
368 inst->line_len = line_len; in php_conv_base64_encode_ctor()
545 line_ccnt = inst->line_len; in php_conv_base64_encode_convert()
747 unsigned int line_len; member
976 inst->line_ccnt = line_len; in php_conv_qprint_encode_ctor()
977 inst->line_len = line_len; in php_conv_qprint_encode_ctor()
1301 unsigned int line_len = 0; in php_conv_open() local
1308 if (line_len < 4) { in php_conv_open()
1344 unsigned int line_len = 0; in php_conv_open() local
[all …]
H A Dhead.c48 ctr.line_len = (uint32_t)len; in PHP_FUNCTION()
65 ctr.line_len = (uint32_t)len; in PHP_FUNCTION()
182 ctr.line_len = (uint32_t) ZSTR_LEN(buf.s); in php_setcookie()
H A Dfile.c1016 size_t line_len = 0; in PHP_FUNCTION() local
1030 buf = php_stream_get_line(stream, NULL, 0, &line_len); in PHP_FUNCTION()
1035 RETVAL_STRINGL(buf, line_len); in PHP_FUNCTION()
1044 if (php_stream_get_line(stream, ZSTR_VAL(str), len, &line_len) == NULL) { in PHP_FUNCTION()
1050 if (line_len < (size_t)len / 2) { in PHP_FUNCTION()
1051 str = zend_string_truncate(str, line_len, 0); in PHP_FUNCTION()
1053 ZSTR_LEN(str) = line_len; in PHP_FUNCTION()
/PHP-7.4/ext/iconv/tests/
H A Diconv_mime_encode.phpt20 for ($line_len= 0; $line_len < 80; ++$line_len) {
21 print "-------- line length=$line_len\n";
22 $preference["line-length"] = $line_len;
28 var_dump(($max <= $line_len));
/PHP-7.4/ext/spl/
H A Dspl_directory.c2020 size_t line_len = 0; in spl_filesystem_file_read() local
2034 …if (php_stream_get_line(intern->u.file.stream, buf, intern->u.file.max_line_len + 1, &line_len) ==… in spl_filesystem_file_read()
2038 buf[line_len] = '\0'; in spl_filesystem_file_read()
2041 buf = php_stream_get_line(intern->u.file.stream, NULL, 0, &line_len); in spl_filesystem_file_read()
2049 if (line_len > 0 && buf[line_len - 1] == '\n') { in spl_filesystem_file_read()
2050 line_len--; in spl_filesystem_file_read()
2051 if (line_len > 0 && buf[line_len - 1] == '\r') { in spl_filesystem_file_read()
2052 line_len--; in spl_filesystem_file_read()
2054 buf[line_len] = '\0'; in spl_filesystem_file_read()
2059 intern->u.file.current_line_len = line_len; in spl_filesystem_file_read()
/PHP-7.4/main/
H A DSAPI.h169 size_t line_len; member
H A DSAPI.c621 ctr.line_len = header_line_len; in sapi_add_header_ex()
684 if (!p->line || !p->line_len) { in sapi_header_op()
688 header_line_len = p->line_len; in sapi_header_op()
H A Dmain.c1462 ctr.line_len = sizeof("HTTP/1.0 500 Internal Server Error") - 1; in php_error_cb()
/PHP-7.4/ext/pdo_pgsql/
H A Dpgsql_driver.c703 size_t line_len = 0; in PHP_METHOD() local
706 while ((buf = php_stream_get_line(stream, NULL, 0, &line_len)) != NULL) { in PHP_METHOD()
707 if (PQputCopyData(H->server, buf, line_len) != 1) { in PHP_METHOD()
/PHP-7.4/ext/phar/
H A Dphar_object.c170 ctr.line_len = spprintf(&(ctr.line), 0, "Content-type: %s", mime_type); in phar_file_action()
173 ctr.line_len = spprintf(&(ctr.line), 0, "Content-length: %u", info->uncompressed_filesize); in phar_file_action()
300 ctr.line_len = sizeof("HTTP/1.0 403 Access Denied")-1; in phar_do_403()
324 ctr.line_len = sizeof("HTTP/1.0 404 Not Found")-1; in phar_do_404()
779 ctr.line_len = sizeof("HTTP/1.1 301 Moved Permanently")-1; in PHP_METHOD()
792 ctr.line_len = spprintf(&(ctr.line), 4096, "Location: %s%s", path_info, entry + 1); in PHP_METHOD()
794 ctr.line_len = spprintf(&(ctr.line), 4096, "Location: %s%s", path_info, entry); in PHP_METHOD()
/PHP-7.4/ext/iconv/
H A Diconv.c2241 zend_long line_len = 76; in PHP_FUNCTION() local
2293 line_len = zval_get_long(pzval); in PHP_FUNCTION()
2310 ZSTR_VAL(field_value), ZSTR_LEN(field_value), line_len, lfchars, scheme_id, in PHP_FUNCTION()
/PHP-7.4/ext/openssl/
H A Dxp_ssl.c763 size_t line_len; in php_openssl_load_stream_cafile() local
778 line = php_stream_get_line(stream, NULL, 0, &line_len); in php_openssl_load_stream_cafile()
796 line = php_stream_get_line(stream, NULL, 0, &line_len); in php_openssl_load_stream_cafile()
/PHP-7.4/sapi/fpm/fpm/
H A Dfpm_main.c1957 ctr.line_len = strlen(CGIG(error_header)); in main()

Completed in 115 milliseconds