Lines Matching refs:descr
252 const field_descriptor *descr; in from_zval_write_aggregation() local
259 for (descr = descriptors; descr->name != NULL && !ctx->err.has_error; descr++) { in from_zval_write_aggregation()
261 descr->name, descr->name_size - 1)) != NULL) { in from_zval_write_aggregation()
263 if (descr->from_zval == NULL) { in from_zval_write_aggregation()
265 "of key '%s'", descr->name); in from_zval_write_aggregation()
269 zend_llist_add_element(&ctx->keys, (void*)&descr->name); in from_zval_write_aggregation()
270 descr->from_zval(elem, ((char*)structure) + descr->field_offset, ctx); in from_zval_write_aggregation()
273 } else if (descr->required) { in from_zval_write_aggregation()
274 do_from_zval_err(ctx, "The key '%s' is required", descr->name); in from_zval_write_aggregation()
284 const field_descriptor *descr; in to_zval_read_aggregation() local
289 for (descr = descriptors; descr->name != NULL && !ctx->err.has_error; descr++) { in to_zval_read_aggregation()
292 if (descr->to_zval == NULL) { in to_zval_read_aggregation()
294 "field into value for key '%s'", descr->name); in to_zval_read_aggregation()
299 new_zv = zend_symtable_str_update(Z_ARRVAL_P(zarr), descr->name, descr->name_size - 1, &tmp); in to_zval_read_aggregation()
301 zend_llist_add_element(&ctx->keys, (void*)&descr->name); in to_zval_read_aggregation()
302 descr->to_zval(structure + descr->field_offset, new_zv, ctx); in to_zval_read_aggregation()