Home
last modified time | relevance | path

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

/php-src/ext/standard/
H A Dfilters.c202 unsigned int line_len; member
235 inst->line_ccnt = line_len; in php_conv_base64_encode_ctor()
236 inst->line_len = line_len; in php_conv_base64_encode_ctor()
409 line_ccnt = inst->line_len; in php_conv_base64_encode_convert()
611 unsigned int line_len; member
837 inst->line_ccnt = line_len; in php_conv_qprint_encode_ctor()
838 inst->line_len = line_len; in php_conv_qprint_encode_ctor()
1162 unsigned int line_len = 0; in php_conv_open() local
1169 if (line_len < 4) { in php_conv_open()
1203 unsigned int line_len = 0; in php_conv_open() local
[all …]
H A Dhead.c47 ctr.line_len = (uint32_t)len; in PHP_FUNCTION()
65 ctr.line_len = (uint32_t)len; in PHP_FUNCTION()
187 ctr.line_len = (uint32_t) ZSTR_LEN(buf.s); in php_setcookie()
H A Dfile.c890 size_t line_len = 0; in PHP_FUNCTION() local
904 buf = php_stream_get_line(stream, NULL, 0, &line_len); in PHP_FUNCTION()
909 RETVAL_STRINGL(buf, line_len); in PHP_FUNCTION()
918 if (php_stream_get_line(stream, ZSTR_VAL(str), len, &line_len) == NULL) { in PHP_FUNCTION()
924 if (line_len < (size_t)len / 2) { in PHP_FUNCTION()
925 str = zend_string_truncate(str, line_len, 0); in PHP_FUNCTION()
927 ZSTR_LEN(str) = line_len; in PHP_FUNCTION()
/php-src/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-src/ext/spl/
H A Dspl_directory.c1870 size_t line_len = 0; in spl_filesystem_file_read_ex() local
1883 …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()
1887 buf[line_len] = '\0'; in spl_filesystem_file_read_ex()
1890 buf = php_stream_get_line(intern->u.file.stream, NULL, 0, &line_len); in spl_filesystem_file_read_ex()
1898 if (line_len > 0 && buf[line_len - 1] == '\n') { in spl_filesystem_file_read_ex()
1899 line_len--; in spl_filesystem_file_read_ex()
1900 if (line_len > 0 && buf[line_len - 1] == '\r') { in spl_filesystem_file_read_ex()
1901 line_len--; in spl_filesystem_file_read_ex()
1903 buf[line_len] = '\0'; in spl_filesystem_file_read_ex()
1908 intern->u.file.current_line_len = line_len; in spl_filesystem_file_read_ex()
/php-src/main/
H A DSAPI.c633 ctr.line_len = header_line_len; in sapi_add_header_ex()
696 if (!p->line || !p->line_len) { in sapi_header_op()
699 header_line = estrndup(p->line, p->line_len); in sapi_header_op()
700 header_line_len = p->line_len; in sapi_header_op()
H A DSAPI.h187 size_t line_len; member
H A Dmain.c1408 ctr.line_len = sizeof("HTTP/1.0 500 Internal Server Error") - 1; in php_error_cb()
/php-src/ext/pdo_pgsql/
H A Dpgsql_driver.c764 size_t line_len = 0; in pgsqlCopyFromFile_internal() local
767 while ((buf = php_stream_get_line(stream, NULL, 0, &line_len)) != NULL) { in pgsqlCopyFromFile_internal()
768 if (PQputCopyData(H->server, buf, line_len) != 1) { in pgsqlCopyFromFile_internal()
/php-src/ext/phar/
H A Dphar_object.c171 ctr.line_len = spprintf((char **) &(ctr.line), 0, "Content-type: %s", mime_type); in phar_file_action()
174 …ctr.line_len = spprintf((char **) &(ctr.line), 0, "Content-length: %u", info->uncompressed_filesiz… 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()
769 ctr.line_len = sizeof("HTTP/1.1 301 Moved Permanently")-1; in PHP_METHOD()
782 ctr.line_len = spprintf((char **) &(ctr.line), 4096, "Location: %s%s", path_info, entry + 1); in PHP_METHOD()
784 ctr.line_len = spprintf((char **) &(ctr.line), 4096, "Location: %s%s", path_info, entry); in PHP_METHOD()
/php-src/ext/iconv/
H A Diconv.c1975 zend_long line_len = 76; in PHP_FUNCTION() local
2027 line_len = zval_get_long(pzval); in PHP_FUNCTION()
2044 ZSTR_VAL(field_value), ZSTR_LEN(field_value), line_len, lfchars, scheme_id, in PHP_FUNCTION()
/php-src/ext/openssl/
H A Dxp_ssl.c808 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 Dfpm_main.c1962 ctr.line_len = strlen(CGIG(error_header)); in main()

Completed in 145 milliseconds