Lines Matching refs:hnd
304 dom_prop_handler hnd; in dom_register_prop_handler() local
306 hnd.read_func = read_func ? read_func : dom_read_na; in dom_register_prop_handler()
307 hnd.write_func = write_func ? write_func : dom_write_na; in dom_register_prop_handler()
308 zend_hash_str_add_mem(prop_handler, name, strlen(name), &hnd, sizeof(dom_prop_handler)); in dom_register_prop_handler()
334 dom_prop_handler *hnd = NULL; in dom_read_property() local
337 hnd = zend_hash_find_ptr(obj->prop_handler, member_str); in dom_read_property()
342 if (hnd) { in dom_read_property()
343 int ret = hnd->read_func(obj, rv); in dom_read_property()
364 dom_prop_handler *hnd = NULL; in dom_write_property() local
367 hnd = zend_hash_find_ptr(obj->prop_handler, member_str); in dom_write_property()
369 if (hnd) { in dom_write_property()
370 hnd->write_func(obj, value); in dom_write_property()
385 dom_prop_handler *hnd = NULL; in dom_property_exists() local
389 hnd = zend_hash_find_ptr(obj->prop_handler, member_str); in dom_property_exists()
391 if (hnd) { in dom_property_exists()
396 } else if (hnd->read_func(obj, &tmp) == SUCCESS) { in dom_property_exists()
538 dom_prop_handler *hnd = Z_PTR_P(zv); in dom_copy_prop_handler() local
540 memcpy(Z_PTR_P(zv), hnd, sizeof(dom_prop_handler)); in dom_copy_prop_handler()