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

/PHP_5_5/ext/pdo/
H A Dpdo_sql_parser.c554 /* parameter was not defined */
556 pdo_raise_impl_error(stmt->dbh, stmt, "HY093", "parameter was not defined" TSRMLS_CC);
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);
589 zval tmp_param = *param->parameter;
624 plc->quoted = Z_STRVAL_P(param->parameter);
625 plc->qlen = Z_STRLEN_P(param->parameter);
681 /* check if bound parameter is already available */
770 if(param->parameter) {
771 convert_to_string(param->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 */
145 pdo_raise_impl_error(stmt->dbh, stmt, "HY093", "parameter was not defined" TSRMLS_CC);
157 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);
163 pdo_raise_impl_error(stmt->dbh, stmt, "HY093", "parameter was not defined" TSRMLS_CC);
292 if (param->parameter) {
293 zval_ptr_dtor(&(param->parameter));
294 param->parameter
[all...]
H A Dphp_pdo_driver.h77 /* magic flag to denote a parameter as being input/output */
524 /* describes a bound parameter */
532 zval *parameter; /* the variable itself */ member in struct:pdo_bound_param_data
535 zval *driver_params; /* optional parameter(s) for the driver */
539 int is_param; /* parameter or column ? */
627 * parameter naming (see pgsql driver for example) */
H A Dpdo_sql_parser.re196 /* parameter was not defined */
198 pdo_raise_impl_error(stmt->dbh, stmt, "HY093", "parameter was not defined" TSRMLS_CC);
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);
231 zval tmp_param = *param->parameter;
266 plc->quoted = Z_STRVAL_P(param->parameter);
267 plc->qlen = Z_STRLEN_P(param->parameter);
323 /* check if bound parameter is already available */
412 if(param->parameter) {
413 convert_to_string(param->parameter);
[all...]
/PHP_5_5/ext/pdo_mysql/
H A Dmysql_statement.c462 /* sanity check parameter number range */
480 /* too few parameter bound */
488 Z_TYPE_P(param->parameter) == IS_NULL) {
489 mysqlnd_stmt_bind_one_param(S->stmt, param->paramno, param->parameter, MYSQL_TYPE_NULL);
496 Z_TYPE_P(param->parameter) == IS_NULL) {
511 if (Z_TYPE_P(param->parameter) == IS_RESOURCE) {
513 php_stream_from_zval_no_verify(stm, &param->parameter);
515 SEPARATE_ZVAL_IF_NOT_REF(&param->parameter);
516 Z_TYPE_P(param->parameter) = IS_STRING;
517 Z_STRLEN_P(param->parameter)
[all...]
/PHP_5_5/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_5_5/ext/pdo_pgsql/
H A Dpgsql_statement.c167 * know anything about the parameter types; now we do */
258 /* resolve parameter name to rewritten name */
303 Z_TYPE_P(param->parameter) == IS_RESOURCE) {
305 php_stream_from_zval_no_verify(stm, &param->parameter);
324 SEPARATE_ZVAL_IF_NOT_REF(&param->parameter);
325 Z_TYPE_P(param->parameter) = IS_STRING;
327 if ((len = php_stream_copy_to_mem(stm, &Z_STRVAL_P(param->parameter), PHP_STREAM_COPY_ALL, 0)) > 0) {
328 Z_STRLEN_P(param->parameter) = len;
330 ZVAL_EMPTY_STRING(param->parameter);
341 Z_TYPE_P(param->parameter)
[all...]
/PHP_5_5/ext/pdo_sqlite/
H A Dsqlite_statement.c109 if (Z_TYPE_P(param->parameter) == IS_NULL) {
114 convert_to_long(param->parameter);
116 if (SQLITE_OK == sqlite3_bind_int64(S->stmt, param->paramno + 1, Z_LVAL_P(param->parameter))) {
120 if (SQLITE_OK == sqlite3_bind_int(S->stmt, param->paramno + 1, Z_LVAL_P(param->parameter))) {
129 if (Z_TYPE_P(param->parameter) == IS_RESOURCE) {
131 php_stream_from_zval_no_verify(stm, &param->parameter);
133 SEPARATE_ZVAL(&param->parameter);
134 Z_TYPE_P(param->parameter) = IS_STRING;
135 Z_STRLEN_P(param->parameter) = php_stream_copy_to_mem(stm,
136 &Z_STRVAL_P(param->parameter), PHP_STREAM_COPY_AL
[all...]
/PHP_5_5/ext/reflection/
H A Dphp_reflection.c2052 Returns an array of parameter objects for this function */
2067 zval *parameter; local
2069 ALLOC_ZVAL(parameter);
2070 reflection_parameter_factory(_copy_function(fptr TSRMLS_CC), intern->obj, arg_info, i, fptr->common.required_num_args, parameter TSRMLS_CC);
2071 add_next_index_zval(return_value, parameter);
2126 /* {{{ proto public static mixed ReflectionParameter::export(mixed function, mixed parameter [, bool return]) throws ReflectionException
2134 /* {{{ proto public void ReflectionParameter::__construct(mixed function, mixed parameter)
2139 zval *reference, **parameter; local
2149 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "zZ", &reference, &parameter) == FAILURE) {
2240 _DO_THROW("The parameter clas
[all...]
/PHP_5_5/ext/soap/
H A Dphp_sdl.c43 static void delete_parameter(void *parameter);
44 static void delete_parameter_persistent(void *parameter);
H A Dsoap.c795 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameter name");
3393 soap_server_fault("Client", "Error cannot find parameter", NULL, NULL, NULL TSRMLS_CC);
3408 soap_server_fault("Client","Missing parameter", NULL, NULL, NULL TSRMLS_CC);
3745 sdlParamPtr parameter = NULL; local
3783 parameter = get_param(function, NULL, 0, TRUE);
3790 param = serialize_parameter(parameter, ret, 0, "return", use, method TSRMLS_CC);
3793 param = serialize_parameter(parameter, ret, 0, "return", use, method TSRMLS_CC);
3796 param = serialize_parameter(parameter, ret, 0, "return", use, body TSRMLS_CC);
3798 if (parameter && parameter
4292 sdlParamPtr parameter = get_param(function, NULL, i, FALSE); local
4314 sdlParamPtr parameter = get_param(function, NULL, i, FALSE); local
[all...]
/PHP_5_5/ext/sqlite3/
H A Dphp_sqlite3_structs.h46 zval *parameter; member in struct:php_sqlite3_bound_param
H A Dsqlite3.c1377 /* We need a : prefix to resolve a name to a parameter number */
1411 /* {{{ proto bool SQLite3Stmt::bindParam(int parameter_number, mixed parameter [, int type])
1423 if (zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, ZEND_NUM_ARGS() TSRMLS_CC, "lz|l", &param.param_number, &param.parameter, &param.type) == FAILURE) {
1424 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sz|l", &param.name, &param.name_len, &param.parameter, &param.type) == FAILURE) {
1429 Z_ADDREF_P(param.parameter);
1432 if (param.parameter) {
1433 zval_ptr_dtor(&(param.parameter));
1434 param.parameter = NULL;
1442 /* {{{ proto bool SQLite3Stmt::bindValue(int parameter_number, mixed parameter [, int type])
1443 Bind Value of a parameter t
[all...]
/PHP_5_5/ext/xsl/
H A Dphp_xsl.c81 zend_hash_destroy(intern->parameter);
82 FREE_HASHTABLE(intern->parameter);
122 intern->parameter = NULL;
134 ALLOC_HASHTABLE(intern->parameter);
135 zend_hash_init(intern->parameter, 0, NULL, ZVAL_PTR_DTOR, 0);
H A Dphp_xsl.h61 HashTable *parameter; member in struct:_xsl_object
H A Dxsltprocessor.c153 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid argument or parameter array");
521 if (intern->parameter) {
522 params = php_xsl_xslt_make_params(intern->parameter, 0 TSRMLS_CC);
791 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameter array");
799 zend_hash_update(intern->parameter, string_key, string_key_len, &new_string, sizeof(zval*), NULL);
811 zend_hash_update(intern->parameter, name, name_len + 1, &new_string, sizeof(zval*), NULL);
836 if ( zend_hash_find(intern->parameter, name, name_len + 1, (void**) &value) == SUCCESS) {
860 if ( zend_hash_del(intern->parameter, name, name_len + 1) == SUCCESS) {
/PHP_5_5/ext/imap/
H A Dphp_imap.c1575 php_error_docref(NULL TSRMLS_CC, E_WARNING, "invalid value for the flags parameter");
1607 php_error_docref(NULL TSRMLS_CC, E_WARNING, "invalid value for the flags parameter");
1691 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");
3114 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Search options parameter has to be greater than or equal to 0");
3161 php_error_docref(NULL TSRMLS_CC, E_WARNING, "invalid value for the options parameter");
3338 if (body->disposition.parameter) {
3339 dpar = body->disposition.parameter;
[all...]
/PHP_5_5/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_5_5/sapi/cgi/
H A Dcgi_main.c1877 * server by accepting a bindpath parameter. */
/PHP_5_5/ext/pdo_firebird/
H A Dfirebird_statement.c463 S->H->last_app_error = "Invalid parameter index";
489 S->H->last_app_error = "Invalid parameter name";
504 /* allocate the parameter */
528 param->parameter TSRMLS_CC);
532 switch (Z_TYPE_P(param->parameter)) {
538 var->sqldata = (void*)&Z_LVAL_P(param->parameter);
544 var->sqldata = (void*)&Z_DVAL_P(param->parameter);
560 force_null = (Z_STRLEN_P(param->parameter) == 0);
565 var->sqldata = Z_STRVAL_P(param->parameter);
566 var->sqllen = Z_STRLEN_P(param->parameter);
[all...]
/PHP_5_5/ext/json/
H A Djson.c779 zval *parameter; local
784 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z|ll", &parameter, &options, &depth) == FAILURE) {
792 php_json_encode(&buf, parameter, options TSRMLS_CC);
/PHP_5_5/ext/pdo_odbc/
H A Dodbc_stmt.c185 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->parameter);
392 if (Z_TYPE_P(param->parameter) == IS_RESOURCE) {
396 php_stream_from_zval_no_verify(stm, &param->parameter);
435 convert_to_string(param->parameter);
[all...]
/PHP_5_5/ext/standard/
H A Dbasic_functions.c725 ZEND_ARG_INFO(0, parameter)
737 ZEND_ARG_INFO(0, parameter)
4090 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameter syntax");
4669 1 = send via email to 3rd parameter 4th option = additional headers
4670 2 = send via tcp/ip to 3rd parameter (name or ip:port)
4671 3 = save to file in 3rd parameter
4768 Call a user function which is the first parameter */
4792 Call a user function which is the first parameter with the arguments contained in array */
4814 /* {{{ proto mixed call_user_method(string method_name, mixed object [, mixed parameter] [, mixed ...])
4853 Call a user method on a specific object or class using a parameter arra
[all...]

Completed in 64 milliseconds