Lines Matching refs:_i

44 function main(_i) {
73 for (_i = 1; _i < ARGC; _i++) {
74 if (ARGV[_i] == "--debug") {
76 } else if (ARGV[_i] == "-d" && OUT_T == null) {
78 } else if (ARGV[_i] == "-h" && OUT_T == null) {
80 } else if (ARGV[_i] == "-v") {
82 } else if (ARGV[_i] == "-o") {
83 _i++
84 if (_i >= ARGC)
87 OUTPUT_FILE = ARGV[_i]
88 } else if (ARGV[_i] == "--") {
89 _i++
91 } else if (ARGV[_i] !~ /^-/) {
92 FILENAME = ARGV[_i]
94 print "unknown option " ARGV[_i]
437 _i)
473 for (_i = 0; _i < _noutput_vars; _i++) {
474 _var = array_get(_output_vars, _i)
475 set(_var, p_vid, _i)
501 _tab_align, _macro, _macros, _num_macros, _i)
506 for (_i = 0; _i < _noutput_vars; _i++) {
507 _var = array_get(output_vars, _i)
526 for (_i = 0; _i < _num_macros; _i++)
527 write_macro_define(_macros[_i], _tab_align)
533 _srom_table, _nsrom_table, _i, _j)
547 for (_i = 0; _i < _nlayouts; _i++) {
548 _layout = array_get(_layouts, _i)
571 for (_i = 0; _i < _noutput_vars; _i++) {
572 write_data_nvram_vardefn(array_get(output_vars, _i))
580 for (_i = 0; _i < BaseTypesCount; _i++) {
581 _base_type = array_get(BaseTypesArray, _i)
597 for (_i = 0; _i < _nsrom_table; _i++) {
598 _rev = array_get(_srom_table, _i)
1360 for (_i = 0; _i < _nbuffer; _i++)
1361 srom_ops_emit(opstream, array_get(_buffer, _i))
1430 _i, _j)
1433 for (_i = 0; _i < _noffsets; _i++) {
1435 _offset = array_get(offsets, _i)
1490 _nall_entries, _entries, _nentries, _entry, _opstream, _i)
1507 for (_i = 0; _i < _nall_entries; _i++) {
1508 _entry = array_get(_all_entries, _i)
1532 for (_i = 0; _i < _nentries; _i++) {
1533 _entry = array_get(_entries, _i)
1549 _macro, _macros, _num_macros, _i)
1554 for (_i = 0; _i < _noutput_vars; _i++) {
1555 _var = array_get(output_vars, _i)
1567 for (_i = 0; _i < _num_macros; _i++)
1568 write_macro_define(_macros[_i], _tab_align)
1587 function tab_str(strlen, align_to, _lead, _pad, _result, _i) {
1598 for (_i = 0; _i < _pad; _i++)
1606 function write_macro_define(macro, align_to, _tabstr, _i) {
1615 function macros_get_tab_alignment(macros, macros_len, _macro, _max_len, _i) {
1617 for (_i = 0; _i < macros_len; _i++) {
1618 _macro = macros[_i]
1877 function _obj_delete_array(obj, _size, _i) {
1881 for (_i = 0; _i < _size; _i++)
1882 delete _g_arrays[obj,OBJ_PROP,_i]
1886 function obj_delete(obj, _prop_id, _prop_name, _prefix, _key, _size, _i) {
2268 function array_append(array, value, _i) {
2271 _i = get(array, p_count)
2272 _g_arrays[array,OBJ_PROP,_i] = value
2273 set(array, p_count, _i+1)
2411 function array_join(array, sep, prop_path, _i, _size, _value, _result) {
2416 for (_i = 0; _i < _size; _i++) {
2418 _value = array_get(array, _i)
2422 if (_i+1 < _size)
2894 function nvram_add_srom_layout(nvram, layout, _table, _revs, _start, _end, _i) {
2906 for (_i = _start; _i <= _end; _i++) {
2907 if (map_contains(_table, _i)) {
2909 _i "' (originally declared on line " \
2910 get(map_get(_table, _i), p_line) ")")
2913 map_set(_table, _i, layout)
2923 _i)
2929 for (_i = 0; _i < _nlayouts; _i++) {
2930 _layout = array_get(_layouts, _i)
3038 _rev_end, _var, _prev_entry, _count, _i)
3056 for (_i = _rev_start; _i <= _rev_end; _i++) {
3058 _prev_entry = srom_layout_find_entry(layout, _name, _i)
3061 "revision " _i " (previously defined on line " \
3066 map_set(_layout_revmap, (_name SUBSEP _i), entry)
3070 if (!srom_entry_should_output(entry, _i))
3073 if (!map_contains(_layout_var_count, _i)) {
3074 map_set(_layout_var_count, _i, 1)
3076 _count = map_get(_layout_var_count, _i)
3077 map_set(_layout_var_count, _i, _count + 1)
3562 function debug(msg, _i) {
3565 for (_i = 1; _i < _g_parse_stack_depth; _i++)
3600 function shiftf(n, do_getline, _i) {
3608 for (_i = 1; _i <= NF-n; _i++) {
3609 $(_i) = $(_i+n)
3663 function parser_state_find_context(class, _state, _ctx, _i) {
3668 for (_i = 0; _i < _g_parse_stack_depth; _i++) {
3669 _state = _g_parse_stack[_g_parse_stack_depth - _i]
3863 function fmt_get_human_readable_list(_result, _fmts, _fmt, _nfmts, _i)
3870 for (_i = 0; _i < _nfmts; _i++) {
3871 _fmt = array_get(_fmts, _i)
3872 if (_i+1 == _nfmts)
3878 if (_i+1 < _nfmts)
4037 _mask, _shift, _value, _i)
4059 for (_i = 1; _i <= _num_attr; _i++) {
4060 _attr = _g_attrs[_i]
4146 _stype, _var, _entry, _offset, _seg, _i)