Home
last modified time | relevance | path

Searched refs:s2 (Results 1 – 25 of 395) sorted by relevance

12345678910>>...16

/dragonfly/crypto/libressl/crypto/camellia/
H A Dcamellia.c349 u32 s0, s1, s2, s3; in Camellia_Ekeygen() local
353 k[2] = s2 = GETU32(rawKey + 8); in Camellia_Ekeygen()
360 k[10] = s2 = ~s0; in Camellia_Ekeygen()
399 k[26] = s2, k[27] = s3; in Camellia_Ekeygen()
468 u32 s0, s1, s2, s3; in Camellia_EncryptBlock_Rounds() local
494 s2 ^= s3 | k[3]; in Camellia_EncryptBlock_Rounds()
496 s3 ^= LeftRotate(s2 & k[2], 1); in Camellia_EncryptBlock_Rounds()
502 PUTU32(ciphertext, s2); in Camellia_EncryptBlock_Rounds()
520 u32 s0, s1, s2, s3; in Camellia_DecryptBlock_Rounds() local
546 s2 ^= s3 | k[1]; in Camellia_DecryptBlock_Rounds()
[all …]
/dragonfly/contrib/diffutils/lib/
H A Dstreq.h35 streq9 (const char *s1, const char *s2) in streq9() argument
37 return strcmp (s1 + 9, s2 + 9) == 0; in streq9()
41 streq8 (const char *s1, const char *s2, char s28) in streq8() argument
48 return streq9 (s1, s2); in streq8()
55 streq7 (const char *s1, const char *s2, char s27, char s28) in streq7() argument
62 return streq8 (s1, s2, s28); in streq7()
76 return streq7 (s1, s2, s27, s28); in streq6()
90 return streq6 (s1, s2, s26, s27, s28); in streq5()
104 return streq5 (s1, s2, s25, s26, s27, s28); in streq4()
118 return streq4 (s1, s2, s24, s25, s26, s27, s28); in streq3()
[all …]
H A Dc-strcaseeq.h42 strcaseeq9 (const char *s1, const char *s2) in strcaseeq9() argument
44 return c_strcasecmp (s1 + 9, s2 + 9) == 0; in strcaseeq9()
48 strcaseeq8 (const char *s1, const char *s2, char s28) in strcaseeq8() argument
55 return strcaseeq9 (s1, s2); in strcaseeq8()
62 strcaseeq7 (const char *s1, const char *s2, char s27, char s28) in strcaseeq7() argument
69 return strcaseeq8 (s1, s2, s28); in strcaseeq7()
83 return strcaseeq7 (s1, s2, s27, s28); in strcaseeq6()
97 return strcaseeq6 (s1, s2, s26, s27, s28); in strcaseeq5()
111 return strcaseeq5 (s1, s2, s25, s26, s27, s28); in strcaseeq4()
125 return strcaseeq4 (s1, s2, s24, s25, s26, s27, s28); in strcaseeq3()
[all …]
/dragonfly/contrib/grep/lib/
H A Dstreq.h35 streq9 (const char *s1, const char *s2) in streq9() argument
37 return strcmp (s1 + 9, s2 + 9) == 0; in streq9()
41 streq8 (const char *s1, const char *s2, char s28) in streq8() argument
48 return streq9 (s1, s2); in streq8()
55 streq7 (const char *s1, const char *s2, char s27, char s28) in streq7() argument
62 return streq8 (s1, s2, s28); in streq7()
76 return streq7 (s1, s2, s27, s28); in streq6()
90 return streq6 (s1, s2, s26, s27, s28); in streq5()
104 return streq5 (s1, s2, s25, s26, s27, s28); in streq4()
118 return streq4 (s1, s2, s24, s25, s26, s27, s28); in streq3()
[all …]
H A Dc-strcaseeq.h42 strcaseeq9 (const char *s1, const char *s2) in strcaseeq9() argument
44 return c_strcasecmp (s1 + 9, s2 + 9) == 0; in strcaseeq9()
48 strcaseeq8 (const char *s1, const char *s2, char s28) in strcaseeq8() argument
55 return strcaseeq9 (s1, s2); in strcaseeq8()
62 strcaseeq7 (const char *s1, const char *s2, char s27, char s28) in strcaseeq7() argument
69 return strcaseeq8 (s1, s2, s28); in strcaseeq7()
83 return strcaseeq7 (s1, s2, s27, s28); in strcaseeq6()
97 return strcaseeq6 (s1, s2, s26, s27, s28); in strcaseeq5()
111 return strcaseeq5 (s1, s2, s25, s26, s27, s28); in strcaseeq4()
125 return strcaseeq4 (s1, s2, s24, s25, s26, s27, s28); in strcaseeq3()
[all …]
/dragonfly/sys/crypto/rijndael/
H A Drijndael-alg-fst.c863 u32 s0, s1, s2, s3, t0, t1, t2, t3; in rijndaelEncrypt() local
874 s2 = GETU32(pt + 8) ^ rk[2]; in rijndaelEncrypt()
956 Te2[(s2 >> 8) & 0xff] ^ in rijndaelEncrypt()
961 Te1[(s2 >> 16) & 0xff] ^ in rijndaelEncrypt()
995 s2 = in rijndaelEncrypt()
1027 s2 = in rijndaelEncrypt()
1033 PUTU32(ct + 8, s2); in rijndaelEncrypt()
1055 s2 = GETU32(ct + 8) ^ rk[2]; in rijndaelDecrypt()
1176 s2 = in rijndaelDecrypt()
1208 s2 = in rijndaelDecrypt()
[all …]
/dragonfly/usr.bin/tr/
H A Dtr.c191 s2.str = argv[1]; in main()
193 if (!next(&s2)) in main()
218 if (!next(&s2)) in main()
220 } while (s2.state == CCLASS_UPPER && s2.cnt > 1); in main()
235 if (!next(&s2)) in main()
237 } while (s2.state == CCLASS_LOWER && s2.cnt > 1); in main()
244 (void)next(&s2); in main()
259 s2.str = argv[1]; in main()
265 if (next(&s2)) in main()
271 if ((s2.state == EOS || s2.state == INFINITE) && in main()
[all …]
/dragonfly/sys/net/ipfw3_nat/
H A Dip_fw3_nat.c221 if (s2 == NULL) { in ip_fw3_nat()
404 msg->state = s2; in ip_fw3_nat()
558 if (s2 == NULL) { in ip_fw3_ctl_nat_get_record()
613 if (s2 == NULL) { in ip_fw3_ctl_nat_get_record()
669 if (s2 == NULL) { in ip_fw3_ctl_nat_get_record()
707 struct nat_state2 *s2; in nat_state_add_dispatch() local
719 s2 = msg->state; in nat_state_add_dispatch()
932 struct nat_state2 *s2; in nat_cleanup_func_dispatch() local
951 if (s2 != NULL) { in nat_cleanup_func_dispatch()
970 if (s2 != NULL) { in nat_cleanup_func_dispatch()
[all …]
/dragonfly/crypto/libressl/crypto/aes/
H A Daes_core.c887 Te2[(s2 >> 8) & 0xff] ^ in AES_encrypt()
897 Te0[(s2 >> 24)] ^ in AES_encrypt()
906 Te3[(s2) & 0xff] ^ in AES_encrypt()
926 s2 = in AES_encrypt()
958 s2 = in AES_encrypt()
964 PUTU32(out + 8, s2); in AES_encrypt()
1084 Td3[(s2) & 0xff] ^ in AES_decrypt()
1087 Td0[(s2 >> 24)] ^ in AES_decrypt()
1116 s2 = in AES_decrypt()
1148 s2 = in AES_decrypt()
[all …]
/dragonfly/contrib/mpfr/src/
H A Dyn.c329 mpfr_init (s2); in mpfr_yn()
346 mpfr_div_2si (s2, s2, absn, MPFR_RNDN); in mpfr_yn()
380 mpfr_log (s2, s2, MPFR_RNDN); /* log(z/2) */ in mpfr_yn()
382 err2 = MPFR_EXP(s2) > MPFR_EXP(s3) ? MPFR_EXP(s2) : MPFR_EXP(s3); in mpfr_yn()
383 mpfr_add (s2, s2, s3, MPFR_RNDN); /* log(z/2) + gamma */ in mpfr_yn()
385 mpfr_mul_2ui (s2, s2, 1, MPFR_RNDN); /* 2*(log(z/2) + gamma) */ in mpfr_yn()
387 mpfr_mul (s2, s2, s3, MPFR_RNDN); /* 2*(log(z/2) + gamma)*Jn(z) */ in mpfr_yn()
394 mpfr_sub (s2, s2, s1, MPFR_RNDN); /* s2 - (s1+s3) */ in mpfr_yn()
400 mpfr_div (s2, s2, y, MPFR_RNDN); /* error bounded by in mpfr_yn()
412 MPFR_SIGN (s2) : - MPFR_SIGN (s2)); in mpfr_yn()
[all …]
/dragonfly/contrib/gcc-8.0/gcc/
H A Dipa-icf-gimple.c641 gimple *s1, *s2; in compare_bb() local
652 s2 = gsi_stmt (gsi2); in compare_bb()
669 as_a <gcall *> (s2))) in compare_bb()
694 as_a <gresx *> (s2))) in compare_bb()
699 as_a <glabel *> (s2))) in compare_bb()
713 as_a <gasm *> (s2))) in compare_bb()
746 t2 = gimple_call_fn (s2); in compare_gimple_call()
791 t2 = gimple_get_lhs (s2); in compare_gimple_call()
822 arg2 = gimple_op (s2, i); in compare_gimple_assign()
848 t2 = gimple_cond_lhs (s2); in compare_gimple_cond()
[all …]
H A Dipa-icf-gimple.h90 return_different_stmts_1 (gimple *s1, gimple *s2, const char *code, in return_different_stmts_1() argument
99 print_gimple_stmt (dump_file, s2, 3, TDF_DETAILS); in return_different_stmts_1()
106 #define return_different_stmts(s1, s2, code) \ argument
107 return_different_stmts_1 (s1, s2, code, __func__, __LINE__)
164 bool compare_gimple_call (gcall *s1, gcall *s2);
168 bool compare_gimple_assign (gimple *s1, gimple *s2);
172 bool compare_gimple_cond (gimple *s1, gimple *s2);
176 bool compare_gimple_label (const glabel *s1, const glabel *s2);
188 bool compare_gimple_goto (gimple *s1, gimple *s2);
192 bool compare_gimple_resx (const gresx *s1, const gresx *s2);
[all …]
/dragonfly/contrib/gdb-7/libiberty/
H A Dfilename_cmp.c51 filename_cmp (const char *s1, const char *s2) in filename_cmp() argument
55 return strcmp(s1, s2); in filename_cmp()
60 int c2 = *s2; in filename_cmp()
82 s2++; in filename_cmp()
109 filename_ncmp (const char *s1, const char *s2, size_t n) in filename_ncmp() argument
113 return strncmp(s1, s2, n); in filename_ncmp()
120 int c2 = *s2; in filename_ncmp()
139 s2++; in filename_ncmp()
188 filename_eq (const void *s1, const void *s2) in filename_eq() argument
191 return filename_cmp ((const char *) s1, (const char *) s2) == 0; in filename_eq()
/dragonfly/contrib/binutils-2.34/libiberty/
H A Dfilename_cmp.c56 filename_cmp (const char *s1, const char *s2) in filename_cmp() argument
60 return strcmp(s1, s2); in filename_cmp()
65 int c2 = *s2; in filename_cmp()
87 s2++; in filename_cmp()
114 filename_ncmp (const char *s1, const char *s2, size_t n) in filename_ncmp() argument
118 return strncmp(s1, s2, n); in filename_ncmp()
125 int c2 = *s2; in filename_ncmp()
144 s2++; in filename_ncmp()
193 filename_eq (const void *s1, const void *s2) in filename_eq() argument
196 return filename_cmp ((const char *) s1, (const char *) s2) == 0; in filename_eq()
/dragonfly/contrib/binutils-2.27/libiberty/
H A Dfilename_cmp.c56 filename_cmp (const char *s1, const char *s2) in filename_cmp() argument
60 return strcmp(s1, s2); in filename_cmp()
65 int c2 = *s2; in filename_cmp()
87 s2++; in filename_cmp()
114 filename_ncmp (const char *s1, const char *s2, size_t n) in filename_ncmp() argument
118 return strncmp(s1, s2, n); in filename_ncmp()
125 int c2 = *s2; in filename_ncmp()
144 s2++; in filename_ncmp()
193 filename_eq (const void *s1, const void *s2) in filename_eq() argument
196 return filename_cmp ((const char *) s1, (const char *) s2) == 0; in filename_eq()
/dragonfly/contrib/gcc-8.0/libiberty/
H A Dfilename_cmp.c56 filename_cmp (const char *s1, const char *s2) in filename_cmp() argument
60 return strcmp(s1, s2); in filename_cmp()
65 int c2 = *s2; in filename_cmp()
87 s2++; in filename_cmp()
114 filename_ncmp (const char *s1, const char *s2, size_t n) in filename_ncmp() argument
118 return strncmp(s1, s2, n); in filename_ncmp()
125 int c2 = *s2; in filename_ncmp()
144 s2++; in filename_ncmp()
193 filename_eq (const void *s1, const void *s2) in filename_eq() argument
196 return filename_cmp ((const char *) s1, (const char *) s2) == 0; in filename_eq()
/dragonfly/lib/libc/locale/
H A Dcollcmp.c45 char s1[2], s2[2]; in __collate_range_cmp() local
49 s2[0] = c2; in __collate_range_cmp()
50 s2[1] = '\0'; in __collate_range_cmp()
51 return (strcoll(s1, s2)); in __collate_range_cmp()
56 wchar_t s1[2], s2[2]; in __wcollate_range_cmp() local
60 s2[0] = c2; in __wcollate_range_cmp()
61 s2[1] = L'\0'; in __wcollate_range_cmp()
62 return (wcscoll(s1, s2)); in __wcollate_range_cmp()
/dragonfly/usr.bin/xargs/
H A Dstrnsubst.c36 char *s1, *s2, *this; in strnsubst() local
54 s2 = calloc(1, maxsize); in strnsubst()
55 if (s2 == NULL) in strnsubst()
62 strlcpy(s2, s1, maxsize); in strnsubst()
70 if ((strlen(s2) + strlen(s1) + strlen(replstr) - in strnsubst()
72 strlcat(s2, s1, maxsize); in strnsubst()
76 strncat(s2, s1, (uintptr_t)this - (uintptr_t)s1); in strnsubst()
77 strcat(s2, replstr); in strnsubst()
80 strcat(s2, s1); in strnsubst()
82 *str = s2; in strnsubst()
/dragonfly/contrib/gdb-7/readline/
H A Dutil.c321 _rl_strindex (s1, s2) in _rl_strindex() argument
375 register char *s1, *s2; local
382 s2 = string2;
390 s2++;
402 register char *s1, *s2; local
406 s2 = string2;
408 if (s1 == s2)
415 s2++;
425 char **s1, **s2; in _rl_qsort_string_compare()
428 return (strcoll (*s1, *s2));
[all …]
/dragonfly/contrib/wpa_supplicant/src/utils/
H A Dos.h371 int os_memcmp(const void *s1, const void *s2, size_t n);
396 int os_strcasecmp(const char *s1, const char *s2);
432 int os_strcmp(const char *s1, const char *s2);
443 int os_strncmp(const char *s1, const char *s2, size_t n);
512 #define os_memcmp(s1, s2, n) memcmp((s1), (s2), (n)) argument
520 #define os_strcasecmp(s1, s2) _stricmp((s1), (s2)) argument
522 #define os_strcasecmp(s1, s2) strcasecmp((s1), (s2)) argument
527 #define os_strncasecmp(s1, s2, n) _strnicmp((s1), (s2), (n)) argument
529 #define os_strncasecmp(s1, s2, n) strncasecmp((s1), (s2), (n)) argument
536 #define os_strcmp(s1, s2) strcmp((s1), (s2)) argument
[all …]
/dragonfly/gnu/usr.bin/rcs/lib/
H A Drcsrev.c185 if (!*s2)
190 while (*s2=='0') ++s2;
200 s2 += d1;
204 if (*s2) s2++;
222 s2 = num2;
235 while (*s2=='0')
236 ++s2;
333 if (!s2) return -1;
344 ++s2;
356 s2 += d1;
[all …]
/dragonfly/contrib/gcc-4.7/libiberty/
H A Dfilename_cmp.c51 filename_cmp (const char *s1, const char *s2) in filename_cmp() argument
55 return strcmp(s1, s2); in filename_cmp()
60 int c2 = *s2; in filename_cmp()
82 s2++; in filename_cmp()
109 filename_ncmp (const char *s1, const char *s2, size_t n) in filename_ncmp() argument
113 return strncmp(s1, s2, n); in filename_ncmp()
120 int c2 = *s2; in filename_ncmp()
139 s2++; in filename_ncmp()
/dragonfly/lib/libc/string/
H A Dstrcasecmp.c43 strcasecmp_l(const char *s1, const char *s2, locale_t locale) in strcasecmp_l() argument
47 *us2 = (const u_char *)s2; in strcasecmp_l()
56 strcasecmp(const char *s1, const char *s2) in strcasecmp() argument
58 return strcasecmp_l(s1, s2, __get_locale()); in strcasecmp()
62 strncasecmp_l(const char *s1, const char *s2, size_t n, locale_t locale) in strncasecmp_l() argument
68 *us2 = (const u_char *)s2; in strncasecmp_l()
81 strncasecmp(const char *s1, const char *s2, size_t n) in strncasecmp() argument
83 return strncasecmp_l(s1, s2, n, __get_locale()); in strncasecmp()
/dragonfly/usr.sbin/cdcontrol/
H A Dcdcontrol.c624 s2 += f2 / 75; in play()
628 s2 += s1; in play()
629 if (s2 > 60) { in play()
631 s2 %= 60; in play()
645 s2 = ts; in play()
664 s2 += f2 / 75; in play()
668 s2 += ts; in play()
669 if (s2 > 60) { in play()
670 m2 += s2 / 60; in play()
671 s2 %= 60; in play()
[all …]
/dragonfly/contrib/gdb-7/gdb/
H A Dobjc-lang.c829 if (isalnum (*s2) || (*s2 == '_') || (*s2 == ':')) in parse_selector()
841 s2 = skip_spaces (s2); in parse_selector()
845 s2++; in parse_selector()
846 s2 = skip_spaces (s2); in parse_selector()
897 s2 = skip_spaces (s2); in parse_method()
902 s2 = skip_spaces (s2); in parse_method()
904 while (isalnum (*s2) || (*s2 == '_')) in parse_method()
905 s2++; in parse_method()
917 if (isalnum (*s2) || (*s2 == '_') || (*s2 == ':')) in parse_method()
930 s2 = skip_spaces (s2); in parse_method()
[all …]

12345678910>>...16