Searched refs:parameter (Results 1 - 23 of 23) sorted by relevance

/PHP_TRUNK/ext/mysqlnd/
H A Dmysqlnd_ps_codec.c576 zval *parameter = &stmt->param_bind[i].zv; local
578 ZVAL_DEREF(parameter);
579 if (!Z_ISNULL_P(parameter) && (current_type == MYSQL_TYPE_LONG || current_type == MYSQL_TYPE_LONGLONG)) {
581 if (Z_TYPE_P(parameter) != IS_LONG &&
582 PASS != mysqlnd_stmt_copy_it(copies_param, parameter, stmt->param_count, i))
591 if (Z_TYPE_P(parameter) != IS_LONG) {
592 zval *tmp_data = (*copies_param && !Z_ISUNDEF((*copies_param)[i]))? &(*copies_param)[i]: parameter;
632 zval *parameter = &stmt->param_bind[i].zv; local
639 ZVAL_DEREF(parameter);
640 if (!Z_ISNULL_P(parameter)
766 zval *data, *parameter = &stmt->param_bind[i].zv; local
[all...]
/PHP_TRUNK/ext/sqlite3/
H A Dphp_sqlite3_structs.h44 zval parameter; member in struct:php_sqlite3_bound_param
H A Dsqlite3.c1369 /* We need a : prefix to resolve a name to a parameter number */
1403 /* {{{ proto bool SQLite3Stmt::bindParam(int parameter_number, mixed parameter [, int type])
1410 zval *parameter; local
1416 if (zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, ZEND_NUM_ARGS(), "lz|l", &param.param_number, &parameter, &param.type) == FAILURE) {
1417 if (zend_parse_parameters(ZEND_NUM_ARGS(), "Sz|l", &param.name, &parameter, &param.type) == FAILURE) {
1425 ZVAL_COPY(&param.parameter, parameter);
1428 if (!Z_ISUNDEF(param.parameter)) {
1429 zval_ptr_dtor(&(param.parameter));
1430 ZVAL_UNDEF(&param.parameter);
1445 zval *parameter; local
1493 zval *parameter; local
[all...]
/PHP_TRUNK/ext/xsl/
H A Dphp_xsl.c75 zend_hash_destroy(intern->parameter);
76 FREE_HASHTABLE(intern->parameter);
116 ALLOC_HASHTABLE(intern->parameter);
117 zend_hash_init(intern->parameter, 0, NULL, ZVAL_PTR_DTOR, 0);
H A Dphp_xsl.h63 HashTable *parameter; member in struct:_xsl_object
H A Dxsltprocessor.c151 php_error_docref(NULL, E_WARNING, "Invalid argument or parameter array");
516 if (intern->parameter) {
517 params = php_xsl_xslt_make_params(intern->parameter, 0);
762 php_error_docref(NULL, E_WARNING, "Invalid parameter array");
770 zend_hash_update(intern->parameter, string_key, entry);
779 zend_hash_update(intern->parameter, name, &new_string);
805 if ((value = zend_hash_find(intern->parameter, name)) != NULL) {
830 if (zend_hash_del(intern->parameter, name) == SUCCESS) {
/PHP_TRUNK/ext/pdo_odbc/
H A Dodbc_stmt.c183 zval *parameter; local
186 if (Z_ISREF(param->parameter)) {
187 parameter = Z_REFVAL(param->parameter);
189 parameter = &param->parameter;
191 if (Z_TYPE_P(parameter) != IS_RESOURCE) {
194 convert_to_string(parameter);
197 Z_STRVAL_P(parameter),
198 Z_STRLEN_P(parameter),
290 zval *parameter; local
[all...]
/PHP_TRUNK/ext/pdo/
H A Dpdo_sql_parser.c558 /* parameter was not defined */
560 pdo_raise_impl_error(stmt->dbh, stmt, "HY093", "parameter was not defined");
564 zval *parameter; local
565 if (Z_ISREF(param->parameter)) {
566 parameter = Z_REFVAL(param->parameter);
568 parameter = &param->parameter;
570 if (param->param_type == PDO_PARAM_LOB && Z_TYPE_P(parameter) == IS_RESOURCE) {
573 php_stream_from_zval_no_verify(stm, parameter);
634 zval *parameter; local
[all...]
H A Dpdo_sql_parser.re200 /* parameter was not defined */
202 pdo_raise_impl_error(stmt->dbh, stmt, "HY093", "parameter was not defined");
206 zval *parameter;
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) {
215 php_stream_from_zval_no_verify(stm, parameter);
[all...]
H A Dpdo_stmt.c126 * We need to fixup the parameter numbers on the parameters.
127 * If we find that a given named parameter has been used twice,
139 /* do the reverse; map the parameter number to the name */
144 pdo_raise_impl_error(stmt->dbh, stmt, "HY093", "parameter was not defined");
154 pdo_raise_impl_error(stmt->dbh, stmt, "IM001", "PDO refuses to handle repeating the same :named parameter for multiple positions with this driver, as it might be unsafe to do so. Consider using a separate name for each parameter instead");
160 pdo_raise_impl_error(stmt->dbh, stmt, "HY093", "parameter was not defined");
285 if (!Z_ISUNDEF(param->parameter)) {
286 zval_ptr_dtor(&param->parameter);
287 ZVAL_UNDEF(&param->parameter);
299 zval *parameter; local
1550 zval *parameter; local
1589 zval *parameter; local
[all...]
H A Dphp_pdo_driver.h79 /* magic flag to denote a parameter as being input/output */
537 /* describes a bound parameter */
539 zval parameter; /* the variable itself */ member in struct:pdo_bound_param_data
541 zval driver_params; /* optional parameter(s) for the driver */
554 int is_param; /* parameter or column ? */
635 * parameter naming (see pgsql driver for example) */
/PHP_TRUNK/ext/pdo_pgsql/
H A Dpgsql_statement.c163 * know anything about the parameter types; now we do */
261 /* resolve parameter name to rewritten name */
302 zval *parameter; local
305 pdo_raise_impl_error(stmt->dbh, stmt, "HY093", "parameter was not defined");
309 if (Z_ISREF(param->parameter)) {
310 parameter = Z_REFVAL(param->parameter);
312 parameter = &param->parameter;
316 Z_TYPE_P(parameter)
[all...]
/PHP_TRUNK/ext/imap/
H A Dphp_imap.c1590 php_error_docref(NULL, E_WARNING, "invalid value for the flags parameter");
1626 php_error_docref(NULL, E_WARNING, "invalid value for the flags parameter");
1712 php_error_docref(NULL, E_WARNING, "invalid value for the options parameter");
2334 php_error_docref(NULL, E_WARNING, "invalid value for the options parameter");
2386 php_error_docref(NULL, E_WARNING, "invalid value for the options parameter");
2428 php_error_docref(NULL, E_WARNING, "invalid value for the options parameter");
3159 php_error_docref(NULL, E_WARNING, "Search options parameter has to be greater than or equal to 0");
3206 php_error_docref(NULL, E_WARNING, "invalid value for the options parameter");
3391 if (body->disposition.parameter) {
3392 dpar = body->disposition.parameter;
[all...]
/PHP_TRUNK/ext/pdo_firebird/
H A Dfirebird_statement.c462 S->H->last_app_error = "Invalid parameter index";
488 S->H->last_app_error = "Invalid parameter name";
500 zval *parameter; local
504 /* allocate the parameter */
519 if (Z_ISREF(param->parameter)) {
520 parameter = Z_REFVAL(param->parameter);
522 parameter = &param->parameter;
525 if (Z_TYPE_P(parameter)
[all...]
/PHP_TRUNK/ext/pdo_sqlite/
H A Dsqlite_statement.c82 zval *parameter; local
110 if (Z_ISREF(param->parameter)) {
111 parameter = Z_REFVAL(param->parameter);
113 parameter = &param->parameter;
115 if (Z_TYPE_P(parameter) == IS_NULL) {
120 convert_to_long(parameter);
122 if (SQLITE_OK == sqlite3_bind_int64(S->stmt, param->paramno + 1, Z_LVAL_P(parameter))) {
126 if (SQLITE_OK == sqlite3_bind_int(S->stmt, param->paramno + 1, Z_LVAL_P(parameter))) {
[all...]
/PHP_TRUNK/ext/pdo_oci/
H A Doci_statement.c202 zval *parameter; local
211 if (Z_ISREF(param->parameter))
212 parameter = Z_REFVAL(param->parameter);
214 parameter = &param->parameter;
219 } else if (ZVAL_IS_NULL(parameter)) {
226 convert_to_string(parameter);
227 *bufpp = Z_STRVAL_P(parameter);
228 *alenp = (ub4) Z_STRLEN_P(parameter);
239 zval *parameter; local
289 zval *parameter; local
[all...]
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_parser.y76 : parameter { phpdbg_stack_push(PHPDBG_G(parser_stack), &$1); }
77 | parameters parameter { phpdbg_stack_push(PHPDBG_G(parser_stack), &$2); }
81 parameter
/PHP_TRUNK/ext/reflection/
H A Dphp_reflection.c2079 Returns an array of parameter objects for this function */
2098 zval parameter; local
2100 reflection_parameter_factory(_copy_function(fptr), Z_ISUNDEF(intern->obj)? NULL : &intern->obj, arg_info, i, fptr->common.required_num_args, &parameter); local
2101 add_next_index_zval(return_value, &parameter);
2324 /* {{{ proto public static mixed ReflectionParameter::export(mixed function, mixed parameter [, bool return]) throws ReflectionException
2332 /* {{{ proto public void ReflectionParameter::__construct(mixed function, mixed parameter)
2337 zval *reference, *parameter; local
2348 if (zend_parse_parameters_throw(ZEND_NUM_ARGS(), "zz", &reference, &parameter) == FAILURE) {
2437 _DO_THROW("The parameter class is expected to be either a string, an array(class, method) or a callable object");
2441 /* Now, search for the parameter */
[all...]
/PHP_TRUNK/ext/pdo_mysql/
H A Dmysql_statement.c455 zval *parameter; local
467 /* sanity check parameter number range */
485 /* too few parameter bound */
491 if (!Z_ISREF(param->parameter)) {
492 parameter = &param->parameter;
494 parameter = Z_REFVAL(param->parameter);
498 if (PDO_PARAM_TYPE(param->param_type) == PDO_PARAM_NULL || (Z_TYPE_P(parameter) == IS_NULL)) {
499 mysqlnd_stmt_bind_one_param(S->stmt, param->paramno, parameter, MYSQL_TYPE_NUL
[all...]
/PHP_TRUNK/Zend/
H A Dzend_language_parser.y236 %type <ast> extends_from parameter optional_type argument expr_without_variable global_var
623 parameter
625 | non_empty_parameter_list ',' parameter
629 parameter: label
/PHP_TRUNK/sapi/cgi/
H A Dcgi_main.c1867 * server by accepting a bindpath parameter. */
/PHP_TRUNK/ext/soap/
H A Dsoap.c827 php_error_docref(NULL, E_WARNING, "Invalid parameter name");
3403 soap_server_fault("Client", "Error cannot find parameter", NULL, NULL, NULL);
3418 soap_server_fault("Client","Missing parameter", NULL, NULL, NULL);
3753 sdlParamPtr parameter = NULL; local
3791 parameter = get_param(function, NULL, 0, TRUE);
3798 param = serialize_parameter(parameter, ret, 0, "return", use, method);
3801 param = serialize_parameter(parameter, ret, 0, "return", use, method);
3804 param = serialize_parameter(parameter, ret, 0, "return", use, body);
3806 if (parameter && parameter
4293 sdlParamPtr parameter = get_param(function, NULL, i, FALSE); local
4315 sdlParamPtr parameter = get_param(function, NULL, i, FALSE); local
[all...]
/PHP_TRUNK/ext/json/
H A Djson.c209 zval *parameter; local
214 if (zend_parse_parameters(ZEND_NUM_ARGS(), "z|ll", &parameter, &options, &depth) == FAILURE) {
222 php_json_encode(&buf, parameter, (int)options);

Completed in 49 milliseconds