SIR_MAXPID 2073 src/dps8/dps8_cpu.c char thread_name[SIR_MAXPID] = {0}; SIR_MAXPID 2079 src/dps8/dps8_cpu.c _sir_snprintf_trunc(thread_name, SIR_MAXPID, "%s: CPU %c", appname, (unsigned int)umyid); SIR_MAXPID 415 src/libsir/include/sir/config.h SIR_MAXNAME + (SIR_MAXPID * 2) + SIR_MAXMISC + 2 + 1) SIR_MAXPID 189 src/libsir/include/sir/internal.h bool _sir_getthreadname(char name[SIR_MAXPID]); SIR_MAXPID 517 src/libsir/include/sir/platform.h # if !defined(SIR_MAXPID) && defined(HAIKU) && defined(B_OS_NAME_LENGTH) SIR_MAXPID 520 src/libsir/include/sir/platform.h # if !defined(SIR_MAXPID) && defined(PTHREAD_MAX_NAMELEN_NP) SIR_MAXPID 523 src/libsir/include/sir/platform.h # if !defined(SIR_MAXPID) && defined(_NTO_THREAD_NAME_MAX) SIR_MAXPID 526 src/libsir/include/sir/platform.h # if !defined(SIR_MAXPID) && defined(__APPLE__) SIR_MAXPID 529 src/libsir/include/sir/platform.h # if !defined(SIR_MAXPID) && defined(__OpenBSD__) SIR_MAXPID 532 src/libsir/include/sir/platform.h # if !defined(SIR_MAXPID) && defined(__SOLARIS__) SIR_MAXPID 535 src/libsir/include/sir/platform.h # if !defined(SIR_MAXPID) && defined(__linux__) SIR_MAXPID 538 src/libsir/include/sir/platform.h # if !defined(SIR_MAXPID) SIR_MAXPID 296 src/libsir/include/sir/types.h char pidbuf[SIR_MAXPID]; SIR_MAXPID 420 src/libsir/include/sir/types.h char tid[SIR_MAXPID]; SIR_MAXPID 85 src/libsir/src/sirinternal.c static _sir_thread_local char _sir_tid[SIR_MAXPID] = {0}; SIR_MAXPID 190 src/libsir/src/sirinternal.c (void)snprintf(_cfg->state.pidbuf, SIR_MAXPID, SIR_PIDFORMAT, SIR_MAXPID 615 src/libsir/src/sirinternal.c _sir_snprintf_trunc(_sir_tid, SIR_MAXPID, SIR_TIDFORMAT, SIR_MAXPID 640 src/libsir/src/sirinternal.c (void)_sir_strncpy(buf.tid, SIR_MAXPID, _sir_tid, SIR_MAXPID 641 src/libsir/src/sirinternal.c strnlen(_sir_tid, SIR_MAXPID)); SIR_MAXPID 831 src/libsir/src/sirinternal.c (void)_sir_strncat(buf->output, SIR_MAXOUTPUT, buf->pid, SIR_MAXPID); SIR_MAXPID 836 src/libsir/src/sirinternal.c (void)_sir_strncat(buf->output, SIR_MAXOUTPUT, buf->tid, SIR_MAXPID); SIR_MAXPID 1316 src/libsir/src/sirinternal.c bool _sir_getthreadname(char name[SIR_MAXPID]) { SIR_MAXPID 1324 src/libsir/src/sirinternal.c int ret = pthread_getname_np(pthread_self(), name, SIR_MAXPID); SIR_MAXPID 1328 src/libsir/src/sirinternal.c if (!(strncmp(name, "pthread func", SIR_MAXPID))) SIR_MAXPID 1329 src/libsir/src/sirinternal.c (void)snprintf(name, SIR_MAXPID, "%ld", (long)get_pthread_thread_id(pthread_self())); SIR_MAXPID 1333 src/libsir/src/sirinternal.c pthread_get_name_np(pthread_self(), name, SIR_MAXPID); SIR_MAXPID 1342 src/libsir/src/sirinternal.c size_t wlen = wcsnlen_s(wname, SIR_MAXPID); SIR_MAXPID 1346 src/libsir/src/sirinternal.c size_t wlen = wcsnlen(wname, SIR_MAXPID); SIR_MAXPID 1350 src/libsir/src/sirinternal.c SIR_MAXPID, NULL, NULL)) { SIR_MAXPID 1392 src/libsir/src/sirinternal.c size_t name_len = strnlen_s(name, SIR_MAXPID); SIR_MAXPID 1394 src/libsir/src/sirinternal.c size_t name_len = strnlen(name, SIR_MAXPID); SIR_MAXPID 1399 src/libsir/src/sirinternal.c wchar_t buf[SIR_MAXPID] = {0}; SIR_MAXPID 1400 src/libsir/src/sirinternal.c if (!MultiByteToWideChar(CP_UTF8, 0UL, name, (int)name_len, buf, SIR_MAXPID)) SIR_MAXPID 1804 src/simh/scp.c char thread_name[SIR_MAXPID] = {0}; SIR_MAXPID 1805 src/simh/scp.c _sir_snprintf_trunc(thread_name, SIR_MAXPID, "%s: SCP", appname);