/darwin-on-arm/xnu/osfmk/device/ |
H A D | subrs.c | 152 * strcmp (s1, s2) compares the strings "s1" and "s2". 155 * is larger in s1 than in s2 or if s1 is longer than s2 and 158 * in s1 than in s2 or if s1 is shorter than s2 and the 159 * contents are identical upto the length of s1. 166 const char *s1, 172 a = *s1++; 185 * strncmp (s1, s 165 strcmp( const char *s1, const char *s2) argument 192 strncmp( const char *s1, const char *s2, size_t n) argument 228 strcasecmp(const char *s1, const char *s2) argument 240 strncasecmp(const char *s1, const char *s2, size_t n) argument 297 strncpy( char *s1, const char *s2, size_t n) argument 570 strprefix(register const char *s1, register const char *s2) argument [all...] |
/darwin-on-arm/xnu/osfmk/libsa/ |
H A D | string.h | 82 extern int strcasecmp(const char *s1, const char *s2); 83 extern int strncasecmp(const char *s1, const char *s2, size_t n); 86 extern int strprefix(const char *s1, const char *s2);
|
/darwin-on-arm/xnu/libsyscall/wrappers/ |
H A D | memcpy.c | 117 memmove(void *s1, const void *s2, size_t n) argument 119 return memcpy(s1, s2, n); 123 bcopy(const void *s1, void *s2, size_t n) argument 125 memcpy(s2, s1, n);
|
/darwin-on-arm/xnu/libkern/ |
H A D | mkext.c | 36 #define DO1(buf,i) {s1 += buf[i]; s2 += s1;} 45 unsigned long s1 = 1; // adler & 0xffff; local 54 s1 += *buf++; 55 s2 += s1; 56 if (s1 >= BASE) s1 -= BASE; 61 return adler32_vec(s1, s2, buf, len); 75 s1 += *buf++; 76 s2 += s1; [all...] |
/darwin-on-arm/xnu/iokit/Kernel/ |
H A D | IOStringFuncs.c | 90 char *strncat(char *s1, const char *s2, unsigned long n); 490 strncat(char *s1, const char *s2, unsigned long n) argument 495 os1 = s1; 496 while (*s1++) 498 --s1; 499 while ((*s1++ = *s2++)) 501 *--s1 = '\0';
|
H A D | IOService.cpp | 3688 OSSerialize * s1 = OSSerialize::withCapacity(128); local 3690 current->serialize(s1); 3692 kprintf("**mismatch** %p %p\n%s\n%s\n%s\n", current, _current, s->text(), s1->text(), s2->text()); 3693 s1->release();
|
/darwin-on-arm/xnu/libkern/zlib/ |
H A D | zutil.c | 187 int zmemcmp(s1, s2, len) 188 const Bytef* s1; 195 if (s1[j] != s2[j]) return 2*(s1[j] > s2[j])-1;
|
H A D | zutil.h | 278 extern int zmemcmp OF((const Bytef* s1, const Bytef* s2, uInt len));
|
/darwin-on-arm/xnu/bsd/dev/i386/ |
H A D | dtrace_isa.c | 271 size_t s1, s2; 280 s1 = sizeof (struct frame) + 2 * sizeof (long); 281 s2 = s1 + sizeof (siginfo_t); 283 s1 = sizeof (struct frame32) + 3 * sizeof (int); 284 s2 = s1 + sizeof (siginfo32_t); 301 if (oldcontext == sp + s1 || oldcontext == sp + s2) { 546 size_t s1, s2; 579 s1 = sizeof (struct frame) + 2 * sizeof (long); 580 s2 = s1 + sizeof (siginfo_t); 582 s1 [all...] |
H A D | fasttrap_isa.c | 1036 uint32_t s0, s1, s2, s3, s4, s5; local 1047 fasttrap_fuword32_noerr((user_addr_t)(unsigned long)&stack[1], &s1); 1067 dtrace_probe(probe->ftp_id, s1, s2, 1081 dtrace_probe(probe->ftp_id, s0, s1,
|
/darwin-on-arm/xnu/bsd/sys/ |
H A D | dtrace_glue.h | 548 #define LIT_STRNEQL(s1, lit_s2) (0 == strncmp( (s1), (lit_s2), sizeof((lit_s2)) )) 555 #define LIT_STRNSTART(s1, lit_s2) (0 == strncmp( (s1), (lit_s2), sizeof((lit_s2)) - 1 ))
|
/darwin-on-arm/xnu/osfmk/x86_64/ |
H A D | loose_ends.c | 255 unsigned char s1; local 258 s1 = *(volatile unsigned char *)PHYSMAP_PTOV(paddr); 259 result = s1; 477 memcmp(const void *s1, const void *s2, size_t n) argument 480 const unsigned char *p1 = s1, *p2 = s2;
|
/darwin-on-arm/xnu/osfmk/i386/ |
H A D | loose_ends.c | 241 unsigned char s1; local 244 s1 = *(unsigned char *)((uintptr_t)map->prv_CADDR | ((uint32_t)paddr & INTEL_OFFMASK)); 245 result = s1; 492 memcmp(const void *s1, const void *s2, size_t n) argument 495 const unsigned char *p1 = s1, *p2 = s2;
|
/darwin-on-arm/xnu/bsd/dev/dtrace/ |
H A D | dtrace.c | 1011 dtrace_strncmp(char *s1, char *s2, size_t limit) argument 1016 if (s1 == s2 || limit == 0) 1022 if (s1 == NULL) { 1025 c1 = dtrace_load8((uintptr_t)s1++); 1097 uint8_t *s1 = dst; local 1100 if (s1 <= s2) { 1102 *s1++ = dtrace_load8((uintptr_t)s2++); 1106 s1 += len; 1109 *--s1 = dtrace_load8((uintptr_t)--s2); 1126 uint8_t *s1 local 1159 dtrace_bcmp(const void *s1, const void *s2, size_t len) argument [all...] |
/darwin-on-arm/xnu/bsd/nfs/ |
H A D | nfs_node.c | 344 int (*cmp)(const char *s1, const char *s2, size_t n);
|