Home
last modified time | relevance | path

Searched refs:comment_len (Results 1 – 13 of 13) sorted by relevance

/PHP-5.5/ext/zip/lib/
H A Dzip_dirent.c116 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 Dzip_open.c207 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 Dzip_get_archive_comment.c47 *lenp = za->cdir->comment_len; in zip_get_archive_comment()
H A Dzip_get_file_comment.c51 *lenp = za->cdir->entry[idx].comment_len; in zip_get_file_comment()
H A Dzip_close.c130 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 Dzipint.h230 unsigned short comment_len; /* (c) length of file comment */ member
246 unsigned short comment_len; /* length of zip archive comment */ member
/PHP-5.5/ext/phar/
H A Dpharzip.h164 char comment_len[2]; /* file comment length 2 bytes */ member
233 char comment_len[2]; /* .ZIP file comment length 2 bytes */ member
H A Dzip.c225 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()
428 php_stream_write(sigfile, metadata, PHAR_GET_16(locator.comment_len)); in phar_parse_zipfile()
533 if (PHAR_GET_16(zipentry.comment_len)) { in phar_parse_zipfile()
534 …if (PHAR_GET_16(zipentry.comment_len) != php_stream_read(fp, buf, PHAR_GET_16(zipentry.comment_len in phar_parse_zipfile()
540 entry.metadata_len = PHAR_GET_16(zipentry.comment_len); in phar_parse_zipfile()
553 …data, pestrndup(buf, PHAR_GET_16(zipentry.comment_len), entry.is_persistent), PHAR_GET_16(zipentry… in phar_parse_zipfile()
955 PHAR_SET_16(central.comment_len, entry->metadata_str.len); in phar_zip_changed_apply()
[all …]
/PHP-5.5/ext/wddx/
H A Dphp_wddx_api.h60 void php_wddx_packet_start(wddx_packet *packet, char *comment, int comment_len);
H A Dwddx.c372 void php_wddx_packet_start(wddx_packet *packet, char *comment, int comment_len) in php_wddx_packet_start() argument
378 php_wddx_add_chunk_ex(packet, comment, comment_len); in php_wddx_packet_start()
1182 int comment_len = 0; in PHP_FUNCTION() local
1185 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z|s", &var, &comment, &comment_len) == FAILU… in PHP_FUNCTION()
1191 php_wddx_packet_start(packet, comment, comment_len); in PHP_FUNCTION()
1263 int comment_len = 0; in PHP_FUNCTION() local
1268 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s", &comment, &comment_len) == FAILURE) { in PHP_FUNCTION()
1274 php_wddx_packet_start(packet, comment, comment_len); in PHP_FUNCTION()
/PHP-5.5/ext/zip/
H A Dphp_zip.c83 if (comment_len == 0) { \
2007 int comment_len; in ZIPARCHIVE_METHOD() local
2035 int comment_len = 0; in ZIPARCHIVE_METHOD() local
2051 RETURN_STRINGL((char *)comment, (long)comment_len, 1); in ZIPARCHIVE_METHOD()
2061 int comment_len, name_len; in ZIPARCHIVE_METHOD() local
2095 int comment_len; in ZIPARCHIVE_METHOD() local
2106 &index, &comment, &comment_len) == FAILURE) { in ZIPARCHIVE_METHOD()
2123 int comment_len = 0; in ZIPARCHIVE_METHOD() local
2148 RETURN_STRINGL((char *)comment, (long)comment_len, 1); in ZIPARCHIVE_METHOD()
2160 int comment_len = 0; in ZIPARCHIVE_METHOD() local
[all …]
/PHP-5.5/ext/xml/
H A Dcompat.c324 _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.5/Zend/
H A Dzend_compile.c5303 int comment_len = 0; in zend_do_declare_property() local
5332 comment_len = CG(doc_comment_len); in zend_do_declare_property()
5337 …LS_CC), var_name->u.constant.value.str.len, property, access_type, comment, comment_len TSRMLS_CC); in zend_do_declare_property()

Completed in 60 milliseconds