Lines Matching full:do
91 File.open(output_file, 'w') do |output|
107 File.open(@options[:header_file], 'w') do |output|
134 lines.each_with_index do |line, _index|
148 (1...type_and_args.length).step(2).each do |i|
154 …an(/(\[|<)\s*(-?\d+.?\d*)\s*,\s*(-?\d+.?\d*)\s*,\s*(-?\d+.?\d*)\s*(\]|>)/m).map do |arg_values_str|
156 arg_values_str[1...-1].map do |arg_value_str|
159 end.map do |arg_values|
161 end.reduce(nil) do |result, arg_range_expanded|
163 end.map do |arg_combinations|
172 args += type_and_args[i + 1].scan(args_regex).flatten.map do |arg_values_str|
174 end.reduce do |result, arg_range_expanded|
176 end.map do |arg_combinations|
191 tests_and_line_numbers.size.times do |i|
192 source_lines[source_index..].each_with_index do |line, index|
220 includes.each do |include_path|
235 output.puts('/* AUTOGENERATED FILE. DO NOT EDIT. */')
243 @options[:defines].each do |d|
251 @options[:includes].flatten.uniq.compact.each do |inc|
254 testfile_includes.each do |inc|
259 mocks.each do |mock|
278 tests.each do |test|
297 mocks.each do |mock|
305 mocks.each do |mock|
313 mocks.each do |mock|
383 tests.each do |test|
386 test[:args].each.with_index(1) do |args, idx|
411 tests.each do |test|
416 test[:args].each do |args|
440 tests.each do |test|
444 test[:args].each.with_index(1) do |args, idx|
467 output.puts('/* AUTOGENERATED FILE. DO NOT EDIT. */')
472 @options[:includes].flatten.uniq.compact.each do |inc|
475 testfile_includes.each do |inc|
479 tests.each do |test|
494 ARGV.reject! do |arg|