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

/PHP_TRUNK/ext/zip/lib/
H A Dzip_open.c212 zip_int64_t tail_len, comment_len;
242 comment_len = _zip_read2(&cdp);
251 if (tail_len < comment_len || ((flags & ZIP_CHECKCONS) && tail_len != comment_len)) {
257 if (comment_len) {
258 if ((cd->comment=_zip_string_new(eocd+EOCDLEN, (zip_uint16_t)comment_len, ZIP_FL_ENC_GUESS, error)) == NULL) {
275 len-(cd->size+cd->comment_len+EOCDLEN) ? */
207 zip_int64_t tail_len, comment_len; local
H A Dzip_dirent.c347 zip_uint16_t filename_len, comment_len, ef_len;
403 comment_len = 0;
409 comment_len = _zip_read2(&cur);
420 size += filename_len+ef_len+comment_len;
454 if (comment_len) {
455 zde->comment = _zip_read_string(bufp ? &cur : NULL, fp, comment_len, 0, error);
335 zip_uint16_t filename_len, comment_len, ef_len; local
/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/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);
/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) { \
1920 size_t comment_len; local
1929 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s", &comment, &comment_len) == FAILURE) {
1932 if (zip_set_archive_comment(intern, (const char *)comment, (int)comment_len)) {
1948 int comment_len = 0; local
1960 comment = zip_get_archive_comment(intern, &comment_len, (int)flags);
1964 RETURN_STRINGL((char *)comment, (zend_long)comment_len);
1974 size_t comment_len, name_len; local
2008 size_t comment_len; local
2187 int comment_len = 0; local
2224 int comment_len = 0; local
[all...]

Completed in 13 milliseconds