str 200 src/dps8/dps8_cable.c static bool name_match (const char * str, const char * pattern, uint * val) str 204 src/dps8/dps8_cable.c if (strncasecmp (pattern, str, pat_len)) str 208 src/dps8/dps8_cable.c size_t rest = strlen (str) - pat_len; str 209 src/dps8/dps8_cable.c const char * p = str + pat_len; str 233 src/dps8/dps8_cable.c sim_printf ("error: sys_cable: can't parse %s\n", str); str 825 src/dps8/dps8_console.c static void console_putstr (int conUnitIdx, char * str); str 1919 src/dps8/dps8_console.c static void console_putstr (int conUnitIdx, char * str) str 1921 src/dps8/dps8_console.c size_t l = strlen (str); str 1923 src/dps8/dps8_console.c sim_putchar (str[i]); str 1926 src/dps8/dps8_console.c accessStartWrite (csp->console_access.client, str, str 486 src/dps8/dps8_crdpun.c static void remove_spaces(char *str) str 490 src/dps8/dps8_crdpun.c while (str[src]) str 492 src/dps8/dps8_crdpun.c if (str[src] != ' ') str 494 src/dps8/dps8_crdpun.c str[dest++] = str[src]; str 498 src/dps8/dps8_crdpun.c str[dest] = 0; str 268 src/dps8/dps8_crdrdr.c str 344 src/dps8/dps8_crdrdr.c str 378 src/dps8/dps8_crdrdr.c static void asciiToH (char * str, uint * hstr, size_t l) str 380 src/dps8/dps8_crdrdr.c char * p = str; str 887 src/dps8/dps8_fnp2.c unsigned char str [2] = { kar, 0 }; str 888 src/dps8/dps8_fnp2.c fnpuv_start_writestr (linep->line_client, str); str 980 src/dps8/dps8_fnp2.c unsigned char str [2] = { kar, 0 }; str 981 src/dps8/dps8_fnp2.c fnpuv_start_writestr (linep->line_client, str); str 1989 src/dps8/dps8_fnp2.c static int parse_ipaddr (char * str, uint32_t * addr) str 1993 src/dps8/dps8_fnp2.c unsigned long o1 = strtoul (str, & end1, 10); str 1994 src/dps8/dps8_fnp2.c if (end1 == str || * end1 != '.' || o1 > 255) str 2927 src/dps8/dps8_fnp2.c unsigned char str [2] = { kar, 0 }; str 2928 src/dps8/dps8_fnp2.c fnpuv_start_writestr (client, str); str 288 src/dps8/dps8_socket_dev.c static void set_error_str (word36 * error_str, const char * str) str 295 src/dps8/dps8_socket_dev.c size_t l = strlen (str); str 299 src/dps8/dps8_socket_dev.c work[i] = str[i]; str 69 src/dps8/dps8_utils.c static char * dps8_strupr(char *str) str 73 src/dps8/dps8_utils.c for(s = str; *s; s++) str 75 src/dps8/dps8_utils.c return str; str 1199 src/dps8/dps8_utils.c int strmask (char * str, char * mask) str 1221 src/dps8/dps8_utils.c sp = str; str 1396 src/dps8/dps8_utils.c str 1399 src/dps8/dps8_utils.c str 1400 src/dps8/dps8_utils.c str 1647 src/dps8/dps8_utils.c char * strdupesc (const char * str) str 1649 src/dps8/dps8_utils.c char * buf = strdup (str); str 65 src/dps8/dps8_utils.h int strmask(char *str, char *mask); str 880 src/dps8/dps8_utils.h char * strdupesc (const char * str); str 205 src/dps8/uvutil.c static void accessPutStrForce (uv_access * access, char * str) str 207 src/dps8/uvutil.c size_t l = strlen (str); str 208 src/dps8/uvutil.c accessStartWrite (access->client, str, (ssize_t) l); str 706 src/dps8/uvutil.c void accessPutStr (uv_access * access, char * str) str 708 src/dps8/uvutil.c size_t l = strlen (str); str 712 src/dps8/uvutil.c accessStartWrite (access->client, str, (ssize_t) l); str 50 src/dps8/uvutil.h void accessPutStr (uv_access * access, char * str); str 81 src/libsir/include/sir/helpers.h # define _SIR_PRNSTR(str) (str ? str : "<null>") str 320 src/libsir/include/sir/helpers.h bool __sir_validstr(const char* restrict str, bool fail, const char* func, str 322 src/libsir/include/sir/helpers.h bool valid = str && *str != '\0'; str 331 src/libsir/include/sir/helpers.h # define _sir_validstr(str) \ str 332 src/libsir/include/sir/helpers.h __sir_validstr(str, true, __func__, __file__, __LINE__) str 335 src/libsir/include/sir/helpers.h # define _sir_validstrnofail(str) \ str 336 src/libsir/include/sir/helpers.h __sir_validstr(str, false, __func__, __file__, __LINE__) str 340 src/libsir/include/sir/helpers.h void _sir_resetstr(char* str) { str 341 src/libsir/include/sir/helpers.h if (NULL != str) str 342 src/libsir/include/sir/helpers.h *str = '\0'; str 469 src/libsir/include/sir/helpers.h uint64_t FNV64_1a(const char* str) { str 471 src/libsir/include/sir/helpers.h for (const char* c = str; *c; c++) { str 487 src/libsir/include/sir/helpers.h char* _sir_strremove(char *str, const char *sub); str 494 src/libsir/include/sir/helpers.h char* _sir_strsqueeze(char *str); str 499 src/libsir/include/sir/helpers.h char* _sir_strredact(char *str, const char *sub, const char c); str 504 src/libsir/include/sir/helpers.h char* _sir_strreplace(char *str, const char c, const char n); str 510 src/libsir/include/sir/helpers.h size_t _sir_strcreplace(char *str, const char c, const char n, int32_t max); str 147 src/libsir/include/sir/impl.h _sir_strnlen(const char *str, size_t maxlen) str 151 src/libsir/include/sir/impl.h for (cp = str; maxlen != 0 && *cp != '\0'; cp++, maxlen--); str 153 src/libsir/include/sir/impl.h return (size_t)(cp - str); str 170 src/libsir/include/sir/impl.h _sir_strndup(const char *str, size_t maxlen) str 175 src/libsir/include/sir/impl.h len = _sir_strnlen(str, maxlen); str 179 src/libsir/include/sir/impl.h (void)memcpy(copy, str, len); str 86 src/libsir/include/sir/platform.h # define SANITIZE_SUPPRESS(str) __attribute__((no_sanitize(str))) str 89 src/libsir/include/sir/platform.h # define SANITIZE_SUPPRESS(str) str 430 src/libsir/include/sir/types.h char str[SIR_MAXSTYLE]; /**< The formatted string representation. */ str 339 src/libsir/src/sirhelpers.c char* _sir_strremove(char *str, const char *sub) { str 340 src/libsir/src/sirhelpers.c if (!str) str 344 src/libsir/src/sirhelpers.c return str; str 349 src/libsir/src/sirhelpers.c if (*sub && (q = r = strstr(str, sub)) != NULL) { str 350 src/libsir/src/sirhelpers.c size_t len = strnlen(sub, strlen(str)); str 360 src/libsir/src/sirhelpers.c return str; str 363 src/libsir/src/sirhelpers.c char* _sir_strsqueeze(char *str) { str 364 src/libsir/src/sirhelpers.c if (!str) str 369 src/libsir/src/sirhelpers.c for (unsigned long i = j = 0; str[i]; ++i) str 370 src/libsir/src/sirhelpers.c if ((i > 0 && !isspace((unsigned char)(str[i - 1]))) str 371 src/libsir/src/sirhelpers.c || !isspace((unsigned char)(str[i]))) str 372 src/libsir/src/sirhelpers.c str[j++] = str[i]; str 374 src/libsir/src/sirhelpers.c str[j] = '\0'; str 376 src/libsir/src/sirhelpers.c return str; str 379 src/libsir/src/sirhelpers.c char* _sir_strredact(char *str, const char *sub, const char c) { str 380 src/libsir/src/sirhelpers.c if (!str) str 384 src/libsir/src/sirhelpers.c return str; str 386 src/libsir/src/sirhelpers.c char *p = strstr(str, sub); str 389 src/libsir/src/sirhelpers.c return str; str 391 src/libsir/src/sirhelpers.c (void)_sir_explicit_memset(p, c, strnlen(sub, strlen(str))); str 393 src/libsir/src/sirhelpers.c return _sir_strredact(str, sub, c); str 396 src/libsir/src/sirhelpers.c char* _sir_strreplace(char *str, const char c, const char n) { str 397 src/libsir/src/sirhelpers.c if (!str) str 400 src/libsir/src/sirhelpers.c char *i = str; str 403 src/libsir/src/sirhelpers.c return str; str 408 src/libsir/src/sirhelpers.c return str; str 411 src/libsir/src/sirhelpers.c size_t _sir_strcreplace(char *str, const char c, const char n, int32_t max) { str 412 src/libsir/src/sirhelpers.c char* i = str; str 415 src/libsir/src/sirhelpers.c if (!str || !c || !n || !max) str 58 src/libsir/src/sirtextstyle.c retval = data->map[_mid].str; str 85 src/libsir/src/sirtextstyle.c updated = _sir_formatstyle(*data->color_mode, style, data->map[_mid].str); str 127 src/libsir/src/sirtextstyle.c data->map[n].str)); str 568 src/simh/linehistory.c linenoiseAddCompletion(linenoiseCompletions *lc, const char *str) str 570 src/simh/linehistory.c size_t len = strlen(str); str 579 src/simh/linehistory.c memcpy(copy, str, len + 1); str 1462 src/simh/scp.c char *strremove(char *str, const char *sub) str 1465 src/simh/scp.c if (*sub && (q = r = strstr(str, sub)) != NULL) { str 1474 src/simh/scp.c return str; str 4633 src/simh/scp.c static void strip_spaces(char* str) { str 4635 src/simh/scp.c for (i=x=0; str[i]; ++i) str 4637 src/simh/scp.c if (!isspace((int)str[i]) || (i > 0 && !isspace((int)str[(int)(i-1)]))) //-V781 str 4639 src/simh/scp.c str[x++] = str[i]; str 4642 src/simh/scp.c str[x] = '\0'; str 4645 src/simh/scp.c while (str[x] != '\0') str 4647 src/simh/scp.c if (str[x] != ' ' && str[x] != '\t' && str[x] != '\n') str 4653 src/simh/scp.c str[i+1] = '\0';