Lines Matching refs:text

34     def __init__(self, name, text):  argument
38 self.text = text
42 header_tests.compile_test(self.name, self.text)
48 def __init__(self, name, text): argument
52 self.text = text
56 header_tests.execute_test(self.name, self.text)
72 text = ('%(type_name)s a_%(num)d;\n'
85 text))
86 text = ('%(type_name)s a2_%(num)d;\n'
92 text))
117 text = ('#ifndef %(symbol)s\n'
123 text))
125 text = ('__typeof__ (%(symbol)s) a_%(num)d = %(symbol)s;\n'
129 text))
151 text = ('#if %s < 0\n'
169 text))
173 text = ('__typeof__ ((%s) 0 + (%s) 0) a2_%d;\n'
176 text = '__typeof__ ((%s) 0) a2_%d;\n' % (self.c_type, self.num)
177 text += 'extern __typeof__ (%s) a2_%d;\n' % (self.symbol, self.num)
180 text))
182 text = ('_Static_assert (%(symbol)s %(op)s %(value)s, '
187 text))
201 text = ('void foobarbaz_%(num)d (void) {\n'
207 text))
209 text = ('int main (void) { return %(symbol)s != %(symbol)s; }\n'
213 text))
234 text = ('%s %sa_%d;\n'
238 text))
258 text = ('void foo_%(num)d (%(type_name)s *);\n'
263 text))
284 text = ('%(return_type)s (*foobarbaz_%(num)d) %(args)s '
289 text))
290 text = ('extern %(return_type)s (*foobarbaz2_%(num)d) %(args)s;\n'
295 text))
310 text = ('typedef %(var_type)s xyzzy_%(num)d%(rest)s;\n'
315 text))
316 text = ('extern %(var_type)s %(var_name)s%(rest)s;\n'
320 text))
335 text = ('#ifndef %(function_name)s\n'
342 text))
343 text = ('#ifndef %(function_name)s\n'
350 text))
364 text = ('#ifndef %(macro_name)s\n'
370 text))
372 text = ('extern int (strcmp)(const char *, const char *);\n'
378 text))
555 def compile_test(self, name, text): argument
568 c_file_out.write('#include <%s>\n%s' % (self.header, text))
585 def execute_test(self, name, text): argument
596 c_file_out.write('#include <%s>\n%s' % (self.header, text))
687 combined_list.append(subtest.text)