Lines Matching refs:opt_info
32 * possible starting at (opt_info.index,opt_info.offset) using
36 * the current arg, otherwise fun sets opt_info.again=1
42 * to be parsed at opt_info.index
64 state = optstate(&opt_info);
72 last_index = opt_info.index;
73 last_offset = opt_info.offset;
76 more = argv[opt_info.index] != 0;
77 if (!opt_info.again)
86 if (*argv[opt_info.index] != '+')
91 opt_info.again = -1;
96 if (opt_info.again)
98 if (opt_info.again > 0 && (!err || err_index < opt_info.index || err_index == opt_info.index && err_offset < opt_info.offset))
101 err_index = opt_info.index;
102 err_offset = opt_info.offset;
104 opt_info.again = 0;
105 opt_info.index = state->pindex ? state->pindex : 1;
106 opt_info.offset = state->poffset;
108 if (!rep || opt_info.index != last_index || opt_info.offset != last_offset)
118 opt_info.offset = 0;