Lines Matching refs:hnd

61 	xmlreader_prop_handler hnd;  in xmlreader_register_prop_handler()  local
63 hnd.read_char_func = read_char_func; in xmlreader_register_prop_handler()
64 hnd.read_int_func = read_int_func; in xmlreader_register_prop_handler()
65 hnd.type = rettype; in xmlreader_register_prop_handler()
66 zend_hash_add(prop_handler, name, strlen(name)+1, &hnd, sizeof(xmlreader_prop_handler), NULL); in xmlreader_register_prop_handler()
71 static int xmlreader_property_reader(xmlreader_object *obj, xmlreader_prop_handler *hnd, zval **ret… in xmlreader_property_reader() argument
77 if (hnd->read_char_func) { in xmlreader_property_reader()
78 retchar = hnd->read_char_func(obj->ptr); in xmlreader_property_reader()
80 if (hnd->read_int_func) { in xmlreader_property_reader()
81 retint = hnd->read_int_func(obj->ptr); in xmlreader_property_reader()
92 switch (hnd->type) { in xmlreader_property_reader()
120 xmlreader_prop_handler *hnd; in xmlreader_get_property_ptr_ptr() local
134 ret = zend_hash_find(obj->prop_handler, Z_STRVAL_P(member), Z_STRLEN_P(member)+1, (void **) &hnd); in xmlreader_get_property_ptr_ptr()
154 xmlreader_prop_handler *hnd; in xmlreader_read_property() local
169 ret = zend_hash_find(obj->prop_handler, Z_STRVAL_P(member), Z_STRLEN_P(member)+1, (void **) &hnd); in xmlreader_read_property()
172 ret = xmlreader_property_reader(obj, hnd, &retval TSRMLS_CC); in xmlreader_read_property()
196 xmlreader_prop_handler *hnd; in xmlreader_write_property() local
211 …ash_find((HashTable *)obj->prop_handler, Z_STRVAL_P(member), Z_STRLEN_P(member)+1, (void **) &hnd); in xmlreader_write_property()