Searched defs:params (Results 1 - 25 of 39) sorted by relevance

12

/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/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...]
H A Dxml_to_xmlrpc.c64 #define ELEM_PARAMS "params"
405 /* Despite the spec, the xml-rpc list folk want me to send an empty params element */
406 xml_element* params = xml_elem_new(); local
407 params->name = strdup(ELEM_PARAMS);
408 Q_PushTail(&wrapper->children, params);
/PHP_TRUNK/
H A Dserver-tests.php220 $params = NULL; variable
224 $params = settings2params($info_params); variable
226 $out = execute($php, $params, $code, $cwd, $env);
519 $params = array(); variable
520 settings2array($this->ini_overwrites,$params);
521 $this->info_params = settings2params($params);
/PHP_TRUNK/ext/com_dotnet/
H A Dcom_wrapper.c255 zval *params = NULL; local
267 params = (zval *)safe_emalloc(sizeof(zval), pdp->cArgs, 0);
275 php_com_wrap_variant(&params[i], arg, COMG(code_page));
287 zend_update_property(Z_OBJCE(disp->object), &disp->object, Z_STRVAL_P(name), Z_STRLEN_P(name), &params[0]); local
292 retval, pdp->cArgs, params, 1, NULL)) {
298 php_com_dotnet_object *obj = CDNO_FETCH(&params[i]);
319 if (params) {
321 zval_ptr_dtor(&params[i]);
323 efree(params);
/PHP_TRUNK/ext/pdo_mysql/
H A Dphp_pdo_mysql_int.h139 PDO_MYSQL_PARAM_BIND *params; member in struct:__anon37
/PHP_TRUNK/Zend/
H A Dzend_vm_gen.php425 $params = array(); // parameters of helpers variable
1018 global $params, $skeleton_file, $line_no;
1169 foreach ($params as $param => $x) {
1293 $op_types, $list, $opcodes, $helpers, $params, $opnames;
1385 $params[$param] = 1;
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;
117 if (param_count > 0 && Z_ISREF(params[0]) && !Z_ISREF_P(arg1)) {
118 ZVAL_COPY_VALUE(arg1, &params[0]);
120 if (param_count > 1 && Z_ISREF(params[1]) && !Z_ISREF_P(arg2)) {
121 ZVAL_COPY_VALUE(arg2, &params[1]);
H A Dzend_execute_API.c665 int call_user_function(HashTable *function_table, zval *object, zval *function_name, zval *retval_ptr, uint32_t param_count, zval params[]) /* {{{ */ argument
667 return call_user_function_ex(function_table, object, function_name, retval_ptr, param_count, params, 1, NULL);
671 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) /* {{{ */ argument
681 fci.params = params;
801 zval *arg = &fci->params[i];
1030 fcall_info.params = args;
/PHP_TRUNK/ext/iconv/
H A Diconv.c2865 static php_stream_filter *php_iconv_stream_filter_factory_create(const char *name, zval *params, int persistent) argument
/PHP_TRUNK/ext/libxml/
H A Dlibxml.c577 zval params[3]; local
589 ZVAL_STRING(&params[0], ID);
591 ZVAL_UNDEF(&params[0]);
594 ZVAL_STRING(&params[1], URL);
596 ZVAL_UNDEF(&params[1]);
598 ctxzv = &params[2];
617 fci->params = params;
618 fci->param_count = sizeof(params)/sizeof(*params);
[all...]
/PHP_TRUNK/ext/pdo/
H A Dpdo_sql_parser.c450 HashTable *params; local
516 params = stmt->bound_params;
518 /* Do we have placeholders but no bound params */
519 if (bindno && !params && stmt->supports_placeholders == PDO_PLACEHOLDER_NONE) {
525 if (params && bindno != zend_hash_num_elements(params) && stmt->supports_placeholders == PDO_PLACEHOLDER_NONE) {
526 /* extra bit of validation for instances when same params are bound more than once */
527 if (query_type != PDO_PLACEHOLDER_POSITIONAL && bindno > zend_hash_num_elements(params)) {
530 if ((param = zend_hash_str_find_ptr(params, plc->pos, plc->len)) == NULL) {
553 param = zend_hash_index_find_ptr(params, pl
[all...]
/PHP_TRUNK/ext/readline/
H A Dreadline.c482 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) == SUCCESS) {
506 zval_ptr_dtor(&params[i]);
545 zval params[1]; local
550 _readline_string_zval(&params[0], the_line);
552 call_user_function(CG(function_table), NULL, &_prepped_callback, &dummy, 1, params); local
554 zval_ptr_dtor(&params[
[all...]
/PHP_TRUNK/ext/soap/
H A Dphp_http.c381 zval params[3]; local
384 ZVAL_STRINGL(&params[0], buf, buf_size);
385 ZVAL_LONG(&params[1], level);
394 ZVAL_LONG(&params[2], 0x1f);
396 if (call_user_function(CG(function_table), (zval*)NULL, &func, &retval, n, params) == SUCCESS &&
398 zval_ptr_dtor(&params[0]);
404 zval_ptr_dtor(&params[0]);
1237 zval params[1]; local
1243 ZVAL_STRINGL(&params[0], http_body+10, http_body_size-10);
1247 ZVAL_STRINGL(&params[
[all...]
/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
975 if (zend_hash_str_add_ptr(&ctx->params, KEY_CMSG_LEN, sizeof(KEY_CMSG_LEN) - 1, len_p) == NULL) {
982 zend_hash_str_del(&ctx->params, KEY_CMSG_LEN, sizeof(KEY_CMSG_LEN) - 1);
1165 if (zend_hash_str_add_ptr(&ctx->params, KEY_FILL_SOCKADDR, sizeof(KEY_FILL_SOCKADDR) - 1, (void *)falsevp) == NULL) {
1172 zend_hash_str_del(&ctx->params, KEY_FILL_SOCKADDR, sizeof(KEY_FILL_SOCKADDR) - 1);
1199 if ((recvmsg_ret = zend_hash_str_find_ptr(&ctx->params, KEY_RECVMSG_RET, sizeof(KEY_RECVMSG_RET) - 1)) == NULL) {
1200 do_to_zval_err(ctx, "recvmsg_ret not found in params. This is a bug");
1396 if ((cmsg_len = zend_hash_str_find_ptr(&ctx->params, KEY_CMSG_LEN, sizeof(KEY_CMSG_LEN) - 1)) == NULL) {
1458 zend_hash_init(&ctx.params,
[all...]
/PHP_TRUNK/ext/xsl/
H A Dxsltprocessor.c142 char **params = NULL; local
146 params = (char **)safe_emalloc((2 * zend_hash_num_elements(parht) + 1), sizeof(char *), 0);
147 memset((char *)params, 0, parsize);
152 efree(params);
166 params[i++] = estrndup(ZSTR_VAL(string_key), ZSTR_LEN(string_key));
167 params[i++] = xpath_expr;
172 params[i++] = NULL;
174 return params;
295 fci.params = args;
297 fci.params
480 char **params = NULL; local
[all...]
/PHP_TRUNK/main/
H A Dmain.c706 PHPAPI void php_verror(const char *docref, const char *params, int type, const char *format, va_list args) argument
778 origin_len = (int)spprintf(&origin, 0, "%s%s%s(%s)", class_name, space, function, params);
917 char *params; local
920 spprintf(&params, 0, "%s,%s", param1, param2);
922 php_verror(docref, params ? params : "...", type, format, args);
924 if (params) {
925 efree(params);
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_prompt.c129 zval params; local
132 array_init(&params);
141 add_next_index_stringl(&params, next->str, next->len);
145 add_next_index_long(&params, next->num);
150 add_next_index_string(&params, buffered);
155 add_next_index_string(&params, buffered);
160 add_next_index_string(&params, buffered);
165 add_next_index_string(&params, buffered);
170 add_next_index_string(&params, buffered);
181 zend_fcall_info_args(&fci, &params);
[all...]
/PHP_TRUNK/ext/standard/
H A Dbasic_functions.c2060 ZEND_ARG_INFO(0, params) /* ARRAY_INFO(0, params, 1) */
4766 if (zend_parse_parameters(ZEND_NUM_ARGS(), "f*", &fci, &fci_cache, &fci.params, &fci.param_count) == FAILURE) {
4772 Z_PARAM_VARIADIC('*', fci.params, fci.param_count)
4789 zval *params, retval; local
4794 if (zend_parse_parameters(ZEND_NUM_ARGS(), "fa/", &fci, &fci_cache, &params) == FAILURE) {
4800 Z_PARAM_ARRAY_EX(params, 0, 1)
4804 zend_fcall_info_args(&fci, params);
4824 if (zend_parse_parameters(ZEND_NUM_ARGS(), "f*", &fci, &fci_cache, &fci.params, &fci.param_count) == FAILURE) {
4850 zval *params, retva local
[all...]
H A Dstreamsfuncs.c879 static int parse_context_params(php_stream_context *context, zval *params) argument
884 if (NULL != (tmp = zend_hash_str_find(Z_ARRVAL_P(params), "notification", sizeof("notification")-1))) {
896 if (NULL != (tmp = zend_hash_str_find(Z_ARRVAL_P(params), "options", sizeof("options")-1))) {
997 zval *params, *zcontext; local
1000 if (zend_parse_parameters(ZEND_NUM_ARGS(), "ra", &zcontext, &params) == FAILURE) {
1010 RETVAL_BOOL(parse_context_params(context, params) == SUCCESS);
1045 zval *params = NULL; local
1048 if (zend_parse_parameters(ZEND_NUM_ARGS(), "|a", &params) == FAILURE) {
1057 if (params) {
1058 parse_context_options(context, params);
1091 zval *options = NULL, *params = NULL; local
[all...]
/PHP_TRUNK/ext/spl/
H A Dspl_array.c1410 zval function_name, params[2], *arg = NULL; local
1419 ZVAL_NEW_EMPTY_REF(&params[0]);
1420 ZVAL_ARR(Z_REFVAL(params[0]), aht);
1424 call_user_function_ex(EG(function_table), NULL, &function_name, return_value, 1, params, 1, NULL); local
1432 ZVAL_COPY_VALUE(&params[1], arg);
1435 call_user_function_ex(EG(function_table), NULL, &function_name, return_value, arg ? 2 : 1, params, 1, NULL);
1442 ZVAL_COPY_VALUE(&params[1], arg);
1444 call_user_function_ex(EG(function_table), NULL, &function_name, return_value, 2, params, 1, NULL); local
1451 efree(Z_REF(params[0]));
H A Dspl_iterators.c1998 zval params[3]; local
2009 ZVAL_COPY_VALUE(&params[0], &intern->current.data);
2010 ZVAL_COPY_VALUE(&params[1], &intern->current.key);
2011 ZVAL_COPY_VALUE(&params[2], &intern->inner.zobject);
2015 fci->params = params;
3653 /* {{{ proto int iterator_apply(Traversable it, mixed function [, mixed params])
H A Dspl_directory.c2067 zval *params = (zval*)safe_emalloc(num_args, sizeof(zval), 0); local
2069 params[0] = *zresource_ptr;
2072 params[1] = *arg2;
2075 if (zend_get_parameters_array_ex(pass_num_args, params + (arg2 ? 2 : 1)) != SUCCESS) {
2076 efree(params);
2087 fci.params = params;
2106 efree(params);
/PHP_TRUNK/ext/mysqli/
H A Dmysqli_api.c270 MYSQLND_PARAM_BIND *params; local
273 /* If no params -> skip binding and return directly */
277 params = mysqlnd_stmt_alloc_param_bind(stmt->stmt);
278 if (!params) {
304 mysqlnd_stmt_free_param_bind(stmt->stmt, params);
307 ZVAL_COPY_VALUE(&params[i].zv, &args[i + start]);
308 params[i].type = type;
310 ret = mysqlnd_stmt_bind_param(stmt->stmt, params);
571 MYSQLND_RESULT_BIND *params = mysqlnd_stmt_alloc_result_bind(stmt->stmt); local
572 if (params) {
[all...]
/PHP_TRUNK/ext/odbc/
H A Dphp_odbc.c1275 params_t *params = NULL; local
1308 params = (params_t *)safe_emalloc(sizeof(params_t), result->numparams, 0);
1310 params[i].fp = -1;
1318 if (params[i].fp != -1) {
1319 close(params[i].fp);
1322 efree(params);
1332 if (params[i].fp != -1) {
1333 close(params[i].fp);
1336 efree(params);
1341 params[
[all...]

Completed in 64 milliseconds

12