Home | History | Annotate | Download | only in scripts

Lines Matching defs:Iter

189 def Iter(n, format, sep=''):
197 Iter(3, 'v%s', sep=', ') returns 'v1, v2, v3'.
211 'vs' : Iter(n, 'v%s', sep=', '),
212 'vts' : Iter(n, '#v%s', sep=', '),
223 impl += Iter(n, """,
229 impl += Iter(n, """,
235 impl += Iter(n, """,
245 impl += Iter(n, """
250 impl += Iter(n, """
267 impl += Iter(n, """, \\
273 impl += Iter(n, """, \\
417 'es' : Iter(n, 'e%s', sep=', '),
418 'vs' : Iter(n, 'v%s', sep=', '),
419 'vts' : Iter(n, '#v%s', sep=', '),
420 'tvs' : Iter(n, 'T%s v%s', sep=', '),
421 'int_vs' : Iter(n, 'int v%s', sep=', '),
422 'Bool_vs' : Iter(n, 'Bool v%s', sep=', '),
423 'types' : Iter(n, 'typename T%s', sep=', '),
424 'v_sum' : Iter(n, 'v%s', sep=' + '),
455 tests += Iter(n, 'const T%s& v%s', sep=""",
469 tests += Iter(n, 'const char* e%s', sep=""",
472 tests += Iter(n, """,
482 tests += Iter(n, 'e%s', sep=' << " + " << ')
496 tests += Iter(n, 'const char* e%s', sep=""",
499 tests += Iter(n, """,
518 """ + Iter(n, 'n%s_ = ') + """0;
550 tests += Iter(n, """
560 tests += Iter(n, """int Predicate%%(n)sTest::n%s_;
678 test += Iter(n, ',\n' + indent + extra_indent + '%(arg)s' % defs)