| /PHP_5_4/ext/spl/examples/ |
| H A D | callbackfilteriterator.inc | 14 * @brief A non abstract FiletrIterator that uses a callback foreach element 21 const USE_FALSE = 0; /**< mode: accept no elements, no callback */ 22 const USE_TRUE = 1; /**< mode: accept all elements, no callback */ 23 const USE_VALUE = 2; /**< mode: pass value to callback */ 24 const USE_KEY = 3; /**< mode: pass key to callback */ 25 const USE_BOTH = 4; /**< mode: pass value and key to callback */ 29 private $callback; /**< callback to use */ 38 * @param callback callback functio [all...] |
| /PHP_5_4/ext/sqlite3/libsqlite/ |
| H A D | sqlite3.c | 840 ** The type for a callback function. 857 ** argument. ^If the callback function of the 3rd argument to 861 ** callback invocation. ^If the callback pointer to sqlite3_exec() 862 ** is NULL, then no callback is ever invoked and result rows are 877 ** ^If an sqlite3_exec() callback returns non-zero, the sqlite3_exec() 878 ** routine returns SQLITE_ABORT without invoking the callback again and 881 ** ^The 2nd argument to the sqlite3_exec() callback function is the 883 ** callback is an array of pointers to strings obtained as if from 886 ** sqlite3_exec() callback i [all...] |
| H A D | sqlite3.h | 293 ** The type for a callback function. 310 ** argument. ^If the callback function of the 3rd argument to 314 ** callback invocation. ^If the callback pointer to sqlite3_exec() 315 ** is NULL, then no callback is ever invoked and result rows are 330 ** ^If an sqlite3_exec() callback returns non-zero, the sqlite3_exec() 331 ** routine returns SQLITE_ABORT without invoking the callback again and 334 ** ^The 2nd argument to the sqlite3_exec() callback function is the 336 ** callback is an array of pointers to strings obtained as if from 339 ** sqlite3_exec() callback i [all...] |
| /PHP_5_4/sapi/fpm/fpm/ |
| H A D | fpm_events.h | 19 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);
|
| H A D | fpm_events.c | 463 if (!ev || !ev->callback) { 467 (*ev->callback)( (struct fpm_event_s *) ev, ev->which, ev->arg); 471 int fpm_event_set(struct fpm_event_s *ev, int fd, int flags, void (*callback)(struct fpm_event_s *, short, void *), void *arg) /* {{{ */ 473 if (!ev || !callback || fd < -1) { 478 ev->callback = callback;
|
| /PHP_5_4/ext/interbase/ |
| H A D | ibase_events.c | 60 if (event->callback) { 61 zval_dtor(event->callback); 62 FREE_ZVAL(event->callback); 63 event->callback = NULL; 206 * The callback function is called when the event is first registered and when the event 207 * is cancelled. I consider this is a bug. By clearing event->callback first and setting 237 /* call the callback provided by the user */ 239 event->callback, &return_value, 2, args TSRMLS_CC)) { 240 _php_ibase_module_error("Error calling callback %s" TSRMLS_CC, Z_STRVAL_P(event->callback)); [all...] |
| H A D | php_ibase_includes.h | 105 zval *callback; member in struct:event
|
| H A D | php_ibase_udf.c | 188 zval callback, args[4], *argp[4], return_value; local 192 INIT_ZVAL(callback); 193 ZVAL_STRING(&callback,name,0); 198 if (!zend_is_callable(&callback, 0, NULL TSRMLS_CC)) { 292 &callback, &return_value, argc, argp TSRMLS_CC)) { 309 /* return whatever type we got back from the callback: let DB handle conversion */
|
| /PHP_5_4/ext/ldap/ |
| H A D | ldap.c | 2067 /* link exists and callback set? */ 2069 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Link not found or no callback set"); 2073 /* callback */ 2083 php_error_docref(NULL TSRMLS_CC, E_WARNING, "rebind_proc PHP callback failed"); 2092 /* {{{ proto bool ldap_set_rebind_proc(resource link, string callback) 2093 Set a callback function to do re-binds on referral chasing. */ 2096 zval *link, *callback; local 2100 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rz", &link, &callback) != SUCCESS) { 2106 if (Z_TYPE_P(callback) == IS_STRING && Z_STRLEN_P(callback) [all...] |
| /PHP_5_4/ext/mbstring/ |
| H A D | mbstring.c | 472 ZEND_ARG_INFO(0, callback)
|
| /PHP_5_4/ext/pdo_sqlite/ |
| H A D | php_pdo_sqlite_int.h | 45 /* accelerated callback references */ 53 zval *callback; member in struct:pdo_sqlite_collation
|
| H A D | sqlite_driver.c | 148 if (collation->callback) { 149 zval_ptr_dtor(&collation->callback); 388 php_error_docref(NULL TSRMLS_CC, E_WARNING, "An error occurred while invoking the callback"); 428 sqlite3_result_error(context, "failed to invoke callback", 0); 494 collation->fc.fci.function_name = collation->callback; 510 php_error_docref(NULL TSRMLS_CC, E_WARNING, "An error occurred while invoking the callback"); 532 /* {{{ bool SQLite::sqliteCreateFunction(string name, mixed callback [, int argcount]) 537 zval *callback; local 547 &func_name, &func_name_len, &callback, &argc)) { 554 if (!zend_is_callable(callback, 671 zval *callback; local [all...] |
| /PHP_5_4/ext/readline/ |
| H A D | readline.c | 113 ZEND_ARG_INFO(0, callback) 561 /* {{{ proto void readline_callback_handler_install(string prompt, mixed callback) 562 Initializes the readline callback interface and terminal, prints the prompt and returns immediately */ 565 zval *callback; local 570 if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sz", &prompt, &prompt_len, &callback)) { 574 if (!zend_is_callable(callback, 0, &name TSRMLS_CC)) { 588 MAKE_COPY_ZVAL(&callback, _prepped_callback); 597 Informs the readline callback interface that a character is ready for input */ 607 Removes a previously installed callback handler and restores terminal settings */
|
| /PHP_5_4/ext/session/ |
| H A D | session.c | 1593 zval *obj = NULL, *callback = NULL; local 1617 MAKE_STD_ZVAL(callback); 1618 array_init_size(callback, 2); 1620 add_next_index_zval(callback, obj); 1621 add_next_index_stringl(callback, func_name, func_name_len - 1, 1); 1622 PS(mod_user_names).names[i] = callback; 1637 MAKE_STD_ZVAL(callback); 1638 ZVAL_STRING(callback, "session_register_shutdown", 1); 1639 shutdown_function_entry.arguments[0] = callback; 1643 zval_ptr_dtor(&callback); 1931 zval *callback; local [all...] |
| /PHP_5_4/ext/spl/ |
| H A D | spl_iterators.c | 1548 /* {{{ proto void CallbackFilterIterator::__construct(Iterator it, callback) 1828 /* {{{ proto void RecursiveCallbackFilterIterator::__construct(RecursiveIterator it, callback) 1923 Calls the callback with the current value, the current key and the inner iterator as arguments */ 2337 ZEND_ARG_INFO(0, callback) 2348 ZEND_ARG_INFO(0, callback)
|
| /PHP_5_4/ext/standard/ |
| H A D | assert.c | 32 zval *callback; variable 57 if (ASSERTG(callback)) { 58 zval_ptr_dtor(&ASSERTG(callback)); 59 ASSERTG(callback) = NULL; 61 if (new_value && (ASSERTG(callback) || new_value_length)) { 62 MAKE_STD_ZVAL(ASSERTG(callback)); 63 ZVAL_STRINGL(ASSERTG(callback), new_value, new_value_length, 1); 85 PHP_INI_ENTRY("assert.callback", NULL, PHP_INI_ALL, OnChangeCallback) 91 assert_globals_p->callback = NULL; 124 if (ASSERTG(callback)) { [all...] |
| H A D | basic_functions.c | 142 ZEND_ARG_INFO(0, callback) 583 ZEND_ARG_INFO(0, callback) 589 ZEND_ARG_INFO(0, callback) 593 ZEND_ARG_INFO(0, callback) 4769 zval *callback, *object; local 4771 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z/z*", &callback, &object, ¶ms, &n_params) == FAILURE) { 4785 convert_to_string(callback); 4787 if (call_user_function_ex(EG(function_table), &object, callback, &retval_ptr, n_params, params, 0, NULL TSRMLS_CC) == SUCCESS) { 4792 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unable to call %s()", Z_STRVAL_P(callback)); 4805 zval *callback, *objec local [all...] |
| H A D | streamsfuncs.c | 877 zval *callback = (zval*)context->notifier->ptr; local 902 if (FAILURE == call_user_function_ex(EG(function_table), NULL, callback, &retval, 6, ptps, 0, NULL TSRMLS_CC)) {
|
| /PHP_5_4/ext/sybase_ct/ |
| H A D | php_sybase_ct.c | 2195 zval **callback; local 2205 callback= &SybCtG(callback_name); 2210 callback= &sybase_ptr->callback_name; 2214 callback= &SybCtG(callback_name); 2217 /* Clean old callback */ 2218 if (*callback) { 2219 zval_ptr_dtor(callback); 2220 *callback = NULL; 2224 ALLOC_ZVAL(*callback); 2225 **callback [all...] |
| /PHP_5_4/ext/mysqlnd/ |
| H A D | mysqlnd_loaddata.c | 143 if (!conn->infile.callback) { 144 MAKE_STD_ZVAL(conn->infile.callback); 146 zval_dtor(conn->infile.callback); 148 ZVAL_STRING(conn->infile.callback, (char*) funcname, 1);
|
| H A D | mysqlnd_structs.h | 153 zval *callback; member in struct:st_mysqlnd_infile
|
| /PHP_5_4/ext/sqlite3/ |
| H A D | sqlite3.c | 759 php_error_docref(NULL TSRMLS_CC, E_WARNING, "An error occurred while invoking the callback"); 802 sqlite3_result_error(context, "failed to invoke callback", 0); 892 php_error_docref(NULL TSRMLS_CC, E_WARNING, "An error occurred while invoking the compare callback"); 905 php_error_docref(NULL TSRMLS_CC, E_WARNING, "An error occurred while invoking the compare callback (invalid return type). Collation behaviour is undefined."); 916 /* {{{ proto bool SQLite3::createFunction(string name, mixed callback [, int argcount]) 940 php_sqlite3_error(db_obj, "Not a valid callback function %s", callback_name); 990 php_sqlite3_error(db_obj, "Not a valid callback function %s", callback_name); 997 php_sqlite3_error(db_obj, "Not a valid callback function %s", callback_name); 1026 /* {{{ proto bool SQLite3::createCollation(string name, mixed callback) 1049 php_sqlite3_error(db_obj, "Not a valid callback functio [all...] |
| /PHP_5_4/ext/pcre/ |
| H A D | php_pcre.c | 1046 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Modifier /e cannot be used with replacement callback"); 1362 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Requires argument 2, '%s', to be a valid callback", callback_name); 1436 /* {{{ proto mixed preg_replace_callback(mixed regex, mixed callback, mixed subject [, int limit [, int &count]]) 1437 Perform Perl-style regular expression replacement using replacement callback. */ 1894 ZEND_ARG_INFO(0, callback)
|
| /PHP_5_4/sapi/cli/ |
| H A D | php_cli_server.c | 762 static int php_cli_server_poller_iter_on_active(php_cli_server_poller *poller, void *opaque, int(*callback)(void *, int fd, int events)) /* {{{ */ 800 if (SUCCESS != callback(opaque, e->fd, e->events)) { 812 if (SUCCESS != callback(opaque, fd, POLLIN)) { 817 if (SUCCESS != callback(opaque, fd, POLLOUT)) {
|