Home
last modified time | relevance | path

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

/PHP-5.6/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.6/ext/wddx/
H A Dphp_wddx_api.h60 void php_wddx_packet_start(wddx_packet *packet, char *comment, int comment_len);
H A Dwddx.c371 void php_wddx_packet_start(wddx_packet *packet, char *comment, int comment_len) in php_wddx_packet_start() argument
379 comment, comment_len, &escaped_len, 0, ENT_QUOTES, NULL TSRMLS_CC); in php_wddx_packet_start()
1220 int comment_len = 0; in PHP_FUNCTION() local
1223 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z|s", &var, &comment, &comment_len) == FAILU… in PHP_FUNCTION()
1229 php_wddx_packet_start(packet, comment, comment_len); in PHP_FUNCTION()
1301 int comment_len = 0; in PHP_FUNCTION() local
1306 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s", &comment, &comment_len) == FAILURE) { in PHP_FUNCTION()
1312 php_wddx_packet_start(packet, comment, comment_len); in PHP_FUNCTION()
/PHP-5.6/ext/zip/
H A Dphp_zip.c98 if (comment_len == 0) { \
2080 int comment_len; in ZIPARCHIVE_METHOD() local
2108 int comment_len = 0; in ZIPARCHIVE_METHOD() local
2124 RETURN_STRINGL((char *)comment, (long)comment_len, 1); in ZIPARCHIVE_METHOD()
2134 int comment_len, name_len; in ZIPARCHIVE_METHOD() local
2168 int comment_len; in ZIPARCHIVE_METHOD() local
2179 &index, &comment, &comment_len) == FAILURE) { in ZIPARCHIVE_METHOD()
2346 int comment_len = 0; in ZIPARCHIVE_METHOD() local
2371 RETURN_STRINGL((char *)comment, (long)comment_len, 1); in ZIPARCHIVE_METHOD()
2383 int comment_len = 0; in ZIPARCHIVE_METHOD() local
[all …]
/PHP-5.6/ext/zip/lib/
H A Dzip_open.c207 zip_int64_t tail_len, comment_len; in _zip_readcdir() local
237 comment_len = _zip_read2(&cdp); in _zip_readcdir()
246 if (tail_len < comment_len || ((flags & ZIP_CHECKCONS) && tail_len != comment_len)) { in _zip_readcdir()
252 if (comment_len) { in _zip_readcdir()
253 …if ((cd->comment=_zip_string_new(eocd+EOCDLEN, (zip_uint16_t)comment_len, ZIP_FL_ENC_GUESS, error)… in _zip_readcdir()
H A Dzip_dirent.c335 zip_uint16_t filename_len, comment_len, ef_len; in _zip_dirent_read() local
391 comment_len = 0; in _zip_dirent_read()
397 comment_len = _zip_read2(&cur); in _zip_dirent_read()
408 size += filename_len+ef_len+comment_len; in _zip_dirent_read()
442 if (comment_len) { in _zip_dirent_read()
443 zde->comment = _zip_read_string(bufp ? &cur : NULL, fp, comment_len, 0, error); in _zip_dirent_read()
/PHP-5.6/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.6/Zend/
H A Dzend_compile.c5446 int comment_len = 0; in zend_do_declare_property() local
5475 comment_len = CG(doc_comment_len); in zend_do_declare_property()
5480 …TSRMLS_CC), Z_STRLEN(var_name->u.constant), property, access_type, comment, comment_len TSRMLS_CC); in zend_do_declare_property()

Completed in 54 milliseconds