Home
last modified time | relevance | path

Searched refs:param (Results 1 – 25 of 266) sorted by relevance

1234567891011

/PHP-5.5/main/streams/
H A Dtransports.c204 memset(&param, 0, sizeof(param)); in php_stream_xport_bind()
235 memset(&param, 0, sizeof(param)); in php_stream_xport_connect()
265 memset(&param, 0, sizeof(param)); in php_stream_xport_listen()
294 memset(&param, 0, sizeof(param)); in php_stream_xport_accept()
331 memset(&param, 0, sizeof(param)); in php_stream_xport_get_name()
359 memset(&param, 0, sizeof(param)); in php_stream_xport_crypto_setup()
380 memset(&param, 0, sizeof(param)); in php_stream_xport_crypto_enable()
440 memset(&param, 0, sizeof(param)); in php_stream_xport_recvfrom()
487 memset(&param, 0, sizeof(param)); in php_stream_xport_sendto()
512 memset(&param, 0, sizeof(param)); in php_stream_xport_shutdown()
[all …]
/PHP-5.5/ext/pdo_sqlite/
H A Dsqlite_statement.c90 if (param->is_param) { in pdo_sqlite_stmt_param_hook()
92 if (param->paramno == -1) { in pdo_sqlite_stmt_param_hook()
93 param->paramno = sqlite3_bind_parameter_index(S->stmt, param->name) - 1; in pdo_sqlite_stmt_param_hook()
114 convert_to_long(param->parameter); in pdo_sqlite_stmt_param_hook()
116 … if (SQLITE_OK == sqlite3_bind_int64(S->stmt, param->paramno + 1, Z_LVAL_P(param->parameter))) { in pdo_sqlite_stmt_param_hook()
120 if (SQLITE_OK == sqlite3_bind_int(S->stmt, param->paramno + 1, Z_LVAL_P(param->parameter))) { in pdo_sqlite_stmt_param_hook()
133 SEPARATE_ZVAL(&param->parameter); in pdo_sqlite_stmt_param_hook()
152 Z_STRVAL_P(param->parameter), in pdo_sqlite_stmt_param_hook()
153 Z_STRLEN_P(param->parameter), in pdo_sqlite_stmt_param_hook()
169 Z_STRVAL_P(param->parameter), in pdo_sqlite_stmt_param_hook()
[all …]
/PHP-5.5/ext/reflection/tests/
H A DReflectionParameter_DefaultValueConstant_basic1.phpt12 foreach($reflect->getParameters() as $param) {
13 if($param->getName() == 'test1') {
14 var_dump($param->isDefaultValueConstant());
16 if($param->getName() == 'test2') {
17 var_dump($param->isDefaultValueConstant());
19 if($param->isDefaultValueAvailable() && $param->isDefaultValueConstant()) {
20 var_dump($param->getDefaultValueConstantName());
38 foreach ($params as $param) {
39 if ($param->isDefaultValueConstant()) {
40 var_dump($param->getDefaultValueConstantName());
H A Dbug38465.phpt24 foreach ($method->getParameters() as $param) {
25 if ($param->isDefaultValueAvailable()) {
26 …eclaringClass()->getName(), '::', $method->getName(), '($', $param->getName(), ' = ', $param->getD…
37 foreach ($method->getParameters() as $param) {
38 if ($param->isDefaultValueAvailable()) {
39 …eclaringClass()->getName(), '::', $method->getName(), '($', $param->getName(), ' = ', $param->getD…
H A Dbug51911.phpt13 foreach ($method->getParameters() as $param) {
14 if ( $param->isDefaultValueAvailable())
15 echo '$', $param->getName(), ' : ', var_export($param->getDefaultValue(), 1), "\n";
H A DReflectionParameter_002.phpt26 echo "This param is passed by reference\n";
28 echo "This param is not passed by reference\n";
41 echo "This param is passed by reference\n";
43 echo "This param is not passed by reference\n";
58 This param is passed by reference
64 This param is not passed by reference
72 This param is not passed by reference
78 This param is passed by reference
H A DReflectionParameter_DefaultValueConstant_basic2.phpt19 foreach($reflect->getParameters() as $param) {
20 if($param->isDefaultValueAvailable() && $param->isDefaultValueConstant()) {
21 echo $param->getDefaultValueConstantName() . "\n";
H A Dbug51905.phpt17 foreach ($method->getParameters() as $param) {
18 if ( $param->isDefaultValueAvailable())
19 echo '$', $param->getName(), ' : ', var_export($param->getDefaultValue(), 1), "\n";
/PHP-5.5/ext/pdo_pgsql/
H A Dpgsql_statement.c247 if (param->driver_data) { in pgsql_stmt_param_hook()
254 if (param->name) { in pgsql_stmt_param_hook()
256 param->paramno = atoi(param->name + 1); in pgsql_stmt_param_hook()
261 param->name, param->namelen + 1, (void**)&nameptr)) { in pgsql_stmt_param_hook()
296 if (param->paramno >= 0) { in pgsql_stmt_param_hook()
345 S->param_values[param->paramno] = Z_BVAL_P(param->parameter) ? "t" : "f"; in pgsql_stmt_param_hook()
351 S->param_values[param->paramno] = Z_STRVAL_P(param->parameter); in pgsql_stmt_param_hook()
352 S->param_lengths[param->paramno] = Z_STRLEN_P(param->parameter); in pgsql_stmt_param_hook()
367 if (param->is_param) { in pgsql_stmt_param_hook()
374 ZVAL_STRINGL(param->parameter, Z_BVAL_P(param->parameter) ? "t" : "f", 1, 1); in pgsql_stmt_param_hook()
[all …]
/PHP-5.5/ext/xmlrpc/tests/
H A Dbug40576_64bit.phpt25 <param>
29 </param>
34 <param>
38 </param>
43 <param>
47 </param>
52 <param>
56 </param>
61 <param>
65 </param>
[all …]
H A Dbug40576.phpt25 <param>
29 </param>
34 <param>
38 </param>
43 <param>
47 </param>
52 <param>
56 </param>
61 <param>
65 </param>
[all …]
H A D005.phpt26 <param>
30 </param>
34 <param>
38 </param>
42 <param>
46 </param>
H A D001.phpt20 <param>
24 </param>
32 <param>
36 </param>
47 <param>
51 </param>
/PHP-5.5/ext/tidy/
H A Dphp_tidy.h30 #define TIDY_NODE_ME(name, param) TIDY_METHOD_MAP(name, tnm_ ##name, param) argument
31 #define TIDY_NODE_PRIVATE_ME(name, param) ZEND_NAMED_ME(name, ZEND_FN(tnm_ ##name), param, ZEND_ACC… argument
33 #define TIDY_DOC_ME(name, param) TIDY_METHOD_MAP(name, tdm_ ##name, param) argument
35 #define TIDY_ATTR_ME(name, param) TIDY_METHOD_MAP(name, tam_ ##name, param) argument
/PHP-5.5/ext/pdo_oci/
H A Doci_statement.c193 if (!param || !param->parameter) { in oci_bind_input_cb()
225 if (!param || !param->parameter) { in oci_bind_output_cb()
240 if (Z_TYPE_P(param->parameter) == IS_OBJECT || Z_TYPE_P(param->parameter) == IS_RESOURCE) { in oci_bind_output_cb()
245 zval_dtor(param->parameter); in oci_bind_output_cb()
247 Z_STRLEN_P(param->parameter) = param->max_value_len; in oci_bind_output_cb()
248 Z_STRVAL_P(param->parameter) = ecalloc(1, Z_STRLEN_P(param->parameter)+1); in oci_bind_output_cb()
266 if (param->is_param) { in oci_stmt_param_hook()
280 P = param->driver_data; in oci_stmt_param_hook()
288 param->driver_data = P; in oci_stmt_param_hook()
311 if (param->name) { in oci_stmt_param_hook()
[all …]
/PHP-5.5/ext/pdo_odbc/
H A Dodbc_stmt.c176 struct pdo_bound_param_data *param; in odbc_stmt_execute() local
191 Z_STRVAL_P(param->parameter), in odbc_stmt_execute()
192 Z_STRLEN_P(param->parameter), in odbc_stmt_execute()
286 if (param->is_param) { in odbc_stmt_param_hook()
296 P = param->driver_data; in odbc_stmt_param_hook()
338 param->driver_data = P; in odbc_stmt_param_hook()
360 P->len = param->max_value_len > 0 ? param->max_value_len : precision; in odbc_stmt_param_hook()
376 (SQLPOINTER)param : in odbc_stmt_param_hook()
390 P = param->driver_data; in odbc_stmt_param_hook()
470 P = param->driver_data; in odbc_stmt_param_hook()
[all …]
/PHP-5.5/ext/pdo/
H A Dpdo_stmt.c142 param->namelen = strlen(param->name); in rewrite_name_to_position()
285 param->stmt->methods->param_hook(param->stmt, param, PDO_PARAM_EVT_FREE TSRMLS_CC); in param_dtor()
366 memmove(temp+1, param->name, param->namelen); in really_register_bound_param()
369 param->name = estrndup(param->name, param->namelen); in really_register_bound_param()
405 zend_hash_update(hash, param->name, param->namelen, param, in really_register_bound_param()
408 zend_hash_index_update(hash, param->paramno, param, sizeof(*param), in really_register_bound_param()
460 memset(&param, 0, sizeof(param)); in PHP_METHOD()
726 fetch_value(stmt, param->parameter, param->paramno, (int *)&param->param_type TSRMLS_CC); in do_fetch_common()
1581 "lz|llz!", &param.paramno, &param.parameter, &param_type, &param.max_value_len, in register_bound_param()
1584 &param.namelen, &param.parameter, &param_type, &param.max_value_len, in register_bound_param()
[all …]
H A Dpdo_sql_parser.c447 struct pdo_bound_param_data *param; in pdo_parse_params() local
560 if (param->param_type == PDO_PARAM_LOB && Z_TYPE_P(param->parameter) == IS_RESOURCE) { in pdo_parse_params()
570 param->param_type TSRMLS_CC)) { in pdo_parse_params()
589 zval tmp_param = *param->parameter; in pdo_parse_params()
613 param->param_type TSRMLS_CC)) { in pdo_parse_params()
757 struct pdo_bound_param_data *param;
770 if(param->parameter) {
771 convert_to_string(param->parameter);
819 memcpy(ptr, Z_STRVAL_P(param->parameter), Z_STRLEN_P(param->parameter));
820 ptr += Z_STRLEN_P(param->parameter);
[all …]
/PHP-5.5/ext/soap/tests/interop/Round4/GroupH/
H A Dround4_groupH_simple_rpcenc.inc16 function echoMultipleFaults1($param, $string, $floats) {
17 if ($param == 2) {
19 } else if ($param == 3) {
26 function echoMultipleFaults2($param, $string, $float, $strings) {
27 if ($param == 2) {
29 } else if ($param == 3) {
36 function echoMultipleFaults3($param, $param1, $param2) {
37 if ($param == 2) {
44 function echoMultipleFaults4($param, $int, $enum) {
45 if ($param == 2) {
/PHP-5.5/scripts/dev/generate-phpt/src/
H A DgtMethod.php35 foreach($constructor->getParameters() as $i => $param) {
37 $this->constructorArgumentNames[] = $param->getName();
52 foreach ($methodClass->getParameters() as $i => $param) {
53 if($param->isOptional()) {
54 $this->optionalArgumentNames[] = $param->getName();
56 $this->mandatoryArgumentNames[] = $param->getName();
H A DgtFunction.php28 foreach ($function->getParameters() as $i => $param) {
29 if($param->isOptional()) {
30 $this->optionalArgumentNames[] = $param->getName();
32 $this->mandatoryArgumentNames[] = $param->getName();
/PHP-5.5/sapi/milter/
H A Dphp_milter.c217 ALLOC_ZVAL(param[0]); in mlfi_connect()
218 INIT_PZVAL(param[0]); in mlfi_connect()
230 zval_ptr_dtor(param); in mlfi_connect()
251 ALLOC_ZVAL(param[0]); in mlfi_helo()
252 INIT_PZVAL(param[0]); in mlfi_helo()
264 zval_ptr_dtor(param); in mlfi_helo()
286 ALLOC_ZVAL(param[0]); in mlfi_envfrom()
287 INIT_PZVAL(param[0]); in mlfi_envfrom()
290 array_init(param[0]); in mlfi_envfrom()
304 zval_ptr_dtor(param); in mlfi_envfrom()
[all …]
/PHP-5.5/ext/pdo_firebird/
H A Dfirebird_statement.c425 SEPARATE_ZVAL(&param); in firebird_bind_blob()
427 convert_to_string_ex(&param); in firebird_bind_blob()
441 zval_dtor(param); in firebird_bind_blob()
466 if (param->is_param && param->paramno == -1) { in firebird_stmt_param_hook()
470 if (SUCCESS == zend_hash_find(S->named_params, param->name, param->namelen+1, (void*)&index)) { in firebird_stmt_param_hook()
471 param->paramno = *index; in firebird_stmt_param_hook()
483 param->paramno = i; in firebird_stmt_param_hook()
503 if (param->is_param) { in firebird_stmt_param_hook()
514 if (!param->is_param) { in firebird_stmt_param_hook()
528 param->parameter TSRMLS_CC); in firebird_stmt_param_hook()
[all …]
/PHP-5.5/ext/pdo_mysql/
H A Dmysql_statement.c459 if (S->stmt && param->is_param) { in pdo_mysql_stmt_param_hook()
463 if (param->paramno < 0 || param->paramno >= S->num_params) { in pdo_mysql_stmt_param_hook()
470 b = &S->params[param->paramno]; in pdo_mysql_stmt_param_hook()
471 param->driver_data = b; in pdo_mysql_stmt_param_hook()
489 mysqlnd_stmt_bind_one_param(S->stmt, param->paramno, param->parameter, MYSQL_TYPE_NULL); in pdo_mysql_stmt_param_hook()
533 switch (Z_TYPE_P(param->parameter)) { in pdo_mysql_stmt_param_hook()
535 mysqlnd_stmt_bind_one_param(S->stmt, param->paramno, param->parameter, MYSQL_TYPE_VAR_STRING); in pdo_mysql_stmt_param_hook()
539 mysqlnd_stmt_bind_one_param(S->stmt, param->paramno, param->parameter, MYSQL_TYPE_LONGLONG); in pdo_mysql_stmt_param_hook()
541 mysqlnd_stmt_bind_one_param(S->stmt, param->paramno, param->parameter, MYSQL_TYPE_LONG); in pdo_mysql_stmt_param_hook()
545 mysqlnd_stmt_bind_one_param(S->stmt, param->paramno, param->parameter, MYSQL_TYPE_DOUBLE); in pdo_mysql_stmt_param_hook()
[all …]
/PHP-5.5/ext/spl/tests/
H A Dbug65328.phpt17 * @param Node $head
33 * @param mixed $uid
51 * @param mixed $uid
113 * @param mixed $data
114 * @param mixed $uid
115 * @param Node $parent
130 * @param mixed $uid
146 * @param Node $child
171 * @param mixed $data
200 * @param Node $node
[all …]

Completed in 52 milliseconds

1234567891011