Searched refs:_ZSTR_STRUCT_SIZE (Results 1 – 9 of 9) sorted by relevance
/php-src/Zend/ |
H A D | zend_string.h | 114 #define _ZSTR_STRUCT_SIZE(len) (_ZSTR_HEADER_SIZE + len + 1) macro 120 …(str) = (zend_string *)do_alloca(ZEND_MM_ALIGNED_SIZE_EX(_ZSTR_STRUCT_SIZE(_len), 8), (use_heap));… 176 …zend_string *ret = (zend_string *)pemalloc(ZEND_MM_ALIGNED_SIZE(_ZSTR_STRUCT_SIZE(len)), persisten… in zend_string_alloc() 187 …zend_string *ret = (zend_string *)safe_pemalloc(n, m, ZEND_MM_ALIGNED_SIZE(_ZSTR_STRUCT_SIZE(l)), … in zend_string_safe_alloc() 252 ret = (zend_string *)perealloc(s, ZEND_MM_ALIGNED_SIZE(_ZSTR_STRUCT_SIZE(len)), persistent); in zend_string_realloc() 273 ret = (zend_string *)perealloc(s, ZEND_MM_ALIGNED_SIZE(_ZSTR_STRUCT_SIZE(len)), persistent); in zend_string_extend() 294 ret = (zend_string *)perealloc(s, ZEND_MM_ALIGNED_SIZE(_ZSTR_STRUCT_SIZE(len)), persistent); in zend_string_truncate() 314 …ret = (zend_string *)safe_perealloc(s, n, m, ZEND_MM_ALIGNED_SIZE(_ZSTR_STRUCT_SIZE(l)), persisten… in zend_string_safe_realloc()
|
/php-src/ext/mbstring/libmbfl/mbfl/ |
H A D | mbfl_encoding.h | 158 buf->str = emalloc(_ZSTR_STRUCT_SIZE(initsize)); in mb_convert_buf_init() 170 zend_string *newstr = erealloc((buf)->str, _ZSTR_STRUCT_SIZE(newsize)); \
|
/php-src/docs/source/core/data-structures/ |
H A D | zend_string.rst | 33 which is determined at runtime (see ``_ZSTR_STRUCT_SIZE``). When allocating the string, we append
|
/php-src/ext/opcache/ |
H A D | zend_persist_calc.c | 34 # define ADD_STRING(str) ADD_DUP_SIZE((str), _ZSTR_STRUCT_SIZE(ZSTR_LEN(str)))
|
H A D | zend_persist.c | 57 new_str = zend_shared_memdup_put((void*)str, _ZSTR_STRUCT_SIZE(ZSTR_LEN(str))); \ 69 new_str = zend_shared_memdup_put((void*)str, _ZSTR_STRUCT_SIZE(ZSTR_LEN(str))); \
|
H A D | zend_file_cache.c | 257 len = ZEND_MM_ALIGNED_SIZE(_ZSTR_STRUCT_SIZE(ZSTR_LEN(str))); 289 size_t size = _ZSTR_STRUCT_SIZE(ZSTR_LEN(str));
|
H A D | ZendAccelerator.c | 419 …ZEND_MM_ALIGNED_SIZE_EX(_ZSTR_STRUCT_SIZE(ZSTR_LEN(s)) + sizeof(zend_string_table_pos_t), ZEND_STR… 1455 new_key = zend_shared_alloc(ZEND_MM_ALIGNED_SIZE_EX(_ZSTR_STRUCT_SIZE(ZSTR_LEN(key)), 8)); in accel_new_interned_key()
|
/php-src/ext/opcache/jit/ |
H A D | zend_jit_helpers.c | 1734 result_str = perealloc(Z_STR_P(op1), ZEND_MM_ALIGNED_SIZE(_ZSTR_STRUCT_SIZE(result_len)), 0); in zend_jit_fast_assign_concat_helper() 1795 perealloc(op1_str, ZEND_MM_ALIGNED_SIZE(_ZSTR_STRUCT_SIZE(result_len)), 0); in zend_jit_fast_concat_tmp_helper()
|
/php-src/ext/sodium/ |
H A D | libsodium.c | 44 if (ZEND_MM_ALIGNED_SIZE(_ZSTR_STRUCT_SIZE(len)) < len) { in zend_string_checked_alloc()
|
Completed in 54 milliseconds