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.c2551 smart_str main_metadata_str = {0}; in phar_flush_ex() local
2681 main_metadata_str.s = NULL; in phar_flush_ex()
2683 …smart_str_appendl(&main_metadata_str, ZSTR_VAL(phar->metadata_tracker.str), ZSTR_LEN(phar->metadat… in phar_flush_ex()
2686 php_var_serialize(&main_metadata_str, &phar->metadata_tracker.val, &metadata_hash); in phar_flush_ex()
2860 …en = offset + phar->alias_len + sizeof(manifest) + (main_metadata_str.s ? ZSTR_LEN(main_metadata_s… in phar_flush_ex()
2899 phar_set_32(manifest, main_metadata_str.s ? ZSTR_LEN(main_metadata_str.s) : 0); in phar_flush_ex()
2900 …f (4 != php_stream_write(newfile, manifest, 4) || ((main_metadata_str.s ? ZSTR_LEN(main_metadata_s… in phar_flush_ex()
2901 …&& ZSTR_LEN(main_metadata_str.s) != php_stream_write(newfile, ZSTR_VAL(main_metadata_str.s), ZSTR_… in phar_flush_ex()
2902 smart_str_free(&main_metadata_str); in phar_flush_ex()
2917 smart_str_free(&main_metadata_str); in phar_flush_ex()
H A Dphar_object.c4046 smart_str main_metadata_str = {0}; in serialize_metadata_or_throw() local
4049 php_var_serialize(&main_metadata_str, metadata, &metadata_hash); in serialize_metadata_or_throw()
4059 zend_string_release(main_metadata_str.s); in serialize_metadata_or_throw()
4065 zend_string_release(main_metadata_str.s); in serialize_metadata_or_throw()
4069 tracker->str = main_metadata_str.s; in serialize_metadata_or_throw()

Completed in 25 milliseconds