Lines Matching full:gen
30 local gen = generator:new({}, fh)
31 gen.storage_levels = {} -- make sure storage is clear
34 gen:preamble("System call prototypes.")
37 gen:write(string.format([[
70 gen:pad64(config.abiChanges("pair_64bit"))
83 gen:store(string.format("\n#ifdef %s\n\n", v.definition),
96 gen:write(v.prolog)
97 gen:store(v.prolog, 1)
99 gen:store(v.prolog, w.compatlevel * 10)
110 gen:write(string.format(
117 gen:write("#ifdef PAD64_REQUIRED\n")
120 gen:write(string.format([[
131 gen:write("#endif\n")
134 gen:write("};\n")
136 gen:write(string.format(
149 gen:store(string.format(
153 gen:store(string.format(
165 gen:store(string.format(
168 gen:store(string.format([[
175 gen:store("};\n", idx)
178 gen:write(string.format([[
187 gen:store(string.format([[
192 gen:store(string.format([[
207 gen:store(string.format("\n#endif /* %s */\n\n", v.definition),
211 gen:write(tbl.epilog)
212 gen:store(tbl.epilog, 1)
214 gen:store(tbl.epilog, w.compatlevel * 10)
217 if gen.storage_levels ~= nil then
218 gen:writeStorage()
222 gen:write(string.format([[