path             2519 src/dps8/dps8_sys.c     char path[(source_search_path ? strlen (source_search_path) : 1) +
path             2528 src/dps8/dps8_sys.c         strncpy (path, searchp, pathlen);
path             2529 src/dps8/dps8_sys.c         path[pathlen] = '\0';
path             2537 src/dps8/dps8_sys.c             strcat (path, "/");
path             2538 src/dps8/dps8_sys.c             strcat (path, compname);
path             2540 src/dps8/dps8_sys.c         strcat (path, ".list");
path             2542 src/dps8/dps8_sys.c         FILE * listing = fopen (path, "r");
path              414 src/libsir/include/sir.h sirfileid sir_addfile(const char* path, sir_levels levels, sir_options opts);
path              463 src/libsir/include/sir.h sirpluginid sir_loadplugin(const char* path);
path               40 src/libsir/include/sir/filecache.h sirfileid _sir_addfile(const char* path, sir_levels levels, sir_options opts);
path               44 src/libsir/include/sir/filecache.h sirfile* _sirfile_create(const char* path, sir_levels levels, sir_options opts);
path               58 src/libsir/include/sir/filecache.h sirfileid _sir_fcache_add(sirfcache* sfc, const char* path, sir_levels levels,
path               57 src/libsir/include/sir/filesystem.h bool _sir_pathgetstat(const char* restrict path, struct stat* restrict st, sir_rel_to rel_to);
path               58 src/libsir/include/sir/filesystem.h bool _sir_pathexists(const char* restrict path, bool* restrict exists, sir_rel_to rel_to);
path               59 src/libsir/include/sir/filesystem.h bool _sir_openfile(FILE* restrict* restrict f, const char* restrict path,
path               68 src/libsir/include/sir/filesystem.h char* _sir_getbasename(char* restrict path);
path               69 src/libsir/include/sir/filesystem.h char* _sir_getdirname(char* restrict path);
path               71 src/libsir/include/sir/filesystem.h bool _sir_ispathrelative(const char* restrict path, bool* restrict relative);
path               72 src/libsir/include/sir/filesystem.h bool _sir_getrelbasepath(const char* restrict path, bool* restrict relative,
path               75 src/libsir/include/sir/filesystem.h bool _sir_deletefile(const char* restrict path);
path               81 src/libsir/include/sir/filesystem.h ssize_t _sir_readlink(const char* restrict path, char* restrict buf, size_t bufsize)
path               83 src/libsir/include/sir/filesystem.h     return readlink(path, buf, bufsize); /* flawfinder: ignore */
path               96 src/libsir/include/sir/filesystem.h int _sir_resolvepath(const char* restrict path, char* restrict buffer, size_t size);
path               39 src/libsir/include/sir/plugins.h sirpluginid _sir_plugin_load(const char* path);
path              314 src/libsir/include/sir/types.h     const char* path;
path              369 src/libsir/include/sir/types.h     const char* path;
path              132 src/libsir/src/sir.c sirfileid sir_addfile(const char* path, sir_levels levels, sir_options opts) {
path              133 src/libsir/src/sir.c     return _sir_addfile(path, levels, opts);
path              140 src/libsir/src/sir.c sirpluginid sir_loadplugin(const char* path) {
path              142 src/libsir/src/sir.c     return _sir_plugin_load(path);
path              144 src/libsir/src/sir.c     SIR_UNUSED(path);
path               38 src/libsir/src/sirfilecache.c sirfileid _sir_addfile(const char* path, sir_levels levels, sir_options opts) {
path               49 src/libsir/src/sirfilecache.c     sirfileid retval = _sir_fcache_add(sfc, path, levels, opts);
path               81 src/libsir/src/sirfilecache.c sirfile* _sirfile_create(const char* path, sir_levels levels, sir_options opts) {
path               82 src/libsir/src/sirfilecache.c     if (!_sir_validstr(path) || !_sir_validlevels(levels) || !_sir_validopts(opts))
path               91 src/libsir/src/sirfilecache.c     sf->path = strndup(path, strnlen(path, SIR_MAXPATH));
path               92 src/libsir/src/sirfilecache.c     if (!sf->path) {
path              110 src/libsir/src/sirfilecache.c     bool retval = _sir_validptr(sf) && _sir_validstr(sf->path);
path              114 src/libsir/src/sirfilecache.c         retval = _sir_openfile(&f, sf->path, SIR_FOPENMODE, SIR_PATH_REL_TO_CWD);
path              119 src/libsir/src/sirfilecache.c             sf->id = FNV32_1a((const uint8_t*)sf->path, strnlen(sf->path, SIR_MAXPATH));
path              185 src/libsir/src/sirfilecache.c             getstat = stat(sf->path, &st);
path              261 src/libsir/src/sirfilecache.c                                         " not rolling!", sf->path);
path              281 src/libsir/src/sirfilecache.c             " rolling...", sf->path, sf->id, SIR_FROLLSIZE);
path              294 src/libsir/src/sirfilecache.c                 sf->path, sf->id);
path              306 src/libsir/src/sirfilecache.c         if (0 != rename(sf->path, newpath)) {
path              311 src/libsir/src/sirfilecache.c                 _sir_selflog("archived '%s' " SIR_R_ARROW " '%s'", sf->path, newpath);
path              327 src/libsir/src/sirfilecache.c         char* tmp = strndup(sf->path, strnlen(sf->path, SIR_MAXPATH));
path              344 src/libsir/src/sirfilecache.c             *ext = strndup(sf->path + namesize, strnlen(sf->path + namesize, SIR_MAXPATH));
path              347 src/libsir/src/sirfilecache.c             *name = strndup(sf->path, strnlen(sf->path, SIR_MAXPATH));
path              360 src/libsir/src/sirfilecache.c         _sir_safefree(&(*sf)->path);
path              367 src/libsir/src/sirfilecache.c            _sir_validstrnofail(sf->path) && _sir_validfileid(sf->id);
path              407 src/libsir/src/sirfilecache.c sirfileid _sir_fcache_add(sirfcache* sfc, const char* path, sir_levels levels,
path              409 src/libsir/src/sirfilecache.c     if (!_sir_validptr(sfc) || !_sir_validstr(path) || !_sir_validlevels(levels) ||
path              416 src/libsir/src/sirfilecache.c     const sirfile* existing = _sir_fcache_find(sfc, (const void*)path, _sir_fcache_pred_path);
path              419 src/libsir/src/sirfilecache.c             path, existing->id);
path              423 src/libsir/src/sirfilecache.c     sirfile* sf = _sirfile_create(path, levels, opts);
path              426 src/libsir/src/sirfilecache.c             sf->path, sf->id, sfc->count + 1);
path              432 src/libsir/src/sirfilecache.c                 sf->path, sf->id);
path              463 src/libsir/src/sirfilecache.c                     sfc->files[n]->path, sfc->files[n]->id, sfc->count - 1);
path              491 src/libsir/src/sirfilecache.c     const char* path = (const char*)match;
path              494 src/libsir/src/sirfilecache.c     _sir_selflog("comparing '%s' == '%s'", path, iter->path);
path              505 src/libsir/src/sirfilecache.c     const char* real1 = realpath(path, resolved1);
path              506 src/libsir/src/sirfilecache.c     const char* real2 = realpath(iter->path, resolved2);
path              512 src/libsir/src/sirfilecache.c         (!stat(path, &st1) && !stat(iter->path, &st2))) {
path              514 src/libsir/src/sirfilecache.c         _sir_selflog("returning %d for '%s' == '%s'", equal, path, iter->path);
path              532 src/libsir/src/sirfilecache.c     HANDLE h1 = CreateFileA(path, 0, sh_flags, NULL, open_type, attr_flags, NULL);
path              533 src/libsir/src/sirfilecache.c     HANDLE h2 = CreateFileA(iter->path,0, sh_flags, NULL, open_type, attr_flags, NULL);
path              540 src/libsir/src/sirfilecache.c         _sir_selflog("returning %d for '%s' == '%s'", equal, path, iter->path);
path              544 src/libsir/src/sirfilecache.c         if (GetFullPathNameA(path, SIR_MAXPATH, resolved1, NULL) &&
path              545 src/libsir/src/sirfilecache.c             GetFullPathNameA(iter->path, SIR_MAXPATH, resolved2, NULL))
path              615 src/libsir/src/sirfilecache.c                             level, sfc->files[n]->levels, sfc->files[n]->path,
path              632 src/libsir/src/sirfilecache.c                     sfc->files[n]->path, sfc->files[n]->id);
path               44 src/libsir/src/sirfilesystem.c bool _sir_pathgetstat(const char* restrict path, struct stat* restrict st, sir_rel_to rel_to) {
path               45 src/libsir/src/sirfilesystem.c     if (!_sir_validstr(path) || !_sir_validptr(st))
path               54 src/libsir/src/sirfilesystem.c     if (!_sir_getrelbasepath(path, &relative, &base_path, rel_to))
path               86 src/libsir/src/sirfilesystem.c         stat_ret = fstatat(fd, path, st, AT_SYMLINK_NOFOLLOW);
path               93 src/libsir/src/sirfilesystem.c             stat_ret = fstatat(fd, path, st, AT_SYMLINK_NOFOLLOW);
path               96 src/libsir/src/sirfilesystem.c             (void)snprintf(abs_path, SIR_MAXPATH, "%s/%s", base_path, path);
path              103 src/libsir/src/sirfilesystem.c         stat_ret = stat(path, st);
path              107 src/libsir/src/sirfilesystem.c         (void)snprintf(abs_path, SIR_MAXPATH, "%s\\%s", base_path, path);
path              125 src/libsir/src/sirfilesystem.c         stat_ret = stat(path, st);
path              134 src/libsir/src/sirfilesystem.c bool _sir_pathexists(const char* path, bool* exists, sir_rel_to rel_to) {
path              135 src/libsir/src/sirfilesystem.c     if (!_sir_validstr(path) || !_sir_validptr(exists))
path              141 src/libsir/src/sirfilesystem.c     bool stat_ret  = _sir_pathgetstat(path, &st, rel_to);
path              149 src/libsir/src/sirfilesystem.c bool _sir_openfile(FILE* restrict* restrict f, const char* restrict path,
path              151 src/libsir/src/sirfilesystem.c     if (!_sir_validptrptr(f) || !_sir_validstr(path) || !_sir_validstr(mode))
path              157 src/libsir/src/sirfilesystem.c     if (!_sir_getrelbasepath(path, &relative, &base_path, rel_to))
path              162 src/libsir/src/sirfilesystem.c         (void)snprintf(abs_path, SIR_MAXPATH, "%s/%s", base_path, path);
path              169 src/libsir/src/sirfilesystem.c     return 0 == _sir_fopen(f, path, mode);
path              386 src/libsir/src/sirfilesystem.c char* _sir_getbasename(char* restrict path) {
path              387 src/libsir/src/sirfilesystem.c     if (!_sir_validstr(path))
path              391 src/libsir/src/sirfilesystem.c     return basename(path);
path              393 src/libsir/src/sirfilesystem.c     return PathFindFileNameA(path);
path              397 src/libsir/src/sirfilesystem.c char* _sir_getdirname(char* restrict path) {
path              398 src/libsir/src/sirfilesystem.c     if (!_sir_validstr(path))
path              402 src/libsir/src/sirfilesystem.c     return dirname(path);
path              404 src/libsir/src/sirfilesystem.c     (void)PathRemoveFileSpecA((LPSTR)path);
path              405 src/libsir/src/sirfilesystem.c     return path;
path              409 src/libsir/src/sirfilesystem.c bool _sir_ispathrelative(const char* restrict path, bool* restrict relative) {
path              410 src/libsir/src/sirfilesystem.c     bool valid = _sir_validstr(path) && _sir_validptr(relative);
path              414 src/libsir/src/sirfilesystem.c         if (path[0] == '/' || (path[0] == '~' && path[1] == '/'))
path              419 src/libsir/src/sirfilesystem.c         *relative = (TRUE == PathIsRelativeA(path));
path              426 src/libsir/src/sirfilesystem.c bool _sir_getrelbasepath(const char* restrict path, bool* restrict relative,
path              428 src/libsir/src/sirfilesystem.c     if (!_sir_validstr(path) || !_sir_validptr(relative) ||
path              429 src/libsir/src/sirfilesystem.c         !_sir_validptrptr(base_path) || !_sir_ispathrelative(path, relative))
path              532 src/libsir/src/sirfilesystem.c         char* path = getenv("PATH");
path              533 src/libsir/src/sirfilesystem.c         if (sizeof(clonedpath) <= strnlen(path, SIR_MAXPATH))
path              536 src/libsir/src/sirfilesystem.c         (void)_sir_strncpy(clonedpath, SIR_MAXPATH, path, SIR_MAXPATH);
path              623 src/libsir/src/sirfilesystem.c bool _sir_deletefile(const char* restrict path) {
path              624 src/libsir/src/sirfilesystem.c     if (!_sir_validstr(path))
path              628 src/libsir/src/sirfilesystem.c     return (0 == unlink(path)) ? true : _sir_handleerr(errno);
path              630 src/libsir/src/sirfilesystem.c     return (FALSE != DeleteFileA(path)) ? true : _sir_handlewin32err(GetLastError());
path              682 src/libsir/src/sirfilesystem.c int _sir_resolvepath(const char* restrict path, char* restrict buffer, size_t size) {
path              683 src/libsir/src/sirfilesystem.c     if (!_sir_validstr(path) || !_sir_validptr(buffer))
path              690 src/libsir/src/sirfilesystem.c     size_t pathlen         = strnlen(path, SIR_MAXPATH);
path              705 src/libsir/src/sirfilesystem.c                 (void)memcpy(tmp + (end - cursor) + 1, path, pathlen + 1);
path               35 src/libsir/src/sirplugins.c sirpluginid _sir_plugin_load(const char* path) {
path               39 src/libsir/src/sirplugins.c     if (!_sir_sanity() || !_sir_validstr(path))
path               47 src/libsir/src/sirplugins.c     plugin->handle = dlopen(path, RTLD_NOW | RTLD_LOCAL);
path               50 src/libsir/src/sirplugins.c         _sir_selflog("error: dlopen('%s') failed (%s)", path, _SIR_PRNSTR(err));
path               56 src/libsir/src/sirplugins.c     plugin->handle      = LoadLibraryA(path);
path               60 src/libsir/src/sirplugins.c         _sir_selflog("error: LoadLibraryA(%s) failed (%lu)", path, err);
path               67 src/libsir/src/sirplugins.c     plugin->path   = strndup(path, strnlen(path, SIR_MAXPATH));
path               69 src/libsir/src/sirplugins.c     if (!_sir_validstrnofail(plugin->path)) {
path               75 src/libsir/src/sirplugins.c         plugin->path, plugin->handle);
path               79 src/libsir/src/sirplugins.c     SIR_UNUSED(path);
path              110 src/libsir/src/sirplugins.c                          " '%s', addr: %p)!", plugin->path, plugin->handle);
path              124 src/libsir/src/sirplugins.c                          " query fn!", plugin->path, plugin->handle);
path              133 src/libsir/src/sirplugins.c                          " %"PRIu8"; libsir has %d", plugin->path, plugin->handle,
path              145 src/libsir/src/sirplugins.c                          " %04"PRIx16, plugin->path, plugin->handle, plugin->info.levels);
path              152 src/libsir/src/sirplugins.c                          " %08"PRIx32, plugin->path, plugin->handle, plugin->info.opts);
path              160 src/libsir/src/sirplugins.c                          " or description", plugin->path, plugin->handle);
path              175 src/libsir/src/sirplugins.c                 plugin->path, plugin->handle);
path              193 src/libsir/src/sirplugins.c                      plugin->path, plugin->id, plugin->info.maj_ver, plugin->info.min_ver,
path              201 src/libsir/src/sirplugins.c                          " cache; unloading", plugin->path, plugin->handle);
path              260 src/libsir/src/sirplugins.c                      " cleanup!", plugin->path, plugin->handle);
path              278 src/libsir/src/sirplugins.c     _sir_selflog("unloaded plugin (path: '%s', id: %08"PRIx32")", plugin->path,
path              328 src/libsir/src/sirplugins.c         _sir_safefree(&(*plugin)->path);
path              359 src/libsir/src/sirplugins.c             existing->path, plugin->id);
path              365 src/libsir/src/sirplugins.c     plugin->path, plugin->id, spc->count + 1);
path              413 src/libsir/src/sirplugins.c                 spc->plugins[n]->path, spc->plugins[n]->id, spc->count - 1);
path              472 src/libsir/src/sirplugins.c                          level, spc->plugins[n]->info.levels, spc->plugins[n]->path,
path              489 src/libsir/src/sirplugins.c                          " failed!", spc->plugins[n]->path, spc->plugins[n]->id);
path             1632 src/simh/scp.c   wchar_t path[MAX_PATH];
path             1633 src/simh/scp.c   if (!GetModuleFileNameW (ucrt, path, MAX_PATH))
path             1636 src/simh/scp.c   DWORD versionInfoSize = GetFileVersionInfoSizeW (path, NULL);
path             1642 src/simh/scp.c   if (!GetFileVersionInfoW (path, 0, versionInfoSize, versionInfo))
path              625 src/simh/scp.h                  const char *path);