/PHP-5.4/main/streams/ |
H A D | transports.c | 204 memset(¶m, 0, sizeof(param)); in php_stream_xport_bind() 235 memset(¶m, 0, sizeof(param)); in php_stream_xport_connect() 265 memset(¶m, 0, sizeof(param)); in php_stream_xport_listen() 294 memset(¶m, 0, sizeof(param)); in php_stream_xport_accept() 331 memset(¶m, 0, sizeof(param)); in php_stream_xport_get_name() 359 memset(¶m, 0, sizeof(param)); in php_stream_xport_crypto_setup() 380 memset(¶m, 0, sizeof(param)); in php_stream_xport_crypto_enable() 440 memset(¶m, 0, sizeof(param)); in php_stream_xport_recvfrom() 487 memset(¶m, 0, sizeof(param)); in php_stream_xport_sendto() 512 memset(¶m, 0, sizeof(param)); in php_stream_xport_shutdown() [all …]
|
/PHP-5.4/ext/pdo_sqlite/ |
H A D | sqlite_statement.c | 90 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(¶m->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.4/ext/reflection/tests/ |
H A D | ReflectionParameter_DefaultValueConstant_basic1.phpt | 12 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 D | bug38465.phpt | 24 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 D | bug51911.phpt | 13 foreach ($method->getParameters() as $param) { 14 if ( $param->isDefaultValueAvailable()) 15 echo '$', $param->getName(), ' : ', var_export($param->getDefaultValue(), 1), "\n";
|
H A D | ReflectionParameter_002.phpt | 26 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 D | ReflectionParameter_DefaultValueConstant_basic2.phpt | 19 foreach($reflect->getParameters() as $param) { 20 if($param->isDefaultValueAvailable() && $param->isDefaultValueConstant()) { 21 echo $param->getDefaultValueConstantName() . "\n";
|
/PHP-5.4/ext/xmlrpc/tests/ |
H A D | bug40576.phpt | 25 <param> 29 </param> 34 <param> 38 </param> 43 <param> 47 </param> 52 <param> 56 </param> 61 <param> 65 </param> [all …]
|
H A D | bug40576_64bit.phpt | 25 <param> 29 </param> 34 <param> 38 </param> 43 <param> 47 </param> 52 <param> 56 </param> 61 <param> 65 </param> [all …]
|
H A D | 005.phpt | 26 <param> 30 </param> 34 <param> 38 </param> 42 <param> 46 </param>
|
H A D | 001.phpt | 20 <param> 24 </param> 32 <param> 36 </param> 47 <param> 51 </param>
|
/PHP-5.4/ext/pdo_pgsql/ |
H A D | pgsql_statement.c | 247 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() 373 ZVAL_STRINGL(param->parameter, Z_BVAL_P(param->parameter) ? "t" : "f", 1, 1); in pgsql_stmt_param_hook() [all …]
|
/PHP-5.4/ext/tidy/ |
H A D | php_tidy.h | 30 #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.4/ext/pdo_oci/ |
H A D | oci_statement.c | 193 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.4/ext/pdo_odbc/ |
H A D | odbc_stmt.c | 176 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.4/ext/pdo/ |
H A D | pdo_stmt.c | 142 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(¶m, 0, sizeof(param)); in PHP_METHOD() 726 fetch_value(stmt, param->parameter, param->paramno, (int *)¶m->param_type TSRMLS_CC); in do_fetch_common() 1590 "lz|llz!", ¶m.paramno, ¶m.parameter, ¶m_type, ¶m.max_value_len, in register_bound_param() 1593 ¶m.namelen, ¶m.parameter, ¶m_type, ¶m.max_value_len, in register_bound_param() [all …]
|
H A D | pdo_sql_parser.c | 447 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.4/ext/soap/tests/interop/Round4/GroupH/ |
H A D | round4_groupH_simple_rpcenc.inc | 16 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.4/scripts/dev/generate-phpt/src/ |
H A D | gtMethod.php | 35 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 D | gtFunction.php | 28 foreach ($function->getParameters() as $i => $param) { 29 if($param->isOptional()) { 30 $this->optionalArgumentNames[] = $param->getName(); 32 $this->mandatoryArgumentNames[] = $param->getName();
|
/PHP-5.4/sapi/milter/ |
H A D | php_milter.c | 217 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.4/ext/pdo_firebird/ |
H A D | firebird_statement.c | 425 SEPARATE_ZVAL(¶m); in firebird_bind_blob() 427 convert_to_string_ex(¶m); 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.4/ext/pdo_mysql/ |
H A D | mysql_statement.c | 459 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.4/ext/spl/tests/ |
H A D | bug65328.phpt | 17 * @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 …]
|
/PHP-5.4/ext/sqlite3/ |
H A D | sqlite3.c | 1388 if (param->name) { 1393 memmove(temp+1, param->name, param->name_len); 1396 param->name = estrndup(param->name, param->name_len); 1403 efree(param->name); 1411 if (param->name) { 1412 zend_hash_update(hash, param->name, param->name_len, param, sizeof(*param), NULL); 1414 zend_hash_index_update(hash, param->param_number, param, sizeof(*param), NULL); 1436 …se_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sz|l", ¶m.name, ¶m.name_len, ¶m.parameter, &… 1469 …e_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sz/|l", ¶m.name, ¶m.name_len, ¶m.parameter, &… 2221 if (param->name) { [all …]
|