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

12

/PHP_5_6/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_5_6/ext/pdo_dblib/
H A Ddblib_driver.c291 struct pdo_data_src_parser vars[] = { local
300 nvars = sizeof(vars)/sizeof(vars[0]);
302 php_pdo_parse_data_source(dbh->data_source, dbh->data_source_len, vars, nvars);
315 if(vars[5].optval) {
317 if(strcmp(vars[5].optval,tdsver[i].key) == 0) {
327 printf("Invalid version '%s'\n", vars[5].optval);
346 if (vars[0].optval) {
347 DBSETLCHARSET(H->login, vars[0].optval);
351 DBSETLAPP(H->login, vars[
[all...]
/PHP_5_6/ext/snmp/
H A Dsnmp.c384 snmpobjarg *vars; member in struct:objid_query
551 static void php_snmp_getvalue(struct variable_list *vars, zval *snmpval TSRMLS_DC, int valueretrieval) argument
558 int val_len = vars->val_len;
567 if (snprint_value(buf, buflen, vars->name, vars->name_length, vars) == -1) {
608 switch (vars->type) {
610 ZVAL_STRINGL(val, (char *)vars->val.bitstring, vars->val_len, 1);
615 ZVAL_STRINGL(val, (char *)vars
711 struct variable_list *vars; local
[all...]
/PHP_5_6/sapi/phpdbg/
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_info.c39 PHPDBG_INFO_COMMAND_D(vars, "show active variables", 'v', info_vars, NULL, 0),
89 PHPDBG_INFO(vars) /* {{{ */
91 HashTable vars; local
110 zend_hash_init(&vars, 8, NULL, NULL, 0);
118 &vars, var, strlen(var)+1, (void**)data, sizeof(zval*), NULL);
129 "Variables in %s::%s() (%d)", ops->scope->name, ops->function_name, zend_hash_num_elements(&vars));
132 "Variables in %s() (%d)", ops->function_name, zend_hash_num_elements(&vars));
137 "Variables in %s (%d)", ops->filename, zend_hash_num_elements(&vars));
140 "Variables @ %p (%d)", ops, zend_hash_num_elements(&vars));
145 if (zend_hash_num_elements(&vars)) {
[all...]
H A Dphpdbg_info.h33 PHPDBG_INFO(vars); variable
H A Dphpdbg_opcode.c43 static inline char *phpdbg_decode_op(zend_op_array *ops, znode_op *op, zend_uint type, HashTable *vars TSRMLS_DC) /* {{{ */
49 asprintf(&decode, "$%s", ops->vars[op->var].name);
55 if (vars != NULL) {
56 if (zend_hash_index_find(vars, (zend_ulong) ops->vars - op->var, (void**) &pid) != SUCCESS) {
57 id = zend_hash_num_elements(vars);
59 vars, (zend_ulong) ops->vars - op->var,
78 char *phpdbg_decode_opline(zend_op_array *ops, zend_op *op, HashTable *vars TSRMLS_DC) /*{{{ */
94 decode[1] = phpdbg_decode_op(ops, &op->op1, op->op1_type, vars TSRMLS_C
143 phpdbg_print_opline_ex(zend_execute_data *execute_data, HashTable *vars, zend_bool ignore_flags TSRMLS_DC) argument
[all...]
H A Dphpdbg_print.c58 HashTable vars; local
79 zend_hash_init(&vars, op_array->last, NULL, NULL, 0);
81 char *decode = phpdbg_decode_opline(op_array, opline, &vars TSRMLS_CC);
94 zend_hash_destroy(&vars);
H A Dphpdbg_prompt.c1159 HashTable vars; local
1174 zend_hash_init(&vars, EG(active_op_array)->last, NULL, NULL, 0);
1179 zend_hash_init(&vars, EG(active_op_array)->last, NULL, NULL, 0);
1275 execute_data, &vars, 0 TSRMLS_CC);
1317 zend_hash_destroy(&vars);
1323 zend_hash_destroy(&vars);
/PHP_5_6/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_5_6/sapi/nsapi/
H A Dnsapi.c699 value = pblock_findval(nsapi_vars[i].nsapi_eq, rc->rq->vars);
983 path_translated = pblock_findval("path", rq->vars);
984 path_info = pblock_findval("path-info", rq->vars);
/PHP_5_6/ext/mysqli/
H A Dphp_mysqli_structs.h110 zval **vars; member in struct:__anon4
H A Dmysqli_api.c249 stmt->param.vars = (zval **)safe_emalloc(num_vars, sizeof(zval), 0);
253 stmt->param.vars[i] = *args[i+start];
255 stmt->param.vars[i] = NULL;
549 stmt->result.vars = (zval **)safe_emalloc((var_cnt), sizeof(zval), 0);
553 stmt->result.vars[ofs] = *args[i];
914 if (stmt->param.vars[j] == stmt->param.vars[i] && stmt->param.vars[i]) {
915 php_mysqli_stmt_copy_it(&copies, stmt->param.vars[i], stmt->param.var_cnt, i);
922 if (stmt->param.vars[
[all...]
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 Dmysqli.c134 if (bbuf.vars[i]) {
135 zval_ptr_dtor(&bbuf.vars[i]);
139 if (bbuf.vars) {
140 efree(bbuf.vars);
/PHP_5_6/ext/opcache/
H A Dzend_persist_calc.c240 if (op_array->vars && !zend_shared_alloc_get_xlat_entry(op_array->vars)) {
243 ADD_DUP_SIZE(op_array->vars, sizeof(zend_compiled_variable) * op_array->last_var);
245 ADD_INTERNED_STRING(op_array->vars[i].name, op_array->vars[i].name_len + 1);
H A Dzend_persist.c441 if (op_array->vars) {
442 if ((persist_ptr = zend_shared_alloc_get_xlat_entry(op_array->vars))) {
443 op_array->vars = (zend_compiled_variable*)persist_ptr;
446 zend_accel_store(op_array->vars, sizeof(zend_compiled_variable) * op_array->last_var);
448 zend_accel_store_interned_string(op_array->vars[i].name, op_array->vars[i].name_len + 1);
/PHP_5_6/main/
H A Dphp_variables.c289 static inline int add_post_vars(zval *arr, post_var_data_t *vars, zend_bool eof TSRMLS_DC) argument
293 vars->ptr = vars->str.c;
294 vars->end = vars->str.c + vars->str.len;
295 while (add_post_var(arr, vars, eof TSRMLS_CC)) {
296 if (++vars->cnt > max_vars) {
306 memmove(vars->str.c, vars
710 zval *vars; local
725 zend_hash_update(&EG(symbol_table), name, name_len + 1, &vars, sizeof(zval *), NULL); local
733 zval *vars; local
751 zend_hash_update(&EG(symbol_table), name, name_len + 1, &vars, sizeof(zval *), NULL); local
759 zval *vars; local
774 zend_hash_update(&EG(symbol_table), name, name_len + 1, &vars, sizeof(zval *), NULL); local
782 zval *vars; local
793 zend_hash_update(&EG(symbol_table), name, name_len + 1, &vars, sizeof(zval *), NULL); local
[all...]
/PHP_5_6/ext/pdo_firebird/
H A Dfirebird_driver.c645 struct pdo_data_src_parser vars[] = { local
655 php_pdo_parse_data_source(dbh->data_source, dbh->data_source_len, vars, 3);
660 char const *dpb_values[] = { dbh->username, dbh->password, vars[1].optval, vars[2].optval };
676 if (isc_attach_database(H->isc_status, 0, vars[0].optval, &H->db,(short)(dpb-dpb_buffer), dpb_buffer)) {
688 for (i = 0; i < sizeof(vars)/sizeof(vars[0]); ++i) {
689 if (vars[i].freeme) {
690 efree(vars[i].optval);
/PHP_5_6/ext/opcache/Optimizer/
H A Dzend_optimizer.c70 if (op_array->vars[i].name == name ||
71 (op_array->vars[i].hash_value == hash_value &&
72 op_array->vars[i].name_len == name_len &&
73 memcmp(op_array->vars[i].name, name, name_len) == 0)) {
80 op_array->vars = erealloc(op_array->vars, op_array->last_var * sizeof(zend_compiled_variable));
82 op_array->vars[i].name = name;
84 op_array->vars[i].name = estrndup(name, name_len);
86 op_array->vars[i].name_len = name_len;
87 op_array->vars[
[all...]
/PHP_5_6/Zend/
H A Dzend_execute_API.c1587 if (ex->op_array->vars[i].hash_value == hash_value &&
1588 ex->op_array->vars[i].name_len == name_len &&
1589 !memcmp(ex->op_array->vars[i].name, name, name_len)) {
1610 if (ex->op_array->vars[i].hash_value == hash_value &&
1611 ex->op_array->vars[i].name_len == name_len &&
1612 !memcmp(ex->op_array->vars[i].name, name, name_len)
1669 ex->op_array->vars[i].name,
1670 ex->op_array->vars[i].name_len + 1,
1671 ex->op_array->vars[i].hash_value,
H A Dzend_compile.c305 if (op_array->vars[i].name == name ||
306 (op_array->vars[i].hash_value == hash_value &&
307 op_array->vars[i].name_len == name_len &&
308 memcmp(op_array->vars[i].name, name, name_len) == 0)) {
318 op_array->vars = erealloc(op_array->vars, CG(context).vars_size * sizeof(zend_compiled_variable));
320 op_array->vars[i].name = zend_new_interned_string(name, name_len + 1, 1 TSRMLS_CC);
321 op_array->vars[i].name_len = name_len;
322 op_array->vars[i].hash_value = hash_value;
682 Z_STRVAL(varname->u.constant) = (char*)CG(active_op_array)->vars[resul
[all...]
H A Dzend_compile.h284 zend_compiled_variable *vars; member in struct:_zend_op_array
H A Dzend_opcode.c69 op_array->vars = NULL;
370 if (op_array->vars) {
374 str_efree(op_array->vars[i].name);
376 efree(op_array->vars);
733 op_array->vars = (zend_compiled_variable *) erealloc(op_array->vars, sizeof(zend_compiled_variable)*op_array->last_var);
/PHP_5_6/ext/standard/
H A Dbasic_functions.c364 ZEND_ARG_VARIADIC_INFO(0, vars)
377 ZEND_ARG_VARIADIC_INFO(0, vars)
1121 ZEND_ARG_VARIADIC_INFO(1, vars)
2428 ZEND_ARG_VARIADIC_INFO(1, vars)
2634 ZEND_ARG_VARIADIC_INFO(0, vars)
2638 ZEND_ARG_VARIADIC_INFO(0, vars)

Completed in 77 milliseconds

12