Home
last modified time | relevance | path

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

12345678910

/PHP-5.3/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.3/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()
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(&param->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 Dbug40576.phpt25 <param>
29 </param>
34 <param>
38 </param>
43 <param>
47 </param>
52 <param>
56 </param>
61 <param>
65 </param>
[all …]
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 D001.phpt20 <param>
24 </param>
32 <param>
36 </param>
47 <param>
51 </param>
/PHP-5.3/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()
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 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.3/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()
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 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()
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 Dpdo_sql_parser.c442 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 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()
1599 "lz|llz!", &param.paramno, &param.parameter, &param_type, &param.max_value_len, in register_bound_param()
1602 &param.namelen, &param.parameter, &param_type, &param.max_value_len, in register_bound_param()
[all …]
H A Dpdo_sql_parser.re89 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 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 Dbug51905.phpt17 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 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.3/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.3/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.3/ext/pdo_firebird/
H A Dfirebird_statement.c427 SEPARATE_ZVAL(&param); in firebird_bind_blob()
429 convert_to_string_ex(&param); 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 Dmysql_statement.c480 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 Dsqlite3.c1370 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", &param.name, &param.name_len, &param.parameter, &
1447 …e_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sz/|l", &param.name, &param.name_len, &param.parameter, &
2196 if (param->name) {
[all …]
/PHP-5.3/ext/standard/tests/strings/
H A Dbug50847.phpt5 $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 Dreflection_tools.inc94 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 …]

Completed in 60 milliseconds

12345678910