Lines Matching refs:hnd

820 	zip_prop_handler hnd;  in php_zip_register_prop_handler()  local
822 hnd.read_const_char_func = read_char_func; in php_zip_register_prop_handler()
823 hnd.read_int_func = read_int_func; in php_zip_register_prop_handler()
824 hnd.read_const_char_from_obj_func = read_char_from_obj_func; in php_zip_register_prop_handler()
825 hnd.type = rettype; in php_zip_register_prop_handler()
826 zend_hash_add(prop_handler, name, strlen(name)+1, &hnd, sizeof(zip_prop_handler), NULL); in php_zip_register_prop_handler()
830 static int php_zip_property_reader(ze_zip_object *obj, zip_prop_handler *hnd, zval **retval, int ne… in php_zip_property_reader() argument
837 if (hnd->read_const_char_func) { in php_zip_property_reader()
838 retchar = hnd->read_const_char_func(obj->za, &len TSRMLS_CC); in php_zip_property_reader()
840 if (hnd->read_int_func) { in php_zip_property_reader()
841 retint = hnd->read_int_func(obj->za TSRMLS_CC); in php_zip_property_reader()
847 if (hnd->read_const_char_from_obj_func) { in php_zip_property_reader()
848 retchar = hnd->read_const_char_from_obj_func(obj TSRMLS_CC); in php_zip_property_reader()
859 switch (hnd->type) { in php_zip_property_reader()
887 zip_prop_handler *hnd; in php_zip_get_property_ptr_ptr() local
902 ret = zend_hash_find(obj->prop_handler, Z_STRVAL_P(member), Z_STRLEN_P(member)+1, (void **) &hnd); in php_zip_get_property_ptr_ptr()
923 zip_prop_handler *hnd; in php_zip_read_property() local
938 ret = zend_hash_find(obj->prop_handler, Z_STRVAL_P(member), Z_STRLEN_P(member)+1, (void **) &hnd); in php_zip_read_property()
942 ret = php_zip_property_reader(obj, hnd, &retval, 1 TSRMLS_CC); in php_zip_read_property()
965 zip_prop_handler *hnd; in php_zip_has_property() local
980 ret = zend_hash_find(obj->prop_handler, Z_STRVAL_P(member), Z_STRLEN_P(member)+1, (void **) &hnd); in php_zip_has_property()
989 } else if (php_zip_property_reader(obj, hnd, &tmp, 0 TSRMLS_CC) == SUCCESS) { in php_zip_has_property()
1015 zip_prop_handler *hnd; in php_zip_get_properties() local
1032 while (zend_hash_get_current_data_ex(obj->prop_handler, (void**)&hnd, &pos) == SUCCESS) { in php_zip_get_properties()
1035 ret = php_zip_property_reader(obj, hnd, &val, 0 TSRMLS_CC); in php_zip_get_properties()