Home
last modified time | relevance | path

Searched refs:main_metadata_str (Results 1 – 2 of 2) sorted by relevance

/php-src/ext/phar/
H A Dphar.c2550 smart_str main_metadata_str = {0}; in phar_flush_ex() local
2680 main_metadata_str.s = NULL; in phar_flush_ex()
2682 …smart_str_appendl(&main_metadata_str, ZSTR_VAL(phar->metadata_tracker.str), ZSTR_LEN(phar->metadat… in phar_flush_ex()
2685 php_var_serialize(&main_metadata_str, &phar->metadata_tracker.val, &metadata_hash); in phar_flush_ex()
2859 …en = offset + phar->alias_len + sizeof(manifest) + (main_metadata_str.s ? ZSTR_LEN(main_metadata_s… in phar_flush_ex()
2898 phar_set_32(manifest, main_metadata_str.s ? ZSTR_LEN(main_metadata_str.s) : 0); in phar_flush_ex()
2899 …f (4 != php_stream_write(newfile, manifest, 4) || ((main_metadata_str.s ? ZSTR_LEN(main_metadata_s… in phar_flush_ex()
2900 …&& ZSTR_LEN(main_metadata_str.s) != php_stream_write(newfile, ZSTR_VAL(main_metadata_str.s), ZSTR_… in phar_flush_ex()
2901 smart_str_free(&main_metadata_str); in phar_flush_ex()
2916 smart_str_free(&main_metadata_str); in phar_flush_ex()
H A Dphar_object.c4031 smart_str main_metadata_str = {0}; in serialize_metadata_or_throw() local
4034 php_var_serialize(&main_metadata_str, metadata, &metadata_hash); in serialize_metadata_or_throw()
4044 zend_string_release(main_metadata_str.s); in serialize_metadata_or_throw()
4050 zend_string_release(main_metadata_str.s); in serialize_metadata_or_throw()
4054 tracker->str = main_metadata_str.s; in serialize_metadata_or_throw()

Completed in 31 milliseconds