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

/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 TSRMLS_CC))
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" TSRMLS_CC);
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_sql_parser.re200 /* parameter was not defined */
202 pdo_raise_impl_error(stmt->dbh, stmt, "HY093", "parameter was not defined" TSRMLS_CC);
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 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) */
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" TSRMLS_CC);
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" TSRMLS_CC);
160 pdo_raise_impl_error(stmt->dbh, stmt, "HY093", "parameter was not defined" TSRMLS_CC);
285 if (!Z_ISUNDEF(param->parameter)) {
286 zval_ptr_dtor(&param->parameter);
287 ZVAL_UNDEF(&param->parameter);
299 zval *parameter; local
1549 zval *parameter; local
1588 zval *parameter; local
[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_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_oci/
H A Doci_statement.c193 if (!param || !param->parameter) {
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);
225 if (!param || !param->parameter) {
240 if (Z_TYPE_P(param->parameter) == IS_OBJECT || Z_TYPE_P(param->parameter) == IS_RESOURCE) {
244 convert_to_string(param->parameter);
245 zval_dtor(param->parameter);
[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);
379 zval *parameter; local
[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/sqlite3/
H A Dphp_sqlite3_structs.h44 zval parameter; member in struct:php_sqlite3_bound_param
H A Dsqlite3.c1360 /* We need a : prefix to resolve a name to a parameter number */
1394 /* {{{ proto bool SQLite3Stmt::bindParam(int parameter_number, mixed parameter [, int type])
1401 zval *parameter; local
1407 if (zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, ZEND_NUM_ARGS() TSRMLS_CC, "lz|l", &param.param_number, &parameter, &param.type) == FAILURE) {
1408 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "Sz|l", &param.name, &parameter, &param.type) == FAILURE) {
1415 ZVAL_COPY(&param.parameter, parameter);
1418 if (!Z_ISUNDEF(param.parameter)) {
1419 zval_ptr_dtor(&(param.parameter));
1420 ZVAL_UNDEF(&param.parameter);
1435 zval *parameter; local
1482 zval *parameter; local
[all...]
/PHP_TRUNK/ext/xsl/
H A Dphp_xsl.c81 zend_hash_destroy(intern->parameter);
82 FREE_HASHTABLE(intern->parameter);
122 ALLOC_HASHTABLE(intern->parameter);
123 zend_hash_init(intern->parameter, 0, NULL, ZVAL_PTR_DTOR, 0);
H A Dphp_xsl.h60 HashTable *parameter; member in struct:_xsl_object
H A Dxsltprocessor.c151 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid argument or parameter array");
515 if (intern->parameter) {
516 params = php_xsl_xslt_make_params(intern->parameter, 0 TSRMLS_CC);
779 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameter array");
787 zend_hash_update(intern->parameter, string_key, entry);
796 zend_hash_update(intern->parameter, name, &new_string);
822 if ((value = zend_hash_find(intern->parameter, name)) != NULL) {
847 if (zend_hash_del(intern->parameter, name) == SUCCESS) {
/PHP_TRUNK/ext/mssql/
H A Dphp_mssql.c1141 char *parameter; local
1149 parameter = (char*)dbretname(mssql_ptr->link, i);
1152 if (statement->binds != NULL) { /* Maybe a non-parameter sp */
1153 if (zend_hash_find(statement->binds, parameter, strlen(parameter), (void**)&bind)==SUCCESS) {
1190 php_error_docref(NULL TSRMLS_CC, E_WARNING, "An output parameter variable was not provided");
1195 if (statement->binds != NULL) { /* Maybe a non-parameter sp */
2010 Adds a parameter to a stored procedure or a remote stored procedure */
2104 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unable to set parameter");
/PHP_TRUNK/ext/imap/
H A Dphp_imap.c1577 php_error_docref(NULL TSRMLS_CC, E_WARNING, "invalid value for the flags parameter");
1609 php_error_docref(NULL TSRMLS_CC, E_WARNING, "invalid value for the flags parameter");
1693 php_error_docref(NULL TSRMLS_CC, E_WARNING, "invalid value for the options parameter");
2292 php_error_docref(NULL TSRMLS_CC, E_WARNING, "invalid value for the options parameter");
2342 php_error_docref(NULL TSRMLS_CC, E_WARNING, "invalid value for the options parameter");
2382 php_error_docref(NULL TSRMLS_CC, E_WARNING, "invalid value for the options parameter");
3107 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Search options parameter has to be greater than or equal to 0");
3154 php_error_docref(NULL TSRMLS_CC, E_WARNING, "invalid value for the options parameter");
3331 if (body->disposition.parameter) {
3332 dpar = body->disposition.parameter;
[all...]
/PHP_TRUNK/ext/soap/
H A Dsoap.c818 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameter name");
3388 soap_server_fault("Client", "Error cannot find parameter", NULL, NULL, NULL TSRMLS_CC);
3403 soap_server_fault("Client","Missing parameter", NULL, NULL, NULL TSRMLS_CC);
3738 sdlParamPtr parameter = NULL; local
3776 parameter = get_param(function, NULL, 0, TRUE);
3783 param = serialize_parameter(parameter, ret, 0, "return", use, method TSRMLS_CC);
3786 param = serialize_parameter(parameter, ret, 0, "return", use, method TSRMLS_CC);
3789 param = serialize_parameter(parameter, ret, 0, "return", use, body TSRMLS_CC);
3791 if (parameter && parameter
4276 sdlParamPtr parameter = get_param(function, NULL, i, FALSE); local
4298 sdlParamPtr parameter = get_param(function, NULL, i, FALSE); local
[all...]
/PHP_TRUNK/ext/json/
H A Djson.c772 zval *parameter; local
777 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z|ll", &parameter, &options, &depth) == FAILURE) {
785 php_json_encode(&buf, parameter, options TSRMLS_CC);
/PHP_TRUNK/sapi/cgi/
H A Dcgi_main.c1881 * server by accepting a bindpath parameter. */
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_parser.y73 : parameter { phpdbg_stack_push(PHPDBG_G(parser_stack), &$1); }
74 | parameters parameter { phpdbg_stack_push(PHPDBG_G(parser_stack), &$2); }
78 parameter
/PHP_TRUNK/Zend/
H A Dzend_language_parser.y238 %type <ast> extends_from parameter optional_type argument expr_without_variable global_var
543 parameter
545 | non_empty_parameter_list ',' parameter
549 parameter: label
/PHP_TRUNK/ext/reflection/
H A Dphp_reflection.c2035 Returns an array of parameter objects for this function */
2050 zval parameter; local
2052 reflection_parameter_factory(_copy_function(fptr TSRMLS_CC), Z_ISUNDEF(intern->obj)? NULL : &intern->obj, arg_info, i, fptr->common.required_num_args, &parameter TSRMLS_CC);
2053 add_next_index_zval(return_value, &parameter);
2108 /* {{{ proto public static mixed ReflectionParameter::export(mixed function, mixed parameter [, bool return]) throws ReflectionException
2116 /* {{{ proto public void ReflectionParameter::__construct(mixed function, mixed parameter)
2121 zval *reference, *parameter; local
2131 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "zz", &reference, &parameter) == FAILURE) {
2220 _DO_THROW("The parameter class is expected to be either a string, an array(class, method) or a callable object");
2224 /* Now, search for the parameter */
[all...]

Completed in 49 milliseconds