Home
last modified time | relevance | path

Searched refs:param_count (Results 1 – 25 of 34) sorted by relevance

12

/php-src/ext/dom/
H A Dxpath_callbacks.c316 if (param_count == 0) { in php_dom_xpath_callback_fetch_args()
320 zval *params = safe_emalloc(param_count, sizeof(zval), 0); in php_dom_xpath_callback_fetch_args()
323 for (zval *param = params + param_count - 1; param >= params; param--) { in php_dom_xpath_callback_fetch_args()
381 static void php_dom_xpath_callback_cleanup_args(zval *params, uint32_t param_count) in php_dom_xpath_callback_cleanup_args() argument
384 for (uint32_t i = 0; i < param_count; i++) { in php_dom_xpath_callback_cleanup_args()
405 fci.param_count = param_count; in php_dom_xpath_callback_dispatch()
420 zend_call_known_fcc(Z_PTR_P(fcc_wrapper), &callback_retval, param_count, params, NULL); in php_dom_xpath_callback_dispatch()
465 uint32_t param_count = num_args - 1; in php_dom_xpath_callbacks_call_php_ns() local
482 php_dom_xpath_callback_cleanup_args(params, param_count); in php_dom_xpath_callbacks_call_php_ns()
494 uint32_t param_count = num_args; in php_dom_xpath_callbacks_call_custom_ns() local
[all …]
/php-src/ext/mysqli/tests/
H A Dmysqli_stmt_bind_limits.phpt55 if ($stmt->param_count != $num_params * $rows) {
56 … 03] Parameter count should be %d but got %d\n", $offset, $num_params * $rows, $stmt->param_count);
59 printf("... statement with %d parameters prepared\n", $stmt->param_count);
77 if ($stmt->param_count != $num_params * $rows) {
78 … 03] Parameter count should be %d but got %d\n", $offset, $num_params * $rows, $stmt->param_count);
H A Dmysqli_class_mysqli_stmt_interface.phpt121 assert(mysqli_stmt_param_count($stmt) === $stmt->param_count);
122 printf("stmt->param_count = '%s'\n", $stmt->param_count);
150 param_count
168 stmt->param_count = '0'
H A D057.phpt86 ["param_count"]=>
/php-src/ext/mysqlnd/
H A Dmysqlnd_ps_codec.c553 *copies = mnd_ecalloc(param_count, sizeof(zval)); in mysqlnd_stmt_copy_it()
570 for (i = 0; i < stmt->param_count; i++) { in mysqlnd_stmt_free_copies()
613 for (i = 0; i < stmt->param_count; i++) { in mysqlnd_stmt_execute_prepare_param_types()
621 PASS != mysqlnd_stmt_copy_it(copies_param, parameter, stmt->param_count, i)) in mysqlnd_stmt_execute_prepare_param_types()
665 for (i = 0; i < stmt->param_count; i++) { in mysqlnd_stmt_execute_store_types()
710 for (i = 0; i < stmt->param_count; i++) { in mysqlnd_stmt_execute_calculate_param_values_size()
722 for (j = i + 1; j < stmt->param_count; j++) { in mysqlnd_stmt_execute_calculate_param_values_size()
726 if (PASS != mysqlnd_stmt_copy_it(copies_param, the_var, stmt->param_count, i)) { in mysqlnd_stmt_execute_calculate_param_values_size()
803 for (i = 0; i < stmt->param_count; i++) { in mysqlnd_stmt_execute_store_param_values()
885 unsigned int null_count = (stmt->param_count + 7) / 8; in mysqlnd_stmt_execute_store_params()
[all …]
H A Dmysqlnd_ps.c278 for (;i < stmt->param_count; i++) { in mysqlnd_stmt_skip_metadata()
323 stmt->param_count = prepare_resp.param_count; in mysqlnd_stmt_read_prepare_response()
430 if (stmt->param_count) { in MYSQLND_METHOD()
669 if (stmt->param_count) { in MYSQLND_METHOD()
676 for (i = 0; i < stmt->param_count; i++) { in MYSQLND_METHOD()
1022 if (param_no >= stmt->param_count) { in MYSQLND_METHOD()
1122 if (stmt->param_count) { in MYSQLND_METHOD()
1189 if (param_no >= stmt->param_count) { in MYSQLND_METHOD()
1197 if (stmt->param_count) { in MYSQLND_METHOD()
1248 if (stmt->param_count) { in MYSQLND_METHOD()
[all …]
H A Dmysqlnd_wireprotocol.h243 unsigned int param_count; member
/php-src/ext/zend_test/
H A Dfiber.c139 fiber->target->fci.param_count = 1; in zend_test_fiber_execute()
246 uint32_t param_count; in ZEND_METHOD() local
250 Z_PARAM_VARIADIC_WITH_NAMED(params, param_count, named_params); in ZEND_METHOD()
261 fiber->fci.param_count = param_count; in ZEND_METHOD()
/php-src/ext/soap/
H A Dphp_packet_soap.c28 int param_count = 0; in parse_packet_soap() local
331 param_count++; in parse_packet_soap()
363 ++param_count; in parse_packet_soap()
372 if (param_count == 0) { in parse_packet_soap()
375 } else if (param_count == 1) { in parse_packet_soap()
H A Dsoap.c3450 uint32_t param_count; in serialize_response_call2() local
3478 param_count = zend_hash_num_elements(function->responseParameters); in serialize_response_call2()
3480 param_count = 0; in serialize_response_call2()
3483 param_count = 1; in serialize_response_call2()
3486 if (param_count == 1) { in serialize_response_call2()
3513 } else if (param_count > 1 && Z_TYPE_P(ret) == IS_ARRAY) { in serialize_response_call2()
/php-src/Zend/
H A Dzend_interfaces.c39 …r *function_name, size_t function_name_len, zval *retval_ptr, uint32_t param_count, zval* arg1, zv… in zend_call_method() argument
45 if (param_count > 0) { in zend_call_method()
48 if (param_count > 1) { in zend_call_method()
83 zend_call_known_function(fn, object, called_scope, retval_ptr, param_count, params, NULL); in zend_call_method()
H A Dzend_execute_API.c778 …ion_impl(zval *object, zval *function_name, zval *retval_ptr, uint32_t param_count, zval params[],… in _call_user_function_impl() argument
791 fci.param_count = param_count; in _call_user_function_impl()
854 func, fci->param_count, object_or_called_scope); in zend_call_function()
865 for (i=0; i<fci->param_count; i++) { in zend_call_function()
1073 uint32_t param_count, zval *params, HashTable *named_params) in zend_call_known_function() argument
1084 fci.param_count = param_count; in zend_call_known_function()
1118 uint32_t param_count, zval *params) in zend_call_method_if_exists() argument
1125 fci.param_count = param_count; in zend_call_method_if_exists()
H A Dzend_interfaces.h41 … char *function_name, size_t function_name_len, zval *retval, uint32_t param_count, zval* arg1, zv…
H A Dzend_API.h51 uint32_t param_count; member
346 ZEND_API zend_result zend_get_parameters_array_ex(uint32_t param_count, zval *argument_array);
349 ZEND_API zend_result zend_copy_parameters_array(uint32_t param_count, zval *argument_array);
351 #define zend_get_parameters_array(ht, param_count, argument_array) \ argument
352 zend_get_parameters_array_ex(param_count, argument_array)
688 _call_user_function_impl(object, function_name, retval_ptr, param_count, params, NULL)
691 _call_user_function_impl(object, function_name, retval_ptr, param_count, params, named_params)
840 uint32_t param_count, zval *params, HashTable *named_params);
858 uint32_t param_count, zval *params) in zend_call_known_instance_method() argument
860 zend_call_known_function(fn, object, object->ce, retval_ptr, param_count, params, NULL); in zend_call_known_instance_method()
[all …]
H A Dzend_API.c57 if (param_count>arg_count) { in zend_get_parameters_array_ex()
61 while (param_count-->0) { in zend_get_parameters_array_ex()
79 if (param_count>arg_count) { in zend_copy_parameters_array()
83 while (param_count-->0) { in zend_copy_parameters_array()
1899 param_count, in object_init_with_constructor()
4312 fci->param_count = 0; in zend_fcall_info_init()
4335 fci->param_count = 0; in zend_fcall_info_args_clear()
4341 *param_count = fci->param_count; in zend_fcall_info_args_save()
4343 fci->param_count = 0; in zend_fcall_info_args_save()
4351 fci->param_count = param_count; in zend_fcall_info_args_restore()
[all …]
H A Dzend_closures.c132 fci.param_count = 0; in ZEND_METHOD()
137 Z_PARAM_VARIADIC_WITH_NAMED(fci.params, fci.param_count, fci.named_params) in ZEND_METHOD()
300 fci.param_count = 2; in ZEND_NAMED_FUNCTION()
H A Dzend_fibers.c895 Z_PARAM_VARIADIC_WITH_NAMED(fiber->fci.params, fiber->fci.param_count, fiber->fci.named_params); in ZEND_METHOD()
/php-src/ext/mysqli/
H A Dmysqli_api.c422 unsigned int param_count; in PHP_FUNCTION() local
431 param_count = mysql_stmt_param_count(stmt->stmt); in PHP_FUNCTION()
432 if (hash_num_elements != param_count) { in PHP_FUNCTION()
433 …r(ERROR_ARG_POS(2), "must consist of exactly %d elements, %d present", param_count, hash_num_eleme… in PHP_FUNCTION()
531 unsigned int param_count; in PHP_FUNCTION() local
543 param_count = mysql_stmt_param_count(stmt->stmt); in PHP_FUNCTION()
544 if (hash_num_elements != param_count) { in PHP_FUNCTION()
548 …r(ERROR_ARG_POS(3), "must consist of exactly %d elements, %d present", param_count, hash_num_eleme… in PHP_FUNCTION()
H A Dmysqli.stub.php1162 public int $param_count;
/php-src/ext/pdo/
H A Dpdo_stmt.c629 fci->param_count = 0; in do_fetch_class_prepare()
664 fci->param_count = num_args; /* probably less */ in make_callable_ex()
702 stmt->fetch.cls.fci.param_count = 0; in do_fetch_opt_finish()
807 old_arg_count = stmt->fetch.cls.fci.param_count; in do_fetch()
1039 stmt->fetch.cls.fci.param_count = old_arg_count; in do_fetch()
1044 stmt->fetch.func.fci.param_count = idx; in do_fetch()
1188 old_arg_count = stmt->fetch.cls.fci.param_count; in PHP_METHOD()
1211 stmt->fetch.cls.fci.param_count = old_arg_count; in PHP_METHOD()
1262 old_arg_count = stmt->fetch.cls.fci.param_count; in PHP_METHOD()
1386 stmt->fetch.cls.fci.param_count = old_arg_count; in PHP_METHOD()
/php-src/ext/standard/
H A Dbasic_functions.c1472 Z_PARAM_VARIADIC_WITH_NAMED(fci.params, fci.param_count, fci.named_params)
1522 Z_PARAM_VARIADIC('*', fci.params, fci.param_count)
1708 uint32_t param_count = 0; local
1711 …arameters(ZEND_NUM_ARGS(), "f*", &entry.fci, &entry.fci_cache, &params, &param_count) == FAILURE) {
1716 zend_fcall_info_argp(&entry.fci, param_count, params);
2300 uint32_t param_count = 0; local
2302 …eters(ZEND_NUM_ARGS(), "f*", &tick_fe.fci, &tick_fe.fci_cache, &params, &param_count) == FAILURE) {
2308 zend_fcall_info_argp(&tick_fe.fci, param_count, params);
H A Darray.c819 BG(user_compare_fci).param_count = 2; in php_array_user_compare_unstable()
945 BG(user_compare_fci).param_count = 2; in php_array_user_key_compare_unstable()
1481 fci.param_count = userdata ? 3 : 2; in php_array_walk()
5047 BG(user_compare_fci).param_count = 2;
6472 fci.param_count = 2;
6527 fci.param_count = 2;
6530 fci.param_count = 1;
6607 fci.param_count = 2;
6781 fci.param_count = 1;
6894 fci.param_count = n_arrays;
/php-src/ext/intl/uchar/
H A Duchar.c179 context->fci.param_count = 3; in enumCharType_callback()
282 context->fci.param_count = 3; in enumCharNames_callback()
/php-src/main/streams/
H A Duserspace.c255 zval *object, zval *method_name, zval *retval, uint32_t param_count, zval *params) in call_method_if_exists() argument
258 Z_OBJ_P(object), Z_STR_P(method_name), retval, param_count, params); in call_method_if_exists()
/php-src/sapi/phpdbg/
H A Dphpdbg_prompt.c119 fci.param_count = 0; in phpdbg_call_register()
182 phpdbg_debug("created %d params from arguments", fci.param_count); in phpdbg_call_register()

Completed in 146 milliseconds

12