/kernel/linux/linux-5.10/arch/ia64/lib/ |
H A D | idiv64.S | 29 # 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 f [all...] |
H A D | idiv32.S | 30 # 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
|
/kernel/linux/linux-6.6/arch/ia64/lib/ |
H A D | idiv64.S | 29 # 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 f [all...] |
H A D | idiv32.S | 30 # 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
|
/kernel/liteos_a/lib/libc/musl/src/ |
H A D | memcmp.c | 40 const unsigned char *s1 = str1; in memcmp() local 45 if (*(const uint64_t *)(s1) != *(const uint64_t *)(s2)) { in memcmp() 48 s1 += SIZE_U64; in memcmp() 58 if (*(const uint32_t *)(s1) != *(const uint32_t *)(s2)) { in memcmp() 61 s1 += SIZE_U32; in memcmp() 69 for (; num && (*s1 == *s2); num--, s1++, s2++) { in memcmp() 71 return num ? *s1 - *s2 : 0; in memcmp()
|
/kernel/linux/linux-6.6/arch/s390/lib/ |
H A D | string.c | 202 * @s1: One string 205 * returns 0 if @s1 and @s2 are equal, 206 * < 0 if @s1 is less than @s2 207 * > 0 if @s1 is greater than @s2 210 int strcmp(const char *s1, const char *s2) in strcmp() argument 216 "0: clst %[s1],%[s2]\n" in strcmp() 219 " ic %[ret],0(%[s1])\n" in strcmp() 223 : [ret] "+&d" (ret), [s1] "+&a" (s1), [s2] "+&a" (s2) in strcmp() 231 static inline int clcle(const char *s1, unsigne argument 255 strstr(const char *s1, const char *s2) strstr() argument 312 memcmp(const void *s1, const void *s2, size_t n) memcmp() argument [all...] |
/kernel/linux/linux-5.10/arch/loongarch/kernel/ |
H A D | relocate_kernel.S | 35 PTR_L s1, s0, 0 39 andi s2, s1, IND_DESTINATION 42 and s3, s1, t0 /* store destination addr in s3 */ 47 andi s2, s1, IND_INDIRECTION 50 and s0, s1, t0 55 andi s2, s1, IND_DONE 61 andi s2, s1, IND_SOURCE 64 and s1, s1, t0 69 REG_L s4, s1, [all...] |
/kernel/linux/linux-6.6/arch/loongarch/kernel/ |
H A D | relocate_kernel.S | 34 PTR_L s1, s0, 0 38 andi s2, s1, IND_DESTINATION 41 and s3, s1, t0 /* store destination addr in s3 */ 46 andi s2, s1, IND_INDIRECTION 49 and s0, s1, t0 54 andi s2, s1, IND_DONE 60 andi s2, s1, IND_SOURCE 63 and s1, s1, t0 68 REG_L s4, s1, [all...] |
/kernel/linux/linux-5.10/tools/perf/tests/ |
H A D | sample-parsing.c | 20 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 in samples_same() [all...] |
/kernel/linux/linux-5.10/arch/s390/lib/ |
H A D | string.c | 214 * @s1: One string 217 * returns 0 if @s1 and @s2 are equal, 218 * < 0 if @s1 is less than @s2 219 * > 0 if @s1 is greater than @s2 222 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() 280 * @s1: The string to be searched 284 char *strstr(const char *s1, cons argument 338 memcmp(const void *s1, const void *s2, size_t n) memcmp() argument [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/stringloops/ |
H A D | memcmp.c | 34 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() 65 printf("vmx enter/exit not paired.(offset:%ld size:%ld s1:%p s2:%p vc:%d\n", in test_one() 66 offset, size, s1, s2, vmx_count); in test_one() 77 char *p, *s1, *s2; in testcase() local 88 /* Put s1/s2 at the end of a page */ in testcase() 89 s1 in testcase() [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/stringloops/ |
H A D | memcmp.c | 34 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() 65 printf("vmx enter/exit not paired.(offset:%ld size:%ld s1:%p s2:%p vc:%d\n", in test_one() 66 offset, size, s1, s2, vmx_count); in test_one() 77 char *p, *s1, *s2; in testcase() local 88 /* Put s1/s2 at the end of a page */ in testcase() 89 s1 in testcase() [all...] |
/kernel/linux/linux-5.10/arch/x86/boot/ |
H A D | string.c | 32 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() 168 * @s1: The string to be searched 171 char *strstr(const char *s1, cons argument [all...] |
/kernel/linux/linux-6.6/arch/x86/boot/ |
H A D | string.c | 32 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() 168 * @s1: The string to be searched 171 char *strstr(const char *s1, cons argument [all...] |
/kernel/linux/linux-6.6/fs/ntfs3/ |
H A D | upcase.c | 36 int ntfs_cmp_names(const __le16 *s1, size_t l1, const __le16 *s2, size_t l2, in ntfs_cmp_names() argument 46 for (; len; s1++, s2++, len--) { in ntfs_cmp_names() 47 diff1 = le16_to_cpu(*s1) - le16_to_cpu(*s2); in ntfs_cmp_names() 58 for (; len; s1++, s2++, len--) { in ntfs_cmp_names() 59 diff2 = upcase_unicode_char(upcase, le16_to_cpu(*s1)) - in ntfs_cmp_names() 72 const u16 *s1 = uni1->name; in ntfs_cmp_names_cpu() local 83 for (; len; s1++, s2++, len--) { in ntfs_cmp_names_cpu() 84 diff1 = *s1 - le16_to_cpu(*s2); in ntfs_cmp_names_cpu() 95 for (; len; s1++, s2++, len--) { in ntfs_cmp_names_cpu() 96 diff2 = upcase_unicode_char(upcase, *s1) in ntfs_cmp_names_cpu() [all...] |
/kernel/liteos_a/testsuites/unittest/net/resolv/ |
H A D | net_resolv_test.cpp | 37 int stricmp(const char *s1, const char *s2) in stricmp() argument 39 for (; *s1 && *s2; s1++, s2++) { in stricmp() 40 if (*s1 == *s2) continue; in stricmp() 41 if ((*s1 ^ *s2) == 0x20 && (*s2 | 0x20) >= 'a' && (*s2 | 0x20) <= 'z') continue; in stricmp() 44 return *s1 - *s2; in stricmp()
|
/kernel/linux/linux-5.10/lib/ |
H A D | string.c | 39 * @s1: One string 43 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() 695 * @s1: one string 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() 1000 strstr(const char *s1, const char *s2) strstr() argument 1026 strnstr(const char *s1, const char *s2, size_t len) strnstr() argument [all...] |
/kernel/linux/linux-5.10/include/linux/ |
H A D | zutil.h | 57 #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()
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | zutil.h | 57 #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()
|
/kernel/linux/linux-6.6/tools/perf/tests/ |
H A D | sample-parsing.c | 21 if (s1->m != s2->m) { \ 28 if (memcmp(&s1->m, &s2->m, sizeof(s1->m))) { \ 43 static bool samples_same(const struct perf_sample *s1, in samples_same() argument 89 for (i = 0; i < s1->read.group.nr; i++) { in samples_same() 103 for (i = 0; i < s1->callchain->nr; i++) in samples_same() 109 if (memcmp(s1->raw_data, s2->raw_data, s1->raw_size)) { in samples_same() 118 for (i = 0; i < s1->branch_stack->nr; i++) { in samples_same() 129 size_t sz = hweight_long(s1 in samples_same() [all...] |
/kernel/linux/linux-5.10/arch/sparc/include/asm/ |
H A D | prom.h | 23 #define of_compat_cmp(s1, s2, l) strncmp((s1), (s2), (l)) 24 #define of_prop_cmp(s1, s2) strcasecmp((s1), (s2)) 25 #define of_node_cmp(s1, s2) strcmp((s1), (s2))
|
/kernel/linux/linux-6.6/arch/sparc/include/asm/ |
H A D | prom.h | 24 #define of_compat_cmp(s1, s2, l) strncmp((s1), (s2), (l)) 25 #define of_prop_cmp(s1, s2) strcasecmp((s1), (s2)) 26 #define of_node_cmp(s1, s2) strcmp((s1), (s2))
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/ |
H A D | btf_dump_test_case_ordering.c | 9 struct s1 {}; struct 22 struct s1 s1; member 27 struct s1 s1; member
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/ |
H A D | btf_dump_test_case_ordering.c | 9 struct s1 {}; struct 22 struct s1 s1; member 27 struct s1 s1; member
|
/kernel/linux/linux-5.10/drivers/firmware/efi/libstub/ |
H A D | string.c | 17 * @s1: The string to be searched 20 char *strstr(const char *s1, const char *s2) in strstr() argument 26 return (char *)s1; in strstr() 27 l1 = strlen(s1); in strstr() 30 if (!memcmp(s1, s2, l2)) in strstr() 31 return (char *)s1; in strstr() 32 s1++; in strstr()
|