Searched refs:max_line_len (Results 1 - 3 of 3) sorted by relevance

/PHP_TRUNK/ext/spl/
H A Dspl_directory.c2040 if (intern->u.file.max_line_len > 0) {
2041 buf = safe_emalloc((intern->u.file.max_line_len + 1), sizeof(char), 0);
2042 if (php_stream_get_line(intern->u.file.stream, buf, intern->u.file.max_line_len, &line_len) == NULL) {
2528 intern->u.file.max_line_len = max_len;
2541 RETURN_LONG((zend_long)intern->u.file.max_line_len);
2823 if (intern->u.file.max_line_len > 0) {
2824 ZVAL_LONG(&arg2, intern->u.file.max_line_len);
H A Dspl_directory.h95 size_t max_line_len; member in struct:_spl_filesystem_object::__anon44::__anon46
/PHP_TRUNK/ext/iconv/
H A Diconv.c205 static php_iconv_err_t _php_iconv_mime_encode(smart_str *pretval, const char *fname, size_t fname_nbytes, const char *fval, size_t fval_nbytes, size_t max_line_len, const char *lfchars, php_iconv_enc_scheme_t enc_scheme, const char *out_charset, const char *enc);
1123 static php_iconv_err_t _php_iconv_mime_encode(smart_str *pretval, const char *fname, size_t fname_nbytes, const char *fval, size_t fval_nbytes, size_t max_line_len, const char *lfchars, php_iconv_enc_scheme_t enc_scheme, const char *out_charset, const char *enc) argument
1158 if ((fname_nbytes + 2) >= max_line_len
1159 || (out_charset_len + 12) >= max_line_len) {
1193 buf = safe_emalloc(1, max_line_len, 5);
1195 char_cnt = max_line_len;
1213 char_cnt = max_line_len - 1;

Completed in 11 milliseconds