Searched refs:line_len (Results 1 – 13 of 13) sorted by relevance
/php-src/ext/standard/ |
H A D | filters.c | 201 unsigned int line_len; member 234 inst->line_ccnt = line_len; in php_conv_base64_encode_ctor() 235 inst->line_len = line_len; in php_conv_base64_encode_ctor() 408 line_ccnt = inst->line_len; in php_conv_base64_encode_convert() 609 unsigned int line_len; member 835 inst->line_ccnt = line_len; in php_conv_qprint_encode_ctor() 836 inst->line_len = line_len; in php_conv_qprint_encode_ctor() 1161 unsigned int line_len = 0; in php_conv_open() local 1168 if (line_len < 4) { in php_conv_open() 1200 unsigned int line_len = 0; in php_conv_open() local [all …]
|
H A D | head.c | 47 ctr.line_len = len; in PHP_FUNCTION() 65 ctr.line_len = len; in PHP_FUNCTION() 187 ctr.line_len = (uint32_t) ZSTR_LEN(buf.s); in php_setcookie()
|
H A D | file.c | 882 size_t line_len = 0; in PHP_FUNCTION() local 896 buf = php_stream_get_line(stream, NULL, 0, &line_len); in PHP_FUNCTION() 901 RETVAL_STRINGL(buf, line_len); in PHP_FUNCTION() 910 if (php_stream_get_line(stream, ZSTR_VAL(str), len, &line_len) == NULL) { in PHP_FUNCTION() 916 if (line_len < (size_t)len / 2) { in PHP_FUNCTION() 917 str = zend_string_truncate(str, line_len, 0); in PHP_FUNCTION() 919 ZSTR_LEN(str) = line_len; in PHP_FUNCTION()
|
/php-src/ext/iconv/tests/ |
H A D | iconv_mime_encode.phpt | 20 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-src/ext/spl/ |
H A D | spl_directory.c | 1852 size_t line_len = 0; in spl_filesystem_file_read_ex() local 1865 …if (php_stream_get_line(intern->u.file.stream, buf, intern->u.file.max_line_len + 1, &line_len) ==… in spl_filesystem_file_read_ex() 1869 buf[line_len] = '\0'; in spl_filesystem_file_read_ex() 1872 buf = php_stream_get_line(intern->u.file.stream, NULL, 0, &line_len); in spl_filesystem_file_read_ex() 1879 if (line_len > 0 && buf[line_len - 1] == '\n') { in spl_filesystem_file_read_ex() 1880 line_len--; in spl_filesystem_file_read_ex() 1881 if (line_len > 0 && buf[line_len - 1] == '\r') { in spl_filesystem_file_read_ex() 1882 line_len--; in spl_filesystem_file_read_ex() 1884 buf[line_len] = '\0'; in spl_filesystem_file_read_ex() 1888 intern->u.file.current_line = zend_string_init(buf, line_len, /* persistent */ false); in spl_filesystem_file_read_ex()
|
/php-src/main/ |
H A D | SAPI.c | 634 ctr.line_len = header_line_len; in sapi_add_header_ex() 697 if (!p->line || !p->line_len) { in sapi_header_op() 700 header_line = estrndup(p->line, p->line_len); in sapi_header_op() 701 header_line_len = p->line_len; in sapi_header_op()
|
H A D | SAPI.h | 187 size_t line_len; member
|
H A D | main.c | 1453 ctr.line_len = sizeof("HTTP/1.0 500 Internal Server Error") - 1; in php_error_cb()
|
/php-src/ext/pdo_pgsql/ |
H A D | pgsql_driver.c | 823 size_t line_len = 0; in pgsqlCopyFromFile_internal() local 826 while ((buf = php_stream_get_line(stream, NULL, 0, &line_len)) != NULL) { in pgsqlCopyFromFile_internal() 827 if (PQputCopyData(H->server, buf, line_len) != 1) { in pgsqlCopyFromFile_internal()
|
/php-src/ext/phar/ |
H A D | phar_object.c | 179 ctr.line_len = spprintf((char **) &(ctr.line), 0, "Content-type: %s", mime_type); in phar_file_action() 182 …ctr.line_len = spprintf((char **) &(ctr.line), 0, "Content-length: %u", info->uncompressed_filesiz… in phar_file_action() 308 ctr.line_len = sizeof("HTTP/1.0 403 Access Denied")-1; in phar_do_403() 332 ctr.line_len = sizeof("HTTP/1.0 404 Not Found")-1; in phar_do_404() 777 ctr.line_len = sizeof("HTTP/1.1 301 Moved Permanently")-1; in PHP_METHOD() 790 ctr.line_len = spprintf((char **) &(ctr.line), 4096, "Location: %s%s", path_info, entry + 1); in PHP_METHOD() 792 ctr.line_len = spprintf((char **) &(ctr.line), 4096, "Location: %s%s", path_info, entry); in PHP_METHOD()
|
/php-src/ext/iconv/ |
H A D | iconv.c | 1974 zend_long line_len = 76; in PHP_FUNCTION() local 2026 line_len = zval_get_long(pzval); in PHP_FUNCTION() 2043 ZSTR_VAL(field_value), ZSTR_LEN(field_value), line_len, lfchars, scheme_id, in PHP_FUNCTION()
|
/php-src/ext/openssl/ |
H A D | xp_ssl.c | 808 size_t line_len; in php_openssl_load_stream_cafile() local 823 line = php_stream_get_line(stream, NULL, 0, &line_len); in php_openssl_load_stream_cafile() 841 line = php_stream_get_line(stream, NULL, 0, &line_len); in php_openssl_load_stream_cafile()
|
/php-src/sapi/fpm/fpm/ |
H A D | fpm_main.c | 1909 ctr.line_len = strlen(CGIG(error_header)); in main()
|
Completed in 120 milliseconds