Searched defs:apply_func (Results 1 - 4 of 4) sorted by relevance

/PHP_5_4/Zend/
H A Dzend_hash.c699 * from a hashtable. apply_func() receives the data and decides if the entry
707 ZEND_API void zend_hash_apply(HashTable *ht, apply_func_t apply_func TSRMLS_DC)
716 int result = apply_func(p->pData TSRMLS_CC);
731 ZEND_API void zend_hash_apply_with_argument(HashTable *ht, apply_func_arg_t apply_func, void *argument TSRMLS_DC) argument
740 int result = apply_func(p->pData, argument TSRMLS_CC);
755 ZEND_API void zend_hash_apply_with_arguments(HashTable *ht TSRMLS_DC, apply_func_args_t apply_func, int num_args, ...) argument
772 result = apply_func(p->pData TSRMLS_CC, num_args, args, &hash_key);
790 ZEND_API void zend_hash_reverse_apply(HashTable *ht, apply_func_t apply_func TSRMLS_DC)
799 int result = apply_func(p->pData TSRMLS_CC);
H A Dzend_ts_hash.c158 ZEND_API void zend_ts_hash_apply(TsHashTable *ht, apply_func_t apply_func TSRMLS_DC)
161 zend_hash_apply(TS_HASH(ht), apply_func TSRMLS_CC);
165 ZEND_API void zend_ts_hash_apply_with_argument(TsHashTable *ht, apply_func_arg_t apply_func, void *argument TSRMLS_DC) argument
168 zend_hash_apply_with_argument(TS_HASH(ht), apply_func, argument TSRMLS_CC); local
172 ZEND_API void zend_ts_hash_apply_with_arguments(TsHashTable *ht TSRMLS_DC, apply_func_args_t apply_func, int num_args, ...) argument
178 zend_hash_apply_with_arguments(TS_HASH(ht) TSRMLS_CC, apply_func, num_args, args);
183 ZEND_API void zend_ts_hash_reverse_apply(TsHashTable *ht, apply_func_t apply_func TSRMLS_DC)
186 zend_hash_reverse_apply(TS_HASH(ht), apply_func TSRMLS_CC);
/PHP_5_4/ext/mysqlnd/
H A Dmysqlnd_plugin.c170 PHPAPI void _mysqlnd_plugin_apply_with_argument(apply_func_arg_t apply_func, void * argument TSRMLS_DC) argument
180 int result = apply_func(p->pData, argument TSRMLS_CC);
/PHP_5_4/ext/spl/
H A Dspl_iterators.c3471 PHPAPI int spl_iterator_apply(zval *obj, spl_iterator_apply_func_t apply_func, void *puser TSRMLS_DC) argument
3494 if (apply_func(iter, puser TSRMLS_CC) == ZEND_HASH_APPLY_STOP || EG(exception)) {

Completed in 11 milliseconds