Searched defs:userdata (Results 1 - 8 of 8) sorted by relevance

/PHP_5_4/ext/gd/
H A Dgdcache.h21 * - a function to test if a cached userdata matches some keydata
22 * - a function to provide a new userdata struct to the cache
24 * - a function to release a userdata struct when it is
53 typedef int (*gdCacheTestFn_t)(void *userdata, void *keydata);
55 typedef void (*gdCacheReleaseFn_t)(void *userdata);
61 void *userdata; member in struct:gdCache_element_s
H A Dgdcache.c21 * - a function to test if a cached userdata matches some keydata
22 * - a function to provide a new userdata struct to the cache
24 * - a function to release a userdata struct when it is
82 (*(head->gdCacheRelease))(elem->userdata);
95 void *userdata; local
99 if ((*(head->gdCacheTest))(elem->userdata, keydata)) {
106 return elem->userdata;
113 userdata = (*(head->gdCacheFetch))(&(head->error), keydata);
114 if (! userdata) {
125 (*(head->gdCacheRelease))(elem->userdata);
[all...]
/PHP_5_4/ext/gd/libgd/
H A Dgdcache.c30 * - a function to test if a cached userdata matches some keydata
31 * - a function to provide a new userdata struct to the cache
33 * - a function to release a userdata struct when it is
82 (*(head->gdCacheRelease)) (elem->userdata);
95 void *userdata; local
100 if ((*(head->gdCacheTest)) (elem->userdata, keydata))
109 return elem->userdata;
116 userdata = (*(head->gdCacheFetch)) (&(head->error), keydata);
117 if (!userdata)
131 (*(head->gdCacheRelease)) (elem->userdata);
[all...]
H A Dgdcache.h21 * - a function to test if a cached userdata matches some keydata
22 * - a function to provide a new userdata struct to the cache
24 * - a function to release a userdata struct when it is
52 typedef int (*gdCacheTestFn_t)(void *userdata, void *keydata);
54 typedef void (*gdCacheReleaseFn_t)(void *userdata);
60 void *userdata; member in struct:gdCache_element_s
/PHP_5_4/ext/mysqlnd/
H A Dmysqlnd_structs.h149 int (*local_infile_init)(void **ptr, char *filename, void **userdata TSRMLS_DC);
154 void *userdata; member in struct:st_mysqlnd_infile
/PHP_5_4/ext/mysqli/
H A Dmysqli.c1363 static int php_local_infile_init(void **ptr, const char *filename, void *userdata) argument
1371 /* save pointer to MY_MYSQL structure (userdata) */
1376 if (!(mysql = (MY_MYSQL *)userdata)) {
1396 data->userdata = mysql;
1417 mysql = data->userdata;
1516 if (!data || !(mysql = data->userdata)) {
H A Dphp_mysqli_structs.h174 void *userdata; member in struct:__anon7
/PHP_5_4/ext/standard/
H A Darray.c1053 static int php_array_walk(HashTable *target_hash, zval *userdata, int recursive TSRMLS_DC) /* {{{ */ argument
1064 args[2] = &userdata;
1065 if (userdata) {
1066 Z_ADDREF_P(userdata);
1070 BG(array_walk_fci).param_count = userdata ? 3 : 2;
1086 if (userdata) {
1087 zval_ptr_dtor(&userdata);
1097 php_array_walk(thash, userdata, recursive TSRMLS_CC);
1139 if (userdata) {
1140 zval_ptr_dtor(&userdata);
1151 zval *userdata = NULL; local
1176 zval *userdata = NULL; local
[all...]

Completed in 42 milliseconds