Home
last modified time | relevance | path

Searched refs:hnd (Results 1 – 11 of 11) sorted by relevance

/php-src/ext/session/tests/user_session_module/
H A Dbasic_set_save_handler_test02.phpt31 return $GLOBALS["hnd"]->data;
37 $GLOBALS["hnd"]->data = $val;
50 $hnd = new handler;
58 session_set_save_handler($hnd);
62 session_decode($hnd->data);
72 session_set_save_handler($hnd);
85 session_set_save_handler($hnd);
H A Dbasic_set_save_handler_test.phpt30 return $GLOBALS["hnd"]->data;
36 $GLOBALS["hnd"]->data = $val;
49 $hnd = new handler;
/php-src/ext/xmlreader/
H A Dphp_xmlreader.c62 zend_hash_add_new_ptr(prop_handler, str, (void *) hnd); in xmlreader_register_prop_handler()
78 if (hnd->read_char_func) { in xmlreader_property_reader()
79 retchar = hnd->read_char_func(obj->ptr); in xmlreader_property_reader()
81 if (hnd->read_int_func) { in xmlreader_property_reader()
82 retint = hnd->read_int_func(obj->ptr); in xmlreader_property_reader()
91 switch (hnd->type) { in xmlreader_property_reader()
116 xmlreader_prop_handler *hnd = zend_hash_find_ptr(&xmlreader_prop_handlers, name); in xmlreader_get_property_ptr_ptr() local
118 if (hnd == NULL) { in xmlreader_get_property_ptr_ptr()
133 if (hnd != NULL) { in xmlreader_read_property()
134 if (xmlreader_property_reader(obj, hnd, rv) == FAILURE) { in xmlreader_read_property()
[all …]
/php-src/ext/dba/
H A Ddba.c262 if (info->hnd) { in dba_close()
263 info->hnd->close(info); in dba_close()
878 info->hnd = hptr; in php_dba_open()
948 RETVAL_BOOL(info->hnd->exists(info, key_str) == SUCCESS); in PHP_FUNCTION()
995 if (!strcmp(info->hnd->name, "cdb")) { in PHP_FUNCTION()
1001 } else if (!strcmp(info->hnd->name, "inifile")) { in PHP_FUNCTION()
1070 zend_string *fkey = info->hnd->firstkey(info); in PHP_FUNCTION()
1092 zend_string *nkey = info->hnd->nextkey(info); in PHP_FUNCTION()
1127 RETVAL_BOOL(info->hnd->delete(info, key_str) == SUCCESS); in PHP_FUNCTION()
1161 if (info->hnd->optimize(info) == SUCCESS) { in PHP_FUNCTION()
[all …]
H A Dphp_dba.h51 const struct dba_handler *hnd; member
88 char* (*info)(const struct dba_handler *hnd, dba_info *);
115 char *dba_info_##x(const dba_handler *hnd, dba_info *info)
H A Ddba_dbm.c194 return dba_info_gdbm(hnd, info); in DBA_INFO_FUNC()
H A Ddba_cdb.c323 if (!strcmp(hnd->name, "cdb")) { in DBA_INFO_FUNC()
/php-src/ext/zip/
H A Dphp_zip.c844 zip_prop_handler hnd; in php_zip_register_prop_handler() local
849 hnd.type = rettype; in php_zip_register_prop_handler()
868 switch (hnd->type) { in php_zip_property_reader()
891 zip_prop_handler *hnd = NULL; in php_zip_get_property_ptr_ptr() local
899 if (hnd == NULL) { in php_zip_get_property_ptr_ptr()
911 zip_prop_handler *hnd = NULL; in php_zip_write_property() local
919 if (hnd != NULL) { in php_zip_write_property()
931 zip_prop_handler *hnd = NULL; in php_zip_read_property() local
939 if (hnd != NULL) { in php_zip_read_property()
964 if (hnd != NULL) { in php_zip_has_property()
[all …]
/php-src/ext/mysqli/
H A Dmysqli.c246 mysqli_prop_handler *hnd = zend_hash_find_ptr(obj->prop_handler, name); in mysqli_read_property() local
247 if (hnd) { in mysqli_read_property()
248 if (hnd->read_func(obj, rv, type == BP_VAR_IS) == SUCCESS) { in mysqli_read_property()
265 const mysqli_prop_handler *hnd = zend_hash_find_ptr(obj->prop_handler, name); in mysqli_write_property() local
266 if (hnd) { in mysqli_write_property()
267 if (!hnd->write_func) { in mysqli_write_property()
282 hnd->write_func(obj, &tmp); in mysqli_write_property()
285 hnd->write_func(obj, value); in mysqli_write_property()
/php-src/ext/snmp/
H A Dsnmp.c1684 php_snmp_prop_handler *hnd; in php_snmp_read_property() local
1690 if (hnd && hnd->read_func) { in php_snmp_read_property()
1691 ret = hnd->read_func(obj, rv); in php_snmp_read_property()
1711 if (hnd) { in php_snmp_write_property()
1712 if (!hnd->write_func) { in php_snmp_write_property()
1726 hnd->write_func(obj, &tmp); in php_snmp_write_property()
1729 hnd->write_func(obj, value); in php_snmp_write_property()
1743 php_snmp_prop_handler *hnd; in php_snmp_has_property() local
1788 php_snmp_prop_handler *hnd; in php_snmp_get_properties() local
1797 if (!hnd->read_func || hnd->read_func(obj, &rv) != SUCCESS) { in php_snmp_get_properties()
[all …]
/php-src/ext/dom/
H A Dphp_dom.c355 dom_prop_handler *hnd = NULL; in dom_read_property() local
358 hnd = zend_hash_find_ptr(obj->prop_handler, name); in dom_read_property()
361 if (hnd) { in dom_read_property()
362 int ret = hnd->read_func(obj, rv); in dom_read_property()
379 dom_prop_handler *hnd = NULL; in dom_write_property() local
382 hnd = zend_hash_find_ptr(obj->prop_handler, name); in dom_write_property()
385 if (hnd) { in dom_write_property()
386 if (!hnd->write_func) { in dom_write_property()
399 hnd->write_func(obj, &tmp); in dom_write_property()
412 dom_prop_handler *hnd = NULL; in dom_property_exists() local
[all …]

Completed in 134 milliseconds