Searched refs:param (Results 1 - 25 of 120) sorted by relevance

12345

/PHP_TRUNK/ext/date/tests/
H A Dexamine_diff.inc21 * @param string|DateTime $end_date the end date in YYYY-MM-DD format
23 * @param string|DateTime $start_date the start date in YYYY-MM-DD format
25 * @param string $expect_spec the expected result of the tests, in the
29 * @param int $expect_days the number of days to compare with the
31 * @param bool $absolute should the result always be a positive number?
/PHP_TRUNK/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
[all...]
/PHP_TRUNK/ext/phar/tests/zip/files/
H A Dzipmaker.php.inc27 * @param string relative path within the package
28 * @param string|resource file contents or open file handle
56 * @param string $dir
/PHP_TRUNK/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
[all...]
/PHP_TRUNK/ext/spl/examples/
H A Ddbaarray.inc25 * @param file Database file to open.
26 * @param handler Handler to use for database access.
47 * @param $name key to read from
66 * @param $name key to write to
67 * @param $value value to write
87 * @param $name key to delete.
H A Ddirectorytree.inc20 * @param $path directory to iterate
/PHP_TRUNK/ext/spl/internal/
H A Drecursiveregexiterator.inc26 * @param it inner iterator
27 * @param regex the regular expression to match
28 * @param mode operation mode (one of self::MATCH, self::GET_MATCH,
30 * @param flags special flags (self::USE_KEY)
31 * @param preg_flags global PREG_* flags, see preg_match(),
H A Dsplfileobject.inc35 * @param $file_name The name of the stream to open
36 * @param $open_mode The file open mode
37 * @param $use_include_path Whether to search in include paths
38 * @param $context A stream context
73 * @param delimiter character used as field separator
74 * @param enclosure end of
97 * @param delimiter new delimiter, defaults to ','
98 * @param enclosure new enclosure, defaults to '"'
115 * @param operation lock operation (LOCK_SH, LOCK_EX, LOCK_UN, LOCK_NB)
141 * @param po
[all...]
H A Dsplobjectstorage.inc91 /** @param $obj object to look for
109 /** @param $obj new object to attach to storage or object whose
111 * @param $inf associative information stored along the object
121 /** @param $obj object to remove from storage
139 /** @param $obj new object to attach to storage or object whose
141 * @param $inf associative information stored along the object
149 /** @param $obj Exising object to look for
170 /** @param $obj Exising object to look for
179 /** @param $obj object to look for
/PHP_TRUNK/scripts/dev/generate-phpt/src/
H A DgtMethod.php19 * @param string $className
20 * @param string $methodName
35 foreach($constructor->getParameters() as $i => $param) {
36 //if(!$param->isOptional()) {
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.php14 * @param string $functionName
28 foreach ($function->getParameters() as $i => $param) {
29 if($param->isOptional()) {
30 $this->optionalArgumentNames[] = $param->getName();
32 $this->mandatoryArgumentNames[] = $param->getName();
/PHP_TRUNK/ext/pdo/
H A Dpdo_sql_parser.re93 struct pdo_bound_param_data *param;
172 if ((param = zend_hash_str_find_ptr(params, plc->pos, plc->len)) == NULL) {
195 param = zend_hash_index_find_ptr(params, plc->bindno);
197 param = zend_hash_str_find_ptr(params, plc->pos, plc->len);
199 if (param == NULL) {
207 if (Z_ISREF(param->parameter)) {
208 parameter = Z_REFVAL(param->parameter);
210 parameter = &param->parameter;
212 if (param->param_type == PDO_PARAM_LOB && Z_TYPE_P(parameter) == IS_RESOURCE) {
221 param
[all...]
H A Dpdo_stmt.c71 ZEND_ARG_INFO(0, param)
77 ZEND_ARG_INFO(1, param)
85 ZEND_ARG_INFO(1, param)
122 static inline int rewrite_name_to_position(pdo_stmt_t *stmt, struct pdo_bound_param_data *param TSRMLS_DC) /* {{{ */
138 if (!param->name) {
140 if ((name = zend_hash_index_find_ptr(stmt->bound_param_map, param->paramno)) != NULL) {
141 param->name = zend_string_init(name, strlen(name), 0);
149 if (strncmp(name, param->name->val, param->name->len + 1)) {
153 if (param
171 struct pdo_bound_param_data *param; local
244 struct pdo_bound_param_data *param; local
273 struct pdo_bound_param_data *param = (struct pdo_bound_param_data *)Z_PTR_P(el); local
296 really_register_bound_param(struct pdo_bound_param_data *param, pdo_stmt_t *stmt, int is_param TSRMLS_DC) argument
447 struct pdo_bound_param_data param; local
702 struct pdo_bound_param_data *param; local
1547 struct pdo_bound_param_data param = {0}; local
1586 struct pdo_bound_param_data param = {0}; local
2107 struct pdo_bound_param_data *param; local
[all...]
/PHP_TRUNK/ext/pdo_firebird/
H A Dfirebird_statement.c411 static int firebird_bind_blob(pdo_stmt_t *stmt, ISC_QUAD *blob_id, zval *param TSRMLS_DC)
425 SEPARATE_ZVAL(param);
426 convert_to_string_ex(param);
428 for (rem_cnt = Z_STRLEN_P(param); rem_cnt > 0; rem_cnt -= chunk_size) {
432 if (isc_put_segment(H->isc_status, &h, chunk_size, &Z_STRVAL_P(param)[put_cnt])) {
440 zval_dtor(param);
449 static int firebird_stmt_param_hook(pdo_stmt_t *stmt, struct pdo_bound_param_data *param, /* {{{ */ argument
453 XSQLDA *sqlda = param->is_param ? S->in_sqlda : &S->out_sqlda;
460 if (!sqlda || param->paramno >= sqlda->sqld) {
465 if (param
[all...]
/PHP_TRUNK/ext/pdo_oci/
H A Doci_statement.c189 struct pdo_bound_param_data *param = (struct pdo_bound_param_data*)ctx; local
190 pdo_oci_bound_param *P = (pdo_oci_bound_param*)param->driver_data;
193 if (!param || !param->parameter) {
194 php_error_docref(NULL TSRMLS_CC, E_WARNING, "param is NULL in oci_bind_input_cb; this should not happen");
203 } else if (ZVAL_IS_NULL(param->parameter)) {
210 convert_to_string(param->parameter);
211 *bufpp = Z_STRVAL_P(param->parameter);
212 *alenp = Z_STRLEN_P(param->parameter);
221 struct pdo_bound_param_data *param local
261 oci_stmt_param_hook(pdo_stmt_t *stmt, struct pdo_bound_param_data *param, enum pdo_param_event event_type TSRMLS_DC) argument
507 OCIParam *param = NULL; local
[all...]
/PHP_TRUNK/ext/pdo_odbc/
H A Dodbc_stmt.c176 struct pdo_bound_param_data *param; local
178 rc = SQLParamData(S->stmt, (SQLPOINTER*)&param);
185 P = (pdo_odbc_param*)param->driver_data;
186 if (Z_ISREF(param->parameter)) {
187 parameter = Z_REFVAL(param->parameter);
189 parameter = &param->parameter;
282 static int odbc_stmt_param_hook(pdo_stmt_t *stmt, struct pdo_bound_param_data *param, argument
293 if (param->is_param) {
303 P = param->driver_data;
312 switch (PDO_PARAM_TYPE(param
[all...]
/PHP_TRUNK/ext/pdo_pgsql/
H A Dpgsql_statement.c242 static int pgsql_stmt_param_hook(pdo_stmt_t *stmt, struct pdo_bound_param_data *param, argument
247 if (stmt->supports_placeholders == PDO_PLACEHOLDER_NAMED && param->is_param) {
250 if (param->driver_data) {
251 efree(param->driver_data);
257 if (param->name) {
258 if (param->name->val[0] == '$') {
259 ZEND_ATOL(param->paramno, param->name->val + 1);
265 param->name)) != NULL) {
266 ZEND_ATOL(param
445 struct pdo_bound_param_data *param; local
[all...]
/PHP_TRUNK/ext/pdo_sqlite/
H A Dsqlite_statement.c78 static int pdo_sqlite_stmt_param_hook(pdo_stmt_t *stmt, struct pdo_bound_param_data *param, argument
91 if (param->is_param) {
93 if (param->paramno == -1) {
94 param->paramno = sqlite3_bind_parameter_index(S->stmt, param->name->val) - 1;
97 switch (PDO_PARAM_TYPE(param->param_type)) {
102 if (sqlite3_bind_null(S->stmt, param->paramno + 1) == SQLITE_OK) {
110 if (Z_ISREF(param->parameter)) {
111 parameter = Z_REFVAL(param->parameter);
113 parameter = &param
[all...]
/PHP_TRUNK/ext/tidy/
H A Dphp_tidy.h30 #define TIDY_NODE_ME(name, param) TIDY_METHOD_MAP(name, tnm_ ##name, param)
31 #define TIDY_NODE_PRIVATE_ME(name, param) ZEND_NAMED_ME(name, ZEND_FN(tnm_ ##name), param, ZEND_ACC_PRIVATE)
33 #define TIDY_DOC_ME(name, param) TIDY_METHOD_MAP(name, tdm_ ##name, param)
35 #define TIDY_ATTR_ME(name, param) TIDY_METHOD_MAP(name, tam_ ##name, param)
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_break.c45 phpdbg_set_breakpoint_at(param TSRMLS_CC);
52 phpdbg_delete_breakpoint(param->num TSRMLS_CC);
H A Dphpdbg_cmd.c47 PHPDBG_API const char *phpdbg_get_param_type(const phpdbg_param_t *param TSRMLS_DC) /* {{{ */
49 switch (param->type) {
73 PHPDBG_API phpdbg_param_type phpdbg_parse_param(const char *str, size_t len, phpdbg_param_t *param TSRMLS_DC) /* {{{ */
78 param->type = EMPTY_PARAM;
83 param->addr = strtoul(str, 0, 16);
84 param->type = ADDR_PARAM;
88 param->num = strtol(str, NULL, 0);
89 param->type = NUMERIC_PARAM;
93 param->method.class = class_name;
94 param
167 phpdbg_param_tostring(const phpdbg_param_t *param, char **pointer TSRMLS_DC) argument
397 phpdbg_param_debug(const phpdbg_param_t *param, const char *msg) argument
499 phpdbg_stack_push(phpdbg_param_t *stack, phpdbg_param_t *param) argument
[all...]
H A Dphpdbg_list.c55 switch (param->type) {
59 phpdbg_list_file(file, param->num < 0 ? 1 - param->num : param->num, (param->num < 0 ? param->num : 0) + zend_get_executed_lineno(TSRMLS_C), 0 TSRMLS_CC);
64 zend_string *file = zend_string_init(param->file.name, strlen(param->file.name), 0);
65 phpdbg_list_file(file, param->file.line, 0, 0 TSRMLS_CC);
77 phpdbg_list_function_byname(param
[all...]
H A Dphpdbg_prompt.c49 #include "win32/param.h"
53 #include <sys/param.h>
56 #include <sys/param.h>
344 if (VCWD_STAT(param->str, &sb) != FAILURE) {
346 char *res = phpdbg_resolve_path(param->str TSRMLS_CC);
380 phpdbg_error("exec", "type=\"invalid\" context=\"%s\"", "Cannot use %s as execution context, not a valid file or symlink", param->str);
383 phpdbg_error("exec", "type=\"notfound\" context=\"%s\"", "Cannot stat %s, ensure the file exists", param->str);
498 if (!param) {
501 phpdbg_switch_frame(param->num TSRMLS_CC);
573 if (param
[all...]
H A Dphpdbg_set.c50 if (!param || param->type == EMPTY_PARAM) {
53 phpdbg_set_prompt(param->str TSRMLS_CC);
61 switch (param->type) {
63 if (param->next) {
64 if (param->next->num) {
65 phpdbg_enable_breakpoint(param->num TSRMLS_CC);
67 phpdbg_disable_breakpoint(param->num TSRMLS_CC);
70 phpdbg_breakbase_t *brake = phpdbg_find_breakbase(param->num TSRMLS_CC);
72 phpdbg_writeln("setbreak", "id=\"%ld\" active=\"%s\"", "Breakpoint #%ld %s", param
[all...]
/PHP_TRUNK/main/streams/
H A Dtransports.c201 php_stream_xport_param param; local
204 memset(&param, 0, sizeof(param));
205 param.op = STREAM_XPORT_OP_BIND;
206 param.inputs.name = (char*)name;
207 param.inputs.namelen = namelen;
208 param.want_errortext = error_text ? 1 : 0;
210 ret = php_stream_set_option(stream, PHP_STREAM_OPTION_XPORT_API, 0, &param);
214 *error_text = param.outputs.error_text;
217 return param
232 php_stream_xport_param param; local
262 php_stream_xport_param param; local
291 php_stream_xport_param param; local
327 php_stream_xport_param param; local
354 php_stream_xport_crypto_param param; local
375 php_stream_xport_crypto_param param; local
399 php_stream_xport_param param; local
467 php_stream_xport_param param; local
506 php_stream_xport_param param; local
[all...]

Completed in 29 milliseconds

12345