/PHP-5.3/ext/zip/lib/ |
H A D | zip_dirent.c | 116 cd->comment_len = 0; in _zip_cdir_new() 144 _zip_write2(cd->comment_len, fp); in _zip_cdir_write() 168 if (zde->comment_len > 0) { in _zip_dirent_finalize() 192 de->comment_len = 0; in _zip_dirent_init() 282 zde->comment_len = 0; in _zip_dirent_read() 288 zde->comment_len = _zip_read2(&cur); in _zip_dirent_read() 320 if (zde->comment_len) { in _zip_dirent_read() 340 if (zde->comment_len) { in _zip_dirent_read() 409 de->comment_len = 0; in _zip_dirent_torrent_normalize() 450 _zip_write2(zde->comment_len, fp); in _zip_dirent_write() [all …]
|
H A D | zip_open.c | 207 cd->comment_len = _zip_read2(&cdp); in _zip_readcdir() 217 if ((comlen < cd->comment_len) || (cd->nentry != i)) { in _zip_readcdir() 223 if ((flags & ZIP_CHECKCONS) && comlen != cd->comment_len) { in _zip_readcdir() 230 if (cd->comment_len) { in _zip_readcdir() 232 cd->comment_len, error)) in _zip_readcdir() 363 if (za->cdir->comment_len != TORRENT_SIG_LEN+8 in _zip_check_torrentzip() 444 || (h1->comment_len != h2->comment_len) in _zip_headercomp() 445 || (h1->comment_len && h2->comment in _zip_headercomp() 446 && memcmp(h1->comment, h2->comment, h1->comment_len))) in _zip_headercomp()
|
H A D | zip_get_archive_comment.c | 47 *lenp = za->cdir->comment_len; in zip_get_archive_comment()
|
H A D | zip_get_file_comment.c | 51 *lenp = za->cdir->entry[idx].comment_len; in zip_get_file_comment()
|
H A D | zip_close.c | 130 cd->comment_len = TORRENT_SIG_LEN + TORRENT_CRC_LEN; in zip_close() 247 cd->entry[j].comment_len = za->entry[i].ch_comment_len; in zip_close() 556 dest->comment_len = src->ch_comment_len; in _zip_cdir_set_comment() 560 src->cdir->comment_len, &src->error); in _zip_cdir_set_comment() 563 dest->comment_len = src->cdir->comment_len; in _zip_cdir_set_comment()
|
H A D | zipint.h | 230 unsigned short comment_len; /* (c) length of file comment */ member 246 unsigned short comment_len; /* length of zip archive comment */ member
|
/PHP-5.3/ext/phar/ |
H A D | pharzip.h | 164 char comment_len[2]; /* file comment length 2 bytes */ member 233 char comment_len[2]; /* .ZIP file comment length 2 bytes */ member
|
H A D | zip.c | 225 if (PHAR_GET_16(locator.comment_len)) { in phar_parse_zipfile() 229 if (PHAR_GET_16(locator.comment_len) != size - (metadata - buf)) { in phar_parse_zipfile() 238 mydata->metadata_len = PHAR_GET_16(locator.comment_len); in phar_parse_zipfile() 252 ZVAL_STRINGL(mydata->metadata, metadata, PHAR_GET_16(locator.comment_len), 0); in phar_parse_zipfile() 426 php_stream_write(sigfile, metadata, PHAR_GET_16(locator.comment_len)); in phar_parse_zipfile() 531 if (PHAR_GET_16(zipentry.comment_len)) { in phar_parse_zipfile() 532 …if (PHAR_GET_16(zipentry.comment_len) != php_stream_read(fp, buf, PHAR_GET_16(zipentry.comment_len… in phar_parse_zipfile() 538 entry.metadata_len = PHAR_GET_16(zipentry.comment_len); in phar_parse_zipfile() 551 …data, pestrndup(buf, PHAR_GET_16(zipentry.comment_len), entry.is_persistent), PHAR_GET_16(zipentry… in phar_parse_zipfile() 963 PHAR_SET_16(central.comment_len, entry->metadata_str.len); in phar_zip_changed_apply() [all …]
|
/PHP-5.3/ext/wddx/ |
H A D | php_wddx_api.h | 60 void php_wddx_packet_start(wddx_packet *packet, char *comment, int comment_len);
|
H A D | wddx.c | 369 void php_wddx_packet_start(wddx_packet *packet, char *comment, int comment_len) in php_wddx_packet_start() argument 375 php_wddx_add_chunk_ex(packet, comment, comment_len); in php_wddx_packet_start() 1163 int comment_len = 0; in PHP_FUNCTION() local 1166 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z|s", &var, &comment, &comment_len) == FAILU… in PHP_FUNCTION() 1172 php_wddx_packet_start(packet, comment, comment_len); in PHP_FUNCTION() 1244 int comment_len = 0; in PHP_FUNCTION() local 1249 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s", &comment, &comment_len) == FAILURE) { in PHP_FUNCTION() 1255 php_wddx_packet_start(packet, comment, comment_len); in PHP_FUNCTION()
|
/PHP-5.3/ext/zip/ |
H A D | php_zip.c | 83 if (comment_len == 0) { \ 2002 int comment_len; in ZIPARCHIVE_METHOD() local 2030 int comment_len = 0; in ZIPARCHIVE_METHOD() local 2046 RETURN_STRINGL((char *)comment, (long)comment_len, 1); in ZIPARCHIVE_METHOD() 2056 int comment_len, name_len; in ZIPARCHIVE_METHOD() local 2090 int comment_len; in ZIPARCHIVE_METHOD() local 2101 &index, &comment, &comment_len) == FAILURE) { in ZIPARCHIVE_METHOD() 2118 int comment_len = 0; in ZIPARCHIVE_METHOD() local 2143 RETURN_STRINGL((char *)comment, (long)comment_len, 1); in ZIPARCHIVE_METHOD() 2155 int comment_len = 0; in ZIPARCHIVE_METHOD() local [all …]
|
/PHP-5.3/ext/xml/ |
H A D | compat.c | 324 _build_comment(const xmlChar *data, int data_len, xmlChar **comment, int *comment_len) in _build_comment() argument 326 *comment_len = data_len + 7; in _build_comment() 328 *comment = xmlMalloc(*comment_len + 1); in _build_comment() 333 (*comment)[*comment_len] = '\0'; in _build_comment()
|
/PHP-5.3/Zend/ |
H A D | zend_compile.c | 3633 int comment_len = 0; in zend_do_declare_property() local 3664 comment_len = CG(doc_comment_len); in zend_do_declare_property() 3669 …tr.val, var_name->u.constant.value.str.len, property, access_type, comment, comment_len TSRMLS_CC); in zend_do_declare_property()
|