/PHP-5.3/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.3/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() 115 if (SQLITE_OK == sqlite3_bind_int(S->stmt, param->paramno + 1, Z_LVAL_P(param->parameter))) { in pdo_sqlite_stmt_param_hook() 127 SEPARATE_ZVAL(¶m->parameter); in pdo_sqlite_stmt_param_hook() 142 convert_to_string(param->parameter); in pdo_sqlite_stmt_param_hook() 146 Z_STRVAL_P(param->parameter), in pdo_sqlite_stmt_param_hook() 147 Z_STRLEN_P(param->parameter), in pdo_sqlite_stmt_param_hook() 163 Z_STRVAL_P(param->parameter), in pdo_sqlite_stmt_param_hook() [all …]
|
/PHP-5.3/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 | 001.phpt | 20 <param> 24 </param> 32 <param> 36 </param> 47 <param> 51 </param>
|
/PHP-5.3/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.3/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.3/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() 274 P = param->driver_data; in oci_stmt_param_hook() 282 param->driver_data = P; in oci_stmt_param_hook() 305 if (param->name) { in oci_stmt_param_hook() [all …]
|
/PHP-5.3/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() 290 P = param->driver_data; in odbc_stmt_param_hook() 332 param->driver_data = P; in odbc_stmt_param_hook() 354 P->len = param->max_value_len > 0 ? param->max_value_len : precision; in odbc_stmt_param_hook() 370 (SQLPOINTER)param : in odbc_stmt_param_hook() 384 P = param->driver_data; in odbc_stmt_param_hook() 464 P = param->driver_data; in odbc_stmt_param_hook() [all …]
|
/PHP-5.3/ext/pdo/ |
H A D | pdo_sql_parser.c | 442 struct pdo_bound_param_data *param; in pdo_parse_params() local 555 if (param->param_type == PDO_PARAM_LOB && Z_TYPE_P(param->parameter) == IS_RESOURCE) { in pdo_parse_params() 565 param->param_type TSRMLS_CC)) { in pdo_parse_params() 592 convert_to_long(param->parameter); in pdo_parse_params() 606 param->param_type TSRMLS_CC)) { in pdo_parse_params() 749 struct pdo_bound_param_data *param; 762 if(param->parameter) { 763 convert_to_string(param->parameter); 811 memcpy(ptr, Z_STRVAL_P(param->parameter), Z_STRLEN_P(param->parameter)); 812 ptr += Z_STRLEN_P(param->parameter); [all …]
|
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() 1599 "lz|llz!", ¶m.paramno, ¶m.parameter, ¶m_type, ¶m.max_value_len, in register_bound_param() 1602 ¶m.namelen, ¶m.parameter, ¶m_type, ¶m.max_value_len, in register_bound_param() [all …]
|
H A D | pdo_sql_parser.re | 89 struct pdo_bound_param_data *param; 202 if (param->param_type == PDO_PARAM_LOB && Z_TYPE_P(param->parameter) == IS_RESOURCE) { 212 param->param_type TSRMLS_CC)) { 231 switch (Z_TYPE_P(param->parameter)) { 239 convert_to_long(param->parameter); 253 param->param_type TSRMLS_CC)) { 396 struct pdo_bound_param_data *param; 409 if(param->parameter) { 410 convert_to_string(param->parameter); 458 memcpy(ptr, Z_STRVAL_P(param->parameter), Z_STRLEN_P(param->parameter)); [all …]
|
/PHP-5.3/ext/reflection/tests/ |
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 | bug51905.phpt | 17 foreach ($method->getParameters() as $param) { 18 if ( $param->isDefaultValueAvailable()) 19 echo '$', $param->getName(), ' : ', var_export($param->getDefaultValue(), 1), "\n";
|
/PHP-5.3/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.3/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.3/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.3/ext/pdo_firebird/ |
H A D | firebird_statement.c | 427 SEPARATE_ZVAL(¶m); in firebird_bind_blob() 429 convert_to_string_ex(¶m); in firebird_bind_blob() 443 zval_dtor(param); in firebird_bind_blob() 468 if (param->is_param && param->paramno == -1) { in firebird_stmt_param_hook() 472 if (SUCCESS == zend_hash_find(S->named_params, param->name, param->namelen+1, (void*)&index)) { in firebird_stmt_param_hook() 473 param->paramno = *index; in firebird_stmt_param_hook() 485 param->paramno = i; in firebird_stmt_param_hook() 505 if (param->is_param) { in firebird_stmt_param_hook() 516 if (!param->is_param) { in firebird_stmt_param_hook() 530 param->parameter TSRMLS_CC); in firebird_stmt_param_hook() [all …]
|
/PHP-5.3/ext/pdo_mysql/ |
H A D | mysql_statement.c | 480 if (S->stmt && param->is_param) { in pdo_mysql_stmt_param_hook() 484 if (param->paramno < 0 || param->paramno >= S->num_params) { in pdo_mysql_stmt_param_hook() 491 b = &S->params[param->paramno]; in pdo_mysql_stmt_param_hook() 492 param->driver_data = b; in pdo_mysql_stmt_param_hook() 510 mysqlnd_stmt_bind_one_param(S->stmt, param->paramno, param->parameter, MYSQL_TYPE_NULL); in pdo_mysql_stmt_param_hook() 554 switch (Z_TYPE_P(param->parameter)) { in pdo_mysql_stmt_param_hook() 556 mysqlnd_stmt_bind_one_param(S->stmt, param->paramno, param->parameter, MYSQL_TYPE_VAR_STRING); in pdo_mysql_stmt_param_hook() 560 mysqlnd_stmt_bind_one_param(S->stmt, param->paramno, param->parameter, MYSQL_TYPE_LONGLONG); in pdo_mysql_stmt_param_hook() 562 mysqlnd_stmt_bind_one_param(S->stmt, param->paramno, param->parameter, MYSQL_TYPE_LONG); in pdo_mysql_stmt_param_hook() 566 mysqlnd_stmt_bind_one_param(S->stmt, param->paramno, param->parameter, MYSQL_TYPE_DOUBLE); in pdo_mysql_stmt_param_hook() [all …]
|
/PHP-5.3/ext/sqlite3/ |
H A D | sqlite3.c | 1370 if (param->name) { 1375 memmove(temp+1, param->name, param->name_len); 1378 param->name = estrndup(param->name, param->name_len); 1385 efree(param->name); 1393 if (param->name) { 1394 zend_hash_update(hash, param->name, param->name_len, param, sizeof(*param), NULL); 1396 zend_hash_index_update(hash, param->param_number, param, sizeof(*param), NULL); 1416 …se_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sz|l", ¶m.name, ¶m.name_len, ¶m.parameter, &… 1447 …e_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sz/|l", ¶m.name, ¶m.name_len, ¶m.parameter, &… 2196 if (param->name) { [all …]
|
/PHP-5.3/ext/standard/tests/strings/ |
H A D | bug50847.phpt | 5 $var = '<param value="' . str_repeat("a", 2048) . '" />'; 6 var_dump(strip_tags($var, "<param>"), strip_tags($var)); 9 string(2066) "<param value="aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa…
|
/PHP-5.3/ext/mysqli/tests/ |
H A D | reflection_tools.inc | 94 foreach ($params as $k => $param) 95 $tmp[$param->getName()] = $param; 98 foreach ($tmp as $param) 99 inspectParameter($method, $param); 109 function inspectParameter(&$method, &$param) { 112 $param->getName(), $method->getName()); 113 printf("isArray: %s\n", ($param->isArray()) ? 'yes': 'no'); 114 printf("allowsNull: %s\n", ($param->allowsNull()) ? 'yes' : 'no'); 115 printf("isPassedByReference: %s\n", ($param->isPassedByReference()) ? 'yes' : 'no'); 116 printf("isOptional: %s\n", ($param->isOptional()) ? 'yes' : 'no'); [all …]
|