Searched defs:callback (Results 1 - 10 of 10) sorted by relevance

/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_events.h19 void (*callback)(struct fpm_event_s *, short, void *); member in struct:fpm_event_s
45 int fpm_event_set(struct fpm_event_s *ev, int fd, int flags, void (*callback)(struct fpm_event_s *, short, void *), void *arg);
/PHP_TRUNK/ext/pdo_sqlite/
H A Dphp_pdo_sqlite_int.h45 /* accelerated callback references */
53 zval callback; member in struct:pdo_sqlite_collation
H A Dsqlite_driver.c148 if (!Z_ISUNDEF(collation->callback)) {
149 zval_ptr_dtor(&collation->callback);
383 php_error_docref(NULL, E_WARNING, "An error occurred while invoking the callback");
420 sqlite3_result_error(context, "failed to invoke callback", 0);
481 ZVAL_COPY_VALUE(&collation->fc.fci.function_name, &collation->callback);
493 php_error_docref(NULL, E_WARNING, "An error occurred while invoking the callback");
513 /* {{{ bool SQLite::sqliteCreateFunction(string name, mixed callback [, int argcount])
518 zval *callback; local
528 &func_name, &func_name_len, &callback, &argc)) {
535 if (!zend_is_callable(callback,
649 zval *callback; local
[all...]
/PHP_TRUNK/ext/interbase/
H A Dphp_ibase_udf.c186 zval callback, args[4], return_value; local
190 ZVAL_STRING(&callback, name);
195 if (!zend_is_callable(&callback, 0, NULL)) {
289 &callback, &return_value, argc, args)) {
305 zval_dtor(&callback);
307 /* return whatever type we got back from the callback: let DB handle conversion */
H A Dphp_ibase_includes.h103 zval callback; member in struct:event
/PHP_TRUNK/ext/readline/
H A Dreadline.c113 ZEND_ARG_INFO(0, callback)
558 /* {{{ proto void readline_callback_handler_install(string prompt, mixed callback)
559 Initializes the readline callback interface and terminal, prints the prompt and returns immediately */
562 zval *callback; local
567 if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS(), "sz", &prompt, &prompt_len, &callback)) {
571 if (!zend_is_callable(callback, 0, &name)) {
583 ZVAL_DUP(&_prepped_callback, callback);
592 Informs the readline callback interface that a character is ready for input */
602 Removes a previously installed callback handler and restores terminal settings */
/PHP_TRUNK/ext/pcre/pcrelib/
H A Dpcre_jit_compile.c184 PUBL(jit_callback) callback;
10419 if (functions->callback)
10420 arguments.stack = (struct sljit_stack *)functions->callback(functions->userdata);
10590 pcre_assign_jit_stack(pcre_extra *extra, pcre_jit_callback callback, void *userdata) argument
10593 pcre16_assign_jit_stack(pcre16_extra *extra, pcre16_jit_callback callback, void *userdata)
10596 pcre32_assign_jit_stack(pcre32_extra *extra, pcre32_jit_callback callback, void *userdata)
10605 functions->callback = callback;
10661 pcre_assign_jit_stack(pcre_extra *extra, pcre_jit_callback callback, void *userdata) argument
10664 pcre16_assign_jit_stack(pcre16_extra *extra, pcre16_jit_callback callback, voi
[all...]
/PHP_TRUNK/ext/ldap/
H A Dldap.c2537 /* link exists and callback set? */
2539 php_error_docref(NULL, E_WARNING, "Link not found or no callback set");
2543 /* callback */
2551 php_error_docref(NULL, E_WARNING, "rebind_proc PHP callback failed");
2559 /* {{{ proto bool ldap_set_rebind_proc(resource link, string callback)
2560 Set a callback function to do re-binds on referral chasing. */
2563 zval *link, *callback; local
2567 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rz", &link, &callback) != SUCCESS) {
2575 if (Z_TYPE_P(callback) == IS_STRING && Z_STRLEN_P(callback)
[all...]
/PHP_TRUNK/ext/standard/
H A Dstreamsfuncs.c828 zval *callback = &context->notifier->ptr; local
844 if (FAILURE == call_user_function_ex(EG(function_table), NULL, callback, &retval, 6, zvs, 0, NULL)) {
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_utils.c397 static int phpdbg_parse_variable_arg_wrapper(char *name, size_t len, char *keyname, size_t keylen, HashTable *parent, zval *zv, phpdbg_parse_var_func callback) { argument
398 return callback(name, len, keyname, keylen, parent, zv);
401 PHPDBG_API int phpdbg_parse_variable(char *input, size_t len, HashTable *parent, size_t i, phpdbg_parse_var_func callback, zend_bool silent) { argument
402 return phpdbg_parse_variable_with_arg(input, len, parent, i, (phpdbg_parse_var_with_arg_func) phpdbg_parse_variable_arg_wrapper, NULL, silent, callback);
405 PHPDBG_API int phpdbg_parse_variable_with_arg(char *input, size_t len, HashTable *parent, size_t i, phpdbg_parse_var_with_arg_func callback, phpdbg_parse_var_with_arg_func step_cb, zend_bool silent, void *arg) { argument
471 ret = callback(name, namelen, keyname, index_len, parent, zv, arg) == SUCCESS || ret == SUCCESS?SUCCESS:FAILURE;
480 phpdbg_parse_variable_with_arg(input, len, Z_OBJPROP_P(zv), i, callback, step_cb, silent, arg);
489 phpdbg_parse_variable_with_arg(input, len, Z_ARRVAL_P(zv), i, callback, step_cb, silent, arg);
523 ret = callback(name, i, keyname, index_len, parent, zv, arg) == SUCCESS || ret == SUCCESS?SUCCESS:FAILURE;

Completed in 35 milliseconds