Searched refs:params (Results 1 - 25 of 70) sorted by relevance

123

/PHP_TRUNK/ext/mysqli/tests/
H A Dreflection_tools.inc92 if ($params = $method->getParameters()) {
94 foreach ($params as $k => $param)
/PHP_TRUNK/ext/phar/phar/
H A Ddirectorytreeiterator.inc48 function __call($func, $params)
50 return call_user_func_array(array($this->getSubIterator(), $func), $params);
/PHP_TRUNK/ext/spl/examples/
H A Ddirectorytreeiterator.inc48 function __call($func, $params)
50 return call_user_func_array(array($this->getSubIterator(), $func), $params);
H A Dsearchiterator.inc52 function __call($func, $params)
54 return call_user_func_array(array($this->getInnerIterator(), $func), $params);
/PHP_TRUNK/ext/spl/internal/
H A Dfilteriterator.inc119 * @param params Array of parameters to pass to method
121 function __call($func, $params)
123 return call_user_func_array(array($this->it, $func), $params);
H A Dlimititerator.inc126 * @param params Array of parameters to pass to method
128 function __call($func, $params)
130 return call_user_func_array(array($this->it, $func), $params);
H A Drecursivetreeiterator.inc126 function __call($func, $params)
128 return call_user_func_array(array($this->getSubIterator(), $func), $params);
H A Dcachingiterator.inc120 * @param params Array of parameters to pass to method
122 function __call($func, $params)
124 return call_user_func_array(array($this->it, $func), $params);
H A Diteratoriterator.inc108 * @param params Array of parameters to pass to method
110 function __call($func, $params)
112 return call_user_func_array(array($this->iterator, $func), $params);
/PHP_TRUNK/ext/xmlrpc/libxmlrpc/
H A Dsystem_methods.c92 "<params>"
96 "</params>"
107 "<value type='system.valueList' name='params' optional='yes'>parameter list</value>"
172 "<params>"
174 "</params>"
199 "<params>"
201 "</params>"
230 "<params>"
234 "<value type='array' name='params' desc='an array representing the params t
326 XMLRPC_VALUE params = XMLRPC_VectorGetValueWithID(xMethodIter, "params"); local
[all...]
/PHP_TRUNK/ext/soap/interop/
H A Dclient_round2_params.php39 function SOAP_Test($methodname, $params, $expect = NULL, $cmp_func = NULL) {
40 # XXX we have to do this to make php-soap happy with NULL params
41 if (!$params) $params = array();
50 $this->method_params = $params;
59 if ($params) {
60 $v = array_values($params);
94 print "method params: ";
95 print_r($this->params);
/PHP_TRUNK/Zend/
H A Dzend_interfaces.c41 zval params[2]; local
44 ZVAL_COPY_VALUE(&params[0], arg1);
47 ZVAL_COPY_VALUE(&params[1], arg2);
56 fci.params = params;
114 if (param_count > 0 && Z_ISREF(params[0]) && !Z_ISREF_P(arg1)) {
115 ZVAL_COPY_VALUE(arg1, &params[0]);
117 if (param_count > 1 && Z_ISREF(params[1]) && !Z_ISREF_P(arg2)) {
118 ZVAL_COPY_VALUE(arg2, &params[1]);
H A Dzend_execute_API.c635 int call_user_function(HashTable *function_table, zval *object, zval *function_name, zval *retval_ptr, uint32_t param_count, zval params[] TSRMLS_DC) /* {{{ */
637 return call_user_function_ex(function_table, object, function_name, retval_ptr, param_count, params, 1, NULL TSRMLS_CC);
641 int call_user_function_ex(HashTable *function_table, zval *object, zval *function_name, zval *retval_ptr, uint32_t param_count, zval params[], int no_separation, zend_array *symbol_table TSRMLS_DC) /* {{{ */ argument
651 fci.params = params;
778 if (Z_REFCOUNTED(fci->params[i]) &&
784 if (!Z_REFCOUNTED(fci->params[i]) ||
788 (!Z_ISREF(fci->params[i]) && Z_REFCOUNT(fci->params[i]) > 1)) {
810 if (Z_REFCOUNTED(fci->params[
[all...]
H A Dzend.c990 zval params[5]; local
1125 ZVAL_NEW_STR(&params[1], zend_string_init(str, len, 0));
1131 ZVAL_LONG(&params[0], type);
1134 ZVAL_STRING(&params[2], error_filename);
1136 ZVAL_NULL(&params[2]);
1139 ZVAL_LONG(&params[3], error_lineno);
1145 ZVAL_NULL(&params[4]);
1147 ZVAL_NEW_ARR(&params[4]);
1148 zend_array_dup(Z_ARRVAL(params[4]), &symbol_table->ht);
1170 if (call_user_function_ex(CG(function_table), NULL, &orig_user_error_handler, &retval, 5, params,
1295 zval params[1], retval2; local
[all...]
/PHP_TRUNK/ext/com_dotnet/
H A Dcom_wrapper.c256 zval *params = NULL; local
268 params = (zval *)safe_emalloc(sizeof(zval), pdp->cArgs, 0);
276 php_com_wrap_variant(&params[i], arg, COMG(code_page) TSRMLS_CC);
288 zend_update_property(Z_OBJCE(disp->object), &disp->object, Z_STRVAL_P(name), Z_STRLEN_P(name), &params[0] TSRMLS_CC);
293 retval, pdp->cArgs, params, 1, NULL TSRMLS_CC)) {
299 php_com_dotnet_object *obj = CDNO_FETCH(&params[i]);
320 if (params) {
322 zval_ptr_dtor(&params[i]);
324 efree(params);
/PHP_TRUNK/ext/dom/
H A Dxpath.c116 fci.params = safe_emalloc(fci.param_count, sizeof(zval), 0);
123 ZVAL_STRING(&fci.params[i], (char *)obj->stringval);
126 ZVAL_BOOL(&fci.params[i], obj->boolval);
129 ZVAL_DOUBLE(&fci.params[i], obj->floatval);
134 ZVAL_STRING(&fci.params[i], str);
138 array_init(&fci.params[i]);
163 add_next_index_zval(&fci.params[i], &child);
169 ZVAL_STRING(&fci.params[i], (char *)xmlXPathCastToString(obj));
183 zval_ptr_dtor(&fci.params[i]);
185 efree(fci.params);
[all...]
/PHP_TRUNK/ext/libxml/
H A Dlibxml.c563 zval params[3]; local
576 ZVAL_STRING(&params[0], ID);
578 ZVAL_UNDEF(&params[0]);
581 ZVAL_STRING(&params[1], URL);
583 ZVAL_UNDEF(&params[1]);
585 ctxzv = &params[2];
604 fci->params = params;
605 fci->param_count = sizeof(params)/sizeof(*params);
[all...]
/PHP_TRUNK/ext/pdo/
H A Dpdo_sql_parser.c430 HashTable *params; local
496 params = stmt->bound_params;
498 /* Do we have placeholders but no bound params */
499 if (bindno && !params && stmt->supports_placeholders == PDO_PLACEHOLDER_NONE) {
505 if (params && bindno != zend_hash_num_elements(params) && stmt->supports_placeholders == PDO_PLACEHOLDER_NONE) {
506 /* extra bit of validation for instances when same params are bound more then once */
507 if (query_type != PDO_PLACEHOLDER_POSITIONAL && bindno > zend_hash_num_elements(params)) {
510 if ((param = zend_hash_str_find_ptr(params, plc->pos, plc->len)) == NULL) {
533 param = zend_hash_index_find_ptr(params, pl
[all...]
H A Dpdo_sql_parser.re92 HashTable *params;
158 params = stmt->bound_params;
160 /* Do we have placeholders but no bound params */
161 if (bindno && !params && stmt->supports_placeholders == PDO_PLACEHOLDER_NONE) {
167 if (params && bindno != zend_hash_num_elements(params) && stmt->supports_placeholders == PDO_PLACEHOLDER_NONE) {
168 /* extra bit of validation for instances when same params are bound more then once */
169 if (query_type != PDO_PLACEHOLDER_POSITIONAL && bindno > zend_hash_num_elements(params)) {
172 if ((param = zend_hash_str_find_ptr(params, plc->pos, plc->len)) == NULL) {
195 param = zend_hash_index_find_ptr(params, pl
[all...]
/PHP_TRUNK/ext/readline/
H A Dreadline.c481 zval params[3]; local
486 _readline_string_zval(&params[0], text);
487 _readline_long_zval(&params[1], start);
488 _readline_long_zval(&params[2], end);
490 if (call_user_function(CG(function_table), NULL, &_readline_completion, &_readline_array, 3, params TSRMLS_CC) == SUCCESS) {
506 zval_ptr_dtor(&params[i]);
545 zval params[1]; local
551 _readline_string_zval(&params[0], the_line);
553 call_user_function(CG(function_table), NULL, &_prepped_callback, &dummy, 1, params TSRMLS_CC);
555 zval_ptr_dtor(&params[
[all...]
/PHP_TRUNK/ext/standard/
H A Dstreamsfuncs.c881 static int parse_context_params(php_stream_context *context, zval *params TSRMLS_DC)
886 if (NULL != (tmp = zend_hash_str_find(Z_ARRVAL_P(params), "notification", sizeof("notification")-1))) {
898 if (NULL != (tmp = zend_hash_str_find(Z_ARRVAL_P(params), "options", sizeof("options")-1))) {
999 zval *params, *zcontext; local
1002 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ra", &zcontext, &params) == FAILURE) {
1012 RETVAL_BOOL(parse_context_params(context, params TSRMLS_CC) == SUCCESS);
1047 zval *params = NULL; local
1050 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|a", &params) == FAILURE) {
1059 if (params) {
1060 parse_context_options(context, params TSRMLS_C
1093 zval *options = NULL, *params = NULL; local
[all...]
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_prompt.c102 zval params; local
105 array_init(&params);
115 &params,
121 add_next_index_long(&params, next->num);
127 add_next_index_string(&params, buffered, 0);
133 add_next_index_string(&params, buffered, 0);
139 add_next_index_string(&params, buffered, 0);
145 add_next_index_string(&params, buffered, 0);
151 add_next_index_string(&params, buffered, 0);
162 zend_fcall_info_args(&fci, &params TSRMLS_C
[all...]
/PHP_TRUNK/scripts/dev/
H A Dcheck_parameters.php165 /** fetch params passed to zend_parse_params*() */
212 $params = get_params($vars, $m[2][0]); variable
249 check_param($params, ++$j, 'UConverter*', $optional);
265 check_param($params, ++$j, 'zval****', $optional);
266 check_param($params, ++$j, 'int*', $optional);
277 check_param($params, ++$j, $exp, $optional);
/PHP_TRUNK/ext/sockets/
H A Dconversions.c71 HashTable params; /* stores pointers; has to be first */ member in struct:_ser_context
79 HashTable params; /* stores pointers; has to be first */ member in struct:_res_context
977 if (zend_hash_str_add_ptr(&ctx->params, KEY_CMSG_LEN, sizeof(KEY_CMSG_LEN) - 1, len_p) == NULL) {
984 zend_hash_str_del(&ctx->params, KEY_CMSG_LEN, sizeof(KEY_CMSG_LEN) - 1);
1167 if (zend_hash_str_add_ptr(&ctx->params, KEY_FILL_SOCKADDR, sizeof(KEY_FILL_SOCKADDR) - 1, (void *)falsevp) == NULL) {
1174 zend_hash_str_del(&ctx->params, KEY_FILL_SOCKADDR, sizeof(KEY_FILL_SOCKADDR) - 1);
1201 if ((recvmsg_ret = zend_hash_str_find_ptr(&ctx->params, KEY_RECVMSG_RET, sizeof(KEY_RECVMSG_RET) - 1)) == NULL) {
1202 do_to_zval_err(ctx, "recvmsg_ret not found in params. This is a bug");
1403 if ((cmsg_len = zend_hash_str_find_ptr(&ctx->params, KEY_CMSG_LEN, sizeof(KEY_CMSG_LEN) - 1)) == NULL) {
1465 zend_hash_init(&ctx.params,
[all...]
/PHP_TRUNK/ext/reflection/
H A Dphp_reflection.c1348 zval retval, params[2]; local
1358 ZVAL_COPY_VALUE(&params[0], argument_ptr);
1359 ZVAL_NULL(&params[1]);
1364 ZVAL_COPY_VALUE(&params[0], argument_ptr);
1365 ZVAL_COPY_VALUE(&params[1], argument2_ptr);
1382 fci.params = params;
1406 ZVAL_COPY_VALUE(&params[0], &reflector);
1407 ZVAL_COPY_VALUE(&params[1], output_ptr);
1414 fci.params
1883 zval *params = NULL; local
1932 zval *params, *val; local
2814 zval *params = NULL; local
2909 zval *params, *val, *object; local
4185 zval *params = NULL; local
4287 zval *params = NULL; local
[all...]

Completed in 76 milliseconds

123