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

123

/PHP_5_3/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_3/sapi/fpm/fpm/
H A Dfpm_children.c37 static void fpm_children_cleanup(int which, void *arg) /* {{{ */ argument
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.c34 static void fpm_event_cleanup(int which, void *arg);
35 static void fpm_got_signal(struct fpm_event_s *ev, short which, void *arg);
45 static void fpm_event_cleanup(int which, void *arg) /* {{{ */ argument
52 static void fpm_got_signal(struct fpm_event_s *ev, short which, void *arg) /* {{{ */ argument
459 (*ev->callback)( (struct fpm_event_s *) ev, ev->which, ev->arg);
463 int fpm_event_set(struct fpm_event_s *ev, int fd, int flags, void (*callback)(struct fpm_event_s *, short, void *), void *arg) /* {{{ */ argument
471 ev->arg = 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_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;
/PHP_5_3/ext/mbstring/oniguruma/
H A Dregposix.c273 void* arg; member in struct:__anon251
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
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
/PHP_5_3/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_3/ext/mbstring/
H A Dmb_gpc.c62 if (arg != PARSE_STRING) {
68 php_default_treat_data(arg, str, destArray TSRMLS_CC);
72 switch (arg) {
79 switch (arg) {
96 if (arg==PARSE_POST) {
101 if (arg == PARSE_GET) { /* GET data */
109 } else if (arg == PARSE_COOKIE) { /* Cookie data */
117 } else if (arg == PARSE_STRING) { /* String data */
126 switch (arg) {
137 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_3/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);;
/PHP_5_3/ext/readline/
H A Dreadline.c310 char *arg; local
313 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &arg, &arg_len) == FAILURE) {
317 add_history(arg);
365 char *arg = NULL; local
368 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s", &arg, &arg_len) == FAILURE) {
372 if (php_check_open_basedir(arg TSRMLS_CC)) {
377 if (read_history(arg)) {
389 char *arg = NULL; local
392 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s", &arg, &arg_len) == FAILURE) {
396 if (php_check_open_basedir(arg TSRMLS_C
495 zval *arg = NULL; local
[all...]
/PHP_5_3/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, "s|b", &arg, &arg_len, &raw_output) == FAILURE) {
92 stream = php_stream_open_wrapper(arg, "rb", REPORT_ERRORS | ENFORCE_SAFE_MODE, NULL);
H A Dpack.c140 int arg = 1; local
147 arg = -1;
151 arg = atoi(&format[i]);
159 /* Handle special arg '*' for all codes and check argv overflows */
165 if (arg < 0) {
167 arg = 1;
171 /* Always uses one arg */
184 if (arg < 0) {
189 arg = Z_STRLEN_PP(argv[currentarg]);
210 if (arg <
244 int arg = formatargs[i]; local
313 int arg = formatargs[i]; local
541 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, "s|b", &arg, &arg_len, &raw_output) == FAILURE) {
82 stream = php_stream_open_wrapper(arg, "rb", REPORT_ERRORS | ENFORCE_SAFE_MODE, 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);
76 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)
303 zval **arg; local
334 zval **arg; local
[all...]
H A Durl_scanner_ex.h39 smart_str arg; /* read only */ member in struct:__anon222
/PHP_5_3/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_3/sapi/apache2handler/
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_3/sapi/tux/
H A Dphp_tux.c407 void tux_register_on_close(void (*arg)(int)) argument
409 TG(on_close) = arg;
/PHP_5_3/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.c146 ZEND_API void zend_stack_apply_with_argument(zend_stack *stack, int type, int (*apply_function)(void *element, void *arg), void *arg) argument
153 if (apply_function(stack->elements[i], arg)) {
160 if (apply_function(stack->elements[i], arg)) {

Completed in 17 milliseconds

123