Home
last modified time | relevance | path

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

/PHP-7.4/ext/phar/
H A Dpharzip.h162 char comment_len[2]; /* file comment length 2 bytes */ member
231 char comment_len[2]; /* .ZIP file comment length 2 bytes */ member
H A Dzip.c170 uint16_t comment_len; in phar_find_eocd() local
177 comment_len = PHAR_GET_16(((phar_zip_dir_end *) eocd_start)->comment_len); in phar_find_eocd()
178 if (eocd_start + sizeof(phar_zip_dir_end) + comment_len == s + n) { in phar_find_eocd()
254 if (PHAR_GET_16(locator.comment_len)) { in phar_parse_zipfile()
258 if (PHAR_GET_16(locator.comment_len) != size - (metadata - buf)) { in phar_parse_zipfile()
267 mydata->metadata_len = PHAR_GET_16(locator.comment_len); in phar_parse_zipfile()
555 if (PHAR_GET_16(zipentry.comment_len)) { in phar_parse_zipfile()
556 …if (PHAR_GET_16(zipentry.comment_len) != php_stream_read(fp, buf, PHAR_GET_16(zipentry.comment_len in phar_parse_zipfile()
562 entry.metadata_len = PHAR_GET_16(zipentry.comment_len); in phar_parse_zipfile()
1014 PHAR_SET_16(central.comment_len, ZSTR_LEN(entry->metadata_str.s)); in phar_zip_changed_apply_int()
[all …]
/PHP-7.4/ext/zip/
H A Dphp_zip.c81 if (comment_len == 0) { \
1988 size_t comment_len; local
1997 if (comment_len > 0xffff) {
2018 int comment_len = 0; local
2040 size_t comment_len, name_len; local
2055 if (comment_len > 0xffff) {
2075 size_t comment_len; local
2086 if (comment_len > 0xffff) {
2295 zip_uint32_t comment_len = 0; local
2316 RETURN_STRINGL((char *)comment, comment_len);
[all …]
/PHP-7.4/ext/xml/
H A Dcompat.c315 _build_comment(const xmlChar *data, int data_len, xmlChar **comment, int *comment_len) in _build_comment() argument
317 *comment_len = data_len + 7; in _build_comment()
319 *comment = xmlMalloc(*comment_len + 1); in _build_comment()
324 (*comment)[*comment_len] = '\0'; in _build_comment()

Completed in 45 milliseconds