Lines Matching refs:hnd
63 xmlreader_prop_handler hnd; in xmlreader_register_prop_handler() local
65 hnd.read_char_func = read_char_func; in xmlreader_register_prop_handler()
66 hnd.read_int_func = read_int_func; in xmlreader_register_prop_handler()
67 hnd.type = rettype; in xmlreader_register_prop_handler()
68 zend_hash_str_add_mem(prop_handler, name, strlen(name), &hnd, sizeof(xmlreader_prop_handler)); in xmlreader_register_prop_handler()
73 static int xmlreader_property_reader(xmlreader_object *obj, xmlreader_prop_handler *hnd, zval *rv) in xmlreader_property_reader() argument
79 if (hnd->read_char_func) { in xmlreader_property_reader()
80 retchar = hnd->read_char_func(obj->ptr); in xmlreader_property_reader()
82 if (hnd->read_int_func) { in xmlreader_property_reader()
83 retint = hnd->read_int_func(obj->ptr); in xmlreader_property_reader()
92 switch (hnd->type) { in xmlreader_property_reader()
121 xmlreader_prop_handler *hnd = NULL; in xmlreader_get_property_ptr_ptr() local
134 hnd = zend_hash_find_ptr(obj->prop_handler, Z_STR_P(member)); in xmlreader_get_property_ptr_ptr()
137 if (hnd == NULL) { in xmlreader_get_property_ptr_ptr()
156 xmlreader_prop_handler *hnd = NULL; in xmlreader_read_property() local
169 hnd = zend_hash_find_ptr(obj->prop_handler, Z_STR_P(member)); in xmlreader_read_property()
172 if (hnd != NULL) { in xmlreader_read_property()
173 if (xmlreader_property_reader(obj, hnd, rv) == FAILURE) { in xmlreader_read_property()
195 xmlreader_prop_handler *hnd = NULL; in xmlreader_write_property() local
208 hnd = zend_hash_find_ptr(obj->prop_handler, Z_STR_P(member)); in xmlreader_write_property()
210 if (hnd != NULL) { in xmlreader_write_property()