Home
last modified time | relevance | path

Searched refs:s1 (Results 1 – 25 of 602) sorted by relevance

12345678910>>...25

/OK3568_Linux_fs/external/security/librkcrypto/test/c_mode/
H A Daes_core.c792 u32 s0, s1, s2, s3, t0, t1, t2, t3; in rk_aes_encrypt() local
805 s1 = GETU32(in + 4) ^ rk[1]; in rk_aes_encrypt()
810 t0 = Te0[s0 >> 24] ^ Te1[(s1 >> 16) & 0xff] ^ Te2[(s2 >> 8) & 0xff] ^ Te3[s3 & 0xff] ^ rk[ 4]; in rk_aes_encrypt()
811 t1 = Te0[s1 >> 24] ^ Te1[(s2 >> 16) & 0xff] ^ Te2[(s3 >> 8) & 0xff] ^ Te3[s0 & 0xff] ^ rk[ 5]; in rk_aes_encrypt()
812 t2 = Te0[s2 >> 24] ^ Te1[(s3 >> 16) & 0xff] ^ Te2[(s0 >> 8) & 0xff] ^ Te3[s1 & 0xff] ^ rk[ 6]; in rk_aes_encrypt()
813 t3 = Te0[s3 >> 24] ^ Te1[(s0 >> 16) & 0xff] ^ Te2[(s1 >> 8) & 0xff] ^ Te3[s2 & 0xff] ^ rk[ 7]; in rk_aes_encrypt()
816 s1 = Te0[t1 >> 24] ^ Te1[(t2 >> 16) & 0xff] ^ Te2[(t3 >> 8) & 0xff] ^ Te3[t0 & 0xff] ^ rk[ 9]; in rk_aes_encrypt()
820 t0 = Te0[s0 >> 24] ^ Te1[(s1 >> 16) & 0xff] ^ Te2[(s2 >> 8) & 0xff] ^ Te3[s3 & 0xff] ^ rk[12]; in rk_aes_encrypt()
821 t1 = Te0[s1 >> 24] ^ Te1[(s2 >> 16) & 0xff] ^ Te2[(s3 >> 8) & 0xff] ^ Te3[s0 & 0xff] ^ rk[13]; in rk_aes_encrypt()
822 t2 = Te0[s2 >> 24] ^ Te1[(s3 >> 16) & 0xff] ^ Te2[(s0 >> 8) & 0xff] ^ Te3[s1 & 0xff] ^ rk[14]; in rk_aes_encrypt()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/mvl88w8977/mlan/esa/common/
H A Drijndael.c880 u32 s0, s1, s2, s3, t0, t1, t2, t3; in rijndaelEncrypt() local
890 s1 = GETU32(pt + 4) ^ rk[1]; in rijndaelEncrypt()
895 t0 = Te0[s0 >> 24] ^ Te1[(s1 >> 16) & 0xff] ^ Te2[(s2 >> 8) & 0xff] ^ in rijndaelEncrypt()
897 t1 = Te0[s1 >> 24] ^ Te1[(s2 >> 16) & 0xff] ^ Te2[(s3 >> 8) & 0xff] ^ in rijndaelEncrypt()
900 Te3[s1 & 0xff] ^ rk[6]; in rijndaelEncrypt()
901 t3 = Te0[s3 >> 24] ^ Te1[(s0 >> 16) & 0xff] ^ Te2[(s1 >> 8) & 0xff] ^ in rijndaelEncrypt()
906 s1 = Te0[t1 >> 24] ^ Te1[(t2 >> 16) & 0xff] ^ Te2[(t3 >> 8) & 0xff] ^ in rijndaelEncrypt()
913 t0 = Te0[s0 >> 24] ^ Te1[(s1 >> 16) & 0xff] ^ Te2[(s2 >> 8) & 0xff] ^ in rijndaelEncrypt()
915 t1 = Te0[s1 >> 24] ^ Te1[(s2 >> 16) & 0xff] ^ Te2[(s3 >> 8) & 0xff] ^ in rijndaelEncrypt()
918 Te3[s1 & 0xff] ^ rk[14]; in rijndaelEncrypt()
[all …]
/OK3568_Linux_fs/external/security/rk_tee_user/v2/ta/crypt/
H A Daes_impl.c842 u32 s1 = 0; in rijndaelEncrypt() local
857 s1 = GETU32(plaintext + 4) ^ rk[1]; in rijndaelEncrypt()
862 t0 = Te0[s0 >> 24] ^ Te1[(s1 >> 16) & 0xff] ^ in rijndaelEncrypt()
864 t1 = Te0[s1 >> 24] ^ Te1[(s2 >> 16) & 0xff] ^ in rijndaelEncrypt()
867 Te2[(s0 >> 8) & 0xff] ^ Te3[s1 & 0xff] ^ rk[6]; in rijndaelEncrypt()
869 Te2[(s1 >> 8) & 0xff] ^ Te3[s2 & 0xff] ^ rk[7]; in rijndaelEncrypt()
873 s1 = Te0[t1 >> 24] ^ Te1[(t2 >> 16) & 0xff] ^ in rijndaelEncrypt()
880 t0 = Te0[s0 >> 24] ^ Te1[(s1 >> 16) & 0xff] ^ in rijndaelEncrypt()
882 t1 = Te0[s1 >> 24] ^ Te1[(s2 >> 16) & 0xff] ^ in rijndaelEncrypt()
885 Te2[(s0 >> 8) & 0xff] ^ Te3[s1 & 0xff] ^ rk[14]; in rijndaelEncrypt()
[all …]
/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm32/include/libcxx/include/
H A Dcstring28 void* memcpy(void* restrict s1, const void* restrict s2, size_t n);
29 void* memmove(void* s1, const void* s2, size_t n);
30 char* strcpy (char* restrict s1, const char* restrict s2);
31 char* strncpy(char* restrict s1, const char* restrict s2, size_t n);
32 char* strcat (char* restrict s1, const char* restrict s2);
33 char* strncat(char* restrict s1, const char* restrict s2, size_t n);
34 int memcmp(const void* s1, const void* s2, size_t n);
35 int strcmp (const char* s1, const char* s2);
36 int strncmp(const char* s1, const char* s2, size_t n);
37 int strcoll(const char* s1, const char* s2);
[all …]
H A Dcwchar63 wchar_t* wcscpy(wchar_t* restrict s1, const wchar_t* restrict s2);
64 wchar_t* wcsncpy(wchar_t* restrict s1, const wchar_t* restrict s2, size_t n);
65 wchar_t* wcscat(wchar_t* restrict s1, const wchar_t* restrict s2);
66 wchar_t* wcsncat(wchar_t* restrict s1, const wchar_t* restrict s2, size_t n);
67 int wcscmp(const wchar_t* s1, const wchar_t* s2);
68 int wcscoll(const wchar_t* s1, const wchar_t* s2);
69 int wcsncmp(const wchar_t* s1, const wchar_t* s2, size_t n);
70 size_t wcsxfrm(wchar_t* restrict s1, const wchar_t* restrict s2, size_t n);
73 size_t wcscspn(const wchar_t* s1, const wchar_t* s2);
75 const wchar_t* wcspbrk(const wchar_t* s1, const wchar_t* s2);
[all …]
/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm64/include/libcxx/include/
H A Dcstring28 void* memcpy(void* restrict s1, const void* restrict s2, size_t n);
29 void* memmove(void* s1, const void* s2, size_t n);
30 char* strcpy (char* restrict s1, const char* restrict s2);
31 char* strncpy(char* restrict s1, const char* restrict s2, size_t n);
32 char* strcat (char* restrict s1, const char* restrict s2);
33 char* strncat(char* restrict s1, const char* restrict s2, size_t n);
34 int memcmp(const void* s1, const void* s2, size_t n);
35 int strcmp (const char* s1, const char* s2);
36 int strncmp(const char* s1, const char* s2, size_t n);
37 int strcoll(const char* s1, const char* s2);
[all …]
H A Dcwchar63 wchar_t* wcscpy(wchar_t* restrict s1, const wchar_t* restrict s2);
64 wchar_t* wcsncpy(wchar_t* restrict s1, const wchar_t* restrict s2, size_t n);
65 wchar_t* wcscat(wchar_t* restrict s1, const wchar_t* restrict s2);
66 wchar_t* wcsncat(wchar_t* restrict s1, const wchar_t* restrict s2, size_t n);
67 int wcscmp(const wchar_t* s1, const wchar_t* s2);
68 int wcscoll(const wchar_t* s1, const wchar_t* s2);
69 int wcsncmp(const wchar_t* s1, const wchar_t* s2, size_t n);
70 size_t wcsxfrm(wchar_t* restrict s1, const wchar_t* restrict s2, size_t n);
73 size_t wcscspn(const wchar_t* s1, const wchar_t* s2);
75 const wchar_t* wcspbrk(const wchar_t* s1, const wchar_t* s2);
[all …]
/OK3568_Linux_fs/kernel/arch/ia64/lib/
H A Didiv64.S29 # define INT_TO_FP(a,b) fcvt.xuf.s1 a=b
30 # define FP_TO_INT(a,b) fcvt.fxu.trunc.s1 a=b
34 # define FP_TO_INT(a,b) fcvt.fx.trunc.s1 a=b
51 frcpa.s1 f11, p6 = f8, f9 // y0 = frcpa(b)
53 (p6) fmpy.s1 f7 = f8, f11 // q0 = a*y0
54 (p6) fnma.s1 f6 = f9, f11, f1 // e0 = -b*y0 + 1
56 (p6) fma.s1 f10 = f7, f6, f7 // q1 = q0*e0 + q0
57 (p6) fmpy.s1 f7 = f6, f6 // e1 = e0*e0
62 (p6) fma.s1 f10 = f10, f7, f10 // q2 = q1*e1 + q1
63 (p6) fma.s1 f6 = f11, f6, f11 // y1 = y0*e0 + y0
[all …]
H A Didiv32.S30 # define INT_TO_FP(a,b) fcvt.xuf.s1 a=b
31 # define FP_TO_INT(a,b) fcvt.fxu.trunc.s1 a=b
36 # define FP_TO_INT(a,b) fcvt.fx.trunc.s1 a=b
61 frcpa.s1 f6, p6 = f8, f9 // y0 = frcpa(b)
63 (p6) fmpy.s1 f8 = f8, f6 // q0 = a*y0
64 (p6) fnma.s1 f6 = f9, f6, f1 // e0 = -b*y0 + 1
69 (p6) fma.s1 f8 = f6, f8, f8 // q1 = e0*q0 + q0
70 (p6) fma.s1 f6 = f6, f6, f7 // e1 = e0*e0 + 2^-34
75 (p6) fma.s1 f6 = f6, f8, f8 // q2 = e1*q1 + q1
/OK3568_Linux_fs/kernel/tools/perf/tests/
H A Dsample-parsing.c20 if (s1->m != s2->m) { \
27 if (memcmp(&s1->m, &s2->m, sizeof(s1->m))) { \
33 static bool samples_same(const struct perf_sample *s1, in samples_same() argument
79 for (i = 0; i < s1->read.group.nr; i++) in samples_same()
88 for (i = 0; i < s1->callchain->nr; i++) in samples_same()
94 if (memcmp(s1->raw_data, s2->raw_data, s1->raw_size)) { in samples_same()
103 for (i = 0; i < s1->branch_stack->nr; i++) in samples_same()
108 size_t sz = hweight_long(s1->user_regs.mask) * sizeof(u64); in samples_same()
112 if (s1->user_regs.abi && in samples_same()
113 (!s1->user_regs.regs || !s2->user_regs.regs || in samples_same()
[all …]
/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm64/include/
H A Dstring.h22 void *memcpy(void *__restrict s1, const void *__restrict s2, size_t n);
23 void *memmove(void *s1, const void *s2, size_t n);
24 int memcmp(const void *s1, const void *s2, size_t n);
27 int strcmp(const char *s1, const char *s2);
29 int strncmp(const char *s1, const char *s2, size_t n);
40 char *strncat (char *s1, const char *s2, size_t n);
43 size_t strxfrm(char *s1, const char *s2, size_t n);
44 size_t strspn(const char *s1, const char *s2);
45 size_t strcspn(const char *s1, const char *s2);
46 char *strpbrk(const char *s1, const char *s2);
/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm32/include/
H A Dstring.h22 void *memcpy(void *__restrict s1, const void *__restrict s2, size_t n);
23 void *memmove(void *s1, const void *s2, size_t n);
24 int memcmp(const void *s1, const void *s2, size_t n);
27 int strcmp(const char *s1, const char *s2);
29 int strncmp(const char *s1, const char *s2, size_t n);
40 char *strncat (char *s1, const char *s2, size_t n);
43 size_t strxfrm(char *s1, const char *s2, size_t n);
44 size_t strspn(const char *s1, const char *s2);
45 size_t strcspn(const char *s1, const char *s2);
46 char *strpbrk(const char *s1, const char *s2);
H A Dsincosf.h45 double s1, s2, s3; /* Sine polynomial. */ member
68 double x3, x4, x5, x6, s, c, c1, c2, s1; in sincosf_poly() local
73 s1 = p->s2 + x2 * p->s3; in sincosf_poly()
84 s = x + x3 * p->s1; in sincosf_poly()
87 *sinp = s + x5 * s1; in sincosf_poly()
96 double x3, x4, x6, x7, s, c, c1, c2, s1; in sinf_poly() local
101 s1 = p->s2 + x2 * p->s3; in sinf_poly()
104 s = x + x3 * p->s1; in sinf_poly()
106 return s + x7 * s1; in sinf_poly()
/OK3568_Linux_fs/u-boot/drivers/mtd/nand/raw/
H A Dnand_ecc.c137 uint8_t s0, s1, s2; in nand_correct_data() local
139 s1 = calc_ecc[0] ^ read_ecc[0]; in nand_correct_data()
142 if ((s0 | s1 | s2) == 0) in nand_correct_data()
147 ((s1 ^ (s1 >> 1)) & 0x55) == 0x55 && in nand_correct_data()
152 byteoffs = (s1 << 0) & 0x80; in nand_correct_data()
153 byteoffs |= (s1 << 1) & 0x40; in nand_correct_data()
154 byteoffs |= (s1 << 2) & 0x20; in nand_correct_data()
155 byteoffs |= (s1 << 3) & 0x10; in nand_correct_data()
171 if(countbits(s0 | ((uint32_t)s1 << 8) | ((uint32_t)s2 <<16)) == 1) in nand_correct_data()
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/lib/gcc/arm-none-linux-gnueabihf/10.3.1/plugin/include/
H A Dipa-icf-gimple.h81 return_different_stmts_1 (gimple *s1, gimple *s2, const char *code, in return_different_stmts_1() argument
89 print_gimple_stmt (dump_file, s1, 3, TDF_DETAILS); in return_different_stmts_1()
97 #define return_different_stmts(s1, s2, code) \ argument
98 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);
180 bool compare_gimple_switch (const gswitch *s1, const gswitch *s2);
184 bool compare_gimple_return (const greturn *s1, const greturn *s2);
[all …]
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/lib/gcc/aarch64-none-linux-gnu/10.3.1/plugin/include/
H A Dipa-icf-gimple.h81 return_different_stmts_1 (gimple *s1, gimple *s2, const char *code, in return_different_stmts_1() argument
89 print_gimple_stmt (dump_file, s1, 3, TDF_DETAILS); in return_different_stmts_1()
97 #define return_different_stmts(s1, s2, code) \ argument
98 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);
180 bool compare_gimple_switch (const gswitch *s1, const gswitch *s2);
184 bool compare_gimple_return (const greturn *s1, const greturn *s2);
[all …]
/OK3568_Linux_fs/kernel/tools/testing/selftests/powerpc/stringloops/
H A Dmemcmp.c34 int test_memcmp(const void *s1, const void *s2, size_t n);
37 static void test_one(char *s1, char *s2, unsigned long max_offset, in test_one() argument
47 y = memcmp(s1+offset, s2+offset, size); in test_one()
48 x = test_memcmp(s1+offset, s2+offset, size); in test_one()
55 printf("%02x ", s1[i]); in test_one()
66 offset, size, s1, s2, vmx_count); in test_one()
77 char *p, *s1, *s2; in testcase() local
89 s1 = p + MAP_SIZE - alloc_size; in testcase()
101 char *rand_s1 = s1; in testcase()
105 s1[j] = random(); in testcase()
[all …]
/OK3568_Linux_fs/kernel/arch/x86/boot/
H A Dstring.c32 int memcmp(const void *s1, const void *s2, size_t len) in memcmp() argument
36 : CC_OUT(nz) (diff), "+D" (s1), "+S" (s2), "+c" (len)); in memcmp()
43 int bcmp(const void *s1, const void *s2, size_t len) in bcmp() argument
45 return memcmp(s1, s2, len); in bcmp()
50 const unsigned char *s1 = (const unsigned char *)str1; in strcmp() local
54 while (*s1 || *s2) { in strcmp()
55 delta = *s1 - *s2; in strcmp()
58 s1++; in strcmp()
171 char *strstr(const char *s1, const char *s2) in strstr() argument
177 return (char *)s1; in strstr()
[all …]
/OK3568_Linux_fs/kernel/arch/s390/lib/
H A Dstring.c222 int strcmp(const char *s1, const char *s2) in strcmp() argument
234 : "+d" (ret), "+d" (r0), "+a" (s1), "+a" (s2) in strcmp()
260 static inline int clcle(const char *s1, unsigned long l1, in clcle() argument
263 register unsigned long r2 asm("2") = (unsigned long) s1; in clcle()
284 char *strstr(const char *s1, const char *s2) in strstr() argument
290 return (char *) s1; in strstr()
291 l1 = __strend(s1) - s1; in strstr()
295 cc = clcle(s1, l2, s2, l2); in strstr()
297 return (char *) s1; in strstr()
298 s1++; in strstr()
[all …]
/OK3568_Linux_fs/buildroot/dl/sox/git/src/
H A Dutil.c23 int lsx_strcasecmp(const char * s1, const char * s2) in lsx_strcasecmp() argument
26 return strcasecmp(s1, s2); in lsx_strcasecmp()
28 return _stricmp(s1, s2); in lsx_strcasecmp()
30 while (*s1 && (toupper(*s1) == toupper(*s2))) in lsx_strcasecmp()
31 s1++, s2++; in lsx_strcasecmp()
32 return toupper(*s1) - toupper(*s2); in lsx_strcasecmp()
36 int lsx_strncasecmp(char const * s1, char const * s2, size_t n) in lsx_strncasecmp() argument
39 return strncasecmp(s1, s2, n); in lsx_strncasecmp()
41 return _strnicmp(s1, s2, n); in lsx_strncasecmp()
43 while (--n && *s1 && (toupper(*s1) == toupper(*s2))) in lsx_strncasecmp()
[all …]
/OK3568_Linux_fs/kernel/lib/
H A Dstring.c43 int strncasecmp(const char *s1, const char *s2, size_t len) in strncasecmp() argument
52 c1 = *s1++; in strncasecmp()
69 int strcasecmp(const char *s1, const char *s2) in strcasecmp() argument
74 c1 = tolower(*s1++); in strcasecmp()
703 bool sysfs_streq(const char *s1, const char *s2) in sysfs_streq() argument
705 while (*s1 && *s1 == *s2) { in sysfs_streq()
706 s1++; in sysfs_streq()
710 if (*s1 == *s2) in sysfs_streq()
712 if (!*s1 && *s2 == '\n' && !s2[1]) in sysfs_streq()
714 if (*s1 == '\n' && !s1[1] && !*s2) in sysfs_streq()
[all …]
/OK3568_Linux_fs/external/libmali/include/CL/
H A Dcl_platform.h531 __CL_ANON_STRUCT__ struct{ cl_char s0, s1; }; member
544 __CL_ANON_STRUCT__ struct{ cl_char s0, s1, s2, s3; }; member
563 __CL_ANON_STRUCT__ struct{ cl_char s0, s1, s2, s3, s4, s5, s6, s7; }; member
582 …__CL_ANON_STRUCT__ struct{ cl_char s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, sA, sB, sC, sD, sE, sF… member
606 __CL_ANON_STRUCT__ struct{ cl_uchar s0, s1; }; member
619 __CL_ANON_STRUCT__ struct{ cl_uchar s0, s1, s2, s3; }; member
638 __CL_ANON_STRUCT__ struct{ cl_uchar s0, s1, s2, s3, s4, s5, s6, s7; }; member
657 …__CL_ANON_STRUCT__ struct{ cl_uchar s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, sA, sB, sC, sD, sE, s… member
681 __CL_ANON_STRUCT__ struct{ cl_short s0, s1; }; member
694 __CL_ANON_STRUCT__ struct{ cl_short s0, s1, s2, s3; }; member
[all …]
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/lib/gcc/aarch64-none-linux-gnu/10.3.1/include/sanitizer/
H A Dcommon_interface_defs.h234 void __sanitizer_weak_hook_memcmp(void *called_pc, const void *s1,
244 void __sanitizer_weak_hook_strncmp(void *called_pc, const char *s1,
254 void __sanitizer_weak_hook_strncasecmp(void *called_pc, const char *s1,
263 void __sanitizer_weak_hook_strcmp(void *called_pc, const char *s1,
272 void __sanitizer_weak_hook_strcasecmp(void *called_pc, const char *s1,
281 void __sanitizer_weak_hook_strstr(void *called_pc, const char *s1,
284 void __sanitizer_weak_hook_strcasestr(void *called_pc, const char *s1,
288 const void *s1, size_t len1,
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/lib/gcc/arm-none-linux-gnueabihf/10.3.1/include/sanitizer/
H A Dcommon_interface_defs.h234 void __sanitizer_weak_hook_memcmp(void *called_pc, const void *s1,
244 void __sanitizer_weak_hook_strncmp(void *called_pc, const char *s1,
254 void __sanitizer_weak_hook_strncasecmp(void *called_pc, const char *s1,
263 void __sanitizer_weak_hook_strcmp(void *called_pc, const char *s1,
272 void __sanitizer_weak_hook_strcasecmp(void *called_pc, const char *s1,
281 void __sanitizer_weak_hook_strstr(void *called_pc, const char *s1,
284 void __sanitizer_weak_hook_strcasestr(void *called_pc, const char *s1,
288 const void *s1, size_t len1,
/OK3568_Linux_fs/kernel/include/linux/
H A Dzutil.h57 #define DO1(buf,i) {s1 += buf[i]; s2 += s1;}
82 unsigned long s1 = adler & 0xffff; in zlib_adler32() local
97 s1 += *buf++; in zlib_adler32()
98 s2 += s1; in zlib_adler32()
100 s1 %= BASE; in zlib_adler32()
103 return (s2 << 16) | s1; in zlib_adler32()

12345678910>>...25