HelenOS sources
s2 60 common/include/mem.h #define memcmp(s1, s2, cnt) __builtin_memcmp((s1), (s2), (cnt))
s2 112 common/include/str.h extern int str_cmp(const char *s1, const char *s2);
s2 113 common/include/str.h extern int str_lcmp(const char *s1, const char *s2, size_t max_len);
s2 114 common/include/str.h extern int str_casecmp(const char *s1, const char *s2);
s2 115 common/include/str.h extern int str_lcasecmp(const char *s1, const char *s2, size_t max_len);
s2 255 common/stdc/mem.c int memcmp(const void *s1, const void *s2, size_t len)
s2 258 common/stdc/mem.c uint8_t *u2 = (uint8_t *) s2;
s2 582 common/str.c int str_cmp(const char *s1, const char *s2)
s2 592 common/str.c c2 = str_decode(s2, &off2, STR_NO_LIMIT);
s2 629 common/str.c int str_lcmp(const char *s1, const char *s2, size_t max_len)
s2 644 common/str.c c2 = str_decode(s2, &off2, STR_NO_LIMIT);
s2 681 common/str.c int str_casecmp(const char *s1, const char *s2)
s2 691 common/str.c c2 = tolower(str_decode(s2, &off2, STR_NO_LIMIT));
s2 729 common/str.c int str_lcasecmp(const char *s1, const char *s2, size_t max_len)
s2 744 common/str.c c2 = tolower(str_decode(s2, &off2, STR_NO_LIMIT));
s2 57 kernel/arch/mips32/include/arch/context_struct.h uint32_t s2;
s2 103 kernel/arch/mips32/include/arch/istate_struct.h uint32_t s2;
s2 98 kernel/arch/mips32/src/exception.c istate->s0, istate->s1, istate->s2, istate->s3);
s2 61 kernel/arch/riscv64/include/arch/context_struct.h uint64_t s2;
s2 60 kernel/generic/common/include/mem.h #define memcmp(s1, s2, cnt) __builtin_memcmp((s1), (s2), (cnt))
s2 112 kernel/generic/common/include/str.h extern int str_cmp(const char *s1, const char *s2);
s2 113 kernel/generic/common/include/str.h extern int str_lcmp(const char *s1, const char *s2, size_t max_len);
s2 114 kernel/generic/common/include/str.h extern int str_casecmp(const char *s1, const char *s2);
s2 115 kernel/generic/common/include/str.h extern int str_lcasecmp(const char *s1, const char *s2, size_t max_len);
s2 255 kernel/generic/common/stdc/mem.c int memcmp(const void *s1, const void *s2, size_t len)
s2 258 kernel/generic/common/stdc/mem.c uint8_t *u2 = (uint8_t *) s2;
s2 582 kernel/generic/common/str.c int str_cmp(const char *s1, const char *s2)
s2 592 kernel/generic/common/str.c c2 = str_decode(s2, &off2, STR_NO_LIMIT);
s2 629 kernel/generic/common/str.c int str_lcmp(const char *s1, const char *s2, size_t max_len)
s2 644 kernel/generic/common/str.c c2 = str_decode(s2, &off2, STR_NO_LIMIT);
s2 681 kernel/generic/common/str.c int str_casecmp(const char *s1, const char *s2)
s2 691 kernel/generic/common/str.c c2 = tolower(str_decode(s2, &off2, STR_NO_LIMIT));
s2 729 kernel/generic/common/str.c int str_lcasecmp(const char *s1, const char *s2, size_t max_len)
s2 744 kernel/generic/common/str.c c2 = tolower(str_decode(s2, &off2, STR_NO_LIMIT));
s2 51 kernel/generic/include/macros.h _NO_TRACE static inline int overlaps(uint64_t s1, uint64_t sz1, uint64_t s2,
s2 55 kernel/generic/include/macros.h uint64_t e2 = s2 + sz2 - 1;
s2 59 kernel/generic/include/macros.h return ((s1 <= e2) && (s2 <= e1));
s2 63 kernel/generic/include/macros.h return ((s1 >= s2) && (s1 <= e2));
s2 66 kernel/generic/include/macros.h return ((s2 >= s1) && (s2 <= e1));
s2 69 kernel/generic/include/macros.h return (s1 == s2);
s2 80 kernel/generic/include/macros.h _NO_TRACE static inline int iswithin(uint64_t s1, uint64_t sz1, uint64_t s2,
s2 88 kernel/generic/include/macros.h return (s1 == s2) && (sz2 == 0);
s2 92 kernel/generic/include/macros.h return (s1 <= s2) && (s2 <= e1);
s2 94 kernel/generic/include/macros.h e2 = s2 + sz2 - 1;
s2 97 kernel/generic/include/macros.h return ((s1 <= s2) && (e1 >= e2));
s2 996 uspace/app/sbi/src/run_expr.c const char *s1, *s2;
s2 1006 uspace/app/sbi/src/run_expr.c s2 = v2->var->u.string_v->value;
s2 1014 uspace/app/sbi/src/run_expr.c string_v->value = os_str_acat(s1, s2);
s2 1036 uspace/app/sbi/src/run_expr.c zf = os_str_cmp(s1, s2) == 0;
s2 1302 uspace/app/sbi/src/run_expr.c const char *s1, *s2;
s2 1332 uspace/app/sbi/src/run_expr.c s2 = v2->var->u.string_v->value;
s2 1334 uspace/app/sbi/src/run_expr.c *res = os_str_cmp(s1, s2) == 0;
s2 79 uspace/lib/bithenge/src/linux/common.h static inline int str_cmp(const char *s1, const char *s2)
s2 81 uspace/lib/bithenge/src/linux/common.h return strcmp(s1, s2);
s2 84 uspace/lib/bithenge/src/linux/common.h static inline errno_t str_lcmp(const char *s1, const char *s2, size_t max_len)
s2 86 uspace/lib/bithenge/src/linux/common.h return strncmp(s1, s2, max_len);
s2 110 uspace/lib/c/arch/mips32/include/libarch/elf_linux.h elf_regs->r18 = istate->s2;
s2 68 uspace/lib/c/arch/mips32/include/libarch/fibril_context.h uint32_t s2;
s2 103 uspace/lib/c/arch/mips32/include/libarch/istate_struct.h uint32_t s2;
s2 60 uspace/lib/c/common/include/mem.h #define memcmp(s1, s2, cnt) __builtin_memcmp((s1), (s2), (cnt))
s2 112 uspace/lib/c/common/include/str.h extern int str_cmp(const char *s1, const char *s2);
s2 113 uspace/lib/c/common/include/str.h extern int str_lcmp(const char *s1, const char *s2, size_t max_len);
s2 114 uspace/lib/c/common/include/str.h extern int str_casecmp(const char *s1, const char *s2);
s2 115 uspace/lib/c/common/include/str.h extern int str_lcasecmp(const char *s1, const char *s2, size_t max_len);
s2 255 uspace/lib/c/common/stdc/mem.c int memcmp(const void *s1, const void *s2, size_t len)
s2 258 uspace/lib/c/common/stdc/mem.c uint8_t *u2 = (uint8_t *) s2;
s2 582 uspace/lib/c/common/str.c int str_cmp(const char *s1, const char *s2)
s2 592 uspace/lib/c/common/str.c c2 = str_decode(s2, &off2, STR_NO_LIMIT);
s2 629 uspace/lib/c/common/str.c int str_lcmp(const char *s1, const char *s2, size_t max_len)
s2 644 uspace/lib/c/common/str.c c2 = str_decode(s2, &off2, STR_NO_LIMIT);
s2 681 uspace/lib/c/common/str.c int str_casecmp(const char *s1, const char *s2)
s2 691 uspace/lib/c/common/str.c c2 = tolower(str_decode(s2, &off2, STR_NO_LIMIT));
s2 729 uspace/lib/c/common/str.c int str_lcasecmp(const char *s1, const char *s2, size_t max_len)
s2 744 uspace/lib/c/common/str.c c2 = tolower(str_decode(s2, &off2, STR_NO_LIMIT));
s2 51 uspace/lib/c/generic/string.c char *strcpy(char *s1, const char *s2)
s2 56 uspace/lib/c/generic/string.c while (*s2 != '\0')
s2 57 uspace/lib/c/generic/string.c *dp++ = *s2++;
s2 60 uspace/lib/c/generic/string.c *dp++ = *s2++;
s2 80 uspace/lib/c/generic/string.c char *strncpy(char *s1, const char *s2, size_t n)
s2 86 uspace/lib/c/generic/string.c *dp++ = *s2;
s2 87 uspace/lib/c/generic/string.c if (*s2 != '\0')
s2 88 uspace/lib/c/generic/string.c ++s2;
s2 104 uspace/lib/c/generic/string.c char *strcat(char *s1, const char *s2)
s2 113 uspace/lib/c/generic/string.c while (*s2 != '\0')
s2 114 uspace/lib/c/generic/string.c *dp++ = *s2++;
s2 132 uspace/lib/c/generic/string.c char *strncat(char *s1, const char *s2, size_t n)
s2 141 uspace/lib/c/generic/string.c while (*s2 != '\0' && n > 0) {
s2 142 uspace/lib/c/generic/string.c *dp++ = *s2++;
s2 159 uspace/lib/c/generic/string.c int strcmp(const char *s1, const char *s2)
s2 161 uspace/lib/c/generic/string.c while (*s1 == *s2 && *s1 != '\0') {
s2 163 uspace/lib/c/generic/string.c ++s2;
s2 166 uspace/lib/c/generic/string.c return *s1 - *s2;
s2 176 uspace/lib/c/generic/string.c int strcoll(const char *s1, const char *s2)
s2 179 uspace/lib/c/generic/string.c return strcmp(s1, s2);
s2 190 uspace/lib/c/generic/string.c int strncmp(const char *s1, const char *s2, size_t n)
s2 192 uspace/lib/c/generic/string.c while (*s1 == *s2 && *s1 != '\0' && n > 0) {
s2 194 uspace/lib/c/generic/string.c ++s2;
s2 199 uspace/lib/c/generic/string.c return *s1 - *s2;
s2 218 uspace/lib/c/generic/string.c size_t strxfrm(char *s1, const char *s2, size_t n)
s2 223 uspace/lib/c/generic/string.c len = strlen(s2);
s2 226 uspace/lib/c/generic/string.c *s1++ = *s2;
s2 227 uspace/lib/c/generic/string.c if (*s2 == '\0')
s2 229 uspace/lib/c/generic/string.c ++s2;
s2 266 uspace/lib/c/generic/string.c size_t strcspn(const char *s1, const char *s2)
s2 274 uspace/lib/c/generic/string.c p = strchr(s2, *s1);
s2 294 uspace/lib/c/generic/string.c char *strpbrk(const char *s1, const char *s2)
s2 300 uspace/lib/c/generic/string.c p = strchr(s2, *s1);
s2 345 uspace/lib/c/generic/string.c size_t strspn(const char *s1, const char *s2)
s2 353 uspace/lib/c/generic/string.c p = strchr(s2, *s1);
s2 376 uspace/lib/c/generic/string.c char *strstr(const char *s1, const char *s2)
s2 387 uspace/lib/c/generic/string.c len = strlen(s2);
s2 389 uspace/lib/c/generic/string.c if (strncmp(s1, s2, len) == 0)
s2 408 uspace/lib/c/generic/string.c char *__strtok_r(char *s1, const char *s2, char **saveptr)
s2 428 uspace/lib/c/generic/string.c while (*tbegin != '\0' && strchr(s2, *tbegin) != NULL)
s2 436 uspace/lib/c/generic/string.c tend = strpbrk(tbegin, s2);
s2 467 uspace/lib/c/generic/string.c char *strtok(char *s1, const char *s2)
s2 469 uspace/lib/c/generic/string.c return __strtok_r(s1, s2, &strtok_saveptr);
s2 688 uspace/lib/c/generic/time.c sysarg_t s2 = ktime->seconds2;
s2 696 uspace/lib/c/generic/time.c if (s1 != s2) {
s2 697 uspace/lib/c/generic/time.c ts->tv_sec = max(s1, s2);
s2 72 uspace/lib/c/test/mem.c const char *s2 = "ab" "\0" "2d";
s2 75 uspace/lib/c/test/mem.c c = memcmp(s1, s2, 3);
s2 78 uspace/lib/c/test/mem.c c = memcmp(s1, s2, 4);
s2 81 uspace/lib/c/test/mem.c c = memcmp(s2, s1, 4);
s2 113 uspace/lib/cpp/include/__bits/locale/locale.hpp const basic_string<Char, Traits, Allocator>& s2) const
s2 82 uspace/lib/cpp/include/__bits/string/string.hpp static int compare(const char_type* s1, const char_type* s2, size_t n)
s2 84 uspace/lib/cpp/include/__bits/string/string.hpp return ::strncmp(s1, s2, n);
s2 104 uspace/lib/cpp/include/__bits/string/string.hpp static char_type* move(char_type* s1, const char_type* s2, size_t n)
s2 106 uspace/lib/cpp/include/__bits/string/string.hpp return static_cast<char_type*>(memmove(s1, s2, n));
s2 109 uspace/lib/cpp/include/__bits/string/string.hpp static char_type* copy(char_type* s1, const char_type* s2, size_t n)
s2 111 uspace/lib/cpp/include/__bits/string/string.hpp return static_cast<char_type*>(memcpy(s1, s2, n));
s2 178 uspace/lib/cpp/include/__bits/string/string.hpp static int compare(const char_type* s1, const char_type* s2, size_t n)
s2 199 uspace/lib/cpp/include/__bits/string/string.hpp static char_type* move(char_type* s1, const char_type* s2, size_t n)
s2 206 uspace/lib/cpp/include/__bits/string/string.hpp static char_type* copy(char_type* s1, const char_type* s2, size_t n)
s2 272 uspace/lib/cpp/include/__bits/string/string.hpp static int compare(const char_type* s1, const char_type* s2, size_t n)
s2 293 uspace/lib/cpp/include/__bits/string/string.hpp static char_type* move(char_type* s1, const char_type* s2, size_t n)
s2 300 uspace/lib/cpp/include/__bits/string/string.hpp static char_type* copy(char_type* s1, const char_type* s2, size_t n)
s2 365 uspace/lib/cpp/include/__bits/string/string.hpp static int compare(const char_type* s1, const char_type* s2, size_t n)
s2 392 uspace/lib/cpp/include/__bits/string/string.hpp static char_type* move(char_type* s1, const char_type* s2, size_t n)
s2 394 uspace/lib/cpp/include/__bits/string/string.hpp return static_cast<char_type*>(memmove(s1, s2, n * sizeof(wchar_t)));
s2 397 uspace/lib/cpp/include/__bits/string/string.hpp static char_type* copy(char_type* s1, const char_type* s2, size_t n)
s2 399 uspace/lib/cpp/include/__bits/string/string.hpp return static_cast<char_type*>(memcpy(s1, s2, n * sizeof(wchar_t)));
s2 128 uspace/lib/cpp/src/__bits/test/bitset.cpp auto s2 = b1.to_string('X', 'Y');
s2 131 uspace/lib/cpp/src/__bits/test/bitset.cpp s2, "XXYXYXYX"
s2 102 uspace/lib/cpp/src/__bits/test/future.cpp auto* s2 = p2.__state();
s2 104 uspace/lib/cpp/src/__bits/test/future.cpp std::swap(s1, s2);
s2 107 uspace/lib/cpp/src/__bits/test/future.cpp test_eq("swap switches states pt2", s2, p2.__state());
s2 138 uspace/lib/cpp/src/__bits/test/future.cpp auto [p2, f2, s2] = prepare<int>();
s2 70 uspace/lib/cpp/src/__bits/test/set.cpp std::set<int> s2{src1.begin(), src1.end()};
s2 74 uspace/lib/cpp/src/__bits/test/set.cpp s2.begin(), s2.end()
s2 66 uspace/lib/cpp/src/__bits/test/unordered_set.cpp std::unordered_set<int> s2{src1.begin(), src1.end()};
s2 69 uspace/lib/cpp/src/__bits/test/unordered_set.cpp check1.begin(), check1.end(), s2
s2 60 uspace/lib/posix/include/common/mem.h #define memcmp(s1, s2, cnt) __builtin_memcmp((s1), (s2), (cnt))
s2 112 uspace/lib/posix/include/common/str.h extern int str_cmp(const char *s1, const char *s2);
s2 113 uspace/lib/posix/include/common/str.h extern int str_lcmp(const char *s1, const char *s2, size_t max_len);
s2 114 uspace/lib/posix/include/common/str.h extern int str_casecmp(const char *s1, const char *s2);
s2 115 uspace/lib/posix/include/common/str.h extern int str_lcasecmp(const char *s1, const char *s2, size_t max_len);
s2 74 uspace/lib/posix/include/posix/string.h extern int strcasecmp(const char *s1, const char *s2);
s2 75 uspace/lib/posix/include/posix/string.h extern int strncasecmp(const char *s1, const char *s2, size_t n);
s2 47 uspace/lib/posix/include/posix/strings.h extern int strcasecmp(const char *s1, const char *s2);
s2 48 uspace/lib/posix/include/posix/strings.h extern int strncasecmp(const char *s1, const char *s2, size_t n);
s2 638 uspace/lib/posix/src/fnmatch.c #define match(s1, s2, flags) fnmatch_test(fnmatch(s1, s2, flags) == 0)
s2 639 uspace/lib/posix/src/fnmatch.c #define nomatch(s1, s2, flags) fnmatch_test(fnmatch(s1, s2, flags) == FNM_NOMATCH)
s2 91 uspace/lib/posix/src/strings.c int strcasecmp(const char *s1, const char *s2)
s2 93 uspace/lib/posix/src/strings.c return strncasecmp(s1, s2, STR_NO_LIMIT);
s2 105 uspace/lib/posix/src/strings.c int strncasecmp(const char *s1, const char *s2, size_t n)
s2 108 uspace/lib/posix/src/strings.c int cmp = tolower(s1[i]) - tolower(s2[i]);
s2 428 uspace/srv/hid/display/test/display.c ds_seat_t *s0, *s1, *s2;
s2 443 uspace/srv/hid/display/test/display.c s2 = ds_display_find_seat(disp, seat->id);
s2 444 uspace/srv/hid/display/test/display.c PCUT_ASSERT_EQUALS(s2, seat);
s2 60 uspace/srv/net/dnsrsrv/dns_msg.c size_t s1, s2;
s2 72 uspace/srv/net/dnsrsrv/dns_msg.c s2 = str_size(suff);
s2 73 uspace/srv/net/dnsrsrv/dns_msg.c nsize = s1 + s2 + 1;
HelenOS homepage, sources at GitHub