Lines Matching refs:persistent

33 php_mysqlnd_free_field_metadata(MYSQLND_FIELD *meta, zend_bool persistent TSRMLS_DC)  in php_mysqlnd_free_field_metadata()
37 mnd_pefree(meta->root, persistent); in php_mysqlnd_free_field_metadata()
41 mnd_pefree(meta->def, persistent); in php_mysqlnd_free_field_metadata()
157 field_packet->persistent_alloc = meta->persistent; in MYSQLND_METHOD()
163 mnd_pefree(meta->fields[i].root, meta->persistent); in MYSQLND_METHOD()
272 DBG_INF_FMT("persistent=%u", meta->persistent); in MYSQLND_METHOD()
278 php_mysqlnd_free_field_metadata(fields++, meta->persistent TSRMLS_CC); in MYSQLND_METHOD()
280 mnd_pefree(meta->fields, meta->persistent); in MYSQLND_METHOD()
290 mnd_pefree(meta->zend_hash_keys[i].ustr.v, meta->persistent); in MYSQLND_METHOD()
295 mnd_pefree(meta->zend_hash_keys, meta->persistent); in MYSQLND_METHOD()
299 mnd_pefree(meta, meta->persistent); in MYSQLND_METHOD()
308 …_res_meta, clone_metadata)(const MYSQLND_RES_METADATA * const meta, zend_bool persistent TSRMLS_DC) in MYSQLND_METHOD()
318 DBG_INF_FMT("persistent=%u", persistent); in MYSQLND_METHOD()
320 new_meta = mnd_pecalloc(1, sizeof(MYSQLND_RES_METADATA), persistent); in MYSQLND_METHOD()
324 new_meta->persistent = persistent; in MYSQLND_METHOD()
327 new_fields = mnd_pecalloc(meta->field_count + 1, sizeof(MYSQLND_FIELD), persistent); in MYSQLND_METHOD()
332 new_meta->zend_hash_keys = mnd_pemalloc(len, persistent); in MYSQLND_METHOD()
345 new_fields[i].root = mnd_pemalloc(orig_fields[i].root_len, persistent); in MYSQLND_METHOD()
375 new_fields[i].def = mnd_pemalloc(orig_fields[i].def_length + 1, persistent); in MYSQLND_METHOD()
471 mysqlnd_result_meta_init(unsigned int field_count, zend_bool persistent TSRMLS_DC) in mysqlnd_result_meta_init()
474 MYSQLND_RES_METADATA *ret = mnd_pecalloc(1, alloc_size, persistent); in mysqlnd_result_meta_init()
476 DBG_INF_FMT("persistent=%u", persistent); in mysqlnd_result_meta_init()
484 ret->persistent = persistent; in mysqlnd_result_meta_init()
487 ret->fields = mnd_pecalloc(field_count + 1, sizeof(MYSQLND_FIELD), ret->persistent); in mysqlnd_result_meta_init()
488 …zend_hash_keys = mnd_pecalloc(field_count, sizeof(struct mysqlnd_field_hash_key), ret->persistent); in mysqlnd_result_meta_init()