Home
last modified time | relevance | path

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

/php-src/ext/phar/
H A Dpharzip.h169 char comment_len[2]; /* file comment length 2 bytes */ member
238 char comment_len[2]; /* .ZIP file comment length 2 bytes */ member
H A Dzip.c201 uint16_t comment_len; in phar_find_eocd() local
208 comment_len = PHAR_GET_16(((phar_zip_dir_end *) eocd_start)->comment_len); in phar_find_eocd()
209 if (eocd_start + sizeof(phar_zip_dir_end) + comment_len == s + n) { in phar_find_eocd()
285 if (PHAR_GET_16(locator.comment_len)) { in phar_parse_zipfile()
289 if (PHAR_GET_16(locator.comment_len) != size - (metadata - buf)) { in phar_parse_zipfile()
509 php_stream_write(sigfile, metadata, PHAR_GET_16(locator.comment_len)); in phar_parse_zipfile()
615 if (PHAR_GET_16(zipentry.comment_len)) { in phar_parse_zipfile()
616 …if (PHAR_GET_16(zipentry.comment_len) != php_stream_read(fp, buf, PHAR_GET_16(zipentry.comment_len in phar_parse_zipfile()
622 …phar_parse_metadata_lazy(buf, &entry.metadata_tracker, PHAR_GET_16(zipentry.comment_len), entry.is… in phar_parse_zipfile()
1049 …PHAR_SET_16(central.comment_len, entry->metadata_tracker.str ? ZSTR_LEN(entry->metadata_tracker.st… in phar_zip_changed_apply_int()
[all …]
/php-src/ext/zip/
H A Dphp_zip.c70 if (comment_len == 0) { \
2071 size_t comment_len; local
2080 if (comment_len > 0xffff) {
2100 int comment_len = 0; local
2155 size_t comment_len, name_len; local
2171 if (comment_len > 0xffff) {
2190 size_t comment_len; local
2201 if (comment_len > 0xffff) {
2409 zip_uint32_t comment_len = 0; local
2432 RETURN_STRINGL((char *)comment, comment_len);
[all …]
/php-src/ext/xml/
H A Dcompat.c314 _build_comment(const xmlChar *data, size_t data_len, xmlChar **comment, size_t *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 37 milliseconds