Lines Matching refs:halt_offset

528 			if (!phar->halt_offset && !phar->is_brandnew && (phar->is_tar || phar->is_zip)) {  in phar_open_parsed_phar()
733 …har *fname, size_t fname_len, char *alias, size_t alias_len, zend_long halt_offset, phar_archive_d… in phar_parse_pharfile() argument
756 if (-1 == php_stream_seek(fp, halt_offset, SEEK_SET)) { in phar_parse_pharfile()
768 halt_offset += 3; in phar_parse_pharfile()
778 ++halt_offset; in phar_parse_pharfile()
782 ++halt_offset; in phar_parse_pharfile()
787 if (-1 == php_stream_seek(fp, halt_offset, SEEK_SET)) { in phar_parse_pharfile()
1126 offset = halt_offset + manifest_len + 4; in phar_parse_pharfile()
1163 if (offset == halt_offset + manifest_len + 4) { in phar_parse_pharfile()
1236 mydata->halt_offset = halt_offset; in phar_parse_pharfile()
1640 zend_long halt_offset; in phar_open_from_fp() local
1654 halt_offset = 0; in phar_open_from_fp()
1788 halt_offset += (pos - buffer); /* no -tokenlen+tokenlen here */ in phar_open_from_fp()
1789 …return phar_parse_pharfile(fp, fname, fname_len, alias, alias_len, halt_offset, pphar, compression… in phar_open_from_fp()
1792 halt_offset += got; in phar_open_from_fp()
2537 size_t halt_offset; in phar_flush_ex() local
2637 phar->halt_offset = len + end_sequence_len; in phar_flush_ex()
2642 if (!user_stub && phar->halt_offset && oldfile && !phar->is_brandnew) { in phar_flush_ex()
2643 php_stream_copy_to_stream_ex(oldfile, newfile, phar->halt_offset, &written); in phar_flush_ex()
2647 phar->halt_offset = ZSTR_LEN(new_stub); in phar_flush_ex()
2648 written = php_stream_write(newfile, ZSTR_VAL(new_stub), phar->halt_offset); in phar_flush_ex()
2650 if (phar->halt_offset != written) { in phar_flush_ex()
2672 halt_offset = manifest_ftell; in phar_flush_ex()
3147 phar->halt_offset = halt_offset; in phar_flush_ex()
3204 if (-1 == php_stream_seek(phar->fp, phar->halt_offset, SEEK_SET)) { in phar_flush_ex()
3240 return ((phar_archive_data*)handle)->halt_offset + 32; in phar_zend_stream_fsizer()