Searched refs:args (Results 1 - 25 of 129) sorted by relevance

123456

/PHP_TRUNK/ext/phar/phar/
H A Dclicommand.inc22 protected $args = array();
41 $this->args = call_user_func(array($this, $this->cmds[$command]['arg']));
46 if (strlen($argv[$i]) == 2 && isset($this->args[$argv[$i][1]])) {
51 $this->args[$arg]['val'] = $this->checkArgTyp($arg, $i, $argc, $argv);
61 if (isset($this->args[''])) {
63 if (isset($this->args['']['require']) && $this->args['']['require']) {
67 $this->args['']['val'] = array();
69 $this->args['']['val'][] = $argv[$i++];
76 foreach($this->args a
[all...]
H A Dpharcommand.inc170 $args = array();
178 $args[$lkey] = $cfg;
179 $args[$lkey]['required'] = $required;
182 return $args;
454 * @return array $args The arguments for a new Phar archive.
458 $args = self::phar_args('abcFhilpsxy', 'pharnew');
460 $args[''] = array(
467 return $args;
562 $alias = $this->args['a']['val'];
563 $hashbang = $this->args['
[all...]
/PHP_TRUNK/ext/filter/docs/
H A Dinput_get_args.php11 $args = array( variable
36 $myinputs = input_get_args($args, INPUT_POST);
38 $myinputs = input_get_args($args, INPUT_DATA, $data);
/PHP_TRUNK/ext/mbstring/oniguruma/
H A Dst.h36 # define _(args) args
/PHP_TRUNK/ext/intl/doc/
H A Dmsgfmt_api.php33 * @param array $args arguments to insert into the pattern string
36 public function format($args) {}
51 * Inserts the items in $args into $pattern, formatting them
56 * @param array $args the array of values to insert into $pattern
59 public static function formatMessage($locale, $pattern, $args) {}
126 * @param array $args arguments to insert into the pattern string
129 function msgfmt_format($fmt, $args) {}
145 * Inserts the items in $args into $pattern, formatting them
150 * @param array $args the array of values to insert into $pattern
153 function msgfmt_format_message($locale, $pattern, $args) {}
[all...]
/PHP_TRUNK/ext/intl/msgformat/
H A Dmsgformat_helpers.h21 void umsg_format_helper(MessageFormatter_object *mfo, HashTable *args,
23 void umsg_parse_helper(UMessageFormat *fmt, int *count, zval **args,
H A Dmsgformat_format.c35 static void msgfmt_do_format(MessageFormatter_object *mfo, zval *args, zval *return_value) argument
42 count = zend_hash_num_elements(Z_ARRVAL_P(args));
46 zend_hash_copy(args_copy, Z_ARRVAL_P(args), (copy_ctor_func_t)zval_add_ref);
65 /* {{{ proto mixed MessageFormatter::format( array $args )
67 /* {{{ proto mixed msgfmt_format( MessageFormatter $nf, array $args )
72 zval *args; local
78 &object, MessageFormatter_ce_ptr, &args ) == FAILURE )
89 msgfmt_do_format(mfo, args, return_value);
93 /* {{{ proto mixed MessageFormatter::formatMessage( string $locale, string $pattern, array $args )
95 /* {{{ proto mixed msgfmt_format_message( string $locale, string $pattern, array $args )
100 zval *args; local
[all...]
/PHP_TRUNK/win32/
H A Dwsyslog.c82 va_list args; local
105 va_start(args, message); /* initialize vararg mechanism */
106 vspprintf(&tmp, 0, message, args); /* build message */
111 va_end(args);
/PHP_TRUNK/ext/bcmath/libbcmath/src/
H A Drt.c44 va_list args; local
47 va_start (args, mesg);
48 vsnprintf (error_mesg, sizeof(error_mesg), mesg, args);
49 va_end (args);
57 va_list args; local
60 va_start (args, mesg);
61 vsnprintf (error_mesg, sizeof(error_mesg), mesg, args);
62 va_end (args);
/PHP_TRUNK/sapi/fpm/fpm/
H A Dzlog.c106 va_list args; local
112 va_start(args, fmt);
113 len = vsnprintf(buf, buf_size, fmt, args);
114 va_end(args);
160 va_start(args, fmt);
161 len += vsnprintf(buf + len, buf_size - len, fmt, args);
162 va_end(args);
/PHP_TRUNK/ext/opcache/
H A Dzend_accelerator_debug.c33 va_list args; local
82 va_start(args, format);
83 vfprintf(fLog, format, args);
84 va_end(args);
/PHP_TRUNK/Zend/
H A Dzend_sprintf.c33 va_list args; local
35 va_start(args, format);
36 vsprintf(buffer, format, args);
37 va_end(args);
/PHP_TRUNK/ext/filter/
H A Dcallback_filter.c26 zval *args; local
36 args = safe_emalloc(sizeof(zval), 1, 0);
37 ZVAL_COPY(&args[0], value);
38 status = call_user_function_ex(EG(function_table), NULL, option_array, &retval, 1, args, 0, NULL);
48 zval_ptr_dtor(&args[0]);
49 efree(args);
/PHP_TRUNK/ext/interbase/
H A Dphp_ibase_udf.c22 * an external function for every combination { output type, #args } that
186 zval callback, args[4], return_value; local
206 ZVAL_NULL(&args[i]);
218 ZVAL_STRING(&args[i], (char*)argv[i]->dsc_address);
223 ZVAL_STRINGL(&args[i], (char*)argv[i]->dsc_address, argv[i]->dsc_length);
228 ZVAL_STRINGL(&args[i], ((PARAMVARY*)argv[i]->dsc_address)->vary_string,
234 ZVAL_LONG(&args[i], *(short*)argv[i]->dsc_address);
236 ZVAL_DOUBLE(&args[i],
243 ZVAL_LONG(&args[i], *(ISC_LONG*)argv[i]->dsc_address);
245 ZVAL_DOUBLE(&args[
357 PARAMDSC *args[1] = { arg1 }; local
363 PARAMDSC *args[2] = { arg1, arg2 }; local
369 PARAMDSC *args[3] = { arg1, arg2, arg3 }; local
376 PARAMDSC *args[4] = { arg1, arg2, arg3, arg4 }; local
383 PARAMDSC *args[5] = { arg1, arg2, arg3, arg4, arg5 }; local
390 PARAMDSC *args[6] = { arg1, arg2, arg3, arg4, arg5, arg6 }; local
397 PARAMDSC *args[7] = { arg1, arg2, arg3, arg4, arg5, arg6, arg7 }; local
404 PARAMDSC *args[8] = { arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8 }; local
[all...]
H A Dibase_events.c126 zval *args; local
140 if (zend_parse_parameters(ZEND_NUM_ARGS(), "+", &args, &num_args) == FAILURE) {
144 if (Z_TYPE(args[0]) == IS_RESOURCE) {
145 if ((ib_link = (ibase_db_link *)zend_fetch_resource2_ex(&args[0], "InterBase link", le_link, le_plink)) == NULL) {
146 efree(args);
152 efree(args);
156 efree(args);
162 convert_to_string_ex(&args[i]);
163 events[event_count++] = Z_STRVAL(args[i]);
173 efree(args);
212 zval return_value, args[2]; local
267 zval *args, *cb_arg; local
[all...]
/PHP_TRUNK/ext/mysqli/
H A Dmysqli_embedded.c36 zval *args; local
45 if (zend_parse_parameters(ZEND_NUM_ARGS(), "laa", &start, &args, &grps) == FAILURE) {
54 if ((argc = zend_hash_num_elements(HASH_OF(args)))) {
58 zend_hash_internal_pointer_reset_ex(HASH_OF(args), &pos);
60 for (index = 0;; zend_hash_move_forward_ex(HASH_OF(args), &pos)) {
63 if (zend_hash_get_current_data_ex(HASH_OF(args), (void **) &item, &pos) == FAILURE) {
/PHP_TRUNK/ext/standard/
H A Dscanf.h45 PHPAPI int php_sscanf_internal(char *string,char *format,int argCount,zval *args,
H A Darray.c554 zval args[2]; local
560 ZVAL_COPY(&args[0], &f->val);
561 ZVAL_COPY(&args[1], &s->val);
564 BG(user_compare_fci).params = args;
570 zval_ptr_dtor(&args[1]);
571 zval_ptr_dtor(&args[0]);
574 zval_ptr_dtor(&args[1]);
575 zval_ptr_dtor(&args[0]);
704 zval args[2]; local
708 ZVAL_NULL(&args[
974 zval *args = NULL; local
1020 zval *args = NULL; local
1065 zval args[3], /* Arguments to userland function */ local
1587 zval *args = NULL; /* function arguments array */ local
2109 zval *args, /* Function arguments array */ local
2319 zval *args, /* Function arguments array */ local
2724 zval *args = NULL; local
3388 zval args[2]; local
3421 zval *args; local
3512 zval *args = NULL; local
3846 zval *args; local
3932 zval *args = NULL; local
4214 zval *args; local
4372 zval* args; local
4680 zval args[2]; local
4740 zval args[2]; local
[all...]
/PHP_TRUNK/main/
H A Dphp_sprintf.c33 va_list args; local
36 va_start (args, format);
38 ret = vsprintf (s, format, args);
39 va_end (args);
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_cmd.h102 char *args; /* Argument Spec */ member in struct:_phpdbg_command_t
161 #define PHPDBG_COMMAND_D_EXP(name, tip, alias, handler, children, args, parent, flags) \
162 {PHPDBG_STRL(#name), tip, sizeof(tip)-1, alias, phpdbg_do_##handler, children, args, parent, flags}
164 #define PHPDBG_COMMAND_D_EX(name, tip, alias, handler, children, args, flags) \
165 {PHPDBG_STRL(#name), tip, sizeof(tip)-1, alias, phpdbg_do_##handler, children, args, NULL, flags}
167 #define PHPDBG_COMMAND_D(name, tip, alias, children, args, flags) \
168 {PHPDBG_STRL(#name), tip, sizeof(tip)-1, alias, phpdbg_do_##name, children, args, NULL, flags}
/PHP_TRUNK/travis/ext/imap/
H A Ddovecot.conf10 args = /etc/dovecot/dovecotpass
19 args = uid=11459 gid=10002 home=/home/vmail/dovecot/mail/%d/%n
/PHP_TRUNK/ext/session/
H A Dmod_user.c75 zval args[2]; local
85 ZVAL_STRING(&args[0], (char*)save_path);
86 ZVAL_STRING(&args[1], (char*)session_name);
88 ps_call_handler(&PSF(open), 2, args, &retval); local
124 zval args[1]; local
127 ZVAL_STR_COPY(&args[0], key);
129 ps_call_handler(&PSF(read), 1, args, &retval); local
144 zval args[2]; local
147 ZVAL_STR_COPY(&args[0], key);
148 ZVAL_STR_COPY(&args[
150 ps_call_handler(&PSF(write), 2, args, &retval); local
157 zval args[1]; local
162 ps_call_handler(&PSF(destroy), 1, args, &retval); local
169 zval args[1]; local
174 ps_call_handler(&PSF(gc), 1, args, &retval); local
214 zval args[1]; local
219 ps_call_handler(&PSF(validate_sid), 1, args, &retval); local
230 zval args[2]; local
238 ps_call_handler(&PSF(update_timestamp), 2, args, &retval); local
240 ps_call_handler(&PSF(write), 2, args, &retval); local
[all...]
/PHP_TRUNK/ext/pcre/pcrelib/sljit/
H A DsljitNativeX86_32.c67 sljit_si options, sljit_si args, sljit_si scratches, sljit_si saveds,
74 check_sljit_emit_enter(compiler, options, args, scratches, saveds, fscratches, fsaveds, local_size);
81 compiler->args = args;
89 size += (args > 0 ? (args * 2) : 0) + (args > 2 ? 2 : 0);
91 size += (args > 0 ? (2 + args * 3) : 0);
99 if (args >
66 sljit_emit_enter(struct sljit_compiler *compiler, sljit_si options, sljit_si args, sljit_si scratches, sljit_si saveds, sljit_si fscratches, sljit_si fsaveds, sljit_si local_size) argument
174 sljit_set_context(struct sljit_compiler *compiler, sljit_si options, sljit_si args, sljit_si scratches, sljit_si saveds, sljit_si fscratches, sljit_si fsaveds, sljit_si local_size) argument
[all...]
/PHP_TRUNK/main/streams/
H A Duserspace.c333 zval args[4]; local
368 ZVAL_STRING(&args[0], filename);
369 ZVAL_STRING(&args[1], mode);
370 ZVAL_LONG(&args[2], options);
371 ZVAL_NEW_REF(&args[3], &EG(uninitialized_zval));
379 4, args,
387 if (Z_ISREF(args[3]) && Z_TYPE_P(Z_REFVAL(args[3])) == IS_STRING && opened_path) {
388 *opened_path = zend_string_copy(Z_STR_P(Z_REFVAL(args[3])));
406 zval_ptr_dtor(&args[
423 zval args[2]; local
591 zval args[1]; local
635 zval args[1]; local
760 zval args[2]; local
911 zval args[3]; local
1089 zval args[1]; local
1133 zval args[2]; local
1179 zval args[3]; local
1227 zval args[2]; local
1273 zval args[3]; local
1346 zval args[2]; local
1483 zval args[1]; local
[all...]
/PHP_TRUNK/ext/dba/
H A Ddba.c587 #define FREENOW if(args) {int i; for (i=0; i<ac; i++) { zval_ptr_dtor(&args[i]); } efree(args);} if(key) efree(key)
618 zval *args = NULL; local
637 /* we pass additional args to the respective handler */
638 args = safe_emalloc(ac, sizeof(zval), 0);
639 if (zend_get_parameters_array_ex(ac, args) != SUCCESS) {
640 efree(args);
646 if (Z_TYPE(args[i]) != IS_STRING) {
647 convert_to_string_ex(&args[
[all...]

Completed in 107 milliseconds

123456