Lines Matching refs:entry
94 ancillary_reg_entry entry; in init_ancillary_registry() local
101 entry.size = sizev; \ in init_ancillary_registry()
102 entry.var_el_size = var_size; \ in init_ancillary_registry()
103 entry.calc_space = calc; \ in init_ancillary_registry()
104 entry.from_array = from; \ in init_ancillary_registry()
105 entry.to_array = to; \ in init_ancillary_registry()
108 …hash_str_update_mem(&ancillary_registry.ht, (char*)&key, sizeof(key), (void*)&entry, sizeof(entry)) in init_ancillary_registry()
159 ancillary_reg_entry *entry; in get_ancillary_reg_entry() local
171 if ((entry = zend_hash_str_find_ptr(&ancillary_registry.ht, (char*)&key, sizeof(key))) != NULL) { in get_ancillary_reg_entry()
172 return entry; in get_ancillary_reg_entry()
289 ancillary_reg_entry *entry; in PHP_FUNCTION() local
305 entry = get_ancillary_reg_entry(level, type); in PHP_FUNCTION()
306 if (entry == NULL) { in PHP_FUNCTION()
312 if (entry->var_el_size > 0) { in PHP_FUNCTION()
314 size_t _rem_size = ZEND_LONG_MAX - entry->size; in PHP_FUNCTION()
315 size_t n_max = _rem_size / entry->var_el_size; in PHP_FUNCTION()
316 size_t size = entry->size + n * entry->var_el_size; in PHP_FUNCTION()
326 RETURN_LONG((zend_long)CMSG_SPACE(entry->size + n * entry->var_el_size)); in PHP_FUNCTION()