Searched defs:parameter (Results 1 - 17 of 17) sorted by relevance

/PHP_TRUNK/ext/sqlite3/
H A Dphp_sqlite3_structs.h44 zval parameter; member in struct:php_sqlite3_bound_param
H A Dsqlite3.c1355 /* We need a : prefix to resolve a name to a parameter number */
1389 /* {{{ proto bool SQLite3Stmt::bindParam(int parameter_number, mixed parameter [, int type])
1396 zval *parameter; local
1402 if (zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, ZEND_NUM_ARGS(), "lz|l", &param.param_number, &parameter, &param.type) == FAILURE) {
1403 if (zend_parse_parameters(ZEND_NUM_ARGS(), "Sz|l", &param.name, &parameter, &param.type) == FAILURE) {
1410 ZVAL_COPY(&param.parameter, parameter);
1413 if (!Z_ISUNDEF(param.parameter)) {
1414 zval_ptr_dtor(&(param.parameter));
1415 ZVAL_UNDEF(&param.parameter);
1430 zval *parameter; local
1477 zval *parameter; local
[all...]
/PHP_TRUNK/Zend/
H A Dzend_language_parser.y234 %type <ast> extends_from parameter optional_type argument expr_without_variable global_var
539 parameter
541 | non_empty_parameter_list ',' parameter
545 parameter: label
/PHP_TRUNK/ext/json/
H A Djson.c778 zval *parameter; local
783 if (zend_parse_parameters(ZEND_NUM_ARGS(), "z|ll", &parameter, &options, &depth) == FAILURE) {
791 php_json_encode(&buf, parameter, options);
/PHP_TRUNK/ext/mssql/
H A Dphp_mssql.c1138 char *parameter; local
1146 parameter = (char*)dbretname(mssql_ptr->link, i);
1149 if (statement->binds != NULL) { /* Maybe a non-parameter sp */
1150 if (zend_hash_find(statement->binds, parameter, strlen(parameter), (void**)&bind)==SUCCESS) {
1187 php_error_docref(NULL, E_WARNING, "An output parameter variable was not provided");
1192 if (statement->binds != NULL) { /* Maybe a non-parameter sp */
2007 Adds a parameter to a stored procedure or a remote stored procedure */
2101 php_error_docref(NULL, E_WARNING, "Unable to set parameter");
/PHP_TRUNK/ext/mysqlnd/
H A Dmysqlnd_ps_codec.c618 zval *parameter = &stmt->param_bind[i].zv; local
620 ZVAL_DEREF(parameter);
621 if (!Z_ISNULL_P(parameter) && (current_type == MYSQL_TYPE_LONG || current_type == MYSQL_TYPE_LONGLONG)) {
623 if (Z_TYPE_P(parameter) != IS_LONG &&
624 PASS != mysqlnd_stmt_copy_it(copies_param, parameter, stmt->param_count, i))
633 if (Z_TYPE_P(parameter) != IS_LONG) {
634 zval *tmp_data = (*copies_param && !Z_ISUNDEF((*copies_param)[i]))? &(*copies_param)[i]: parameter;
674 zval *parameter = &stmt->param_bind[i].zv; local
681 ZVAL_DEREF(parameter);
682 if (!Z_ISNULL_P(parameter)
808 zval *data, *parameter = &stmt->param_bind[i].zv; local
[all...]
/PHP_TRUNK/ext/pdo/
H A Dpdo_sql_parser.c538 /* parameter was not defined */
540 pdo_raise_impl_error(stmt->dbh, stmt, "HY093", "parameter was not defined");
544 zval *parameter; local
545 if (Z_ISREF(param->parameter)) {
546 parameter = Z_REFVAL(param->parameter);
548 parameter = &param->parameter;
550 if (param->param_type == PDO_PARAM_LOB && Z_TYPE_P(parameter) == IS_RESOURCE) {
553 php_stream_from_zval_no_verify(stm, parameter);
614 zval *parameter; local
[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");
284 if (!Z_ISUNDEF(param->parameter)) {
285 zval_ptr_dtor(&param->parameter);
286 ZVAL_UNDEF(&param->parameter);
298 zval *parameter; local
1548 zval *parameter; local
1587 zval *parameter; local
[all...]
H A Dphp_pdo_driver.h79 /* magic flag to denote a parameter as being input/output */
540 /* describes a bound parameter */
542 zval parameter; /* the variable itself */ member in struct:pdo_bound_param_data
544 zval driver_params; /* optional parameter(s) for the driver */
557 int is_param; /* parameter or column ? */
638 * parameter naming (see pgsql driver for example) */
/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_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/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_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
309 if (Z_ISREF(param->parameter)) {
310 parameter = Z_REFVAL(param->parameter);
312 parameter = &param->parameter;
316 Z_TYPE_P(parameter) == IS_RESOURCE) {
318 php_stream_from_zval_no_verify(stm, 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/reflection/
H A Dphp_reflection.c2045 Returns an array of parameter objects for this function */
2060 zval parameter; local
2062 reflection_parameter_factory(_copy_function(fptr), Z_ISUNDEF(intern->obj)? NULL : &intern->obj, arg_info, i, fptr->common.required_num_args, &parameter); local
2063 add_next_index_zval(return_value, &parameter);
2118 /* {{{ proto public static mixed ReflectionParameter::export(mixed function, mixed parameter [, bool return]) throws ReflectionException
2126 /* {{{ proto public void ReflectionParameter::__construct(mixed function, mixed parameter)
2131 zval *reference, *parameter; local
2142 if (zend_parse_parameters(ZEND_NUM_ARGS(), "zz", &reference, &parameter) == FAILURE) {
2232 _DO_THROW("The parameter class is expected to be either a string, an array(class, method) or a callable object");
2236 /* Now, search for the parameter */
[all...]
/PHP_TRUNK/ext/soap/
H A Dsoap.c827 php_error_docref(NULL, E_WARNING, "Invalid parameter name");
3395 soap_server_fault("Client", "Error cannot find parameter", NULL, NULL, NULL);
3410 soap_server_fault("Client","Missing parameter", NULL, NULL, NULL);
3745 sdlParamPtr parameter = NULL; local
3783 parameter = get_param(function, NULL, 0, TRUE);
3790 param = serialize_parameter(parameter, ret, 0, "return", use, method);
3793 param = serialize_parameter(parameter, ret, 0, "return", use, method);
3796 param = serialize_parameter(parameter, ret, 0, "return", use, body);
3798 if (parameter && parameter
4283 sdlParamPtr parameter = get_param(function, NULL, i, FALSE); local
4305 sdlParamPtr parameter = get_param(function, NULL, i, FALSE); local
[all...]
/PHP_TRUNK/ext/xsl/
H A Dphp_xsl.h60 HashTable *parameter; member in struct:_xsl_object

Completed in 35 milliseconds