Lines Matching refs:locator

198 	phar_zip_dir_end locator;  in phar_parse_zipfile()  local
199 char buf[sizeof(locator) + 65536]; in phar_parse_zipfile()
209 if (size > sizeof(locator) + 65536) { in phar_parse_zipfile()
211 size = sizeof(locator) + 65536; in phar_parse_zipfile()
232 memcpy((void *)&locator, (void *) p, sizeof(locator)); in phar_parse_zipfile()
233 if (PHAR_GET_16(locator.centraldisk) != 0 || PHAR_GET_16(locator.disknumber) != 0) { in phar_parse_zipfile()
242 if (PHAR_GET_16(locator.counthere) != PHAR_GET_16(locator.count)) { in phar_parse_zipfile()
254 if (PHAR_GET_16(locator.comment_len)) { in phar_parse_zipfile()
256 metadata = p + sizeof(locator); in phar_parse_zipfile()
258 if (PHAR_GET_16(locator.comment_len) != size - (metadata - buf)) { in phar_parse_zipfile()
267 …phar_parse_metadata_lazy(metadata, &mydata->metadata_tracker, PHAR_GET_16(locator.comment_len), my… in phar_parse_zipfile()
303 php_stream_seek(fp, PHAR_GET_32(locator.cdir_offset), SEEK_SET); in phar_parse_zipfile()
305 zend_hash_init(&mydata->manifest, PHAR_GET_16(locator.count), in phar_parse_zipfile()
309 zend_hash_init(&mydata->virtual_dirs, PHAR_GET_16(locator.count) * 2, in phar_parse_zipfile()
360 for (i = 0; i < PHAR_GET_16(locator.count); ++i) { in phar_parse_zipfile()
441 php_stream_seek(fp, PHAR_GET_32(locator.cdir_offset), SEEK_SET); in phar_parse_zipfile()
443 php_stream_copy_to_stream_ex(fp, sigfile, beforeus - PHAR_GET_32(locator.cdir_offset), NULL); in phar_parse_zipfile()
445 php_stream_write(sigfile, metadata, PHAR_GET_16(locator.comment_len)); in phar_parse_zipfile()
473 if (i != PHAR_GET_16(locator.count) - 1) { in phar_parse_zipfile()