Home
last modified time | relevance | path

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

12345678910>>...12

/PHP-7.0/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()
330 memset(&param, 0, sizeof(param)); in php_stream_xport_get_name()
357 memset(&param, 0, sizeof(param)); in php_stream_xport_crypto_setup()
378 memset(&param, 0, sizeof(param)); in php_stream_xport_crypto_enable()
438 memset(&param, 0, sizeof(param)); in php_stream_xport_recvfrom()
484 memset(&param, 0, sizeof(param)); in php_stream_xport_sendto()
509 memset(&param, 0, sizeof(param)); in php_stream_xport_shutdown()
[all …]
/PHP-7.0/sapi/phpdbg/
H A Dphpdbg_set.c52 if (!param || param->type == EMPTY_PARAM) { in PHPDBG_SET()
63 if (!param || param->type == EMPTY_PARAM) { in PHPDBG_SET()
67 if (param->num) { in PHPDBG_SET()
83 if (!param || param->type == EMPTY_PARAM) { in PHPDBG_SET()
126 if (!param || param->type == EMPTY_PARAM) { in PHPDBG_SET()
154 switch (phpdbg_get_element(param->str, param->len)) { in PHPDBG_SET()
183 if (!param || param->type == EMPTY_PARAM) { in PHPDBG_SET()
204 if (!param || param->type == EMPTY_PARAM) { in PHPDBG_SET()
233 if (!param || param->type == EMPTY_PARAM) { in PHPDBG_SET()
252 if (!param || param->type == EMPTY_PARAM) { in PHPDBG_SET()
[all …]
H A Dphpdbg_cmd.c49 switch (param->type) { in phpdbg_get_param_type()
75 if (param) { in phpdbg_clear_param()
85 efree(param->str); in phpdbg_clear_param()
114 if (param->num) { in phpdbg_param_tostring()
115 …ZEND_IGNORE_VALUE(asprintf(pointer, "%s:%lu#%lu", param->file.name, param->file.line, param->num)); in phpdbg_param_tostring()
126 …ZEND_IGNORE_VALUE(asprintf(pointer, "%s::%s#%lu", param->method.class, param->method.name, param->… in phpdbg_param_tostring()
204 hash += zend_inline_hash_func(param->str, param->len); in phpdbg_hash_param()
215 if (param->num) in phpdbg_hash_param()
228 hash += zend_inline_hash_func(param->str, param->len); in phpdbg_hash_param()
235 if (param->num) in phpdbg_hash_param()
[all …]
H A Dphpdbg_prompt.c831 if (param && param->type != EMPTY_PARAM && param->len != 0) { in PHPDBG_COMMAND()
833 char *end = param->str + param->len, *p = param->str; in PHPDBG_COMMAND()
1094 if (!param || param->type == EMPTY_PARAM) { in PHPDBG_COMMAND()
1180 phpdbg_set_breakpoint_method_opline(param->method.class, param->method.name, param->num); in PHPDBG_COMMAND()
1195 phpdbg_set_breakpoint_symbol(param->str, param->len); in PHPDBG_COMMAND()
1380 if (!param || param->type == EMPTY_PARAM) { in PHPDBG_COMMAND()
1389 path = estrndup(param->str, param->len); in PHPDBG_COMMAND()
1417 phpdbg_try_file_init(param->str, param->len, 0); in PHPDBG_COMMAND()
1526 phpdbg_list_function_byname(param->str, param->len); in PHPDBG_COMMAND()
1540 if (!param || param->type == EMPTY_PARAM) { in PHPDBG_COMMAND()
[all …]
/PHP-7.0/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-7.0/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 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-7.0/ext/tidy/
H A Dphp_tidy.h33 #define TIDY_NODE_ME(name, param) TIDY_METHOD_MAP(name, tnm_ ##name, param) argument
34 #define TIDY_NODE_PRIVATE_ME(name, param) ZEND_NAMED_ME(name, ZEND_FN(tnm_ ##name), param, ZEND_ACC… argument
36 #define TIDY_DOC_ME(name, param) TIDY_METHOD_MAP(name, tdm_ ##name, param) argument
38 #define TIDY_ATTR_ME(name, param) TIDY_METHOD_MAP(name, tam_ ##name, param) argument
/PHP-7.0/ext/pdo_sqlite/
H A Dsqlite_statement.c91 if (param->is_param) { in pdo_sqlite_stmt_param_hook()
93 if (param->paramno == -1) { in pdo_sqlite_stmt_param_hook()
94 param->paramno = sqlite3_bind_parameter_index(S->stmt, ZSTR_VAL(param->name)) - 1; in pdo_sqlite_stmt_param_hook()
110 if (Z_ISREF(param->parameter)) { in pdo_sqlite_stmt_param_hook()
111 parameter = Z_REFVAL(param->parameter); in pdo_sqlite_stmt_param_hook()
113 parameter = &param->parameter; in pdo_sqlite_stmt_param_hook()
135 if (Z_ISREF(param->parameter)) { in pdo_sqlite_stmt_param_hook()
136 parameter = Z_REFVAL(param->parameter); in pdo_sqlite_stmt_param_hook()
138 parameter = &param->parameter; in pdo_sqlite_stmt_param_hook()
171 if (Z_ISREF(param->parameter)) { in pdo_sqlite_stmt_param_hook()
[all …]
/PHP-7.0/ext/pdo_pgsql/
H A Dpgsql_statement.c269 if (param->driver_data) { in pgsql_stmt_param_hook()
270 efree(param->driver_data); in pgsql_stmt_param_hook()
276 if (param->name) { in pgsql_stmt_param_hook()
278 ZEND_ATOL(param->paramno, ZSTR_VAL(param->name) + 1); in pgsql_stmt_param_hook()
284 param->name)) != NULL) { in pgsql_stmt_param_hook()
286 param->paramno--; in pgsql_stmt_param_hook()
327 if (param->paramno >= 0) { in pgsql_stmt_param_hook()
340 parameter = &param->parameter; in pgsql_stmt_param_hook()
354 param->driver_data = P; in pgsql_stmt_param_hook()
403 } else if (param->is_param) { in pgsql_stmt_param_hook()
[all …]
/PHP-7.0/ext/pdo/
H A Dpdo_stmt.c138 if (!param->name) { in rewrite_name_to_position()
278 param->stmt->methods->param_hook(param->stmt, param, PDO_PARAM_EVT_FREE); in param_dtor()
281 if (param->name) { in param_dtor()
292 efree(param); in param_dtor()
365 if (param->name) { in really_register_bound_param()
372 param->name = zend_string_init(ZSTR_VAL(param->name), ZSTR_LEN(param->name), 0); in really_register_bound_param()
407 if (param->name) { in really_register_bound_param()
460 memset(&param, 0, sizeof(param)); in PHP_METHOD()
715 fetch_value(stmt, Z_REFVAL(param->parameter), param->paramno, (int *)&param->param_type); in do_fetch_common()
2135param->paramno, param->name ? ZSTR_LEN(param->name) : 0, param->name ? (int) ZSTR_LEN(param->name)… in PHP_METHOD()
[all …]
H A Dpdo_sql_parser.c407 struct pdo_bound_param_data *param; in pdo_parse_params() local
513 if (param == NULL) { in pdo_parse_params()
521 if (Z_ISREF(param->parameter)) { in pdo_parse_params()
524 parameter = &param->parameter; in pdo_parse_params()
538 param->param_type)) { in pdo_parse_params()
582 param->param_type)) { in pdo_parse_params()
594 if (Z_ISREF(param->parameter)) { in pdo_parse_params()
597 parameter = &param->parameter; in pdo_parse_params()
743 if(param->parameter) {
791 memcpy(ptr, Z_STRVAL_P(param->parameter), Z_STRLEN_P(param->parameter));
[all …]
/PHP-7.0/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-7.0/scripts/dev/generate-phpt/src/
H A DgtFunction.php28 foreach ($function->getParameters() as $i => $param) {
29 if($param->isOptional()) {
30 $this->optionalArgumentNames[] = $param->getName();
32 $this->mandatoryArgumentNames[] = $param->getName();
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();
/PHP-7.0/ext/gd/tests/
H A Dsimilarity.inc11 * @param int $color
12 * @param int $red
13 * @param int $green
14 * @param int $blue
29 * @param int $color1
30 * @param int $color2
46 * @param resource $image1
47 * @param resource $image2
/PHP-7.0/ext/intl/uchar/tests/
H A Dbug70453.phpt8 $param = $method->getParameters()[1];
9 var_dump($param->name, $param->isOptional(), $param->isPassedByReference());
/PHP-7.0/ext/pdo_odbc/
H A Dodbc_stmt.c176 struct pdo_bound_param_data *param; in odbc_stmt_execute() local
186 if (Z_ISREF(param->parameter)) { in odbc_stmt_execute()
189 parameter = &param->parameter; in odbc_stmt_execute()
293 if (param->is_param) { in odbc_stmt_param_hook()
303 P = param->driver_data; in odbc_stmt_param_hook()
345 param->driver_data = P; in odbc_stmt_param_hook()
367 P->len = param->max_value_len > 0 ? param->max_value_len : precision; in odbc_stmt_param_hook()
383 (SQLPOINTER)param : in odbc_stmt_param_hook()
397 P = param->driver_data; in odbc_stmt_param_hook()
399 parameter = &param->parameter; in odbc_stmt_param_hook()
[all …]

Completed in 48 milliseconds

12345678910>>...12