Searched refs:s1 (Results 1 - 25 of 47) sorted by relevance

12

/u-boot/include/
H A Dsort.h16 * < 0 if element at s1 < element at s2,
17 * 0 if element at s1 == element at s2,
18 * > 0 if element at s1 > element at s2,
21 int (*compar)(const void *s1, const void *s2));
28 * @s1: First string to compare
32 int strcmp_compar(const void *s1, const void *s2);
H A Dcharset.h179 * @s1: first string to compare
181 * Return: 0 if the first n u16 are the same in s1 and s2
182 * < 0 if the first different u16 in s1 is less than the
184 * > 0 if the first different u16 in s1 is greater than the
186 int u16_strcasecmp(const u16 *s1, const u16 *s2);
191 * @s1: first string to compare
194 * Return: 0 if the first n u16 are the same in s1 and s2
195 * < 0 if the first different u16 in s1 is less than the
197 * > 0 if the first different u16 in s1 is greater than the
200 int u16_strncmp(const u16 *s1, cons
[all...]
/u-boot/lib/lzo/
H A Dlzodefs.h41 #define DX2(p, s1, s2) (((((size_t)((p)[2]) << (s2)) ^ (p)[1]) \
42 << (s1)) ^ (p)[0])
43 #define DX3(p, s1, s2, s3) ((DX2((p)+1, s2, s3) << (s1)) ^ (p)[0])
/u-boot/arch/sh/lib/
H A Dzimageboot.c23 char *s0, *s1; local
34 s1 = argv[2];
44 if (s1)
45 param = (unsigned char *)hextoul(s1, NULL);
/u-boot/include/dm/
H A Dof.h125 #define of_compat_cmp(s1, s2, l) strcasecmp((s1), (s2))
126 #define of_prop_cmp(s1, s2) strcmp((s1), (s2))
127 #define of_node_cmp(s1, s2) strcasecmp((s1), (s2))
/u-boot/lib/libavb/
H A Davb_sysdeps_posix.c25 int avb_strcmp(const char* s1, const char* s2) { argument
26 return strcmp(s1, s2);
29 int avb_strncmp(const char* s1, const char* s2, size_t n) { argument
30 return strncmp(s1, s2, n);
H A Davb_sysdeps.h52 * Return an integer less than, equal to, or greater than zero if |s1|
56 int avb_strcmp(const char* s1, const char* s2);
61 * first |n| bytes of |s1| is found, respectively, to be less than,
64 int avb_strncmp(const char* s1, const char* s2, size_t n);
/u-boot/lib/efi_loader/
H A Defi_freestanding.c16 * @s1: pointer to first area
23 int memcmp(const void *s1, const void *s2, size_t n) argument
25 const u8 *pos1 = s1;
H A Defi_unicode_collation.c36 * @s1: first string
45 * Return: 0: s1 == s2, > 0: s1 > s2, < 0: s1 < s2
48 struct efi_unicode_collation_protocol *this, u16 *s1, u16 *s2)
53 EFI_ENTRY("%p, %ls, %ls", this, s1, s2);
54 for (; *s1 | *s2; ++s1, ++s2) {
55 c1 = utf_to_upper(*s1);
47 efi_stri_coll( struct efi_unicode_collation_protocol *this, u16 *s1, u16 *s2) argument
/u-boot/test/lib/
H A Dstrlcat.c20 char *s1, *s2; local
35 s1 = buf1 + align1;
39 s1[i] = 32 + 23 * i % (127 - 32);
40 s1[len1 - 1] = '\0';
46 expected = min(strlen(s2), n) + strlen(s1);
47 actual = strlcat(s2, s1, n);
50 "strlcat(s2, s1, n) == min(len2, n) + len1",
57 if (memcmp(s2 + len2, s1, len)) {
59 "s2 + len1 == s1",
61 (int)len, s1, (in
[all...]
H A Dsscanf.c39 char s1[20], s2[10], s3[10], ch; local
139 ut_asserteq(0, sscanf("99 fresh", "%% %3u %s", &u1, s1));
140 ut_asserteq(1, sscanf("99 fresh", "%3u%% %s", &u1, s1));
141 ut_asserteq(2, sscanf("99 fresh", "%3u %5s %%", &u1, s1));
143 ut_asserteq_str(s1, "fresh");
144 ut_asserteq(1, sscanf("% boo", "%% %3s", s1));
145 ut_asserteq_str("boo", s1);
148 ut_asserteq(2, sscanf("hello", "%3s%7s", s1, s2));
149 ut_asserteq_str(s1, "hel");
157 ut_asserteq(2, sscanf("76trombones", "%6u%9s", &u1, s1)); /*
[all...]
/u-boot/drivers/mtd/nand/raw/
H A Dnand_ecc.c136 uint8_t s0, s1, s2; local
138 s1 = calc_ecc[0] ^ read_ecc[0];
141 if ((s0 | s1 | s2) == 0)
146 ((s1 ^ (s1 >> 1)) & 0x55) == 0x55 &&
151 byteoffs = (s1 << 0) & 0x80;
152 byteoffs |= (s1 << 1) & 0x40;
153 byteoffs |= (s1 << 2) & 0x20;
154 byteoffs |= (s1 << 3) & 0x10;
170 if(countbits(s0 | ((uint32_t)s1 <<
[all...]
/u-boot/arch/mips/include/asm/
H A Dregdef.h40 #define s1 $17 macro
83 #define s1 $17 macro
/u-boot/arch/riscv/lib/
H A Dsetjmp.S21 STORE_IDX(s1, 1)
42 LOAD_IDX(s1, 1)
/u-boot/include/linux/
H A Dstring.h48 int strcasecmp(const char *s1, const char *s2);
51 extern int strncasecmp(const char *s1, const char *s2, __kernel_size_t len);
/u-boot/lib/bzip2/
H A Dbzlib_blocksort.c397 UInt16 s1, s2; local
455 s1 = quadrant[i1]; s2 = quadrant[i2];
456 if (s1 != s2) return (s1 > s2);
461 s1 = quadrant[i1]; s2 = quadrant[i2];
462 if (s1 != s2) return (s1 > s2);
467 s1 = quadrant[i1]; s2 = quadrant[i2];
468 if (s1 != s2) return (s1 > s
[all...]
/u-boot/lib/
H A Dstring.c28 * @s1: One string
32 int strncasecmp(const char *s1, const char *s2, size_t len) argument
40 c1 = *s1; c2 = *s2;
41 s1++; s2++;
59 * @s1: One string
62 int strcasecmp(const char *s1, const char *s2) argument
64 return strncasecmp(s1, s2, -1U);
685 * @s1: The string to be searched
688 char * strstr(const char * s1,const char * s2) argument
694 return (char *) s1;
[all...]
H A Dcharset.c355 * @s1: first string to compare
358 * Return: 0 if the first n u16 are the same in s1 and s2
359 * < 0 if the first different u16 in s1 is less than the
361 * > 0 if the first different u16 in s1 is greater than the
363 int u16_strcasecmp(const u16 *s1, const u16 *s2) argument
369 c1 = utf_to_upper(utf16_get(&s1));
381 * @s1: first string to compare
384 * Return: 0 if the first n u16 are the same in s1 and s2
385 * < 0 if the first different u16 in s1 is less than the
387 * > 0 if the first different u16 in s1 i
390 u16_strncmp(const u16 *s1, const u16 *s2, size_t n) argument
[all...]
/u-boot/arch/x86/include/asm/
H A Dio.h152 #define __OUT2(s,s1,s2) \
153 __asm__ __volatile__ ("out" #s " %" s1 "0,%" s2 "1"
156 #define __OUT(s,s1,x) \
157 __OUT1(s,x) __OUT2(s,s1,"w") : : "a" (value), "Nd" (port)); } \
158 __OUT1(s##_p,x) __OUT2(s,s1,"w") __FULL_SLOW_DOWN_IO : : "a" (value), "Nd" (port));}
163 #define __IN2(s,s1,s2) \
164 __asm__ __volatile__ ("in" #s " %" s2 "1,%" s1 "0"
166 #define __IN(s,s1,i...) \
167 __IN1(s) __IN2(s,s1,"w") : "=a" (_v) : "Nd" (port) ,##i ); return _v; } \
168 __IN1(s##_p) __IN2(s,s1,"
[all...]
/u-boot/board/siemens/common/
H A Dfactoryset.c28 static int fact_match(unsigned char *eeprom_buf, uchar *s1, int i2) argument
30 if (s1 == NULL)
33 while (*s1 == fact_get_char(i2++))
34 if (*s1++ == '=')
37 if (*s1 == '\0' && fact_get_char(i2-1) == '=')
/u-boot/board/dhelectronics/dh_imx6/
H A Ddh_imx6.c212 static int strcmp_prefix(const char *s1, const char *s2) argument
216 n = min(strlen(s1), strlen(s2));
217 return strncmp(s1, s2, n);
/u-boot/arch/riscv/include/asm/
H A Dptrace.h22 unsigned long s1; member in struct:pt_regs
/u-boot/cmd/
H A Dsetexpr.c110 * @s1: The string to be searched
116 static char *memstr(const char *s1, int l1, const char *s2, int l2) argument
119 return (char *)s1;
123 if (!memcmp(s1, s2, l2))
124 return (char *)s1;
125 s1++;
/u-boot/arch/arm/cpu/armv8/
H A Dsha1_ce_core.S55 .macro add_update, op, ev, rc, s0, s1, s2, s3, dg1
56 sha1su0 v\s0\().4s, v\s1\().4s, v\s2\().4s
57 add_only \op, \ev, \rc, \s1, \dg1
H A Dsha256_ce_core.S47 .macro add_update, ev, rc, s0, s1, s2, s3
48 sha256su0 v\s0\().4s, v\s1\().4s
49 add_only \ev, \rc, \s1

Completed in 282 milliseconds

12