Home
last modified time | relevance | path

Searched full:s1 (Results 1 – 25 of 1079) sorted by relevance

12345678910>>...44

/freebsd/contrib/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerInterceptors.cpp62 static int internal_strcmp_strncmp(const char *s1, const char *s2, bool strncmp, in internal_strcmp_strncmp() argument
71 unsigned c1 = *s1; in internal_strcmp_strncmp()
77 s1++; in internal_strcmp_strncmp()
83 static int internal_strncmp(const char *s1, const char *s2, size_t n) { in internal_strncmp() argument
84 return internal_strcmp_strncmp(s1, s2, true, n); in internal_strncmp()
87 static int internal_strcmp(const char *s1, const char *s2) { in internal_strcmp() argument
88 return internal_strcmp_strncmp(s1, s2, false, 0); in internal_strcmp()
91 static int internal_memcmp(const void *s1, const void *s2, size_t n) { in internal_memcmp() argument
92 const uint8_t *t1 = static_cast<const uint8_t *>(s1); in internal_memcmp()
124 void __sanitizer_weak_hook_memcmp(void *called_pc, const void *s1,
[all …]
/freebsd/contrib/bearssl/src/symcipher/
H A Dchacha20_sse2.c92 __m128i s0, s1, s2, s3; in br_chacha20_sse2_run() local
96 s1 = kw0; in br_chacha20_sse2_run()
104 s0 = _mm_add_epi32(s0, s1); in br_chacha20_sse2_run()
111 s1 = _mm_xor_si128(s1, s2); in br_chacha20_sse2_run()
112 s1 = _mm_or_si128( in br_chacha20_sse2_run()
113 _mm_slli_epi32(s1, 12), in br_chacha20_sse2_run()
114 _mm_srli_epi32(s1, 20)); in br_chacha20_sse2_run()
116 s0 = _mm_add_epi32(s0, s1); in br_chacha20_sse2_run()
123 s1 = _mm_xor_si128(s1, s2); in br_chacha20_sse2_run()
124 s1 = _mm_or_si128( in br_chacha20_sse2_run()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DSetOperations.h43 template <class S1Ty, class S2Ty> bool set_union(S1Ty &S1, const S2Ty &S2) { in set_union() argument
47 if (S1.insert(E).second) in set_union()
55 /// is nicer to use. Functionally, this iterates through S1, removing
58 template <class S1Ty, class S2Ty> void set_intersect(S1Ty &S1, const S2Ty &S2) { in set_intersect() argument
61 S1.remove_if(Pred); in set_intersect()
64 for (typename S1Ty::iterator I = S1.begin(); I != S1.end(); I = Next) { in set_intersect()
67 S1.erase(I); // Erase element if not in S2 in set_intersect()
73 S1Ty set_intersection_impl(const S1Ty &S1, const S2Ty &S2) { in set_intersection_impl() argument
75 for (const auto &E : S1) in set_intersection_impl()
83 S1Ty set_intersection(const S1Ty &S1, const S2Ty &S2) { in set_intersection() argument
[all …]
H A DStringSwitch.h90 StringSwitch &Cases(StringLiteral S0, StringLiteral S1, T Value) { in Cases() argument
91 return Case(S0, Value).Case(S1, Value); in Cases()
94 StringSwitch &Cases(StringLiteral S0, StringLiteral S1, StringLiteral S2, in Cases() argument
96 return Case(S0, Value).Cases(S1, S2, Value); in Cases()
99 StringSwitch &Cases(StringLiteral S0, StringLiteral S1, StringLiteral S2, in Cases() argument
101 return Case(S0, Value).Cases(S1, S2, S3, Value); in Cases()
104 StringSwitch &Cases(StringLiteral S0, StringLiteral S1, StringLiteral S2, in Cases() argument
106 return Case(S0, Value).Cases(S1, S2, S3, S4, Value); in Cases()
109 StringSwitch &Cases(StringLiteral S0, StringLiteral S1, StringLiteral S2, in Cases() argument
112 return Case(S0, Value).Cases(S1, S in Cases()
115 Cases(StringLiteral S0,StringLiteral S1,StringLiteral S2,StringLiteral S3,StringLiteral S4,StringLiteral S5,StringLiteral S6,T Value) Cases() argument
121 Cases(StringLiteral S0,StringLiteral S1,StringLiteral S2,StringLiteral S3,StringLiteral S4,StringLiteral S5,StringLiteral S6,StringLiteral S7,T Value) Cases() argument
127 Cases(StringLiteral S0,StringLiteral S1,StringLiteral S2,StringLiteral S3,StringLiteral S4,StringLiteral S5,StringLiteral S6,StringLiteral S7,StringLiteral S8,T Value) Cases() argument
134 Cases(StringLiteral S0,StringLiteral S1,StringLiteral S2,StringLiteral S3,StringLiteral S4,StringLiteral S5,StringLiteral S6,StringLiteral S7,StringLiteral S8,StringLiteral S9,T Value) Cases() argument
163 CasesLower(StringLiteral S0,StringLiteral S1,T Value) CasesLower() argument
167 CasesLower(StringLiteral S0,StringLiteral S1,StringLiteral S2,T Value) CasesLower() argument
172 CasesLower(StringLiteral S0,StringLiteral S1,StringLiteral S2,StringLiteral S3,T Value) CasesLower() argument
177 CasesLower(StringLiteral S0,StringLiteral S1,StringLiteral S2,StringLiteral S3,StringLiteral S4,T Value) CasesLower() argument
[all...]
/freebsd/crypto/openssl/crypto/camellia/
H A Dcamellia.c276 * adjusting n accordingly, e.g. RotLeft128(s1,s2,s3,s0,n-32).
288 register u32 s0, s1, s2, s3; in Camellia_Ekeygen() local
291 k[1] = s1 = GETU32(rawKey + 4); in Camellia_Ekeygen()
297 k[9] = s1 = GETU32(rawKey + 20); in Camellia_Ekeygen()
300 k[11] = s3 = ~s1; in Camellia_Ekeygen()
305 s0 ^= k[0], s1 ^= k[1], s2 ^= k[2], s3 ^= k[3]; in Camellia_Ekeygen()
309 Camellia_Feistel(s0, s1, s2, s3, SIGMA + 0); in Camellia_Ekeygen()
310 Camellia_Feistel(s2, s3, s0, s1, SIGMA + 2); in Camellia_Ekeygen()
312 s0 ^= k[0], s1 ^= k[1], s2 ^= k[2], s3 ^= k[3]; in Camellia_Ekeygen()
313 Camellia_Feistel(s0, s1, s2, s3, SIGMA + 4); in Camellia_Ekeygen()
[all …]
/freebsd/lib/libc/arm/aeabi/
H A Daeabi_vfp_float.S36 LOAD_SREGS(s0, s1, r0, r1)
37 vcmp.f32 s0, s1
44 LOAD_SREGS(s0, s1, r0, r1)
45 vcmpe.f32 s0, s1
52 LOAD_SREGS(s0, s1, r0, r1)
53 vcmpe.f32 s1, s0
60 LOAD_SREGS(s0, s1, r0, r1)
61 vcmp.f32 s0, s1
71 LOAD_SREGS(s0, s1, r0, r1)
72 vcmp.f32 s0, s1
[all …]
/freebsd/lib/libc/string/
H A Dwmemchr.373 .Fn wmemcmp "const wchar_t *s1" "const wchar_t *s2" "size_t n"
75 .Fn wmemcpy "wchar_t * restrict s1" "const wchar_t * restrict s2" "size_t n"
77 .Fn wmemmove "wchar_t *s1" "const wchar_t *s2" "size_t n"
79 .Fn wmempcpy "wchar_t * restrict s1" "const wchar_t * restrict s2" "size_t n"
83 .Fn wcpcpy "wchar_t * restrict s1" "const wchar_t * restrict s2"
85 .Fn wcpncpy "wchar_t * restrict s1" "const wchar_t * restrict s2" "size_t n"
87 .Fn wcscasecmp "const wchar_t *s1" "const wchar_t *s2"
89 .Fn wcscat "wchar_t * restrict s1" "const wchar_t * restrict s2"
93 .Fn wcscmp "const wchar_t *s1" "const wchar_t *s2"
95 .Fn wcscpy "wchar_t * restrict s1" "const wchar_t * restrict s2"
[all …]
/freebsd/contrib/ntp/sntp/libpkgver/
H A Dcolcomp.c37 colcomp (s1, s2) in colcomp() argument
38 register char *s1; in colcomp()
43 while (*s1 && *s2)
45 if ( MyIsDigit(*s1)
48 hilo = (*s1 < *s2) ? -1 : (*s1 > *s2) ? 1 : 0;
49 ++s1;
51 while (MyIsDigit(*s1)
55 hilo = (*s1 < *s2) ? -1 : (*s1 > *s2) ? 1 : 0;
56 ++s1;
59 if (MyIsDigit(*s1))
[all …]
/freebsd/share/man/man7/
H A Dsimd.754 .It bcmp Ta A Ta Ta S1 Ta S
58 .It index Ta A Ta Ta S1
61 .It memchr Ta A Ta Ta S1
62 .It memcmp Ta A Ta S Ta S1 Ta S
63 .It memccpy Ta A Ta Ta S1
66 .It memrchr Ta A Ta Ta S1
68 .It rindex Ta A Ta Ta S1 Ta S
69 .It stpcpy Ta A Ta Ta S1
70 .It stpncpy Ta Ta Ta S1
71 .It strcat Ta A Ta Ta S1 Ta S
[all …]
/freebsd/crypto/openssl/crypto/aes/asm/
H A Daes-s390x.pl118 $s1="%r9";
274 llgf $s1,4($inp)
283 st $s1,4($out)
296 x $s1,4($key)
314 srlg $i1,$s1,`16-3` # i0
315 sllg $i2,$s1,`0+3`
316 srlg $i3,$s1,`8-3`
317 srl $s1,`24-3`
319 nr $s1,$mask
328 x $s0,3($i1,$tbl) # Te1[s1>>16]
[all …]
H A Daes-armv4.pl60 $s1="r1";
222 ldrb $s1,[$rounds,#7]
228 orr $s1,$s1,$t1,lsl#8
230 orr $s1,$s1,$t2,lsl#16
232 orr $s1,$s1,$t3,lsl#24
247 ldr $s1,[$rounds,#4]
252 rev $s1,$s1
263 rev $s1,$s1
268 str $s1,[$rounds,#4]
277 mov $t1,$s1,lsr#24
[all …]
H A Daes-ppc.pl87 $s1="r9";
380 lwz $s1,4($inp)
390 rotlwi $s1,$t1,8
394 rlwimi $s1,$t1,24,0,7
398 rlwimi $s1,$t1,24,16,23
409 rotlwi $t1,$s1,8
413 rlwimi $t1,$s1,24,0,7
417 rlwimi $t1,$s1,24,16,23
427 stw $s1,4($out)
450 lbz $s1,7($inp)
[all …]
/freebsd/contrib/sendmail/libsm/
H A Dstrcaseeq.c23 ** s1 -- string
27 ** true iff s1 == s2
31 sm_strcaseeq(s1, s2) in sm_strcaseeq() argument
32 const char *s1; in sm_strcaseeq()
39 if (asciistr(s1))
43 return (sm_strcasecmp(s1, s2) == 0);
47 l1 = sm_lowercase(s1);
48 if (l1 != s1)
69 ** s1 -- string
74 ** true iff s1 == s2 (for up to the first n char)
[all …]
H A Dt-strrevcmp.c23 char *s1; variable
28 s1 = "equal";
30 SM_TEST(sm_strrevcmp(s1, s2) == 0);
32 s1 = "equal";
34 SM_TEST(sm_strrevcmp(s1, s2) > 0);
36 s1 = "qual";
38 SM_TEST(sm_strrevcmp(s1, s2) < 0);
40 s1 = "Equal";
42 SM_TEST(sm_strrevcmp(s1, s2) < 0);
44 s1 = "Equal";
[all …]
H A Dstrrevcmp.c25 ** s1 -- first string.
29 ** strcasecmp(reverse(s1), reverse(s2))
33 sm_strrevcasecmp(s1, s2) in sm_strrevcasecmp() argument
34 const char *s1, *s2; in sm_strrevcasecmp()
38 i1 = strlen(s1) - 1;
41 charmap[(unsigned char) s1[i1]] ==
59 return (charmap[(unsigned char) s1[i1]] -
67 ** s1 -- first string.
71 ** strcmp(reverse(s1), reverse(s2))
75 sm_strrevcmp(s1, s2) in sm_strrevcmp() argument
[all …]
/freebsd/usr.bin/xargs/
H A Dstrnsubst.c35 char *s1, *s2, *this; in strnsubst() local
38 s1 = *str; in strnsubst()
39 if (s1 == NULL) in strnsubst()
42 * If maxsize is 0 then set it to the length of s1, because we have in strnsubst()
43 * to duplicate s1. XXX we maybe should double-check whether the match in strnsubst()
44 * appears in s1. If it doesn't, then we also have to set the length in strnsubst()
45 * to the length of s1, to avoid modifying the argument. It may make in strnsubst()
46 * sense to check if maxsize is <= strlen(s1), because in that case we in strnsubst()
51 maxsize = strlen(s1) + 1; in strnsubst()
60 if (match == NULL || replstr == NULL || maxsize == strlen(s1)) { in strnsubst()
[all …]
/freebsd/crypto/openssl/test/testutil/
H A Dtests.c213 const char *s1, const char *s2, \
218 test_fail_message(NULL, file, line, #type, s1, s2, #op, \
277 const char *s1, const char *s2) in test_str_eq() argument
279 if (s1 == NULL && s2 == NULL) in test_str_eq()
281 if (s1 == NULL || s2 == NULL || strcmp(s1, s2) != 0) { in test_str_eq()
283 s1, s1 == NULL ? 0 : strlen(s1), in test_str_eq()
291 const char *s1, const char *s2) in test_str_ne() argument
293 if ((s1 == NULL) ^ (s2 == NULL)) in test_str_ne()
295 if (s1 == NULL || strcmp(s1, s2) == 0) { in test_str_ne()
297 s1, s1 == NULL ? 0 : strlen(s1), in test_str_ne()
[all …]
/freebsd/usr.sbin/fdread/
H A Dfdutil.c173 char *s1; in parse_fmt() local
182 s1 = strdup(s); in parse_fmt()
183 if (s1 == NULL) in parse_fmt()
187 s1 = malloc(cp - s + 1); in parse_fmt()
188 if (s1 == NULL) in parse_fmt()
190 memcpy(s1, s, cp - s); in parse_fmt()
191 s1[cp - s] = 0; in parse_fmt()
195 if (strlen(s1) == 0) { in parse_fmt()
196 free(s1); in parse_fmt()
202 if (getnum(s1, &out->sectrac)) in parse_fmt()
[all …]
/freebsd/contrib/llvm-project/libcxx/include/
H A Dcstring27 void* memcpy(void* restrict s1, const void* restrict s2, size_t n);
28 void* memmove(void* s1, const void* s2, size_t n);
29 char* strcpy (char* restrict s1, const char* restrict s2);
30 char* strncpy(char* restrict s1, const char* restrict s2, size_t n);
31 char* strcat (char* restrict s1, const char* restrict s2);
32 char* strncat(char* restrict s1, const char* restrict s2, size_t n);
33 int memcmp(const void* s1, const void* s2, size_t n);
34 int strcmp (const char* s1, const char* s2);
35 int strncmp(const char* s1, const char* s2, size_t n);
36 int strcoll(const char* s1, const char* s2);
[all …]
H A Dstring.h24 void* memcpy(void* restrict s1, const void* restrict s2, size_t n);
25 void* memmove(void* s1, const void* s2, size_t n);
26 char* strcpy (char* restrict s1, const char* restrict s2);
27 char* strncpy(char* restrict s1, const char* restrict s2, size_t n);
28 char* strcat (char* restrict s1, const char* restrict s2);
29 char* strncat(char* restrict s1, const char* restrict s2, size_t n);
30 int memcmp(const void* s1, const void* s2, size_t n);
31 int strcmp (const char* s1, const char* s2);
32 int strncmp(const char* s1, const char* s2, size_t n);
33 int strcoll(const char* s1, cons
[all...]
/freebsd/crypto/heimdal/lib/roken/
H A Dstrtok_r.c43 strtok_r(char *s1, const char *s2, char **lasts) in strtok_r() argument
47 if (s1 == NULL) in strtok_r()
48 s1 = *lasts; in strtok_r()
49 while(*s1 && strchr(s2, *s1)) in strtok_r()
50 ++s1; in strtok_r()
51 if(*s1 == '\0') in strtok_r()
53 ret = s1; in strtok_r()
54 while(*s1 && !strchr(s2, *s1)) in strtok_r()
55 ++s1; in strtok_r()
56 if(*s1) in strtok_r()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Headers/
H A Dvelintrin_approx.h43 float s1; in _vel_approx_vfdivs_vsvl() local
46 s1 = 1.0; in _vel_approx_vfdivs_vsvl()
47 v2 = _vel_vfnmsbs_vsvvl(s1, v0, v4, l); in _vel_approx_vfdivs_vsvl()
58 float s1; in _vel_approx_vfdivs_vvsl() local
60 s1 = 1.0f / s0; in _vel_approx_vfdivs_vvsl()
61 v1 = _vel_vfmuls_vsvl(s1, v0, l); in _vel_approx_vfdivs_vvsl()
63 v0 = _vel_vfmads_vvsvl(v1, s1, v2, l); in _vel_approx_vfdivs_vvsl()
70 double s1 = 1.0; in _vel_approx_vfdivd_vsvl() local
71 v3 = _vel_vfnmsbd_vsvvl(s1, v0, v2, l); in _vel_approx_vfdivd_vsvl()
73 v1 = _vel_vfnmsbd_vsvvl(s1, v0, v2, l); in _vel_approx_vfdivd_vsvl()
[all …]
/freebsd/contrib/bearssl/T0/
H A DSType.cs74 public static bool operator ==(SType s1, SType s2) in operator ==()
76 return s1.din == s2.din && s1.dout == s2.dout; in operator ==()
79 public static bool operator !=(SType s1, SType s2) in operator !=()
81 return s1.din != s2.din || s1.dout != s2.dout; in operator !=()
107 * stack effect s. Stack effect s1 is a sub-effect of stack-effect
109 * -- s1 and s2 are known, s1.din <= s2.din and s1 does not exit.
110 * -- s1 and s2 are known, s1.din <= s2.din, s1 and s2 exit,
111 * and s1.din - s1.dout == s2.din - s2.dout.
/freebsd/contrib/netbsd-tests/lib/libc/regex/
H A Dt_exhaust.c81 char *d, *s1, *s2; in p0() local
82 s1 = mkstr("\\(", len); in p0()
83 s2 = concat(s1, ")"); in p0()
84 free(s1); in p0()
93 char *d, *s1, *s2, *s3; in p1() local
94 s1 = mkstr("\\(", 60); in p1()
96 s3 = concat(s1, s2); in p1()
98 free(s1); in p1()
99 s1 = concat(s3, ")"); in p1()
101 d = concat("(", s1); in p1()
[all …]
/freebsd/contrib/telnet/libtelnet/
H A Dgenget.c43 * The prefix function returns 0 if *s1 is not a prefix
44 * of *s2. If *s1 exactly matches *s2, the negative of
45 * the length is returned. If *s1 is a prefix of *s2,
46 * the length of *s1 is returned.
49 isprefix(char *s1, const char *s2) in isprefix() argument
54 if (*s1 == '\0') in isprefix()
56 os1 = s1; in isprefix()
57 c1 = *s1; in isprefix()
62 c1 = *++s1; in isprefix()
65 return(*s1 ? 0 : (*s2 ? (s1 - os1) : (os1 - s1))); in isprefix()

12345678910>>...44