Home
last modified time | relevance | path

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

/libCEED/include/ceed/
H A Djit-tools.h20 …PathConcatenate(Ceed ceed, const char *base_file_path, const char *relative_file_path, char **new_…
21 …EXTERN int CeedGetJitRelativePath(const char *absolute_file_path, const char **relative_file_path);
22 CEED_EXTERN int CeedGetJitAbsolutePath(Ceed ceed, const char *relative_file_path, const char **abso…
/libCEED/interface/
H A Dceed-jit-tools.c368 int CeedPathConcatenate(Ceed ceed, const char *base_file_path, const char *relative_file_path, char… in CeedPathConcatenate() argument
370 …ze_t base_length = (last_slash - base_file_path + 1), relative_length = strlen(relative_file_path), in CeedPathConcatenate()
375 memcpy(&((*new_file_path)[base_length]), relative_file_path, relative_length); in CeedPathConcatenate()
389 int CeedGetJitRelativePath(const char *absolute_file_path, const char **relative_file_path) { in CeedGetJitRelativePath() argument
390 *(relative_file_path) = strstr(absolute_file_path, "ceed/jit-source"); in CeedGetJitRelativePath()
391 …CeedCheck(*relative_file_path, NULL, CEED_ERROR_MAJOR, "Couldn't find relative path including 'cee… in CeedGetJitRelativePath()
406 int CeedGetJitAbsolutePath(Ceed ceed, const char *relative_file_path, const char **absolute_file_pa… in CeedGetJitAbsolutePath() argument
413 CeedDebug(ceed, "%s\n", relative_file_path); in CeedGetJitAbsolutePath()
424 …CeedCall(CeedPathConcatenate(ceed, jit_source_dirs[i], relative_file_path, (char **)absolute_file_… in CeedGetJitAbsolutePath()
437 …eedError(ceed, CEED_ERROR_MAJOR, "Couldn't find matching JiT source file: %s", relative_file_path); in CeedGetJitAbsolutePath()
H A Dceed-qfunction.c66 const char *relative_file_path; in CeedQFunctionRegister() local
70 CeedCall(CeedGetJitRelativePath(source, &relative_file_path)); in CeedQFunctionRegister()
75 strncpy(gallery_qfunctions[num_qfunctions].source, relative_file_path, CEED_MAX_RESOURCE_LEN); in CeedQFunctionRegister()