Home
last modified time | relevance | path

Searched refs:source_file (Results 1 – 3 of 3) sorted by relevance

/libCEED/interface/
H A Dceed-jit-tools.c47 FILE *source_file; in CeedCheckFilePath() local
48 source_file = fopen(source_file_path_only, "rb"); in CeedCheckFilePath()
49 *is_valid = source_file; in CeedCheckFilePath()
55 fclose(source_file); in CeedCheckFilePath()
125 FILE *source_file; in CeedLoadSourceToInitializedBuffer() local
135 source_file = fopen(source_file_path, "rb"); in CeedLoadSourceToInitializedBuffer()
136 CeedCheck(source_file, ceed, CEED_ERROR_MAJOR, "Couldn't open source file: %s", source_file_path); in CeedLoadSourceToInitializedBuffer()
138 fseek(source_file, 0L, SEEK_END); in CeedLoadSourceToInitializedBuffer()
139 file_size = ftell(source_file); in CeedLoadSourceToInitializedBuffer()
140 fseek(source_file, 0L, SEEK_SET); in CeedLoadSourceToInitializedBuffer()
[all …]
/libCEED/examples/deal.II/
H A DCMakeLists.txt16 FOREACH ( source_file ${SOURCE_FILES} )
17 GET_FILENAME_COMPONENT(file_name ${source_file} NAME)
25 ADD_EXECUTABLE(${exec} ${source_file})
31 ENDFOREACH ( source_file ${SOURCE_FILES} )
/libCEED/tests/
H A Djunit_common.py375 def get_test_args(source_file: Path) -> List[TestSpec]:
388 if source_file.suffix in ['.c', '.cc', '.cpp']:
390 elif source_file.suffix in ['.py']:
392 elif source_file.suffix in ['.usr']:
394 elif source_file.suffix in ['.f90']:
399 return [parse_test_line(line.strip(comment_str).removeprefix("TESTARGS"), source_file.stem)
400 for line in source_file.read_text().splitlines()
401 …if line.startswith(f'{comment_str}TESTARGS')] or [TestSpec(source_file.stem, args=['{ceed_resource…