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

123456

/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/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/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/sapi/milter/
H A Dmilter.php59 function milter_envfrom($args)
61 milter_log("milter_envfrom(args[])");
62 foreach ($args as $ix => $arg) {
71 function milter_envrcpt($args)
73 milter_log("milter_envrcpt(args[])");
74 foreach ($args as $ix => $arg) {
H A Dphp_milter.h28 void **args; member in struct:__anon559
/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/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/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/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/ext/dba/
H A Ddba.c585 #define FREENOW if(args) {int i; for (i=0; i<ac; i++) { zval_ptr_dtor(&args[i]); } efree(args);} if(key) efree(key)
616 zval *args = NULL; local
635 /* we pass additional args to the respective handler */
636 args = safe_emalloc(ac, sizeof(zval), 0);
637 if (zend_get_parameters_array_ex(ac, args) != SUCCESS) {
638 efree(args);
644 if (Z_TYPE(args[i]) != IS_STRING) {
645 convert_to_string_ex(&args[
[all...]
/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 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 (!ZEND_FETCH_RESOURCE2_NO_RETURN(ib_link, ibase_db_link *, &args[0], -1, "InterBase link", le_link, le_plink)) {
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...]
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...]
/PHP_TRUNK/ext/intl/msgformat/
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...]
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,
/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/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/ext/session/
H A Dmod_user.c95 zval args[2]; local
105 SESS_ZVAL_STRING((char*)save_path, &args[0]);
106 SESS_ZVAL_STRING((char*)session_name, &args[1]);
108 ps_call_handler(&PSF(open), 2, args, &retval); local
144 zval args[1]; local
147 SESS_ZVAL_STR(key, &args[0]);
149 ps_call_handler(&PSF(read), 1, args, &retval); local
164 zval args[2]; local
167 SESS_ZVAL_STR(key, &args[0]);
168 SESS_ZVAL_STR(val, &args[
170 ps_call_handler(&PSF(write), 2, args, &retval); local
177 zval args[1]; local
182 ps_call_handler(&PSF(destroy), 1, args, &retval); local
189 zval args[1]; local
194 ps_call_handler(&PSF(gc), 1, args, &retval); local
[all...]
/PHP_TRUNK/ext/standard/
H A Dassert.c202 zval *args = safe_emalloc(description_len == 0 ? 3 : 4, sizeof(zval), 0); local
208 ZVAL_STRING(&args[0], SAFE_STRING(filename));
209 ZVAL_LONG (&args[1], lineno);
210 ZVAL_STRING(&args[2], SAFE_STRING(myeval));
216 call_user_function(CG(function_table), NULL, &ASSERTG(callback), &retval, 3, args); local
218 zval_ptr_dtor(&(args[i]));
221 ZVAL_STRINGL(&args[3], SAFE_STRING(description), description_len);
223 call_user_function(CG(function_table), NULL, &ASSERTG(callback), &retval, 4, args); local
225 zval_ptr_dtor(&(args[i]));
229 efree(args);
[all...]
H A Dscanf.h45 PHPAPI int php_sscanf_internal(char *string,char *format,int argCount,zval *args,
/PHP_TRUNK/ext/xml/
H A Dxml.c722 zval retval, args[3]; local
730 ZVAL_COPY(&args[0], &parser->index);
731 ZVAL_STRING(&args[1], tag_name->val + parser->toffset);
732 array_init(&args[2]);
741 zend_symtable_update(Z_ARRVAL(args[2]), att, &tmp);
748 xml_call_handler(parser, &parser->startElementHandler, parser->startElementPtr, 3, args, &retval);
810 zval retval, args[2]; local
815 ZVAL_COPY(&args[0], &parser->index);
816 ZVAL_STRING(&args[1], (tag_name->val) + parser->toffset);
818 xml_call_handler(parser, &parser->endElementHandler, parser->endElementPtr, 2, args,
859 zval retval, args[2]; local
952 zval retval, args[3]; local
969 zval retval, args[2]; local
990 zval retval, args[6]; local
1014 zval retval, args[5]; local
1038 zval retval, args[5]; local
1063 zval retval, args[3]; local
1080 zval retval, args[2]; local
[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 = estrndup(Z_STRVAL_P(Z_REFVAL(args[3])), Z_STRLEN_P(Z_REFVAL(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/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/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);

Completed in 54 milliseconds

123456