Lines Matching refs:comment_len
68 #define PHP_ZIP_SET_FILE_COMMENT(za, index, comment, comment_len) \ argument
69 if (comment_len == 0) { \
74 } else if (zip_file_set_comment(za, index, comment, comment_len, 0) < 0) { \
2031 size_t comment_len; local
2034 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s", &comment, &comment_len) == FAILURE) {
2040 if (comment_len > 0xffff) {
2045 if (zip_set_archive_comment(intern, (const char *)comment, comment_len)) {
2060 int comment_len = 0; local
2068 comment = zip_get_archive_comment(intern, &comment_len, (int)flags);
2072 RETURN_STRINGL((char *)comment, (zend_long)comment_len);
2081 size_t comment_len, name_len; local
2086 &name, &name_len, &comment, &comment_len) == FAILURE) {
2097 if (comment_len > 0xffff) {
2106 PHP_ZIP_SET_FILE_COMMENT(intern, idx, comment, comment_len);
2116 size_t comment_len; local
2121 &index, &comment, &comment_len) == FAILURE) {
2127 if (comment_len > 0xffff) {
2133 PHP_ZIP_SET_FILE_COMMENT(intern, index, comment, comment_len);
2335 zip_uint32_t comment_len = 0; local
2357 comment = zip_file_get_comment(intern, idx, &comment_len, (zip_flags_t)flags);
2358 RETURN_STRINGL((char *)comment, comment_len);
2369 zip_uint32_t comment_len = 0; local
2380 comment = zip_file_get_comment(intern, index, &comment_len, (zip_flags_t)flags);
2381 RETURN_STRINGL((char *)comment, comment_len);