Lines Matching refs:entry
96 ancillary_reg_entry entry; in init_ancillary_registry() local
103 entry.size = sizev; \ in init_ancillary_registry()
104 entry.var_el_size = var_size; \ in init_ancillary_registry()
105 entry.calc_space = calc; \ in init_ancillary_registry()
106 entry.from_array = from; \ in init_ancillary_registry()
107 entry.to_array = to; \ in init_ancillary_registry()
110 …hash_str_update_mem(&ancillary_registry.ht, (char*)&key, sizeof(key), (void*)&entry, sizeof(entry)) in init_ancillary_registry()
153 ancillary_reg_entry *entry; in get_ancillary_reg_entry() local
165 if ((entry = zend_hash_str_find_ptr(&ancillary_registry.ht, (char*)&key, sizeof(key))) != NULL) { in get_ancillary_reg_entry()
166 return entry; in get_ancillary_reg_entry()
283 ancillary_reg_entry *entry; in PHP_FUNCTION() local
299 entry = get_ancillary_reg_entry(level, type); in PHP_FUNCTION()
300 if (entry == NULL) { in PHP_FUNCTION()
306 if (entry->var_el_size > 0) { in PHP_FUNCTION()
308 size_t _rem_size = ZEND_LONG_MAX - entry->size; in PHP_FUNCTION()
309 size_t n_max = _rem_size / entry->var_el_size; in PHP_FUNCTION()
310 size_t size = entry->size + n * entry->var_el_size; in PHP_FUNCTION()
320 RETURN_LONG((zend_long)CMSG_SPACE(entry->size + n * entry->var_el_size)); in PHP_FUNCTION()