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

/PHP_5_3/ext/zip/lib/
H A Dzip_get_archive_comment.c49 *lenp = za->cdir->comment_len;
H A Dzip_get_file_comment.c53 *lenp = za->cdir->entry[idx].comment_len;
H A Dzip_open.c212 cd->comment_len = _zip_read2(&cdp);
222 if ((comlen < cd->comment_len) || (cd->nentry != i)) {
228 if ((flags & ZIP_CHECKCONS) && comlen != cd->comment_len) {
235 if (cd->comment_len) {
237 cd->comment_len, error))
256 len-(cd->size+cd->comment_len+EOCDLEN) ? */
370 if (za->cdir->comment_len != TORRENT_SIG_LEN+8
452 || (h1->comment_len != h2->comment_len)
453 || (h1->comment_len
[all...]
H A Dzipint.h234 unsigned short comment_len; /* (c) length of file comment */
250 unsigned short comment_len; /* length of zip archive comment */
230 unsigned short comment_len; /* (c) length of file comment */ member in struct:zip_dirent
246 unsigned short comment_len; /* length of zip archive comment */ member in struct:zip_cdir
H A Dzip_dirent.c120 cd->comment_len = 0;
149 _zip_write2(cd->comment_len, fp);
150 fwrite(cd->comment, 1, cd->comment_len, fp);
174 if (zde->comment_len > 0) {
199 de->comment_len = 0;
290 zde->comment_len = 0;
296 zde->comment_len = _zip_read2(&cur);
307 size += zde->filename_len+zde->extrafield_len+zde->comment_len;
328 if (zde->comment_len) {
329 zde->comment = _zip_readstr(&cur, zde->comment_len,
[all...]
H A Dzip_close.c133 cd->comment_len = TORRENT_SIG_LEN + TORRENT_CRC_LEN;
250 cd->entry[j].comment_len = za->entry[i].ch_comment_len;
564 dest->comment_len = src->ch_comment_len;
568 src->cdir->comment_len, &src->error);
571 dest->comment_len = src->cdir->comment_len;
/PHP_5_3/ext/wddx/
H A Dphp_wddx_api.h60 void php_wddx_packet_start(wddx_packet *packet, char *comment, int comment_len);
H A Dwddx.c369 void php_wddx_packet_start(wddx_packet *packet, char *comment, int comment_len) argument
375 php_wddx_add_chunk_ex(packet, comment, comment_len);
1163 int comment_len = 0; local
1166 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z|s", &var, &comment, &comment_len) == FAILURE) {
1172 php_wddx_packet_start(packet, comment, comment_len);
1244 int comment_len = 0; local
1249 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s", &comment, &comment_len) == FAILURE) {
1255 php_wddx_packet_start(packet, comment, comment_len);
/PHP_5_3/ext/xml/
H A Dcompat.c324 _build_comment(const xmlChar *data, int data_len, xmlChar **comment, int *comment_len) argument
326 *comment_len = data_len + 7;
328 *comment = xmlMalloc(*comment_len + 1);
333 (*comment)[*comment_len] = '\0';
/PHP_5_3/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
H A Dzip.c225 if (PHAR_GET_16(locator.comment_len)) {
229 if (PHAR_GET_16(locator.comment_len) != size - (metadata - buf)) {
238 mydata->metadata_len = PHAR_GET_16(locator.comment_len);
240 if (phar_parse_metadata(&metadata, &mydata->metadata, PHAR_GET_16(locator.comment_len) TSRMLS_CC) == FAILURE) {
251 metadata = pestrndup(metadata, PHAR_GET_16(locator.comment_len), mydata->is_persistent);
252 ZVAL_STRINGL(mydata->metadata, metadata, PHAR_GET_16(locator.comment_len), 0);
426 php_stream_write(sigfile, metadata, PHAR_GET_16(locator.comment_len));
531 if (PHAR_GET_16(zipentry.comment_len)) {
532 if (PHAR_GET_16(zipentry.comment_len) != php_stream_read(fp, buf, PHAR_GET_16(zipentry.comment_len))) {
[all...]
/PHP_5_3/ext/zip/
H A Dphp_zip.c81 /* {{{ PHP_ZIP_SET_FILE_COMMENT(za, index, comment, comment_len) */
82 #define PHP_ZIP_SET_FILE_COMMENT(za, index, comment, comment_len) \
83 if (comment_len == 0) { \
88 } else if (zip_set_file_comment(intern, index, comment, comment_len) < 0) { \
2002 int comment_len; local
2011 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &comment, &comment_len) == FAILURE) {
2014 if (zip_set_archive_comment(intern, (const char *)comment, (int)comment_len)) {
2030 int comment_len = 0; local
2042 comment = zip_get_archive_comment(intern, &comment_len, (int)flags);
2046 RETURN_STRINGL((char *)comment, (long)comment_len,
2056 int comment_len, name_len; local
2090 int comment_len; local
2118 int comment_len = 0; local
2155 int comment_len = 0; local
[all...]
/PHP_5_3/Zend/
H A Dzend_compile.c3633 int comment_len = 0; local
3664 comment_len = CG(doc_comment_len);
3669 zend_declare_property_ex(CG(active_class_entry), var_name->u.constant.value.str.val, var_name->u.constant.value.str.len, property, access_type, comment, comment_len TSRMLS_CC);

Completed in 83 milliseconds