Searched defs:param (Results 1 - 25 of 39) sorted by relevance

12

/PHP_TRUNK/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_TRUNK/Zend/
H A Dzend_execute_API.c753 zval *param; local
806 param = ZEND_CALL_ARG(call, i+1);
807 ZVAL_COPY_VALUE(param, &fci->params[i]);
811 param = ZEND_CALL_ARG(call, i+1);
812 ZVAL_DUP(param, Z_REFVAL(fci->params[i]));
814 param = ZEND_CALL_ARG(call, i+1);
815 ZVAL_COPY(param, &fci->params[i]);
H A Dzend_vm_gen.php639 function gen_helper($f, $spec, $kind, $name, $op1, $op2, $param, $code, $lineno) {
649 if ($param == null) {
654 out($f, "static int ZEND_FASTCALL ".$name.($spec?"_SPEC":"").$prefix[$op1].$prefix[$op2]."(".$param.", ZEND_OPCODE_HANDLER_ARGS)\n");
862 gen_helper($f, 1, $kind, $num, $op1, $op2, $helpers[$num]["param"], $helpers[$num]["code"], $lineno);
883 gen_helper($f, 0, $kind, $num, "ANY", "ANY", $helpers[$num]["param"], $helpers[$num]["code"], $lineno);
1031 foreach ($params as $param => $x) {
1032 out($f,$m[1].$param.";\n");
1214 $helpers[$helper] = array("op1"=>$op1,"op2"=>$op2,"param"=>null,"code"=>"");
1228 $param = $m[4]; variable
1234 $params[$param]
[all...]
/PHP_TRUNK/ext/mysqli/
H A Dmysqli_api.c192 if (stmt->param.var_cnt) {
193 php_free_stmt_bind_buffer(stmt->param, FETCH_SIMPLE);
196 stmt->param.is_null = ecalloc(num_vars, sizeof(char));
201 zval *param; local
203 param = Z_REFVAL(args[i]);
205 param = &args[i];
211 bind[ofs].buffer = &Z_DVAL_P(param);
212 bind[ofs].is_null = &stmt->param.is_null[ofs];
221 bind[ofs].buffer = &Z_LVAL_P(param);
222 bind[ofs].is_null = &stmt->param
903 zval *param; local
[all...]
H A Dphp_mysqli_structs.h116 BIND_BUFFER param; member in struct:__anon129
/PHP_TRUNK/ext/mysqlnd/
H A Dmysqlnd_ps.c737 mysqlnd_stmt_fetch_row_buffered(MYSQLND_RES * result, void * param, unsigned int flags, zend_bool * fetched_anything) argument
739 MYSQLND_STMT * s = (MYSQLND_STMT *) param;
838 mysqlnd_stmt_fetch_row_unbuffered(MYSQLND_RES * result, void * param, unsigned int flags, zend_bool * fetched_anything) argument
841 MYSQLND_STMT * s = (MYSQLND_STMT *) param;
1010 mysqlnd_fetch_stmt_row_cursor(MYSQLND_RES * result, void * param, unsigned int flags, zend_bool * fetched_anything) argument
1013 MYSQLND_STMT * s = (MYSQLND_STMT *) param;
/PHP_TRUNK/ext/oci8/
H A Doci8_statement.c483 OCIParam *param = NULL; local
599 PHP_OCI_CALL_RETURN(errstatus, OCIParamGet, ((dvoid *)statement->stmt, OCI_HTYPE_STMT, statement->err, (dvoid**)&param, counter));
608 PHP_OCI_CALL_RETURN(errstatus, OCIAttrGet, ((dvoid *)param, OCI_DTYPE_PARAM, (dvoid *)&outcol->data_type, (ub4 *)0, OCI_ATTR_DATA_TYPE, statement->err));
611 PHP_OCI_CALL(OCIDescriptorFree, (param, OCI_DTYPE_PARAM));
618 PHP_OCI_CALL_RETURN(errstatus, OCIAttrGet, ((dvoid *)param, OCI_DTYPE_PARAM, (dvoid *)&outcol->charset_form, (ub4 *)0, OCI_ATTR_CHARSET_FORM, statement->err));
621 PHP_OCI_CALL(OCIDescriptorFree, (param, OCI_DTYPE_PARAM));
628 PHP_OCI_CALL_RETURN(errstatus, OCIAttrGet, ((dvoid *)param, OCI_DTYPE_PARAM, (dvoid *)&outcol->charset_id, (ub4 *)0, OCI_ATTR_CHARSET_ID, statement->err));
631 PHP_OCI_CALL(OCIDescriptorFree, (param, OCI_DTYPE_PARAM));
638 PHP_OCI_CALL_RETURN(errstatus, OCIAttrGet, ((dvoid *)param, OCI_DTYPE_PARAM, (dvoid *)&outcol->data_size, (dvoid *)0, OCI_ATTR_DATA_SIZE, statement->err));
641 PHP_OCI_CALL(OCIDescriptorFree, (param, OCI_DTYPE_PARA
[all...]
/PHP_TRUNK/ext/pcntl/
H A Dpcntl.c1219 zval param, *handle, retval; local
1249 ZVAL_LONG(&param, queue->signo);
1253 call_user_function(EG(function_table), NULL, handle, &retval, 1, &param); local
1254 zval_ptr_dtor(&param);
/PHP_TRUNK/ext/pdo/
H A Dpdo_sql_parser.c431 struct pdo_bound_param_data *param; local
510 if ((param = zend_hash_str_find_ptr(params, plc->pos, plc->len)) == NULL) {
533 param = zend_hash_index_find_ptr(params, plc->bindno);
535 param = zend_hash_str_find_ptr(params, plc->pos, plc->len);
537 if (param == NULL) {
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) {
559 param
[all...]
/PHP_TRUNK/ext/pdo_dblib/
H A Ddblib_stmt.c277 static int pdo_dblib_stmt_param_hook(pdo_stmt_t *stmt, struct pdo_bound_param_data *param, argument
/PHP_TRUNK/ext/pdo_firebird/
H A Dfirebird_statement.c411 static int firebird_bind_blob(pdo_stmt_t *stmt, ISC_QUAD *blob_id, zval *param) argument
425 SEPARATE_ZVAL(param);
426 convert_to_string_ex(param);
428 for (rem_cnt = Z_STRLEN_P(param); rem_cnt > 0; rem_cnt -= chunk_size) {
432 if (isc_put_segment(H->isc_status, &h, chunk_size, &Z_STRVAL_P(param)[put_cnt])) {
440 zval_dtor(param);
449 static int firebird_stmt_param_hook(pdo_stmt_t *stmt, struct pdo_bound_param_data *param, /* {{{ */ argument
453 XSQLDA *sqlda = param->is_param ? S->in_sqlda : &S->out_sqlda;
460 if (!sqlda || param->paramno >= sqlda->sqld) {
465 if (param
[all...]
/PHP_TRUNK/ext/pdo_mysql/
H A Dmysql_statement.c453 static int pdo_mysql_stmt_param_hook(pdo_stmt_t *stmt, struct pdo_bound_param_data *param, enum pdo_param_event event_type) /* {{{ */ argument
464 if (S->stmt && param->is_param) {
468 if (param->paramno < 0 || param->paramno >= S->num_params) {
475 b = &S->params[param->paramno];
476 param->driver_data = b;
477 b->is_null = &S->in_null[param->paramno];
478 b->length = &S->in_length[param->paramno];
491 if (!Z_ISREF(param->parameter)) {
492 parameter = &param
[all...]
/PHP_TRUNK/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;
192 if (!param || !param->parameter) {
193 php_error_docref(NULL, E_WARNING, "param is NULL in oci_bind_input_cb; this should not happen");
202 } else if (ZVAL_IS_NULL(param->parameter)) {
209 convert_to_string(param->parameter);
210 *bufpp = Z_STRVAL_P(param->parameter);
211 *alenp = Z_STRLEN_P(param->parameter);
220 struct pdo_bound_param_data *param local
259 oci_stmt_param_hook(pdo_stmt_t *stmt, struct pdo_bound_param_data *param, enum pdo_param_event event_type) argument
504 OCIParam *param = NULL; local
[all...]
/PHP_TRUNK/ext/pdo_odbc/
H A Dodbc_stmt.c176 struct pdo_bound_param_data *param; local
178 rc = SQLParamData(S->stmt, (SQLPOINTER*)&param);
185 P = (pdo_odbc_param*)param->driver_data;
186 if (Z_ISREF(param->parameter)) {
187 parameter = Z_REFVAL(param->parameter);
189 parameter = &param->parameter;
282 static int odbc_stmt_param_hook(pdo_stmt_t *stmt, struct pdo_bound_param_data *param, argument
293 if (param->is_param) {
303 P = param->driver_data;
312 switch (PDO_PARAM_TYPE(param
[all...]
/PHP_TRUNK/ext/pdo_pgsql/
H A Dpgsql_statement.c242 static int pgsql_stmt_param_hook(pdo_stmt_t *stmt, struct pdo_bound_param_data *param, argument
247 if (stmt->supports_placeholders == PDO_PLACEHOLDER_NAMED && param->is_param) {
250 if (param->driver_data) {
251 efree(param->driver_data);
257 if (param->name) {
258 if (param->name->val[0] == '$') {
259 ZEND_ATOL(param->paramno, param->name->val + 1);
265 param->name)) != NULL) {
266 ZEND_ATOL(param
440 struct pdo_bound_param_data *param; local
[all...]
/PHP_TRUNK/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
91 if (param->is_param) {
93 if (param->paramno == -1) {
94 param->paramno = sqlite3_bind_parameter_index(S->stmt, param->name->val) - 1;
97 switch (PDO_PARAM_TYPE(param->param_type)) {
102 if (sqlite3_bind_null(S->stmt, param->paramno + 1) == SQLITE_OK) {
110 if (Z_ISREF(param->parameter)) {
111 parameter = Z_REFVAL(param->parameter);
113 parameter = &param
[all...]
/PHP_TRUNK/ext/readline/
H A Dreadline_cli.c622 char *param = strstr(&line[1], "="); local
623 if (param) {
625 param++;
626 cmd = zend_string_init(&line[1], param - &line[1] - 1, 0);
628 zend_alter_ini_entry_chars_ex(cmd, param, strlen(param), PHP_INI_USER, PHP_INI_STAGE_RUNTIME, 0);
/PHP_TRUNK/ext/soap/
H A Dphp_packet_soap.c260 sdlParamPtr param = NULL; local
271 ZEND_HASH_FOREACH_PTR(fn->responseParameters, param) {
273 if (param->element) {
274 name = param->element->name;
275 ns = param->element->namens;
277 name = param->encode->details.type_str;
278 ns = param->encode->details.ns;
281 name = param->paramName;
301 val = get_node(cur->children, param->paramName);
326 if (param !
[all...]
/PHP_TRUNK/ext/sqlite3/
H A Dsqlite3.c1344 static int register_bound_parameter_to_sqlite(struct php_sqlite3_bound_param *param, php_sqlite3_stmt *stmt) /* {{{ */ argument
1356 if (param->name) {
1357 if (param->name->val[0] != ':') {
1359 zend_string *temp = zend_string_alloc(param->name->len + 1, 0);
1361 memmove(temp->val + 1, param->name->val, param->name->len + 1);
1362 param->name = temp;
1364 param->name = zend_string_init(param->name->val, param
1395 struct php_sqlite3_bound_param param = {0}; local
1429 struct php_sqlite3_bound_param param = {0}; local
1465 struct php_sqlite3_bound_param *param; local
2164 struct php_sqlite3_bound_param *param = (struct php_sqlite3_bound_param*)Z_PTR_P(data); local
[all...]
/PHP_TRUNK/ext/xmlrpc/libxmlrpc/
H A Dxml_to_xmlrpc.c63 #define ELEM_PARAM "param"
314 xml_element* param = xml_elem_new(); local
315 param->name = strdup(ELEM_PARAM);
317 Q_PushTail(&param->children, value);
319 root = param;
/PHP_TRUNK/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
327 php_stream_xport_param param; local
354 php_stream_xport_crypto_param param; local
375 php_stream_xport_crypto_param param; local
399 php_stream_xport_param param; local
467 php_stream_xport_param param; local
506 php_stream_xport_param param; local
[all...]
/PHP_TRUNK/sapi/milter/
H A Dphp_milter.c179 zval function_name, retval, *param[1]; local
215 ALLOC_ZVAL(param[0]);
216 INIT_PZVAL(param[0]);
219 ZVAL_STRING(param[0], hostname, 1);
225 status = call_user_function(CG(function_table), NULL, &function_name, &retval, 1, param);
228 zval_ptr_dtor(param);
242 zval function_name, retval, *param[1]; local
248 ALLOC_ZVAL(param[0]);
249 INIT_PZVAL(param[0]);
252 ZVAL_STRING(param[
276 zval function_name, retval, *param[1]; local
315 zval function_name, retval, *param[1]; local
355 zval function_name, retval, *param[2]; local
422 zval function_name, retval, *param[1]; local
[all...]
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_bp.h115 phpdbg_param_t param; member in struct:_phpdbg_breakcond_t
138 PHPDBG_API void phpdbg_set_breakpoint_at(const phpdbg_param_t *param); /* }}} */
H A Dphpdbg_cmd.c47 PHPDBG_API const char *phpdbg_get_param_type(const phpdbg_param_t *param) /* {{{ */ argument
49 switch (param->type) {
73 PHPDBG_API void phpdbg_clear_param(phpdbg_param_t *param) /* {{{ */ argument
75 if (param) {
76 switch (param->type) {
78 efree(param->file.name);
81 efree(param->method.class);
82 efree(param->method.name);
85 efree(param->str);
94 PHPDBG_API char* phpdbg_param_tostring(const phpdbg_param_t *param, cha argument
194 phpdbg_hash_param(const phpdbg_param_t *param) argument
324 phpdbg_param_debug(const phpdbg_param_t *param, const char *msg) argument
426 phpdbg_stack_push(phpdbg_param_t *stack, phpdbg_param_t *param) argument
[all...]
H A Dphpdbg_wait.c150 phpdbg_param_t param; local
151 param.str = Z_STRVAL_P(script);
152 PHPDBG_COMMAND_HANDLER(exec)(&param);

Completed in 33 milliseconds

12