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

12

/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/ext/fileinfo/libmagic/
H A Dmagic.c478 magic_setparam(struct magic_set *ms, int param, const void *val) argument
480 switch (param) {
503 magic_getparam(struct magic_set *ms, int param, void *val) argument
505 switch (param) {
/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);
/PHP_TRUNK/ext/pdo_dblib/
H A Ddblib_stmt.c278 static int pdo_dblib_stmt_param_hook(pdo_stmt_t *stmt, struct pdo_bound_param_data *param, argument
/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_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/win32/build/
H A Ddeplister.c30 ULONG va, ULONG param)
28 StatusRoutine(IMAGEHLP_STATUS_REASON reason, PSTR image_name, PSTR dll_name, ULONG va, ULONG param) argument
/PHP_TRUNK/ext/mysqlnd/
H A Dmysqlnd_ps.c751 mysqlnd_stmt_fetch_row_buffered(MYSQLND_RES * result, void * param, unsigned int flags, zend_bool * fetched_anything) argument
753 MYSQLND_STMT * s = (MYSQLND_STMT *) param;
852 mysqlnd_stmt_fetch_row_unbuffered(MYSQLND_RES * result, void * param, unsigned int flags, zend_bool * fetched_anything) argument
855 MYSQLND_STMT * s = (MYSQLND_STMT *) param;
1026 mysqlnd_fetch_stmt_row_cursor(MYSQLND_RES * result, void * param, unsigned int flags, zend_bool * fetched_anything) argument
1029 MYSQLND_STMT * s = (MYSQLND_STMT *) param;
/PHP_TRUNK/Zend/
H A Dzend_vm_gen.php719 function gen_helper($f, $spec, $kind, $name, $op1, $op2, $param, $code, $lineno) {
729 if ($param == null) {
734 out($f, "static ZEND_OPCODE_HANDLER_RET ZEND_FASTCALL ".$name.($spec?"_SPEC":"").$prefix[$op1].$prefix[$op2]."(".$param." ZEND_OPCODE_HANDLER_ARGS_DC)\n");
958 gen_helper($f, 1, $kind, $num, $op1, $op2, $helpers[$num]["param"], $helpers[$num]["code"], $lineno);
979 gen_helper($f, 0, $kind, $num, "ANY", "ANY", $helpers[$num]["param"], $helpers[$num]["code"], $lineno);
1169 foreach ($params as $param => $x) {
1170 out($f,$m[1].$param.";\n");
1365 $helpers[$helper] = array("op1"=>$op1,"op2"=>$op2,"param"=>null,"code"=>"");
1379 $param = $m[4]; variable
1385 $params[$param]
[all...]
H A Dzend_execute_API.c782 zval *param; local
820 param = ZEND_CALL_ARG(call, i+1);
821 ZVAL_COPY_VALUE(param, arg);
/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;
193 if (!param) {
194 php_error_docref(NULL, E_WARNING, "param is NULL in oci_bind_input_cb; this should not happen");
200 if (Z_ISREF(param->parameter))
201 parameter = Z_REFVAL(param->parameter);
203 parameter = &param->parameter;
226 struct pdo_bound_param_data *param = (struct pdo_bound_param_data*)ctx; local
227 pdo_oci_bound_param *P = (pdo_oci_bound_param*)param->driver_data;
230 if (!param) {
271 oci_stmt_param_hook(pdo_stmt_t *stmt, struct pdo_bound_param_data *param, enum pdo_param_event event_type) argument
514 OCIParam *param = NULL; local
[all...]
/PHP_TRUNK/ext/mysqli/
H A Dphp_mysqli_structs.h116 BIND_BUFFER param; member in struct:__anon26
H A Dmysqli_api.c193 if (stmt->param.var_cnt) {
194 php_free_stmt_bind_buffer(stmt->param, FETCH_SIMPLE);
197 stmt->param.is_null = ecalloc(num_vars, sizeof(char));
202 zval *param; local
204 param = Z_REFVAL(args[i]);
206 param = &args[i];
212 bind[ofs].buffer = &Z_DVAL_P(param);
213 bind[ofs].is_null = &stmt->param.is_null[ofs];
222 bind[ofs].buffer = &Z_LVAL_P(param);
223 bind[ofs].is_null = &stmt->param
893 zval *param; local
[all...]
/PHP_TRUNK/ext/pcntl/
H A Dpcntl.c1331 zval param, *handle, retval; local
1361 ZVAL_LONG(&param, queue->signo);
1365 call_user_function(EG(function_table), NULL, handle, &retval, 1, &param); local
1366 zval_ptr_dtor(&param);
/PHP_TRUNK/ext/pdo/
H A Dpdo_sql_parser.c451 struct pdo_bound_param_data *param; local
530 if ((param = zend_hash_str_find_ptr(params, plc->pos, plc->len)) == NULL) {
553 param = zend_hash_index_find_ptr(params, plc->bindno);
555 param = zend_hash_str_find_ptr(params, plc->pos, plc->len);
557 if (param == NULL) {
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) {
579 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 (ZSTR_VAL(param->name)[0] == '$') {
259 ZEND_ATOL(param->paramno, ZSTR_VAL(param->name) + 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, ZSTR_VAL(param->name)) - 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.c621 char *param = strstr(&line[1], "="); local
622 if (param) {
624 param++;
625 cmd = zend_string_init(&line[1], param - &line[1] - 1, 0);
627 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.c1350 static int register_bound_parameter_to_sqlite(struct php_sqlite3_bound_param *param, php_sqlite3_stmt *stmt) /* {{{ */ argument
1362 if (param->name) {
1363 if (ZSTR_VAL(param->name)[0] != ':') {
1365 zend_string *temp = zend_string_alloc(ZSTR_LEN(param->name) + 1, 0);
1367 memmove(ZSTR_VAL(temp) + 1, ZSTR_VAL(param->name), ZSTR_LEN(param->name) + 1);
1368 param->name = temp;
1370 param->name = zend_string_init(ZSTR_VAL(param->name), ZSTR_LEN(param
1401 struct php_sqlite3_bound_param param = {0}; local
1436 struct php_sqlite3_bound_param param = {0}; local
1473 struct php_sqlite3_bound_param *param; local
2170 struct php_sqlite3_bound_param *param = (struct php_sqlite3_bound_param*)Z_PTR_P(data); local
[all...]
/PHP_TRUNK/ext/oci8/
H A Doci8_statement.c482 OCIParam *param = NULL; local
598 PHP_OCI_CALL_RETURN(errstatus, OCIParamGet, ((dvoid *)statement->stmt, OCI_HTYPE_STMT, statement->err, (dvoid**)&param, counter));
607 PHP_OCI_CALL_RETURN(errstatus, OCIAttrGet, ((dvoid *)param, OCI_DTYPE_PARAM, (dvoid *)&outcol->data_type, (ub4 *)0, OCI_ATTR_DATA_TYPE, statement->err));
610 PHP_OCI_CALL(OCIDescriptorFree, (param, OCI_DTYPE_PARAM));
617 PHP_OCI_CALL_RETURN(errstatus, OCIAttrGet, ((dvoid *)param, OCI_DTYPE_PARAM, (dvoid *)&outcol->charset_form, (ub4 *)0, OCI_ATTR_CHARSET_FORM, statement->err));
620 PHP_OCI_CALL(OCIDescriptorFree, (param, OCI_DTYPE_PARAM));
627 PHP_OCI_CALL_RETURN(errstatus, OCIAttrGet, ((dvoid *)param, OCI_DTYPE_PARAM, (dvoid *)&outcol->charset_id, (ub4 *)0, OCI_ATTR_CHARSET_ID, statement->err));
630 PHP_OCI_CALL(OCIDescriptorFree, (param, OCI_DTYPE_PARAM));
637 PHP_OCI_CALL_RETURN(errstatus, OCIAttrGet, ((dvoid *)param, OCI_DTYPE_PARAM, (dvoid *)&outcol->data_size, (dvoid *)0, OCI_ATTR_DATA_SIZE, statement->err));
640 PHP_OCI_CALL(OCIDescriptorFree, (param, OCI_DTYPE_PARA
[all...]
/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/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...]

Completed in 34 milliseconds

12