Searched defs:param (Results 1 - 25 of 40) 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/pcntl/
H A Dpcntl.c1231 zval *param, **handle, *retval; local
1258 MAKE_STD_ZVAL(param);
1260 ZVAL_LONG(param, queue->signo);
1264 call_user_function(EG(function_table), NULL, *handle, retval, 1, &param TSRMLS_CC);
1265 zval_ptr_dtor(&param);
/PHP_TRUNK/ext/pdo/
H A Dpdo_sql_parser.c447 struct pdo_bound_param_data *param; local
526 if (zend_hash_find(params, plc->pos, plc->len, (void**) &param) == FAILURE) {
549 ret = zend_hash_index_find(params, plc->bindno, (void**) &param);
551 ret = zend_hash_find(params, plc->pos, plc->len, (void**) &param);
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);
570 param->param_type TSRMLS_CC)) {
589 zval tmp_param = *param->parameter;
613 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 (SUCCESS == zend_hash_index_find(stmt->bound_param_map, param->paramno, (void**)&name)) {
141 param->name = estrdup(name);
142 param->namelen = strlen(param->name);
151 if (strcmp(name, param
174 struct pdo_bound_param_data *param; local
250 struct pdo_bound_param_data *param; local
280 struct pdo_bound_param_data *param = (struct pdo_bound_param_data *)data; local
302 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
715 struct pdo_bound_param_data *param; local
1572 struct pdo_bound_param_data param = {0}; local
1611 struct pdo_bound_param_data param = {0}; local
2141 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_mysql/
H A Dmysql_statement.c449 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
459 if (S->stmt && param->is_param) {
463 if (param->paramno < 0 || param->paramno >= S->num_params) {
470 b = &S->params[param->paramno];
471 param->driver_data = b;
472 b->is_null = &S->in_null[param->paramno];
473 b->length = &S->in_length[param->paramno];
487 if (PDO_PARAM_TYPE(param->param_type) == PDO_PARAM_NULL ||
488 Z_TYPE_P(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_sqlite/
H A Dsqlite_statement.c78 static int pdo_sqlite_stmt_param_hook(pdo_stmt_t *stmt, struct pdo_bound_param_data *param, argument
90 if (param->is_param) {
92 if (param->paramno == -1) {
93 param->paramno = sqlite3_bind_parameter_index(S->stmt, param->name) - 1;
96 switch (PDO_PARAM_TYPE(param->param_type)) {
101 if (sqlite3_bind_null(S->stmt, param->paramno + 1) == SQLITE_OK) {
109 if (Z_TYPE_P(param->parameter) == IS_NULL) {
110 if (sqlite3_bind_null(S->stmt, param->paramno + 1) == SQLITE_OK) {
114 convert_to_long(param
[all...]
/PHP_TRUNK/ext/soap/
H A Dphp_http.c1242 zval param; local
1249 params[0] = &param;
1255 params[0] = &param;
H A Dphp_packet_soap.c258 sdlParamPtr *h_param, param = NULL; local
271 param = (*h_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);
327 if (param !
[all...]
/PHP_TRUNK/ext/sqlite3/
H A Dsqlite3.c1366 static int register_bound_parameter_to_sqlite(struct php_sqlite3_bound_param *param, php_sqlite3_stmt *stmt TSRMLS_DC) /* {{{ */ argument
1378 if (param->name) {
1379 if (param->name[0] != ':') {
1381 char *temp = emalloc(++param->name_len + 1);
1383 memmove(temp+1, param->name, param->name_len);
1384 param->name = temp;
1386 param->name = estrndup(param->name, param
1417 struct php_sqlite3_bound_param param = {0}; local
1448 struct php_sqlite3_bound_param param = {0}; local
1481 struct php_sqlite3_bound_param *param; local
2203 struct php_sqlite3_bound_param *param = (struct php_sqlite3_bound_param*)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
328 php_stream_xport_param param; local
356 php_stream_xport_crypto_param param; local
377 php_stream_xport_crypto_param param; local
401 php_stream_xport_param param; local
470 php_stream_xport_param param; local
509 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/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/mysqli/
H A Dphp_mysqli_structs.h116 BIND_BUFFER param; member in struct:__anon3
/PHP_TRUNK/Zend/
H A Dzend_vm_gen.php558 function gen_helper($f, $spec, $kind, $name, $op1, $op2, $param, $code, $lineno) {
568 if ($param == null) {
573 out($f, "static int ZEND_FASTCALL ".$name.($spec?"_SPEC":"").$prefix[$op1].$prefix[$op2]."(".$param.", ZEND_OPCODE_HANDLER_ARGS)\n");
773 gen_helper($f, 1, $kind, $num, $op1, $op2, $helpers[$num]["param"], $helpers[$num]["code"], $lineno);
794 gen_helper($f, 0, $kind, $num, "ANY", "ANY", $helpers[$num]["param"], $helpers[$num]["code"], $lineno);
942 foreach ($params as $param => $x) {
943 out($f,$m[1].$param.";\n");
1133 $helpers[$helper] = array("op1"=>$op1,"op2"=>$op2,"param"=>null,"code"=>"");
1147 $param = $m[4]; variable
1153 $params[$param]
[all...]
/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/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[0] == '$') {
259 param->paramno = atoi(param->name + 1);
264 param->name, param
432 struct pdo_bound_param_data *param; local
[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 TSRMLS_DC)
425 SEPARATE_ZVAL(&param);
427 convert_to_string_ex(&param);
429 for (rem_cnt = Z_STRLEN_P(param); rem_cnt > 0; rem_cnt -= chunk_size) {
433 if (isc_put_segment(H->isc_status, &h, chunk_size, &Z_STRVAL_P(param)[put_cnt])) {
441 zval_dtor(param);
450 static int firebird_stmt_param_hook(pdo_stmt_t *stmt, struct pdo_bound_param_data *param, /* {{{ */ argument
454 XSQLDA *sqlda = param->is_param ? S->in_sqlda : &S->out_sqlda;
461 if (!sqlda || param->paramno >= sqlda->sqld) {
466 if (param
[all...]
/PHP_TRUNK/ext/mysqlnd/
H A Dmysqlnd_ps.c736 mysqlnd_stmt_fetch_row_buffered(MYSQLND_RES * result, void * param, unsigned int flags, zend_bool * fetched_anything TSRMLS_DC) argument
738 MYSQLND_STMT * s = (MYSQLND_STMT *) param;
837 mysqlnd_stmt_fetch_row_unbuffered(MYSQLND_RES * result, void * param, unsigned int flags, zend_bool * fetched_anything TSRMLS_DC) argument
840 MYSQLND_STMT * s = (MYSQLND_STMT *) param;
1005 mysqlnd_fetch_stmt_row_cursor(MYSQLND_RES * result, void * param, unsigned int flags, zend_bool * fetched_anything TSRMLS_DC) argument
1008 MYSQLND_STMT * s = (MYSQLND_STMT *) param;
/PHP_TRUNK/ext/pdo_odbc/
H A Dodbc_stmt.c176 struct pdo_bound_param_data *param; local
178 rc = SQLParamData(S->stmt, (SQLPOINTER*)&param);
184 P = (pdo_odbc_param*)param->driver_data;
185 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
276 odbc_stmt_param_hook(pdo_stmt_t *stmt, struct pdo_bound_param_data *param, enum pdo_param_event event_type TSRMLS_DC) argument
[all...]
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_bp.c188 switch (conditional->param.type) {
191 "break at %s if %s\n", conditional->param.str, conditional->code);
197 conditional->param.method.class, conditional->param.method.name,
204 conditional->param.file.name, conditional->param.file.line,
700 static inline void phpdbg_create_conditional_break(phpdbg_breakcond_t *brake, const phpdbg_param_t *param, const char *expr, size_t expr_len, zend_ulong hash TSRMLS_DC) /* {{{ */ argument
709 if (param) {
712 param, &new_break.param TSRMLS_C
891 phpdbg_find_breakpoint_param(phpdbg_param_t *param, zend_execute_data *execute_data TSRMLS_DC) argument
1269 char *param; local
[all...]
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/ext/readline/
H A Dreadline_cli.c628 char *param = strstr(&line[1], "="); local
629 if (param) {
632 param++;
633 cmd_len = param - &line[1] - 1;
636 zend_alter_ini_entry_ex(cmd, cmd_len + 1, param, strlen(param), PHP_INI_USER, PHP_INI_STAGE_RUNTIME, 0 TSRMLS_CC);

Completed in 60 milliseconds

12