Lines Matching full:name

39  test name
298 def gen_function_wrapper(name, local_vars, args_dispatch): argument
303 :param name: Test function name
311 void {name}_wrapper( void ** params )
314 {name}( {args} );
316 '''.format(name=name,
323 def gen_dispatch(name, dependencies): argument
332 :param name: Test function name
340 {name}_wrapper,
344 '''.format(preprocessor_check=preprocessor_check, name=name)
347 {name}_wrapper,
348 '''.format(name=name)
362 headers = '#line %d "%s"\n' % (funcs_f.line_no + 1, funcs_f.name)
369 (funcs_f.name, end_regex))
416 str(error) + " - %s:%d" % (funcs_f.name, funcs_f.line_no))
421 " not found!" % (funcs_f.name,
496 def generate_function_code(name, code, local_vars, args_dispatch, argument
502 :param name: Function name
517 code += gen_function_wrapper(name, local_vars, args_dispatch)
575 :return: Function name, arguments, function code and dispatch code.
577 line_directive = '#line %d "%s"\n' % (funcs_f.line_no + 1, funcs_f.name)
591 name = match.group('func_name')
604 funcs_f.name)
606 # Prefix test function name with 'test_'
607 code = code.replace(name, 'test_' + name, 1)
608 name = 'test_' + name
619 "found!" % (funcs_f.name, END_CASE_REGEX))
622 code = generate_function_code(name, code, local_vars, args_dispatch,
624 dispatch_code = gen_dispatch(name, suite_dependencies + dependencies)
625 return (name, args, code, dispatch_code)
657 "%s:%d: %s" % (funcs_f.name, funcs_f.line_no,
666 (funcs_f.name, func_name, funcs_f.line_no))
699 Parses .data file for each test case name, test function name,
708 :return: Generator that yields test name, function name,
715 name = ''
728 (data_f.name, data_f.line_no, name))
732 # Read test name
733 name = line
745 (data_f.name, data_f.line_no))
751 yield name, test_function, dependencies, args
757 "%s" % (data_f.name, data_f.line_no, name))
914 This function reads test case name, dependencies and test vectors
942 # Write test function name
1012 :param template_file: Template file name
1045 :param funcs_file: Functions file name
1064 :param data_file: Data file name
1104 for name, path in [('Functions file', funcs_file),
1111 raise IOError("ERROR: %s [%s] not found!" % (name, path))