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"
315 xml_element* param = xml_elem_new(); local
316 param->name = strdup(ELEM_PARAM);
318 Q_PushTail(&param->children, value);
320 root = param;
/PHP_TRUNK/ext/mysqli/
H A Dphp_mysqli_structs.h116 BIND_BUFFER param; member in struct:__anon127
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...]
/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 TSRMLS_DC) 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 TSRMLS_DC) 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 TSRMLS_DC) argument
1013 MYSQLND_STMT * s = (MYSQLND_STMT *) param;
/PHP_TRUNK/ext/oci8/
H A Doci8_statement.c484 OCIParam *param = NULL; local
600 PHP_OCI_CALL_RETURN(errstatus, OCIParamGet, ((dvoid *)statement->stmt, OCI_HTYPE_STMT, statement->err, (dvoid**)&param, counter));
609 PHP_OCI_CALL_RETURN(errstatus, OCIAttrGet, ((dvoid *)param, OCI_DTYPE_PARAM, (dvoid *)&outcol->data_type, (ub4 *)0, OCI_ATTR_DATA_TYPE, statement->err));
612 PHP_OCI_CALL(OCIDescriptorFree, (param, OCI_DTYPE_PARAM));
619 PHP_OCI_CALL_RETURN(errstatus, OCIAttrGet, ((dvoid *)param, OCI_DTYPE_PARAM, (dvoid *)&outcol->charset_form, (ub4 *)0, OCI_ATTR_CHARSET_FORM, statement->err));
622 PHP_OCI_CALL(OCIDescriptorFree, (param, OCI_DTYPE_PARAM));
629 PHP_OCI_CALL_RETURN(errstatus, OCIAttrGet, ((dvoid *)param, OCI_DTYPE_PARAM, (dvoid *)&outcol->charset_id, (ub4 *)0, OCI_ATTR_CHARSET_ID, statement->err));
632 PHP_OCI_CALL(OCIDescriptorFree, (param, OCI_DTYPE_PARAM));
639 PHP_OCI_CALL_RETURN(errstatus, OCIAttrGet, ((dvoid *)param, OCI_DTYPE_PARAM, (dvoid *)&outcol->data_size, (dvoid *)0, OCI_ATTR_DATA_SIZE, statement->err));
642 PHP_OCI_CALL(OCIDescriptorFree, (param, OCI_DTYPE_PARA
[all...]
/PHP_TRUNK/ext/pcntl/
H A Dpcntl.c1218 zval param, *handle, retval; local
1245 ZVAL_LONG(&param, queue->signo);
1249 call_user_function(EG(function_table), NULL, handle, &retval, 1, &param TSRMLS_CC);
1250 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...]
H A Dpdo_stmt.c71 ZEND_ARG_INFO(0, param)
77 ZEND_ARG_INFO(1, param)
85 ZEND_ARG_INFO(1, param)
122 static inline int rewrite_name_to_position(pdo_stmt_t *stmt, struct pdo_bound_param_data *param TSRMLS_DC) /* {{{ */
138 if (!param->name) {
140 if ((name = zend_hash_index_find_ptr(stmt->bound_param_map, param->paramno)) != NULL) {
141 param->name = zend_string_init(name, strlen(name), 0);
149 if (strncmp(name, param->name->val, param->name->len + 1)) {
153 if (param
171 struct pdo_bound_param_data *param; local
244 struct pdo_bound_param_data *param; local
273 struct pdo_bound_param_data *param = (struct pdo_bound_param_data *)Z_PTR_P(el); local
296 really_register_bound_param(struct pdo_bound_param_data *param, pdo_stmt_t *stmt, int is_param TSRMLS_DC) argument
447 struct pdo_bound_param_data param; local
702 struct pdo_bound_param_data *param; local
1547 struct pdo_bound_param_data param = {0}; local
1586 struct pdo_bound_param_data param = {0}; local
2107 struct pdo_bound_param_data *param; local
[all...]
/PHP_TRUNK/ext/pdo_dblib/
H A Ddblib_stmt.c284 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 TSRMLS_DC)
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 TSRMLS_DC) /* {{{ */ 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;
193 if (!param || !param->parameter) {
194 php_error_docref(NULL TSRMLS_CC, E_WARNING, "param is NULL in oci_bind_input_cb; this should not happen");
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);
221 struct pdo_bound_param_data *param local
261 oci_stmt_param_hook(pdo_stmt_t *stmt, struct pdo_bound_param_data *param, enum pdo_param_event event_type TSRMLS_DC) argument
507 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
445 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/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.c1349 static int register_bound_parameter_to_sqlite(struct php_sqlite3_bound_param *param, php_sqlite3_stmt *stmt TSRMLS_DC) /* {{{ */ argument
1361 if (param->name) {
1362 if (param->name->val[0] != ':') {
1364 zend_string *temp = zend_string_alloc(param->name->len + 1, 0);
1366 memmove(temp->val + 1, param->name->val, param->name->len + 1);
1367 param->name = temp;
1369 param->name = zend_string_init(param->name->val, param
1400 struct php_sqlite3_bound_param param = {0}; local
1434 struct php_sqlite3_bound_param param = {0}; local
1470 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/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.c180 zval function_name, retval, *param[1]; local
217 ALLOC_ZVAL(param[0]);
218 INIT_PZVAL(param[0]);
221 ZVAL_STRING(param[0], hostname, 1);
227 status = call_user_function(CG(function_table), NULL, &function_name, &retval, 1, param TSRMLS_CC);
230 zval_ptr_dtor(param);
244 zval function_name, retval, *param[1]; local
251 ALLOC_ZVAL(param[0]);
252 INIT_PZVAL(param[0]);
255 ZVAL_STRING(param[
279 zval function_name, retval, *param[1]; local
319 zval function_name, retval, *param[1]; local
360 zval function_name, retval, *param[2]; local
429 zval function_name, retval, *param[1]; local
[all...]
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_bp.h101 phpdbg_param_t param; member in struct:_phpdbg_breakcond_t
122 PHPDBG_API void phpdbg_set_breakpoint_at(const phpdbg_param_t *param TSRMLS_DC); /* }}} */
H A Dphpdbg_cmd.c46 PHPDBG_API const char *phpdbg_get_param_type(const phpdbg_param_t *param TSRMLS_DC) /* {{{ */
48 switch (param->type) {
72 PHPDBG_API phpdbg_param_type phpdbg_parse_param(const char *str, size_t len, phpdbg_param_t *param TSRMLS_DC) /* {{{ */
77 param->type = EMPTY_PARAM;
82 param->addr = strtoul(str, 0, 16);
83 param->type = ADDR_PARAM;
87 param->num = strtol(str, NULL, 0);
88 param->type = NUMERIC_PARAM;
92 param->method.class = class_name;
93 param
166 phpdbg_param_tostring(const phpdbg_param_t *param, char **pointer TSRMLS_DC) argument
416 phpdbg_param_debug(const phpdbg_param_t *param, const char *msg) argument
517 phpdbg_stack_push(phpdbg_param_t *stack, phpdbg_param_t *param) argument
[all...]
/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/ext/readline/
H A Dreadline_cli.c630 char *param = strstr(&line[1], "="); local
631 if (param) {
633 param++;
634 cmd = zend_string_init(&line[1], param - &line[1] - 1, 0);
636 zend_alter_ini_entry_chars_ex(cmd, param, strlen(param), PHP_INI_USER, PHP_INI_STAGE_RUNTIME, 0 TSRMLS_CC);
/PHP_TRUNK/Zend/
H A Dzend_vm_gen.php578 function gen_helper($f, $spec, $kind, $name, $op1, $op2, $param, $code, $lineno) {
588 if ($param == null) {
593 out($f, "static int ZEND_FASTCALL ".$name.($spec?"_SPEC":"").$prefix[$op1].$prefix[$op2]."(".$param.", ZEND_OPCODE_HANDLER_ARGS)\n");
793 gen_helper($f, 1, $kind, $num, $op1, $op2, $helpers[$num]["param"], $helpers[$num]["code"], $lineno);
814 gen_helper($f, 0, $kind, $num, "ANY", "ANY", $helpers[$num]["param"], $helpers[$num]["code"], $lineno);
959 foreach ($params as $param => $x) {
960 out($f,$m[1].$param.";\n");
1142 $helpers[$helper] = array("op1"=>$op1,"op2"=>$op2,"param"=>null,"code"=>"");
1156 $param = $m[4]; variable
1162 $params[$param]
[all...]
H A Dzend_execute_API.c768 zval *param; local
821 param = ZEND_CALL_ARG(call, i+1);
822 ZVAL_COPY_VALUE(param, &fci->params[i]);
826 param = ZEND_CALL_ARG(call, i+1);
827 ZVAL_DUP(param, Z_REFVAL(fci->params[i]));
829 param = ZEND_CALL_ARG(call, i+1);
830 ZVAL_COPY(param, &fci->params[i]);

Completed in 46 milliseconds

12