Home
last modified time | relevance | path

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

12

/xen/xen/include/xen/
A Dstring.h30 #define strcmp(s1, s2) __builtin_strcmp(s1, s2) argument
35 #define strncmp(s1, s2, n) __builtin_strncmp(s1, s2, n) argument
44 #define strcasecmp(s1, s2) __builtin_strcasecmp(s1, s2) argument
49 #define strchr(s1, c) __builtin_strchr(s1, c) argument
54 #define strrchr(s1, c) __builtin_strrchr(s1, c) argument
59 #define strstr(s1, s2) __builtin_strstr(s1, s2) argument
64 #define strlen(s1) __builtin_strlen(s1) argument
101 #define memcmp(s1, s2, n) __builtin_memcmp(s1, s2, n) argument
A Ddevice_tree.h216 #define dt_prop_cmp(s1, s2) strcmp((s1), (s2)) argument
217 #define dt_node_cmp(s1, s2) strcasecmp((s1), (s2)) argument
218 #define dt_compat_cmp(s1, s2) strcasecmp((s1), (s2)) argument
/xen/xen/crypto/
A Drijndael.c959 Te1[(s1 >> 16) & 0xff] ^ in rijndaelEncrypt()
964 Te0[(s1 >> 24) ] ^ in rijndaelEncrypt()
973 Te3[(s1 ) & 0xff] ^ in rijndaelEncrypt()
978 Te2[(s1 >> 8) & 0xff] ^ in rijndaelEncrypt()
993 s1 = in rijndaelEncrypt()
1024 s1 = in rijndaelEncrypt()
1030 PUTU32(ct + 4, s1); in rijndaelEncrypt()
1147 Td3[(s1 ) & 0xff] ^ in rijndaelDecrypt()
1179 s1 = in rijndaelDecrypt()
1210 s1 = in rijndaelDecrypt()
[all …]
/xen/xen/include/asm-x86/
A Dio.h20 #define __OUT2(s,s1,s2) \ argument
21 __asm__ __volatile__ ("out" #s " %" s1 "0,%" s2 "1"
23 #define __OUT(s,s1,x) \ argument
24 __OUT1(s,x) __OUT2(s,s1,"w") : : "a" (value), "Nd" (port)); } \
25 __OUT1(s##_p,x) __OUT2(s,s1,"w") : : "a" (value), "Nd" (port));}
30 #define __IN2(s,s1,s2) \ argument
31 __asm__ __volatile__ ("in" #s " %" s2 "1,%" s1 "0"
33 #define __IN(s,s1,i...) \ argument
34 __IN1(s) __IN2(s,s1,"w") : "=a" (_v) : "Nd" (port) ,##i ); return _v; } \
35 __IN1(s##_p) __IN2(s,s1,"w") : "=a" (_v) : "Nd" (port) ,##i ); return _v; }
A Dbug.h97 .L\@s1: .asciz "\file_str"
105 .long (.L\@s1 - .L\@bf) + \
/xen/xen/include/acpi/platform/
A Dacenv.h231 #define ACPI_STRSTR(s1,s2) strstr((s1), (s2)) argument
232 #define ACPI_STRCHR(s1,c) strchr((s1), (c)) argument
241 #define ACPI_MEMCMP(s1,s2,n) memcmp((const char *)(s1), (const char *)(s2), (acpi_size)(n)) argument
292 #define ACPI_STRSTR(s1,s2) acpi_ut_strstr ((s1), (s2)) argument
293 #define ACPI_STRCHR(s1,c) acpi_ut_strchr ((s1), (c)) argument
302 #define ACPI_MEMCMP(s1,s2,n) acpi_ut_memcmp((const char *)(s1), (const char *)(s2), (acpi_size)(… argument
/xen/xen/common/
A Dstring.c18 int strnicmp(const char *s1, const char *s2, size_t len) in strnicmp() argument
26 c1 = *s1; c2 = *s2; in strnicmp()
27 s1++; s2++; in strnicmp()
45 int (strcasecmp)(const char *s1, const char *s2)
51 c1 = tolower(*s1++);
299 char *(strstr)(const char *s1, const char *s2)
304 return (char *)s1;
306 for (l1 = strlen(s1); l1 >= l2; --l1, ++s1)
307 if (!memcmp(s1, s2, l2))
308 return (char *)s1;
A Dlib.c458 const char *s1; in parse_size_and_unit() local
460 ret = simple_strtoull(s, &s1, 0); in parse_size_and_unit()
462 switch ( *s1 ) in parse_size_and_unit()
477 s1++; in parse_size_and_unit()
489 *ps = s1; in parse_size_and_unit()
/xen/tools/libfsimage/common/
A Dfsimage_grub.c208 fsig_substring(const char *s1, const char *s2) in fsig_substring() argument
210 while (*s1 == *s2) { in fsig_substring()
211 if (*s1 == '\0') in fsig_substring()
213 s1++; in fsig_substring()
217 if (*s1 == '\0') in fsig_substring()
/xen/tools/firmware/rombios/32bit/
A Dutil.h16 int strncmp(const char *s1, const char *s2, uint32_t n);
23 int memcmp(const void *s1, const void *s2, unsigned n);
A Dutil.c93 int strncmp(const char *s1, const char *s2, uint32_t n) in strncmp() argument
97 if (s1[ctr] != s2[ctr]) in strncmp()
98 return (int)(s1[ctr] - s2[ctr]); in strncmp()
195 memcmp(const void *s1, const void *s2, unsigned n) in memcmp() argument
198 uint8_t *p1 = (uint8_t *) s1; in memcmp()
/xen/stubdom/vtpmmgr/
A Ddisk_crypto.c159 static void xor128(struct mac128 *dst, const struct mac128 *s1, const struct mac128 *s2) in xor128() argument
163 dst->bits[i] = s1->bits[i] ^ s2->bits[i]; in xor128()
/xen/tools/firmware/hvmloader/
A Dutil.c141 int strncmp(const char *s1, const char *s2, uint32_t n) in strncmp() argument
145 if (s1[ctr] != s2[ctr]) in strncmp()
146 return (int)(s1[ctr] - s2[ctr]); in strncmp()
307 memcmp(const void *s1, const void *s2, unsigned n) in memcmp() argument
310 uint8_t *p1 = (uint8_t *) s1; in memcmp()
A Dutil.h169 int strncmp(const char *s1, const char *s2, uint32_t n);
174 int memcmp(const void *s1, const void *s2, unsigned n);
/xen/xen/common/efi/
A Dboot.c263 static int __init wstrcmp(const CHAR16 *s1, const CHAR16 *s2) in wstrcmp() argument
265 while ( *s1 && *s1 == *s2 ) in wstrcmp()
267 ++s1; in wstrcmp()
270 return *s1 - *s2; in wstrcmp()
273 static int __init wstrncmp(const CHAR16 *s1, const CHAR16 *s2, UINTN n) in wstrncmp() argument
275 while ( n && *s1 && *s1 == *s2 ) in wstrncmp()
278 ++s1; in wstrncmp()
281 return n ? *s1 - *s2 : 0; in wstrncmp()
/xen/xen/tools/kconfig/
A Dsymbol.c924 const struct sym_match *s1 = sym1; in sym_rel_comp() local
937 exact1 = (s1->eo - s1->so) == strlen(s1->sym->name); in sym_rel_comp()
945 return strcmp(s1->sym->name, s2->sym->name); in sym_rel_comp()
A Dexpr.h298 struct expr *expr_alloc_comp(enum expr_type type, struct symbol *s1, struct symbol *s2);
/xen/stubdom/grub.patches/
A D10graphics.diff1425 + unsigned char *mem, *s1, *s2, *s4, *s8;
1431 + s1 = (unsigned char*)VSHADOW1;
1444 + grub_memcpy(mem, s1, 38400);
1512 + unsigned char base, mask, *s1, *s2, *s4, *s8;
1594 + s1 = (unsigned char*)VSHADOW1;
1600 + s1[i] = s2[i] = s4[i] = s8[i] = 0;
1622 + s1[len + (x >> 3)] |= mask;
1864 int grub_strncat (char *s1, const char *s2, int n);
1868 int grub_strncat (char *s1, const char *s2, int n);
A D99minios658 int substring (const char *s1, const char *s2);
1205 s1 = (unsigned char*)VSHADOW1;
1263 s1 = (unsigned char*)VSHADOW1;
1269 s1[i] = s2[i] = s4[i] = s8[i] = 0;
1283 s1[len + (x >> 3)] |= mask;
/xen/tools/libfsimage/zfs/
A Dfsys_zfs.c80 zfs_bcmp(const void *s1, const void *s2, size_t n) in zfs_bcmp() argument
82 const uint8_t *ps1 = s1; in zfs_bcmp()
85 if (s1 != s2 && n != 0) { in zfs_bcmp()
/xen/xen/include/efi/
A Defiprot.h497 IN CHAR16 *s1,
/xen/tools/xenstore/
A Dxenstored_core.c1676 static char *child_name(const char *s1, const char *s2) in child_name() argument
1678 if (strcmp(s1, "/")) { in child_name()
1679 return talloc_asprintf(NULL, "%s/%s", s1, s2); in child_name()
/xen/scripts/
A Dget_maintainer.pl807 my $s1 = ($file =~ tr@/@@);
809 if ($s1 == $s2) {
/xen/tools/libxl/
A Dlibxlu_cfg_l.c2322 static void yy_flex_strncpy (char* s1, const char * s2, int n , yyscan_t yyscanner) in yy_flex_strncpy() argument
2329 s1[i] = s2[i]; in yy_flex_strncpy()
A Dlibxlu_disk_l.c2891 static void yy_flex_strncpy (char* s1, const char * s2, int n , yyscan_t yyscanner) in yy_flex_strncpy() argument
2898 s1[i] = s2[i]; in yy_flex_strncpy()

Completed in 65 milliseconds

12