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

/PHP_TRUNK/ext/spl/
H A Dspl_directory.h95 size_t max_line_len; member in struct:_spl_filesystem_object::__anon210::__anon212
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) {
2529 intern->u.file.max_line_len = max_len;
2542 RETURN_LONG((zend_long)intern->u.file.max_line_len);
2824 if (intern->u.file.max_line_len > 0) {
2825 ZVAL_LONG(&arg2, intern->u.file.max_line_len);
/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);
1117 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
1152 if ((fname_nbytes + 2) >= max_line_len
1153 || (out_charset_len + 12) >= max_line_len) {
1187 buf = safe_emalloc(1, max_line_len, 5);
1189 char_cnt = max_line_len;
1207 char_cnt = max_line_len - 1;

Completed in 11 milliseconds