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

12345

/PHP_5_5/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_5_5/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_5_5/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_5_5/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_5_5/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
H A Dregexfindfile.inc22 * @param $path the directory to search in
25 * @param $regex perl style regular expression to find files with
/PHP_5_5/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_5_5/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_5_5/ext/imap/tests/
H A Dimap_include.inc36 * @param array resp element from the return value of imap_fetch_overview()
61 * @param string mailbox_suffix Suffix used to uniquely identify mailboxes
62 * @param int message_count number of test msgs to be written to new mailbox
98 * @param resource $imap_stream
99 * @param string $mailbox
131 * @param resource $imap_stream
132 * @param string $mailbox
183 * @param string mailbox complete mailbox name
/PHP_5_5/ext/standard/tests/mail/
H A Dmail_include.inc16 * @param int message_count number of test msgs to be written to new mailbox
52 * @param resource $imap_stream
53 * @param string $mailbox
85 * @param resource $imap_stream
86 * @param string $mailbox
137 * @param string mailbox complete mailbox name
/PHP_5_5/ext/pdo/
H A Dpdo_sql_parser.c447 struct pdo_bound_param_data *param; local
526 if (zend_hash_find(params, plc->pos, plc->len, (void**) &param) == FAILURE) {
549 ret = zend_hash_index_find(params, plc->bindno, (void**) &param);
551 ret = zend_hash_find(params, plc->pos, plc->len, (void**) &param);
560 if (param->param_type == PDO_PARAM_LOB && Z_TYPE_P(param->parameter) == IS_RESOURCE) {
563 php_stream_from_zval_no_verify(stm, &param->parameter);
570 param->param_type TSRMLS_CC)) {
589 zval tmp_param = *param->parameter;
613 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 (SUCCESS == zend_hash_index_find(stmt->bound_param_map, param->paramno, (void**)&name)) {
141 param->name = estrdup(name);
142 param->namelen = strlen(param->name);
151 if (strcmp(name, param
174 struct pdo_bound_param_data *param; local
250 struct pdo_bound_param_data *param; local
280 struct pdo_bound_param_data *param = (struct pdo_bound_param_data *)data; local
302 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
715 struct pdo_bound_param_data *param; local
1584 struct pdo_bound_param_data param = {0}; local
1623 struct pdo_bound_param_data param = {0}; local
2153 struct pdo_bound_param_data *param; local
[all...]
H A Dpdo_sql_parser.re89 struct pdo_bound_param_data *param;
168 if (zend_hash_find(params, plc->pos, plc->len, (void**) &param) == FAILURE) {
191 ret = zend_hash_index_find(params, plc->bindno, (void**) &param);
193 ret = zend_hash_find(params, plc->pos, plc->len, (void**) &param);
202 if (param->param_type == PDO_PARAM_LOB && Z_TYPE_P(param->parameter) == IS_RESOURCE) {
205 php_stream_from_zval_no_verify(stm, &param->parameter);
212 param->param_type TSRMLS_CC)) {
231 zval tmp_param = *param->parameter;
255 param
[all...]
/PHP_5_5/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_5_5/ext/pdo_pgsql/
H A Dpgsql_statement.c238 static int pgsql_stmt_param_hook(pdo_stmt_t *stmt, struct pdo_bound_param_data *param, argument
244 if (S->stmt_name && param->is_param) {
247 if (param->driver_data) {
248 efree(param->driver_data);
254 if (param->name) {
255 if (param->name[0] == '$') {
256 param->paramno = atoi(param->name + 1);
261 param->name, param
434 struct pdo_bound_param_data *param; local
[all...]
/PHP_5_5/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
90 if (param->is_param) {
92 if (param->paramno == -1) {
93 param->paramno = sqlite3_bind_parameter_index(S->stmt, param->name) - 1;
96 switch (PDO_PARAM_TYPE(param->param_type)) {
101 if (sqlite3_bind_null(S->stmt, param->paramno + 1) == SQLITE_OK) {
109 if (Z_TYPE_P(param->parameter) == IS_NULL) {
110 if (sqlite3_bind_null(S->stmt, param->paramno + 1) == SQLITE_OK) {
114 convert_to_long(param
[all...]
/PHP_5_5/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_5_5/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
328 php_stream_xport_param param; local
356 php_stream_xport_crypto_param param; local
377 php_stream_xport_crypto_param param; local
401 php_stream_xport_param param; local
470 php_stream_xport_param param; local
509 php_stream_xport_param param; local
[all...]
/PHP_5_5/win32/build/
H A Ddeplister.c29 ULONG va, ULONG param)
27 StatusRoutine(IMAGEHLP_STATUS_REASON reason, PSTR image_name, PSTR dll_name, ULONG va, ULONG param) argument
/PHP_5_5/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);
427 convert_to_string_ex(&param);
429 for (rem_cnt = Z_STRLEN_P(param); rem_cnt > 0; rem_cnt -= chunk_size) {
433 if (isc_put_segment(H->isc_status, &h, chunk_size, &Z_STRVAL_P(param)[put_cnt])) {
441 zval_dtor(param);
450 static int firebird_stmt_param_hook(pdo_stmt_t *stmt, struct pdo_bound_param_data *param, /* {{{ */ argument
454 XSQLDA *sqlda = param->is_param ? S->in_sqlda : &S->out_sqlda;
461 if (!sqlda || param->paramno >= sqlda->sqld) {
466 if (param
[all...]
/PHP_5_5/ext/pdo_odbc/
H A Dodbc_stmt.c176 struct pdo_bound_param_data *param; local
178 rc = SQLParamData(S->stmt, (SQLPOINTER*)&param);
184 P = (pdo_odbc_param*)param->driver_data;
185 if (Z_TYPE_P(param->parameter) != IS_RESOURCE) {
188 convert_to_string(param->parameter);
191 Z_STRVAL_P(param->parameter),
192 Z_STRLEN_P(param->parameter),
195 SQLPutData(S->stmt, Z_STRVAL_P(param->parameter),
196 Z_STRLEN_P(param->parameter));
215 php_stream_from_zval_no_verify(stm, &param
276 odbc_stmt_param_hook(pdo_stmt_t *stmt, struct pdo_bound_param_data *param, enum pdo_param_event event_type TSRMLS_DC) argument
[all...]

Completed in 57 milliseconds

12345