Home
last modified time | relevance | path

Searched refs:c_file (Results 1 - 8 of 8) sorted by relevance

/third_party/mbedtls/scripts/mbedtls_dev/
H A Dc_build_helper.py39 Return ```(c_file, c_name, exe_name)``` where ``c_file`` is a Python
49 c_file = os.fdopen(c_fd, 'w', encoding='ascii')
50 return c_file, c_name, exe_name
52 def generate_c_printf_expressions(c_file, cast_to, printf_format, expressions):
55 Write the code with ``c_file``'s ``write`` method.
61 c_file.write(' printf("{}\\n", ({}) {});\n'
64 def generate_c_file(c_file,
69 * ``c_file`` is an open stream on the C source file.
74 * ``main_generator``: a function called with ``c_file`` a
[all...]
/third_party/ltp/testcases/open_posix_testsuite/scripts/
H A Dgenerate-makefiles.sh225 c_file="$test_name.c"
230 grep -q 'main' "$prereq_dir/$c_file" || echo >&2 "$prereq_dir/$c_file should be test."
233 grep -q 'main' "$prereq_dir/$c_file" && echo >&2 "$prereq_dir/$c_file should be run-test."
237 COMPILE_STR="\$(CC) $compiler_args \$(CFLAGS) \$(LDFLAGS) -o \$@ \$(srcdir)/$c_file"
243 $bin_file: \$(srcdir)/$c_file
/third_party/mbedtls/tests/scripts/
H A Dgenerate_test_code.py1043 c_file, snippets):
1050 :param c_file: Output C file object
1055 snippets['test_file'] = c_file
1084 def write_test_source_file(template_file, c_file, snippets):
1089 :param c_file: Output source file
1106 with open(template_file, 'r') as template_f, open(c_file, 'w') as c_f:
1168 c_file: Output C file object
1178 c_file = input_info['c_file']
1193 c_file, snippet
[all...]
/third_party/mesa3d/src/intel/perf/
H A Dgen_perf.py34 c_file = None variable
41 c_file.write(text.rstrip() + "\n")
45 c_file.write(''.rjust(_c_indent) + code)
47 c_file.write(code)
744 global c_file
754 c_file = open(args.code, 'w')
/third_party/python/Lib/distutils/tests/
H A Dtest_build_ext.py342 c_file = os.path.join(tmp_dir, 'foo.c')
343 self.write_file(c_file, 'void PyInit_foo(void) {}\n')
344 ext = Extension('foo', [c_file], optional=False)
/third_party/python/Lib/test/
H A Dtest_tabnanny.py250 with error_file as e_file, code_file as c_file:
/third_party/python/Parser/
H A Dasdl_c.py1669 with c_filename.open("w") as c_file, \
1672 c_file.write(auto_gen_msg)
1677 write_source(mod, metadata, c_file, internal_h_file)
1692 main(args.input_file, args.c_file, args.h_file,
/third_party/ltp/testcases/kernel/fs/doio/
H A Ddoio.c124 char c_file[MAX_FNAME_LENGTH + 1]; member
4314 cp->c_oflags == oflags && strcmp(cp->c_file, file) == 0) { in alloc_fdcache()
4406 strcpy(free_slot->c_file, file); in alloc_fdcache()

Completed in 12 milliseconds