Searched refs:comment_len (Results 1 – 4 of 4) sorted by relevance
/PHP-8.0/ext/phar/ |
H A D | pharzip.h | 162 char comment_len[2]; /* file comment length 2 bytes */ member 231 char comment_len[2]; /* .ZIP file comment length 2 bytes */ member
|
H A D | zip.c | 170 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() 445 php_stream_write(sigfile, metadata, PHAR_GET_16(locator.comment_len)); in phar_parse_zipfile() 551 if (PHAR_GET_16(zipentry.comment_len)) { in phar_parse_zipfile() 552 …if (PHAR_GET_16(zipentry.comment_len) != php_stream_read(fp, buf, PHAR_GET_16(zipentry.comment_len… in phar_parse_zipfile() 558 …phar_parse_metadata_lazy(buf, &entry.metadata_tracker, PHAR_GET_16(zipentry.comment_len), entry.is… in phar_parse_zipfile() 1000 …PHAR_SET_16(central.comment_len, entry->metadata_tracker.str ? ZSTR_LEN(entry->metadata_tracker.st… in phar_zip_changed_apply_int() [all …]
|
/PHP-8.0/ext/zip/ |
H A D | php_zip.c | 69 if (comment_len == 0) { \ 2031 size_t comment_len; local 2040 if (comment_len > 0xffff) { 2060 int comment_len = 0; local 2081 size_t comment_len, name_len; local 2097 if (comment_len > 0xffff) { 2116 size_t comment_len; local 2127 if (comment_len > 0xffff) { 2335 zip_uint32_t comment_len = 0; local 2358 RETURN_STRINGL((char *)comment, comment_len); [all …]
|
/PHP-8.0/ext/xml/ |
H A D | compat.c | 314 _build_comment(const xmlChar *data, int data_len, xmlChar **comment, int *comment_len) in _build_comment() argument 316 *comment_len = data_len + 7; in _build_comment() 318 *comment = xmlMalloc(*comment_len + 1); in _build_comment() 323 (*comment)[*comment_len] = '\0'; in _build_comment()
|
Completed in 27 milliseconds