base_path 73 src/libsir/include/sir/filesystem.h const char* restrict* restrict base_path, sir_rel_to rel_to); base_path 52 src/libsir/src/sirfilesystem.c const char* base_path = NULL; base_path 54 src/libsir/src/sirfilesystem.c if (!_sir_getrelbasepath(path, &relative, &base_path, rel_to)) base_path 81 src/libsir/src/sirfilesystem.c int fd = open(base_path, open_flags); base_path 83 src/libsir/src/sirfilesystem.c _sir_safefree(&base_path); base_path 96 src/libsir/src/sirfilesystem.c (void)snprintf(abs_path, SIR_MAXPATH, "%s/%s", base_path, path); base_path 101 src/libsir/src/sirfilesystem.c _sir_safefree(&base_path); base_path 107 src/libsir/src/sirfilesystem.c (void)snprintf(abs_path, SIR_MAXPATH, "%s\\%s", base_path, path); base_path 114 src/libsir/src/sirfilesystem.c _sir_safefree(&base_path); base_path 123 src/libsir/src/sirfilesystem.c _sir_safefree(&base_path); base_path 155 src/libsir/src/sirfilesystem.c const char* base_path = NULL; base_path 157 src/libsir/src/sirfilesystem.c if (!_sir_getrelbasepath(path, &relative, &base_path, rel_to)) base_path 162 src/libsir/src/sirfilesystem.c (void)snprintf(abs_path, SIR_MAXPATH, "%s/%s", base_path, path); base_path 165 src/libsir/src/sirfilesystem.c _sir_safefree(&base_path); base_path 427 src/libsir/src/sirfilesystem.c const char* restrict* restrict base_path, sir_rel_to rel_to) { base_path 429 src/libsir/src/sirfilesystem.c !_sir_validptrptr(base_path) || !_sir_ispathrelative(path, relative)) base_path 434 src/libsir/src/sirfilesystem.c case SIR_PATH_REL_TO_APP: return NULL != (*base_path = _sir_getappdir()); base_path 435 src/libsir/src/sirfilesystem.c case SIR_PATH_REL_TO_CWD: return NULL != (*base_path = _sir_getcwd());