Searched refs:last_slash (Results 1 – 3 of 3) sorted by relevance
| /libCEED/interface/ |
| H A D | ceed-jit-tools.c | 96 char *last_slash = &first_dot[-2]; in CeedNormalizePath() local 98 while (last_slash[0] != '/' && last_slash != *normalized_source_file_path) last_slash--; in CeedNormalizePath() 99 …CeedCheck(last_slash != *normalized_source_file_path, ceed, CEED_ERROR_MAJOR, "Malformed source pa… in CeedNormalizePath() 100 for (CeedInt i = 0; first_dot[i + 1]; i++) last_slash[i] = first_dot[i + 2]; in CeedNormalizePath() 101 search_from = last_slash; in CeedNormalizePath() 369 char *last_slash = strrchr(base_file_path, '/'); in CeedPathConcatenate() local 370 …size_t base_length = (last_slash - base_file_path + 1), relative_length = strlen(relative_file_pat… in CeedPathConcatenate()
|
| /libCEED/tests/ |
| H A D | t406-qfunction.c | 23 char *last_slash = strrchr(file_path, '/'); in main() local 25 memcpy(&file_path[last_slash - file_path], "/test-include/", 15); in main()
|
| /libCEED/examples/rust-qfunctions/ |
| H A D | ex1-volume.c | 127 char *last_slash = strrchr(root, '/'); in main() local 129 strncpy(last_slash + 1, "ex1-volume-rs", 14); in main()
|