Searched defs:comment_len (Results 1 - 6 of 6) sorted by relevance

/PHP_TRUNK/ext/zip/lib/
H A Dzip_open.c207 zip_int64_t tail_len, comment_len; local
237 comment_len = _zip_read2(&cdp);
246 if (tail_len < comment_len || ((flags & ZIP_CHECKCONS) && tail_len != comment_len)) {
252 if (comment_len) {
253 if ((cd->comment=_zip_string_new(eocd+EOCDLEN, (zip_uint16_t)comment_len, ZIP_FL_ENC_GUESS, error)) == NULL) {
270 len-(cd->size+cd->comment_len+EOCDLEN) ? */
H A Dzip_dirent.c335 zip_uint16_t filename_len, comment_len, ef_len; local
391 comment_len = 0;
397 comment_len = _zip_read2(&cur);
408 size += filename_len+ef_len+comment_len;
442 if (comment_len) {
443 zde->comment = _zip_read_string(bufp ? &cur : NULL, fp, comment_len, 0, error);
/PHP_TRUNK/ext/phar/
H A Dpharzip.h164 char comment_len[2]; /* file comment length 2 bytes */ member in struct:_phar_zip_central_dir_file
233 char comment_len[2]; /* .ZIP file comment length 2 bytes */ member in struct:_phar_zip_dir_end
/PHP_TRUNK/ext/zip/
H A Dphp_zip.c79 /* {{{ PHP_ZIP_SET_FILE_COMMENT(za, index, comment, comment_len) */
80 #define PHP_ZIP_SET_FILE_COMMENT(za, index, comment, comment_len) \
81 if (comment_len == 0) { \
86 } else if (zip_set_file_comment(intern, index, comment, comment_len) < 0) { \
1935 size_t comment_len; local
1944 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s", &comment, &comment_len) == FAILURE) {
1947 if (zip_set_archive_comment(intern, (const char *)comment, (int)comment_len)) {
1963 int comment_len = 0; local
1975 comment = zip_get_archive_comment(intern, &comment_len, (int)flags);
1979 RETURN_STRINGL((char *)comment, (zend_long)comment_len);
1989 size_t comment_len, name_len; local
2023 size_t comment_len; local
2202 int comment_len = 0; local
2239 int comment_len = 0; local
[all...]
/PHP_TRUNK/ext/xml/
H A Dcompat.c315 _build_comment(const xmlChar *data, int data_len, xmlChar **comment, int *comment_len) argument
317 *comment_len = data_len + 7;
319 *comment = xmlMalloc(*comment_len + 1);
324 (*comment)[*comment_len] = '\0';
/PHP_TRUNK/ext/wddx/
H A Dwddx.c355 void php_wddx_packet_start(wddx_packet *packet, char *comment, size_t comment_len) argument
361 php_wddx_add_chunk_ex(packet, comment, comment_len);
1082 size_t comment_len = 0; local
1085 if (zend_parse_parameters(ZEND_NUM_ARGS(), "z|s", &var, &comment, &comment_len) == FAILURE) {
1091 php_wddx_packet_start(packet, comment, comment_len);
1166 size_t comment_len = 0; local
1171 if (zend_parse_parameters(ZEND_NUM_ARGS(), "|s", &comment, &comment_len) == FAILURE) {
1177 php_wddx_packet_start(packet, comment, comment_len);

Completed in 19 milliseconds