Lines Matching refs:comment_len
69 #define PHP_ZIP_SET_FILE_COMMENT(za, index, comment, comment_len) \ argument
70 if (comment_len == 0) { \
75 } else if (zip_file_set_comment(za, index, comment, comment_len, 0) < 0) { \
2056 size_t comment_len; local
2059 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s", &comment, &comment_len) == FAILURE) {
2065 if (comment_len > 0xffff) {
2070 if (zip_set_archive_comment(intern, (const char *)comment, comment_len)) {
2085 int comment_len = 0; local
2093 comment = zip_get_archive_comment(intern, &comment_len, (int)flags);
2097 RETURN_STRINGL((char *)comment, (zend_long)comment_len);
2106 size_t comment_len, name_len; local
2111 &name, &name_len, &comment, &comment_len) == FAILURE) {
2122 if (comment_len > 0xffff) {
2131 PHP_ZIP_SET_FILE_COMMENT(intern, idx, comment, comment_len);
2141 size_t comment_len; local
2146 &index, &comment, &comment_len) == FAILURE) {
2152 if (comment_len > 0xffff) {
2158 PHP_ZIP_SET_FILE_COMMENT(intern, index, comment, comment_len);
2360 zip_uint32_t comment_len = 0; local
2382 comment = zip_file_get_comment(intern, idx, &comment_len, (zip_flags_t)flags);
2383 RETURN_STRINGL((char *)comment, comment_len);
2394 zip_uint32_t comment_len = 0; local
2405 comment = zip_file_get_comment(intern, index, &comment_len, (zip_flags_t)flags);
2406 RETURN_STRINGL((char *)comment, comment_len);