Lines Matching refs:comment_len
82 #define PHP_ZIP_SET_FILE_COMMENT(za, index, comment, comment_len) \ argument
83 if (comment_len == 0) { \
88 } else if (zip_set_file_comment(intern, index, comment, comment_len) < 0) { \
2002 int comment_len; in ZIPARCHIVE_METHOD() local
2011 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &comment, &comment_len) == FAILURE) { in ZIPARCHIVE_METHOD()
2014 if (zip_set_archive_comment(intern, (const char *)comment, (int)comment_len)) { in ZIPARCHIVE_METHOD()
2030 int comment_len = 0; in ZIPARCHIVE_METHOD() local
2042 comment = zip_get_archive_comment(intern, &comment_len, (int)flags); in ZIPARCHIVE_METHOD()
2046 RETURN_STRINGL((char *)comment, (long)comment_len, 1); in ZIPARCHIVE_METHOD()
2056 int comment_len, name_len; in ZIPARCHIVE_METHOD() local
2067 &name, &name_len, &comment, &comment_len) == FAILURE) { in ZIPARCHIVE_METHOD()
2079 PHP_ZIP_SET_FILE_COMMENT(intern, idx, comment, comment_len); in ZIPARCHIVE_METHOD()
2090 int comment_len; in ZIPARCHIVE_METHOD() local
2101 &index, &comment, &comment_len) == FAILURE) { in ZIPARCHIVE_METHOD()
2106 PHP_ZIP_SET_FILE_COMMENT(intern, index, comment, comment_len); in ZIPARCHIVE_METHOD()
2118 int comment_len = 0; in ZIPARCHIVE_METHOD() local
2142 comment = zip_get_file_comment(intern, idx, &comment_len, (int)flags); in ZIPARCHIVE_METHOD()
2143 RETURN_STRINGL((char *)comment, (long)comment_len, 1); in ZIPARCHIVE_METHOD()
2155 int comment_len = 0; in ZIPARCHIVE_METHOD() local
2170 comment = zip_get_file_comment(intern, index, &comment_len, (int)flags); in ZIPARCHIVE_METHOD()
2171 RETURN_STRINGL((char *)comment, (long)comment_len, 1); in ZIPARCHIVE_METHOD()