Lines Matching refs:elem
67 static std::vector<char *> elem; variable
134 elem.push_back(curline); in getfile()
144 elem.push_back(blank); in getfile()
146 elem.push_back(p); in getfile()
158 elem.resize(padto, blank); in getfile()
170 for (j = i; j < elem.size(); j += orows) in putfile()
171 prints(elem[j], (j - i) / orows); in putfile()
177 if (k < elem.size()) in putfile()
178 prints(elem[k], j); in putfile()
215 if (elem.empty()) in prepfile()
230 if (ocols > elem.size()) in prepfile()
231 ocols = elem.size(); in prepfile()
232 orows = elem.size() / ocols + (elem.size() % ocols ? 1 : 0); in prepfile()
235 orows = elem.size() / ocols + (elem.size() % ocols ? 1 : 0); in prepfile()
237 ocols = elem.size() / orows + (elem.size() % orows ? 1 : 0); in prepfile()
239 orig_size = elem.size(); in prepfile()
241 for (i = 0; elem.size() < padto; i++) in prepfile()
242 elem.push_back(elem[i % orig_size]); in prepfile()
248 auto it = elem.begin(); in prepfile()
251 for (j = 0; it != elem.end() && j < orows; j++) in prepfile()
259 for (j = i; j < elem.size(); j += ocols) in prepfile()
260 if ((n = strlen(elem[j])) > max) in prepfile()