Searched defs:arg (Results 1 - 25 of 72) sorted by relevance

123

/PHP_5_4/sapi/fpm/fpm/
H A Dfpm_cleanup.c15 void *arg; member in struct:cleanup_s
20 int fpm_cleanup_add(int type, void (*cleanup)(int, void *), void *arg) /* {{{ */ argument
32 c->arg = arg;
45 c->cleanup(type, c->arg);
H A Dfpm_events.h13 #define fpm_event_set_timer(ev, flags, cb, arg) fpm_event_set((ev), -1, (flags), (cb), (arg))
20 void *arg; 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 Dfpm_php.c196 static void fpm_php_cleanup(int which, void *arg) /* {{{ */ argument
H A Dfpm_process_ctl.c40 static void fpm_pctl_cleanup(int which, void *arg) /* {{{ */ argument
54 static void fpm_pctl_action(struct fpm_event_s *ev, short which, void *arg) /* {{{ */ argument
441 void fpm_pctl_heartbeat(struct fpm_event_s *ev, short which, void *arg) /* {{{ */ argument
466 void fpm_pctl_perform_idle_server_maintenance_heartbeat(struct fpm_event_s *ev, short which, void *arg) /* {{{ */ argument
496 void fpm_pctl_on_socket_accept(struct fpm_event_s *ev, short which, void *arg) /* {{{ */ argument
498 struct fpm_worker_pool_s *wp = (struct fpm_worker_pool_s *)arg;
H A Dfpm_worker_pool.c36 static void fpm_worker_pool_cleanup(int which, void *arg) /* {{{ */ argument
H A Dfpm_events.c38 static void fpm_event_cleanup(int which, void *arg);
39 static void fpm_got_signal(struct fpm_event_s *ev, short which, void *arg);
49 static void fpm_event_cleanup(int which, void *arg) /* {{{ */ argument
56 static void fpm_got_signal(struct fpm_event_s *ev, short which, void *arg) /* {{{ */ argument
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) /* {{{ */ argument
479 ev->arg = arg;
H A Dfpm_systemd.c48 void fpm_systemd_heartbeat(struct fpm_event_s *ev, short which, void *arg) /* {{{ */ argument
H A Dfpm_stdio.c86 static void fpm_stdio_child_said(struct fpm_event_s *ev, short which, void *arg) /* {{{ */ argument
99 if (!arg) {
102 child = (struct fpm_child_s *)arg;
H A Dfpm_children.c37 static void fpm_children_cleanup(int which, void *arg) /* {{{ */ argument
H A Dfpm_sockets.c67 static void fpm_sockets_cleanup(int which, void *arg) /* {{{ */ argument
/PHP_5_4/ext/mbstring/oniguruma/
H A Dregtrav.c37 int level, void* arg)
46 level, ONIG_TRAVERSE_CALLBACK_AT_FIRST, arg);
52 callback_func, level + 1, arg);
58 level, ONIG_TRAVERSE_CALLBACK_AT_LAST, arg);
68 int(*callback_func)(int,int,int,int,int,void*), void* arg)
72 callback_func, 0, arg);
35 capture_tree_traverse(OnigCaptureTreeNode* node, int at, int(*callback_func)(int,int,int,int,int,void*), int level, void* arg) argument
67 onig_capture_tree_traverse(OnigRegion* region, int at, int(*callback_func)(int,int,int,int,int,void*), void* arg) argument
H A Dregposix.c273 void* arg; member in struct:__anon117
278 onig_regex_t* reg, void* arg)
280 i_wrap* warg = (i_wrap* )arg;
282 return (*warg->func)(name, name_end, ng, gs, warg->reg, warg->arg);
288 void* arg)
294 warg.arg = arg;
276 i_wrapper(const unsigned char* name, const unsigned char* name_end, int ng, int* gs, onig_regex_t* reg, void* arg) argument
286 reg_foreach_name(regex_t* reg, int (*func)(const unsigned char*, const unsigned char*,int,int*,regex_t*,void*), void* arg) argument
/PHP_5_4/ext/skeleton/
H A Dskeleton.c135 /* {{{ proto string confirm_extname_compiled(string arg)
139 char *arg = NULL; local
143 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &arg, &arg_len) == FAILURE) {
147 len = spprintf(&strg, 0, "Congratulations! You have successfully modified ext/%.78s/config.m4. Module %.78s is now compiled into PHP.", "extname", arg);
/PHP_5_4/ext/readline/
H A Dreadline.c333 char *arg; local
336 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &arg, &arg_len) == FAILURE) {
340 add_history(arg);
388 char *arg = NULL; local
391 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|p", &arg, &arg_len) == FAILURE) {
395 if (php_check_open_basedir(arg TSRMLS_CC)) {
400 if (read_history(arg)) {
412 char *arg = NULL; local
415 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|p", &arg, &arg_len) == FAILURE) {
419 if (php_check_open_basedir(arg TSRMLS_C
518 zval *arg = NULL; local
[all...]
/PHP_5_4/ext/standard/
H A Dmd5.c49 char *arg; local
56 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|b", &arg, &arg_len, &raw_output) == FAILURE) {
62 PHP_MD5Update(&context, arg, arg_len);
78 char *arg; local
88 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "p|b", &arg, &arg_len, &raw_output) == FAILURE) {
92 stream = php_stream_open_wrapper(arg, "rb", REPORT_ERRORS, NULL);
H A Dpack.c139 int arg = 1; local
146 arg = -1;
150 arg = atoi(&format[i]);
158 /* Handle special arg '*' for all codes and check argv overflows */
164 if (arg < 0) {
166 arg = 1;
170 /* Always uses one arg */
183 if (arg < 0) {
188 arg = Z_STRLEN_PP(argv[currentarg]);
209 if (arg <
243 int arg = formatargs[i]; local
312 int arg = formatargs[i]; local
540 int arg = 1, argb; local
[all...]
H A Dsha1.c37 char *arg; local
44 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|b", &arg, &arg_len, &raw_output) == FAILURE) {
50 PHP_SHA1Update(&context, arg, arg_len);
68 char *arg; local
78 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "p|b", &arg, &arg_len, &raw_output) == FAILURE) {
82 stream = php_stream_open_wrapper(arg, "rb", REPORT_ERRORS, NULL);
H A Dtype.c28 zval **arg; local
30 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "Z", &arg) == FAILURE) {
34 switch (Z_TYPE_PP(arg)) {
66 res_len = sizeof("object of type ")-1 + Z_OBJCE_P(arg)->name_length;
67 spprintf(&result, 0, "object of type %s", Z_OBJCE_P(arg)->name);
75 const char *type_name = zend_rsrc_list_get_rsrc_type(Z_LVAL_PP(arg) TSRMLS_CC);
203 zval **arg; local
205 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "Z", &arg) == FAILURE) {
209 if (Z_TYPE_PP(arg) == type) {
212 if(Z_OBJ_HT_PP(arg)
302 zval **arg; local
333 zval **arg; local
[all...]
H A Durl_scanner_ex.h39 smart_str arg; /* read only */ member in struct:__anon265
/PHP_5_4/sapi/apache2filter/
H A Dapache_config.c111 static const char *php_apache_phpini_set(cmd_parms *cmd, void *mconfig, const char *arg) argument
116 apache2_php_ini_path_override = ap_server_root_relative(cmd->pool, arg);
/PHP_5_4/Zend/
H A Dzend_extensions.c200 void *arg; local
206 arg = va_arg(args, void *);
207 extension->message_handler(message, arg);
211 ZEND_API void zend_extension_dispatch_message(int message, void *arg) argument
215 zend_llist_apply_with_arguments(&zend_extensions, (llist_apply_with_args_func_t) zend_extension_message_dispatcher TSRMLS_CC, 2, message, arg);
H A Dzend_stack.c142 ZEND_API void zend_stack_apply_with_argument(zend_stack *stack, int type, int (*apply_function)(void *element, void *arg), void *arg) argument
149 if (apply_function(stack->elements[i], arg)) {
156 if (apply_function(stack->elements[i], arg)) {
/PHP_5_4/ext/dom/
H A Dcharacterdata.c38 ZEND_ARG_INFO(0, arg)
43 ZEND_ARG_INFO(0, arg)
54 ZEND_ARG_INFO(0, arg)
218 /* {{{ proto void dom_characterdata_append_data(string arg);
227 char *arg; local
230 if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Os", &id, dom_characterdata_class_entry, &arg, &arg_len) == FAILURE) {
240 nodep->content = xmlStrncatNew(nodep->content, arg, arg_len);
242 nodep->content = xmlStrncat(nodep->content, arg, arg_len);
246 xmlTextConcat(nodep, arg, arg_len);
252 /* {{{ proto void dom_characterdata_insert_data(int offset, string arg);
261 char *arg; local
364 char *arg; local
[all...]
/PHP_5_4/ext/mbstring/
H A Dmb_gpc.c63 if (arg != PARSE_STRING) {
69 php_default_treat_data(arg, str, destArray TSRMLS_CC);
73 switch (arg) {
80 switch (arg) {
97 if (arg==PARSE_POST) {
102 if (arg == PARSE_GET) { /* GET data */
110 } else if (arg == PARSE_COOKIE) { /* Cookie data */
118 } else if (arg == PARSE_STRING) { /* String data */
127 switch (arg) {
138 switch(arg) {
195 _php_mb_encoding_handler_ex(const php_mb_encoding_handler_info_t *info, zval *arg, char *res TSRMLS_DC) argument
[all...]
/PHP_5_4/ext/mysqli/
H A Dmysqli_exception.c42 va_list arg; local
45 va_start(arg, format);
46 vspprintf(&message, 0, format, arg);
47 va_end(arg);;

Completed in 42 milliseconds

123