Searched refs:vars (Results 1 - 25 of 29) sorted by relevance

12

/PHP_TRUNK/ext/mysqli/
H A Dmysqli.c130 zval_ptr_dtor(&bbuf.vars[i]);
133 if (bbuf.vars) {
134 efree(bbuf.vars);
H A Dmysqli_fe.c48 ZEND_ARG_VARIADIC_INFO(1, vars)
54 ZEND_ARG_VARIADIC_INFO(1, vars)
58 ZEND_ARG_VARIADIC_INFO(1, vars)
63 ZEND_ARG_VARIADIC_INFO(1, vars)
67 ZEND_ARG_VARIADIC_INFO(1, vars)
H A Dphp_mysqli_structs.h110 zval *vars; member in struct:__anon126
H A Dmysqli_api.c250 stmt->param.vars = safe_emalloc(num_vars, sizeof(zval), 0);
253 ZVAL_COPY(&stmt->param.vars[i], &args[i+start]);
255 ZVAL_UNDEF(&stmt->param.vars[i]);
547 stmt->result.vars = safe_emalloc((var_cnt), sizeof(zval), 0);
550 ZVAL_COPY(&stmt->result.vars[ofs], &args[i]);
888 if (!Z_ISREF(stmt->param.vars[i])) {
893 if (Z_TYPE(stmt->param.vars[j]) == Z_TYPE(stmt->param.vars[i]) &&
894 Z_REFVAL(stmt->param.vars[j]) == Z_REFVAL(stmt->param.vars[
[all...]
/PHP_TRUNK/ext/pdo_firebird/
H A Dfirebird_driver.c646 struct pdo_data_src_parser vars[] = { local
656 php_pdo_parse_data_source(dbh->data_source, dbh->data_source_len, vars, 3);
661 char const *dpb_values[] = { dbh->username, dbh->password, vars[1].optval, vars[2].optval };
677 if (isc_attach_database(H->isc_status, 0, vars[0].optval, &H->db,(short)(dpb-dpb_buffer), dpb_buffer)) {
689 for (i = 0; i < sizeof(vars)/sizeof(vars[0]); ++i) {
690 if (vars[i].freeme) {
691 efree(vars[i].optval);
/PHP_TRUNK/ext/snmp/
H A Dsnmp.c384 snmpobjarg *vars; member in struct:objid_query
550 static void php_snmp_getvalue(struct variable_list *vars, zval *snmpval TSRMLS_DC, int valueretrieval) argument
557 int val_len = vars->val_len;
566 if (snprint_value(buf, buflen, vars->name, vars->name_length, vars) == -1) {
605 switch (vars->type) {
607 ZVAL_STRINGL(&val, (char *)vars->val.bitstring, vars->val_len);
612 ZVAL_STRINGL(&val, (char *)vars
707 struct variable_list *vars; local
[all...]
/PHP_TRUNK/sapi/continuity/
H A Dcapi.c241 value = lstFset_get(rc->t->vars, "uri");
248 value = lstFset_get(rc->t->vars, "ccode");
253 value = lstFset_get(rc->t->vars, "query");
273 value = lstFset_get(rc->t->vars, "protocol");
278 value = lstFset_get(rc->t->vars, "method");
283 value = lstFset_get(rc->t->vars, "query");
288 value = lstFset_get(rc->t->vars, "docroot");
334 value = lstFset_get(rc->t->vars, "path");
413 char *query_string = lstFset_get(NSG(t->vars), "query");
414 char *uri = lstFset_get(NSG(t->vars), "ur
[all...]
/PHP_TRUNK/scripts/dev/
H A Dcheck_parameters.php112 /** parses the sources and fetches its vars name, type and if they are initialized or not */
123 // are there more vars?
166 function get_params($vars, $str)
179 if (empty($vars[$name][0])) {
184 $ret[] = array($name, $vars[$name][0] . ($x[1] ? '*' : ''), $vars[$name][1]);
211 $vars = get_vars(substr($txt, 0, $m[0][1])); // limit var search to current location variable
212 $params = get_params($vars, $m[2][0]);
/PHP_TRUNK/sapi/nsapi/
H A Dnsapi.c698 value = pblock_findval(nsapi_vars[i].nsapi_eq, rc->rq->vars);
982 path_translated = pblock_findval("path", rq->vars);
983 path_info = pblock_findval("path-info", rq->vars);
/PHP_TRUNK/Zend/
H A Dzend_opcode.c62 op_array->vars = NULL;
337 if (op_array->vars) {
341 zend_string_release(op_array->vars[i]);
343 efree(op_array->vars);
694 op_array->vars = (zend_string**) erealloc(op_array->vars, sizeof(zend_string*)*op_array->last_var);
H A Dzend_compile.h284 zend_string **vars; member in struct:_zend_op_array
H A Dzend_execute_API.c1534 ex->func->op_array.vars[i], &zv);
1549 zval *zv = zend_hash_find(ht, op_array->vars[i]);
1564 zv = zend_hash_update(ht, op_array->vars[i], EX_VAR_NUM(i));
1580 zend_hash_del(ht, op_array->vars[i]);
1582 zend_hash_update(ht, op_array->vars[i], EX_VAR_NUM(i));
1604 if (op_array->vars[i]->h == h &&
1605 op_array->vars[i]->len == name->len &&
1606 memcmp(op_array->vars[i]->val, name->val, name->len) == 0) {
1640 if (op_array->vars[i]->h == h &&
1641 op_array->vars[
[all...]
H A Dzend_compile.c270 if (op_array->vars[i]->val == name->val ||
271 (op_array->vars[i]->h == hash_value &&
272 op_array->vars[i]->len == name->len &&
273 memcmp(op_array->vars[i]->val, name->val, name->len) == 0)) {
283 op_array->vars = erealloc(op_array->vars, CG(context).vars_size * sizeof(zend_string*));
286 op_array->vars[i] = zend_new_interned_string(name TSRMLS_CC);
1453 return op_array->vars[EX_VAR_TO_NUM(var)];
/PHP_TRUNK/ext/opcache/
H A Dzend_persist.c461 if (op_array->vars) {
463 persist_ptr = zend_shared_alloc_get_xlat_entry(op_array->vars);
465 op_array->vars = (zend_string**)persist_ptr;
468 zend_accel_store(op_array->vars, sizeof(zend_string*) * op_array->last_var);
470 zend_accel_store_interned_string(op_array->vars[i]);
H A Dzend_persist_calc.c225 if (op_array->vars) {
228 ADD_DUP_SIZE(op_array->vars, sizeof(zend_string*) * op_array->last_var);
230 ADD_INTERNED_STRING(op_array->vars[i], 0);
/PHP_TRUNK/ext/opcache/Optimizer/
H A Dzend_optimizer.c64 if (op_array->vars[i] == name ||
65 (op_array->vars[i]->h == hash_value &&
66 op_array->vars[i]->len == name->len &&
67 memcmp(op_array->vars[i]->val, name->val, name->len) == 0)) {
74 op_array->vars = erealloc(op_array->vars, op_array->last_var * sizeof(zend_string*));
75 op_array->vars[i] = zend_string_dup(name, 0);
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_info.c40 PHPDBG_INFO_COMMAND_D(vars, "show active variables", 'v', info_vars, NULL, 0, PHPDBG_ASYNC_SAFE),
169 HashTable vars; local
188 zend_hash_init(&vars, 8, NULL, NULL, 0);
193 zend_hash_update(&vars, var, data);
201 phpdbg_notice("variableinfo", "num=\"%d\"", "Superglobal variables (%d)", zend_hash_num_elements(&vars));
207 phpdbg_notice("variableinfo", "method=\"%s::%s\" num=\"%d\"", "Variables in %s::%s() (%d)", ops->scope->name, ops->function_name, zend_hash_num_elements(&vars));
209 phpdbg_notice("variableinfo", "function=\"%s\" num=\"%d\"", "Variables in %s() (%d)", ops->function_name, zend_hash_num_elements(&vars));
213 phpdbg_notice("variableinfo", "file=\"%s\" num=\"%d\"", "Variables in %s (%d)", ops->filename->val, zend_hash_num_elements(&vars));
215 phpdbg_notice("variableinfo", "opline=\"%p\" num=\"%d\"", "Variables @ %p (%d)", ops, zend_hash_num_elements(&vars));
220 if (zend_hash_num_elements(&vars)) {
[all...]
H A Dphpdbg_info.h34 PHPDBG_INFO(vars); variable
H A Dphpdbg_opcode.c43 static inline char *phpdbg_decode_op(zend_op_array *ops, znode_op *op, uint32_t type, HashTable *vars TSRMLS_DC) /* {{{ */
49 asprintf(&decode, "$%s", ops->vars[EX_VAR_TO_NUM(op->var)]->val);
55 if (vars != NULL) {
56 if ((pid = zend_hash_index_find_ptr(vars, (zend_ulong) ops->vars - op->var))) {
59 id = zend_hash_num_elements(vars);
60 zend_hash_index_update_mem(vars, (zend_ulong) ops->vars - op->var, &id, sizeof(zend_ulong));
77 char *phpdbg_decode_opline(zend_op_array *ops, zend_op *op, HashTable *vars TSRMLS_DC) /*{{{ */
93 decode[1] = phpdbg_decode_op(ops, &op->op1, op->op1_type, vars TSRMLS_C
136 phpdbg_print_opline_ex(zend_execute_data *execute_data, HashTable *vars, zend_bool ignore_flags TSRMLS_DC) argument
[all...]
H A Dphpdbg_opcode.h27 char *phpdbg_decode_opline(zend_op_array *ops, zend_op *op, HashTable *vars TSRMLS_DC);
29 void phpdbg_print_opline_ex(zend_execute_data *execute_data, HashTable *vars, zend_bool ignore_flags TSRMLS_DC);
H A Dphpdbg_print.c58 HashTable vars; local
80 zend_hash_init(&vars, op_array->last, NULL, NULL, 0);
82 char *decode = phpdbg_decode_opline(op_array, opline, &vars TSRMLS_CC);
95 zend_hash_destroy(&vars);
H A Dphpdbg_prompt.c794 phpdbg_writeln("print", "vars=\"%d\"", "Variables %d", PHPDBG_G(ops)->last_var ? PHPDBG_G(ops)->last_var - 1 : 0);
1343 HashTable vars; local
1345 zend_hash_init(&vars, execute_data->func->op_array.last, NULL, NULL, 0);
1417 phpdbg_print_opline_ex(execute_data, &vars, 0 TSRMLS_CC);
1464 zend_hash_destroy(&vars);
/PHP_TRUNK/ext/pdo_dblib/
H A Ddblib_driver.c337 struct pdo_data_src_parser vars[] = { local
346 nvars = sizeof(vars)/sizeof(vars[0]);
348 php_pdo_parse_data_source(dbh->data_source, dbh->data_source_len, vars, nvars);
367 if(vars[5].optval) {
369 if(strcmp(vars[5].optval,tdsver[i].key) == 0) {
379 printf("Invalid version '%s'\n", vars[5].optval);
398 if (vars[0].optval) {
399 DBSETLCHARSET(H->login, vars[0].optval);
403 DBSETLAPP(H->login, vars[
[all...]
/PHP_TRUNK/main/
H A Dphp_variables.c293 static inline int add_post_vars(zval *arr, post_var_data_t *vars, zend_bool eof TSRMLS_DC) argument
297 vars->ptr = vars->str.s->val;
298 vars->end = vars->str.s->val + vars->str.s->len;
299 while (add_post_var(arr, vars, eof TSRMLS_CC)) {
300 if (++vars->cnt > max_vars) {
310 memmove(vars->str.s->val, vars
[all...]
/PHP_TRUNK/ext/standard/
H A Dbasic_functions.c364 ZEND_ARG_VARIADIC_INFO(0, vars)
377 ZEND_ARG_VARIADIC_INFO(0, vars)
1109 ZEND_ARG_VARIADIC_INFO(1, vars)
2421 ZEND_ARG_VARIADIC_INFO(1, vars)
2627 ZEND_ARG_VARIADIC_INFO(0, vars)
2631 ZEND_ARG_VARIADIC_INFO(0, vars)

Completed in 52 milliseconds

12