Home
last modified time | relevance | path

Searched refs:c_file (Results 1 – 17 of 17) sorted by relevance

/external/wayland/protocol/
Dgenerate-shm-formats.py81 with open(c_file_name, "w+") as c_file:
82 c_file.write('#include <inttypes.h>\n')
83 c_file.write('#include <stdint.h>\n')
84 c_file.write('#include <stdio.h>\n')
85 c_file.write('#include <drm_fourcc.h>\n')
86 c_file.write('\n')
87 c_file.write('int main(void) {\n')
89 c_file.write('printf("0x%" PRIX64 "\\n", (uint64_t)' + ident + ');\n')
90 c_file.write('}\n')
/external/ltp/testcases/open_posix_testsuite/scripts/
Dgenerate-makefiles.sh211 c_file="$test_name.c"
216 grep -q 'main' "$prereq_dir/$c_file" || echo >&2 "$prereq_dir/$c_file should be test."
219 grep -q 'main' "$prereq_dir/$c_file" && echo >&2 "$prereq_dir/$c_file should be run-test."
223 COMPILE_STR="\$(CC) $compiler_args \$(CFLAGS) \$(LDFLAGS) -o \$@ \$(srcdir)/$c_file"
229 $bin_file: \$(srcdir)/$c_file
/external/linux-kselftest/tools/testing/selftests/rcutorture/formal/srcu-cbmc/tests/
Dtest_script.sh60 c_file=`dirname "$2"`/test.c
80 echo "Running CBMC: ${CBMC} ${cbmc_opts} ${c_file}"
81 if ${CBMC} ${cbmc_opts} "${c_file}"; then
/external/python/cffi/cffi/
Dsetuptools_ext.py118 c_file = os.path.join(tmpdir, module_name + source_extension)
119 log.info("generating cffi module %r" % c_file)
127 updated = recompiler.make_c_source(ffi, module_name, source, c_file)
130 return c_file
Drecompiler.py1482 c_file=None, source_extension='.c', extradir=None, argument
1492 if c_file is None:
1493 c_file, parts = _modname_to_file(tmpdir, module_name,
1499 ext_c_file = c_file
1508 updated = make_c_source(ffi, module_name, preamble, c_file,
1534 if c_file is None:
1535 c_file, _ = _modname_to_file(tmpdir, module_name, '.py')
1536 updated = make_py_source(ffi, module_name, c_file,
1539 return c_file
Dapi.py692 c_file=filename, call_c_compiler=False, **kwds)
704 c_file=filename, call_c_compiler=False, **kwds)
/external/llvm/cmake/modules/
DAddOCaml.cmake104 foreach( c_file ${ARG_C} )
105 list(APPEND sources "${c_file}.c")
107 list(APPEND c_inputs "${bin}/${c_file}.c")
108 list(APPEND c_outputs "${bin}/${c_file}${CMAKE_C_OUTPUT_EXTENSION}")
/external/llvm-project/llvm/cmake/modules/
DAddOCaml.cmake113 foreach( c_file ${ARG_C} )
114 list(APPEND sources "${c_file}.c")
116 list(APPEND c_inputs "${bin}/${c_file}.c")
117 list(APPEND c_outputs "${bin}/${c_file}${CMAKE_C_OUTPUT_EXTENSION}")
/external/python/cffi/testing/cffi1/
Dtest_re_python.py30 c_file = tmpdir.join('_test_re_python.c')
31 c_file.write(SRC)
33 str(c_file),
Dtest_new_ffi_1.py1739 c_file = str(udir.join('test_emit_c_code'))
1740 ffi.emit_c_code(c_file)
1741 assert os.path.isfile(c_file)
/external/mesa3d/src/intel/perf/
Dgen_perf.py31 c_file = None variable
38 c_file.write(text.rstrip() + "\n")
42 c_file.write(''.rjust(_c_indent) + code)
44 c_file.write(code)
586 global c_file
596 c_file = open(args.code, 'w')
/external/python/cpython2/Lib/distutils/tests/
Dtest_build_ext.py273 c_file = os.path.join(tmp_dir, 'foo.c')
274 self.write_file(c_file, 'void initfoo(void) {};\n')
275 ext = Extension('foo', [c_file])
/external/python/cpython3/Lib/distutils/tests/
Dtest_build_ext.py336 c_file = os.path.join(tmp_dir, 'foo.c')
337 self.write_file(c_file, 'void PyInit_foo(void) {}\n')
338 ext = Extension('foo', [c_file], optional=False)
/external/python/cpython3/Lib/test/
Dtest_tabnanny.py250 with error_file as e_file, code_file as c_file:
/external/google-breakpad/src/client/linux/handler/
Dexception_handler_unittest.cc101 const char* c_file = file.c_str(); in CreateTMPFile() local
103 char* c_path = strdup(c_file); in CreateTMPFile()
/external/python/cpython3/Parser/
Dasdl_c.py1471 def main(input_file, c_file, h_file, dump_module=False): argument
1479 for file, writer in (c_file, write_source), (h_file, write_header):
/external/ltp/testcases/kernel/fs/doio/
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()