/PHP-5.6/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.6/sapi/phpdbg/ |
H A D | phpdbg_set.c | 50 if (!param || param->type == EMPTY_PARAM) { in PHPDBG_SET() 61 if (param->next) { in PHPDBG_SET() 86 if (!param || param->type == EMPTY_PARAM) { in PHPDBG_SET() 91 if (param->num) { in PHPDBG_SET() 108 param->next->str, param->next->len TSRMLS_CC); in PHPDBG_SET() 116 switch (phpdbg_get_element(param->str, param->len TSRMLS_CC)) { in PHPDBG_SET() 149 if (!param || param->type == EMPTY_PARAM) { in PHPDBG_SET() 171 if (!param || param->type == EMPTY_PARAM) { in PHPDBG_SET() 199 if (!param || param->type == EMPTY_PARAM) { in PHPDBG_SET() 219 if (!param || param->type == EMPTY_PARAM) { in PHPDBG_SET() [all …]
|
H A D | phpdbg_cmd.c | 74 if (param) { in phpdbg_clear_param() 109 param->num); in phpdbg_param_tostring() 120 if (param->num) { in phpdbg_param_tostring() 125 param->num); in phpdbg_param_tostring() 136 "%s#%lu", param->str, param->num); in phpdbg_param_tostring() 144 param->num); in phpdbg_param_tostring() 223 hash += zend_inline_hash_func(param->str, param->len); in phpdbg_hash_param() 234 if (param->num) in phpdbg_hash_param() 247 hash += zend_inline_hash_func(param->str, param->len); in phpdbg_hash_param() 254 if (param->num) in phpdbg_hash_param() [all …]
|
H A D | phpdbg_list.c | 55 switch (param->type) { in PHPDBG_LIST() 58 (param->num < 0 ? 1 - param->num : param->num), in PHPDBG_LIST() 59 (param->num < 0 ? param->num : 0) + zend_get_executed_lineno(TSRMLS_C), in PHPDBG_LIST() 64 phpdbg_list_file(param->file.name, param->file.line, 0, 0 TSRMLS_CC); in PHPDBG_LIST() 75 phpdbg_list_function_byname(param->str, param->len TSRMLS_CC); in PHPDBG_LIST() 84 …if (zend_lookup_class(param->method.class, strlen(param->method.class), &ce TSRMLS_CC) == SUCCESS)… in PHPDBG_LIST() 86 char *lcname = zend_str_tolower_dup(param->method.name, strlen(param->method.name)); in PHPDBG_LIST() 91 phpdbg_error("Could not find %s::%s", param->method.class, param->method.name); in PHPDBG_LIST() 96 phpdbg_error("Could not find the class %s", param->method.class); in PHPDBG_LIST() 106 if (zend_lookup_class(param->str, param->len, &ce TSRMLS_CC) == SUCCESS) { in PHPDBG_LIST() [all …]
|
H A D | phpdbg_prompt.c | 520 if (!param) { in PHPDBG_COMMAND() 617 if (param && param->type != EMPTY_PARAM && param->len != 0) { in PHPDBG_COMMAND() 689 if (zend_eval_stringl(param->str, param->len, in PHPDBG_COMMAND() 717 if (!param) { in PHPDBG_COMMAND() 790 if (!param) { in PHPDBG_COMMAND() 809 …phpdbg_set_breakpoint_method_opline(param->method.class, param->method.name, param->num TSRMLS_CC); in PHPDBG_COMMAND() 855 phpdbg_try_file_init(param->str, param->len, 0 TSRMLS_CC); in PHPDBG_COMMAND() 882 char *lcname = zend_str_tolower_dup(param->str, param->len); in PHPDBG_COMMAND() 955 if (!param) { in PHPDBG_COMMAND() 965 phpdbg_list_function_byname(param->str, param->len TSRMLS_CC); in PHPDBG_COMMAND() [all …]
|
/PHP-5.6/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.6/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";
|
/PHP-5.6/ext/pdo_pgsql/ |
H A D | pgsql_statement.c | 250 if (param->driver_data) { in pgsql_stmt_param_hook() 257 if (param->name) { in pgsql_stmt_param_hook() 259 param->paramno = atoi(param->name + 1); in pgsql_stmt_param_hook() 264 param->name, param->namelen + 1, (void**)&nameptr)) { in pgsql_stmt_param_hook() 299 if (param->paramno >= 0) { in pgsql_stmt_param_hook() 348 S->param_values[param->paramno] = Z_BVAL_P(param->parameter) ? "t" : "f"; in pgsql_stmt_param_hook() 354 S->param_values[param->paramno] = Z_STRVAL_P(param->parameter); in pgsql_stmt_param_hook() 355 S->param_lengths[param->paramno] = Z_STRLEN_P(param->parameter); in pgsql_stmt_param_hook() 368 } else if (param->is_param) { in pgsql_stmt_param_hook() 375 ZVAL_STRINGL(param->parameter, Z_BVAL_P(param->parameter) ? "t" : "f", 1, 1); in pgsql_stmt_param_hook() [all …]
|
/PHP-5.6/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.6/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.6/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.6/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.6/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() 1569 "lz|llz!", ¶m.paramno, ¶m.parameter, ¶m_type, ¶m.max_value_len, in register_bound_param() 1572 ¶m.namelen, ¶m.parameter, ¶m_type, ¶m.max_value_len, in register_bound_param() [all …]
|
H A D | pdo_sql_parser.c | 403 struct pdo_bound_param_data *param; in pdo_parse_params() local 516 if (param->param_type == PDO_PARAM_LOB && Z_TYPE_P(param->parameter) == IS_RESOURCE) { in pdo_parse_params() 526 param->param_type TSRMLS_CC)) { in pdo_parse_params() 545 zval tmp_param = *param->parameter; in pdo_parse_params() 569 param->param_type TSRMLS_CC)) { in pdo_parse_params() 713 struct pdo_bound_param_data *param; 726 if(param->parameter) { 727 convert_to_string(param->parameter); 775 memcpy(ptr, Z_STRVAL_P(param->parameter), Z_STRLEN_P(param->parameter)); 776 ptr += Z_STRLEN_P(param->parameter); [all …]
|
/PHP-5.6/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.6/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.6/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.6/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.6/ext/gd/tests/ |
H A D | similarity.inc | 11 * @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
|