SIR_MAXPATH 217 src/dps8/dps8_topo.c char *temp_paths[SIR_MAXPATH]; SIR_MAXPATH 220 src/dps8/dps8_topo.c char line[SIR_MAXPATH]; SIR_MAXPATH 221 src/dps8/dps8_topo.c while (fgets(line, sizeof(line), fp) && temp_count < SIR_MAXPATH) { SIR_MAXPATH 343 src/dps8/dps8_topo.c char fullpath[SIR_MAXPATH]; SIR_MAXPATH 91 src/libsir/src/sirfilecache.c sf->path = strndup(path, strnlen(path, SIR_MAXPATH)); SIR_MAXPATH 119 src/libsir/src/sirfilecache.c sf->id = FNV32_1a((const uint8_t*)sf->path, strnlen(sf->path, SIR_MAXPATH)); SIR_MAXPATH 220 src/libsir/src/sirfilecache.c *newpath = (char*)calloc(SIR_MAXPATH, sizeof(char)); SIR_MAXPATH 229 src/libsir/src/sirfilecache.c (void)snprintf(*newpath, SIR_MAXPATH, SIR_FNAMEFORMAT, name, SIR_MAXPATH 327 src/libsir/src/sirfilecache.c char* tmp = strndup(sf->path, strnlen(sf->path, SIR_MAXPATH)); SIR_MAXPATH 334 src/libsir/src/sirfilecache.c SIR_ASSERT(namesize < SIR_MAXPATH); SIR_MAXPATH 344 src/libsir/src/sirfilecache.c *ext = strndup(sf->path + namesize, strnlen(sf->path + namesize, SIR_MAXPATH)); SIR_MAXPATH 347 src/libsir/src/sirfilecache.c *name = strndup(sf->path, strnlen(sf->path, SIR_MAXPATH)); SIR_MAXPATH 500 src/libsir/src/sirfilecache.c char resolved1[SIR_MAXPATH] = {0}; SIR_MAXPATH 501 src/libsir/src/sirfilecache.c char resolved2[SIR_MAXPATH] = {0}; SIR_MAXPATH 517 src/libsir/src/sirfilecache.c equal = 0 == strncmp(resolved1, resolved2, SIR_MAXPATH); SIR_MAXPATH 543 src/libsir/src/sirfilecache.c char resolved1[SIR_MAXPATH] = {0}, resolved2[SIR_MAXPATH] = {0}; SIR_MAXPATH 544 src/libsir/src/sirfilecache.c if (GetFullPathNameA(path, SIR_MAXPATH, resolved1, NULL) && SIR_MAXPATH 545 src/libsir/src/sirfilecache.c GetFullPathNameA(iter->path, SIR_MAXPATH, resolved2, NULL)) SIR_MAXPATH 95 src/libsir/src/sirfilesystem.c char abs_path[SIR_MAXPATH] = {0}; SIR_MAXPATH 96 src/libsir/src/sirfilesystem.c (void)snprintf(abs_path, SIR_MAXPATH, "%s/%s", base_path, path); SIR_MAXPATH 106 src/libsir/src/sirfilesystem.c char abs_path[SIR_MAXPATH] = {0}; SIR_MAXPATH 107 src/libsir/src/sirfilesystem.c (void)snprintf(abs_path, SIR_MAXPATH, "%s\\%s", base_path, path); SIR_MAXPATH 112 src/libsir/src/sirfilesystem.c char resolved_path[SIR_MAXPATH] = {0}; SIR_MAXPATH 113 src/libsir/src/sirfilesystem.c if (!GetFullPathNameA(abs_path, SIR_MAXPATH, resolved_path, NULL)) { SIR_MAXPATH 119 src/libsir/src/sirfilesystem.c (void)_sir_strlcpy(abs_path, resolved_path, SIR_MAXPATH); SIR_MAXPATH 161 src/libsir/src/sirfilesystem.c char abs_path[SIR_MAXPATH] = {0}; SIR_MAXPATH 162 src/libsir/src/sirfilesystem.c (void)snprintf(abs_path, SIR_MAXPATH, "%s/%s", base_path, path); SIR_MAXPATH 173 src/libsir/src/sirfilesystem.c static char cur_cwd[SIR_MAXPATH]; SIR_MAXPATH 187 src/libsir/src/sirfilesystem.c return strndup(cur_cwd, SIR_MAXPATH); SIR_MAXPATH 239 src/libsir/src/sirfilesystem.c size_t size = (st.st_size > 0) ? st.st_size + 2 : SIR_MAXPATH; SIR_MAXPATH 241 src/libsir/src/sirfilesystem.c size_t size = SIR_MAXPATH; SIR_MAXPATH 290 src/libsir/src/sirfilesystem.c if (size <= SIR_MAXPATH) { SIR_MAXPATH 291 src/libsir/src/sirfilesystem.c size = size + SIR_MAXPATH + 1L; SIR_MAXPATH 325 src/libsir/src/sirfilesystem.c find_path(B_APP_IMAGE_SYMBOL, B_FIND_PATH_IMAGE_PATH, NULL, buffer, SIR_MAXPATH); SIR_MAXPATH 384 src/libsir/src/sirfilesystem.c char* bname = strndup(retval, strnlen(retval, SIR_MAXPATH)); SIR_MAXPATH 398 src/libsir/src/sirfilesystem.c char* dname = strndup(retval, strnlen(retval, SIR_MAXPATH)); SIR_MAXPATH 463 src/libsir/src/sirfilesystem.c # define SIR_MAXSLPATH (SIR_MAXPATH + 16) SIR_MAXPATH 466 src/libsir/src/sirfilesystem.c char cwd[SIR_MAXPATH], cwdl[SIR_MAXPATH]; SIR_MAXPATH 467 src/libsir/src/sirfilesystem.c char symlink[SIR_MAXSLPATH], temp_buffer[SIR_MAXPATH]; SIR_MAXPATH 497 src/libsir/src/sirfilesystem.c (void)snprintf(symlink, SIR_MAXPATH, "%s", argv[0]); SIR_MAXPATH 499 src/libsir/src/sirfilesystem.c res = _sir_readlink(symlink, temp_buffer, SIR_MAXPATH); SIR_MAXPATH 501 src/libsir/src/sirfilesystem.c (void)_sir_strncpy(buffer, SIR_MAXPATH, symlink, SIR_MAXPATH); SIR_MAXPATH 506 src/libsir/src/sirfilesystem.c *size = strnlen(buffer, SIR_MAXPATH); SIR_MAXPATH 513 src/libsir/src/sirfilesystem.c (void)snprintf(cwd, SIR_MAXPATH, "/proc/%llu/cwd", (unsigned long long)_sir_getpid()); SIR_MAXPATH 518 src/libsir/src/sirfilesystem.c (void)snprintf(symlink, SIR_MAXPATH, "%s%s", cwdl, relative + 1); SIR_MAXPATH 520 src/libsir/src/sirfilesystem.c res = _sir_readlink(symlink, temp_buffer, SIR_MAXPATH); SIR_MAXPATH 522 src/libsir/src/sirfilesystem.c (void)_sir_strncpy(buffer, SIR_MAXPATH, symlink, SIR_MAXPATH); SIR_MAXPATH 526 src/libsir/src/sirfilesystem.c *size = strnlen(buffer, SIR_MAXPATH); SIR_MAXPATH 529 src/libsir/src/sirfilesystem.c (void)snprintf(cwd, SIR_MAXPATH, "/proc/%llu/cwd", (unsigned long long)_sir_getpid()); SIR_MAXPATH 535 src/libsir/src/sirfilesystem.c (void)snprintf(symlink, SIR_MAXPATH, "%s%s", cwdl, argv[0]); SIR_MAXPATH 537 src/libsir/src/sirfilesystem.c res = _sir_readlink(symlink, temp_buffer, SIR_MAXPATH); SIR_MAXPATH 539 src/libsir/src/sirfilesystem.c (void)_sir_strncpy(buffer, SIR_MAXPATH, symlink, SIR_MAXPATH); SIR_MAXPATH 543 src/libsir/src/sirfilesystem.c *size = strnlen(buffer, SIR_MAXPATH); SIR_MAXPATH 551 src/libsir/src/sirfilesystem.c if (sizeof(clonedpath) <= strnlen(path, SIR_MAXPATH)) SIR_MAXPATH 554 src/libsir/src/sirfilesystem.c (void)_sir_strncpy(clonedpath, SIR_MAXPATH, path, SIR_MAXPATH); SIR_MAXPATH 558 src/libsir/src/sirfilesystem.c (void)snprintf(cwd, SIR_MAXPATH, "/proc/%llu/cwd", (unsigned long long)_sir_getpid()); SIR_MAXPATH 575 src/libsir/src/sirfilesystem.c res = _sir_readlink(symlink, temp_buffer, SIR_MAXPATH); SIR_MAXPATH 577 src/libsir/src/sirfilesystem.c (void)_sir_strncpy(buffer, SIR_MAXPATH, symlink, SIR_MAXPATH); SIR_MAXPATH 581 src/libsir/src/sirfilesystem.c *size = strnlen(buffer, SIR_MAXPATH); SIR_MAXPATH 585 src/libsir/src/sirfilesystem.c (void)snprintf(symlink, SIR_MAXPATH, "%s/%s", token, ps.pr_fname); SIR_MAXPATH 587 src/libsir/src/sirfilesystem.c res = _sir_readlink(symlink, temp_buffer, SIR_MAXPATH); SIR_MAXPATH 589 src/libsir/src/sirfilesystem.c (void)_sir_strncpy(buffer, SIR_MAXPATH, symlink, SIR_MAXPATH); SIR_MAXPATH 593 src/libsir/src/sirfilesystem.c *size = strnlen(buffer, SIR_MAXPATH); SIR_MAXPATH 614 src/libsir/src/sirfilesystem.c char tmp[SIR_MAXPATH + 2] = {0}; SIR_MAXPATH 620 src/libsir/src/sirfilesystem.c char tmp2[SIR_MAXPATH] = {0}; SIR_MAXPATH 655 src/libsir/src/sirfilesystem.c char buffer2[SIR_MAXPATH]; SIR_MAXPATH 687 src/libsir/src/sirfilesystem.c length = (int)strnlen(resolved, SIR_MAXPATH); SIR_MAXPATH 708 src/libsir/src/sirfilesystem.c size_t pathlen = strnlen(path, SIR_MAXPATH); SIR_MAXPATH 710 src/libsir/src/sirfilesystem.c char tmp[SIR_MAXPATH] = {0}; SIR_MAXPATH 711 src/libsir/src/sirfilesystem.c char tmp2[SIR_MAXPATH] = {0}; SIR_MAXPATH 716 src/libsir/src/sirfilesystem.c const char* end = separator ? separator : cursor + strnlen(cursor, SIR_MAXPATH); SIR_MAXPATH 734 src/libsir/src/sirfilesystem.c length = (int)strnlen(tmp2, SIR_MAXPATH); SIR_MAXPATH 67 src/libsir/src/sirplugins.c plugin->path = strndup(path, strnlen(path, SIR_MAXPATH)); SIR_MAXPATH 1642 src/simh/scp.c wchar_t path[SIR_MAXPATH]; SIR_MAXPATH 1643 src/simh/scp.c if (!GetModuleFileNameW (ucrt, path, SIR_MAXPATH)) SIR_MAXPATH 323 src/simh/sim_hints.c char filename[SIR_MAXPATH]; SIR_MAXPATH 352 src/simh/sim_hints.c char path[SIR_MAXPATH]; SIR_MAXPATH 476 src/simh/sim_hints.c char path[SIR_MAXPATH];