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

12

/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/ext/mysqli/
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:__anon2
H A Dmysqli.c129 zval_ptr_dtor(&bbuf.vars[i]);
132 if (bbuf.vars) {
133 efree(bbuf.vars);
H A Dmysqli_api.c251 stmt->param.vars = safe_emalloc(num_vars, sizeof(zval), 0);
254 ZVAL_COPY(&stmt->param.vars[i], &args[i+start]);
256 ZVAL_UNDEF(&stmt->param.vars[i]);
557 stmt->result.vars = safe_emalloc((var_cnt), sizeof(zval), 0);
559 ZVAL_COPY(&stmt->result.vars[i], &args[i]);
878 if (!Z_ISREF(stmt->param.vars[i])) {
883 if (Z_TYPE(stmt->param.vars[j]) == Z_TYPE(stmt->param.vars[i]) &&
884 Z_REFVAL(stmt->param.vars[j]) == Z_REFVAL(stmt->param.vars[
[all...]
/PHP_TRUNK/sapi/nsapi/
H A Dnsapi.c698 value = pblock_findval(nsapi_vars[i].nsapi_eq, rc->rq->vars);
981 path_translated = pblock_findval("path", rq->vars);
982 path_info = pblock_findval("path-info", rq->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/ext/pdo_firebird/
H A Dfirebird_driver.c644 struct pdo_data_src_parser vars[] = { local
654 php_pdo_parse_data_source(dbh->data_source, dbh->data_source_len, vars, 3);
659 char const *dpb_values[] = { dbh->username, dbh->password, vars[1].optval, vars[2].optval };
675 if (isc_attach_database(H->isc_status, 0, vars[0].optval, &H->db,(short)(dpb-dpb_buffer), dpb_buffer)) {
687 for (i = 0; i < sizeof(vars)/sizeof(vars[0]); ++i) {
688 if (vars[i].freeme) {
689 efree(vars[i].optval);
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_info.h34 PHPDBG_INFO(vars); variable
H A Dphpdbg_opcode.h27 char *phpdbg_decode_opline(zend_op_array *ops, zend_op *op, HashTable *vars);
29 void phpdbg_print_opline_ex(zend_execute_data *execute_data, HashTable *vars, zend_bool ignore_flags);
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_prompt.c859 phpdbg_writeln("info", "vars=\"%d\"", "Variables %d", PHPDBG_G(ops)->last_var ? PHPDBG_G(ops)->last_var - 1 : 0);
1416 HashTable vars; local
1418 zend_hash_init(&vars, execute_data->func->op_array.last, NULL, NULL, 0);
1520 phpdbg_print_opline_ex(execute_data, &vars, 0);
1570 zend_hash_destroy(&vars);
H A Dphpdbg_opcode.c30 static inline char *phpdbg_decode_op(zend_op_array *ops, znode_op *op, uint32_t type, HashTable *vars) /* {{{ */ argument
36 zend_string *var = ops->vars[EX_VAR_TO_NUM(op->var)];
43 if (vars != NULL) {
44 if ((pid = zend_hash_index_find_ptr(vars, (zend_ulong) ops->vars - op->var))) {
47 id = zend_hash_num_elements(vars);
48 zend_hash_index_update_mem(vars, (zend_ulong) ops->vars - op->var, &id, sizeof(zend_ulong));
114 char *phpdbg_decode_opline(zend_op_array *ops, zend_op *op, HashTable *vars) /*{{{ */ argument
134 decode[1] = phpdbg_decode_op(ops, &op->op1, op->op1_type, vars);
194 phpdbg_print_opline_ex(zend_execute_data *execute_data, HashTable *vars, zend_bool ignore_flags) argument
[all...]
H A Dphpdbg_print.c58 HashTable vars; local
84 zend_hash_init(&vars, op_array->last, NULL, NULL, 0);
86 char *decode = phpdbg_decode_opline(op_array, opline, &vars);
99 zend_hash_destroy(&vars);
/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, 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/ext/opcache/
H A Dzend_persist_calc.c244 if (op_array->vars) {
247 ADD_DUP_SIZE(op_array->vars, sizeof(zend_string*) * op_array->last_var);
249 ADD_INTERNED_STRING(op_array->vars[i], 0);
H A Dzend_file_cache.c445 if (op_array->vars) {
448 SERIALIZE_PTR(op_array->vars);
449 p = op_array->vars;
969 if (op_array->vars) {
972 UNSERIALIZE_PTR(op_array->vars);
973 p = op_array->vars;
H A Dzend_persist.c621 if (op_array->vars) {
623 persist_ptr = zend_shared_alloc_get_xlat_entry(op_array->vars);
625 op_array->vars = (zend_string**)persist_ptr;
628 zend_accel_store(op_array->vars, sizeof(zend_string*) * op_array->last_var);
630 zend_accel_store_interned_string(op_array->vars[i]);
/PHP_TRUNK/Zend/
H A Dzend_execute_API.c1497 zend_string **str = ex->func->op_array.vars;
1519 zend_string **str = op_array->vars;
1553 zend_string **str = op_array->vars;
1585 zend_string **str = op_array->vars;
1592 zval *var = EX_VAR_NUM(str - op_array->vars);
1626 zend_string **str = op_array->vars;
1633 zval *var = EX_VAR_NUM(str - op_array->vars);
H A Dzend_compile.h348 zend_string **vars; member in struct:_zend_op_array
H A Dzend_opcode.c65 op_array->vars = NULL;
360 if (op_array->vars) {
364 zend_string_release(op_array->vars[i]);
366 efree(op_array->vars);
742 op_array->vars = (zend_string**) erealloc(op_array->vars, sizeof(zend_string*)*op_array->last_var);
H A Dzend_compile.c385 if (op_array->vars[i]->val == name->val ||
386 (op_array->vars[i]->h == hash_value &&
387 op_array->vars[i]->len == name->len &&
388 memcmp(op_array->vars[i]->val, name->val, name->len) == 0)) {
398 op_array->vars = erealloc(op_array->vars, CG(context).vars_size * sizeof(zend_string*));
401 op_array->vars[i] = zend_new_interned_string(name);
1715 return op_array->vars[EX_VAR_TO_NUM(var)];
2199 name = CG(active_op_array)->vars[EX_VAR_TO_NUM(result->u.op.var)];
/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/ext/standard/
H A Dbasic_functions.c364 ZEND_ARG_VARIADIC_INFO(0, vars)
377 ZEND_ARG_VARIADIC_INFO(0, vars)
1105 ZEND_ARG_VARIADIC_INFO(1, vars)
2432 ZEND_ARG_VARIADIC_INFO(1, vars)
2638 ZEND_ARG_VARIADIC_INFO(0, vars)
2642 ZEND_ARG_VARIADIC_INFO(0, vars)
/PHP_TRUNK/main/
H A Dphp_variables.c292 static inline int add_post_vars(zval *arr, post_var_data_t *vars, zend_bool eof) argument
296 vars->ptr = vars->str.s->val;
297 vars->end = vars->str.s->val + vars->str.s->len;
298 while (add_post_var(arr, vars, eof)) {
299 if (++vars->cnt > max_vars) {
309 memmove(vars->str.s->val, vars
[all...]

Completed in 69 milliseconds

12