Lines Matching refs:codefile
41 fprintf (codefile, in encode_primitive()
117 fprintf (codefile, in encode_type()
124 fprintf(codefile, in encode_type()
129 fprintf(codefile, "}\n;"); in encode_type()
161 fprintf (codefile, "{\n" in encode_type()
164 fprintf (codefile, in encode_type()
189 fprintf (codefile, in encode_type()
191 fprintf (codefile, in encode_type()
195 fprintf (codefile, in encode_type()
206 fprintf (codefile, in encode_type()
210 fprintf (codefile, in encode_type()
214 fprintf (codefile, in encode_type()
219 fprintf (codefile, in encode_type()
221 fprintf (codefile, in encode_type()
225 fprintf (codefile, in encode_type()
238 fprintf (codefile, in encode_type()
269 fprintf(codefile, "/* %s */\n", m->name); in encode_type()
271 fprintf (codefile, in encode_type()
276 fprintf (codefile, "{\n"); in encode_type()
277 fprintf (codefile, "size_t %s_oldret HEIMDAL_UNUSED_ATTRIBUTE = ret;\n", tmpstr); in encode_type()
278 fprintf (codefile, "ret = 0;\n"); in encode_type()
280 fprintf (codefile, "ret += %s_oldret;\n", tmpstr); in encode_type()
281 fprintf (codefile, "}\n"); in encode_type()
288 fprintf(codefile, in encode_type()
294 fprintf(codefile, in encode_type()
299 fprintf(codefile, in encode_type()
304 fprintf(codefile, in encode_type()
308 fprintf(codefile, in encode_type()
314 fprintf(codefile, in encode_type()
327 fprintf(codefile, in encode_type()
337 fprintf(codefile, in encode_type()
341 fprintf (codefile, in encode_type()
357 fprintf (codefile, in encode_type()
367 fprintf (codefile, in encode_type()
393 fprintf (codefile, in encode_type()
409 fprintf(codefile, "\n"); in encode_type()
413 fprintf(codefile, "switch(%s->element) {\n", s); in encode_type()
423 fprintf (codefile, "case %s: {", m->label); in encode_type()
428 fprintf (codefile, "if(%s) {\n", s2); in encode_type()
429 fprintf (codefile, "size_t %s_oldret = ret;\n", tmpstr); in encode_type()
430 fprintf (codefile, "ret = 0;\n"); in encode_type()
432 fprintf (codefile, "ret += %s_oldret;\n", tmpstr); in encode_type()
434 fprintf (codefile, "}\n"); in encode_type()
435 fprintf(codefile, "break;\n"); in encode_type()
436 fprintf(codefile, "}\n"); in encode_type()
441 fprintf(codefile, in encode_type()
457 fprintf(codefile, "};\n"); in encode_type()
493 fprintf (codefile, "/* NULL */\n"); in encode_type()
505 fprintf (codefile, "int ASN1CALL\n" in generate_type_encode()
536 fprintf (codefile, in generate_type_encode()
543 fprintf (codefile, "*size = ret;\n" in generate_type_encode()
549 fprintf (codefile, "}\n\n"); in generate_type_encode()