Lines Matching refs:fprintf

184   fprintf (stream, "\"");  in write_csharp_string()
190 fprintf (stream, "\\0"); in write_csharp_string()
192 fprintf (stream, "\\a"); in write_csharp_string()
194 fprintf (stream, "\\b"); in write_csharp_string()
196 fprintf (stream, "\\t"); in write_csharp_string()
198 fprintf (stream, "\\n"); in write_csharp_string()
200 fprintf (stream, "\\v"); in write_csharp_string()
202 fprintf (stream, "\\f"); in write_csharp_string()
204 fprintf (stream, "\\r"); in write_csharp_string()
206 fprintf (stream, "\\\""); in write_csharp_string()
208 fprintf (stream, "\\\\"); in write_csharp_string()
210 fprintf (stream, "%c", uc); in write_csharp_string()
212 fprintf (stream, "\\u%c%c%c%c", in write_csharp_string()
216 fprintf (stream, "\\U%c%c%c%c%c%c%c%c", in write_csharp_string()
222 fprintf (stream, "\""); in write_csharp_string()
237 fprintf (stream, "new System.String[] { "); in write_csharp_msgstr()
243 fprintf (stream, ", "); in write_csharp_msgstr()
246 fprintf (stream, " }"); in write_csharp_msgstr()
306 fprintf (stream, "%s", exp->val.num ? "true" : "false"); in write_csharp_expression()
309 fprintf (stream, "(!"); in write_csharp_expression()
311 fprintf (stream, ")"); in write_csharp_expression()
314 fprintf (stream, "("); in write_csharp_expression()
316 fprintf (stream, " < "); in write_csharp_expression()
318 fprintf (stream, ")"); in write_csharp_expression()
321 fprintf (stream, "("); in write_csharp_expression()
323 fprintf (stream, " > "); in write_csharp_expression()
325 fprintf (stream, ")"); in write_csharp_expression()
328 fprintf (stream, "("); in write_csharp_expression()
330 fprintf (stream, " <= "); in write_csharp_expression()
332 fprintf (stream, ")"); in write_csharp_expression()
335 fprintf (stream, "("); in write_csharp_expression()
337 fprintf (stream, " >= "); in write_csharp_expression()
339 fprintf (stream, ")"); in write_csharp_expression()
342 fprintf (stream, "("); in write_csharp_expression()
344 fprintf (stream, " == "); in write_csharp_expression()
346 fprintf (stream, ")"); in write_csharp_expression()
349 fprintf (stream, "("); in write_csharp_expression()
351 fprintf (stream, " != "); in write_csharp_expression()
353 fprintf (stream, ")"); in write_csharp_expression()
356 fprintf (stream, "("); in write_csharp_expression()
358 fprintf (stream, " && "); in write_csharp_expression()
360 fprintf (stream, ")"); in write_csharp_expression()
363 fprintf (stream, "("); in write_csharp_expression()
365 fprintf (stream, " || "); in write_csharp_expression()
367 fprintf (stream, ")"); in write_csharp_expression()
373 fprintf (stream, "("); in write_csharp_expression()
375 fprintf (stream, " ? "); in write_csharp_expression()
377 fprintf (stream, " : "); in write_csharp_expression()
379 fprintf (stream, ")"); in write_csharp_expression()
389 fprintf (stream, "("); in write_csharp_expression()
391 fprintf (stream, " != 0)"); in write_csharp_expression()
403 fprintf (stream, "n"); in write_csharp_expression()
406 fprintf (stream, "%lu", exp->val.num); in write_csharp_expression()
409 fprintf (stream, "("); in write_csharp_expression()
411 fprintf (stream, " * "); in write_csharp_expression()
413 fprintf (stream, ")"); in write_csharp_expression()
416 fprintf (stream, "("); in write_csharp_expression()
418 fprintf (stream, " / "); in write_csharp_expression()
420 fprintf (stream, ")"); in write_csharp_expression()
423 fprintf (stream, "("); in write_csharp_expression()
425 fprintf (stream, " %% "); in write_csharp_expression()
427 fprintf (stream, ")"); in write_csharp_expression()
430 fprintf (stream, "("); in write_csharp_expression()
432 fprintf (stream, " + "); in write_csharp_expression()
434 fprintf (stream, ")"); in write_csharp_expression()
437 fprintf (stream, "("); in write_csharp_expression()
439 fprintf (stream, " - "); in write_csharp_expression()
441 fprintf (stream, ")"); in write_csharp_expression()
444 fprintf (stream, "("); in write_csharp_expression()
446 fprintf (stream, " ? "); in write_csharp_expression()
448 fprintf (stream, " : "); in write_csharp_expression()
450 fprintf (stream, ")"); in write_csharp_expression()
461 fprintf (stream, "("); in write_csharp_expression()
463 fprintf (stream, " ? 1 : 0)"); in write_csharp_expression()
484 fprintf (stream, in write_csharp_code()
489 fprintf (stream, "using GNU.Gettext;\n"); in write_csharp_code()
494 fprintf (stream, "[assembly: System.Reflection.AssemblyCulture("); in write_csharp_code()
496 fprintf (stream, ")]\n"); in write_csharp_code()
501 fprintf (stream, "namespace "); in write_csharp_code()
503 fprintf (stream, " {\n"); in write_csharp_code()
508 fprintf (stream, "public class %s : GettextResourceSet {\n", in write_csharp_code()
518 fprintf (stream, " public %s ()\n", class_name_last_part); in write_csharp_code()
519 fprintf (stream, " : base () {\n"); in write_csharp_code()
520 fprintf (stream, " }\n"); in write_csharp_code()
523 fprintf (stream, " protected override void ReadResources () {\n"); in write_csharp_code()
527 fprintf (stream, " if (Table == null)\n"); in write_csharp_code()
528 fprintf (stream, " Table = new System.Collections.Hashtable();\n"); in write_csharp_code()
529 fprintf (stream, " System.Collections.Hashtable t = Table;\n"); in write_csharp_code()
532 fprintf (stream, " t.Add("); in write_csharp_code()
534 fprintf (stream, ","); in write_csharp_code()
536 fprintf (stream, ");\n"); in write_csharp_code()
538 fprintf (stream, " }\n"); in write_csharp_code()
543 fprintf (stream, " public static System.Collections.Hashtable GetMsgidPluralTable () {\n"); in write_csharp_code()
544fprintf (stream, " System.Collections.Hashtable t = new System.Collections.Hashtable();\n"); in write_csharp_code()
548 fprintf (stream, " t.Add("); in write_csharp_code()
550 fprintf (stream, ","); in write_csharp_code()
552 fprintf (stream, ");\n"); in write_csharp_code()
554 fprintf (stream, " return t;\n"); in write_csharp_code()
555 fprintf (stream, " }\n"); in write_csharp_code()
569 fprintf (stream, " protected override long PluralEval (long n) {\n"); in write_csharp_code()
570 fprintf (stream, " return "); in write_csharp_code()
572 fprintf (stream, ";\n"); in write_csharp_code()
573 fprintf (stream, " }\n"); in write_csharp_code()
577 fprintf (stream, "}\n"); in write_csharp_code()
581 fprintf (stream, "}\n"); in write_csharp_code()