Home
last modified time | relevance | path

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

/libCEED/interface/
H A Dceed-jit-tools.c77 char *first_dot = strchr(*normalized_source_file_path, '.'); in CeedNormalizePath() local
79 while (first_dot) { in CeedNormalizePath()
80 char *search_from = first_dot + 1; in CeedNormalizePath()
84 …if (first_dot != *normalized_source_file_path && strlen(first_dot) > 2) memcpy(keyword, &first_dot in CeedNormalizePath()
88 for (CeedInt i = 0; first_dot[i - 1]; i++) first_dot[i] = first_dot[i + 2]; in CeedNormalizePath()
89 search_from = first_dot; in CeedNormalizePath()
92 …if (first_dot != *normalized_source_file_path && strlen(first_dot) > 3) memcpy(keyword, &first_dot in CeedNormalizePath()
96 char *last_slash = &first_dot[-2]; in CeedNormalizePath()
100 for (CeedInt i = 0; first_dot[i + 1]; i++) last_slash[i] = first_dot[i + 2]; in CeedNormalizePath()
104 first_dot = strchr(search_from, '.'); in CeedNormalizePath()