/xnu-2422.115.4/libsyscall/wrappers/string/ |
H A D | strcmp.c | 40 strcmp(const char *s1, const char *s2) argument 42 while (*s1 == *s2++) 43 if (*s1++ == '\0') 45 return (*(const unsigned char *)s1 - *(const unsigned char *)(s2 - 1));
|
H A D | memcpy.c | 118 memmove(void *s1, const void *s2, size_t n) argument 120 return memcpy(s1, s2, n); 125 bcopy(const void *s1, void *s2, size_t n) argument 127 memcpy(s2, s1, n);
|
/xnu-2422.115.4/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); 87 extern int strprefix(const char *s1, const char *s2);
|
/xnu-2422.115.4/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 289 strncpy( char *s1, const char *s2, size_t n) argument 560 strprefix(register const char *s1, register const char *s2) argument [all...] |
/xnu-2422.115.4/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 | 3722 OSSerialize * s1 = OSSerialize::withCapacity(128); local 3724 current->serialize(s1); 3727 OBFUSCATE(_current), s->text(), s1->text(), s2->text()); 3728 s1->release();
|
/xnu-2422.115.4/libkern/ |
H A D | mkext.c | 36 #define DO1(buf,i) {s1 += buf[i]; s2 += s1;} 45 unsigned long s1 = 1; // adler & 0xffff; local 59 s1 += *buf++; 60 s2 += s1; 62 s1 %= BASE; 65 return (s2 << 16) | s1;
|
/xnu-2422.115.4/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));
|
/xnu-2422.115.4/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,
|
/xnu-2422.115.4/bsd/sys/ |
H A D | dtrace_glue.h | 543 #define LIT_STRNEQL(s1, lit_s2) (0 == strncmp( (s1), (lit_s2), sizeof((lit_s2)) )) 550 #define LIT_STRNSTART(s1, lit_s2) (0 == strncmp( (s1), (lit_s2), sizeof((lit_s2)) - 1 ))
|
/xnu-2422.115.4/osfmk/x86_64/ |
H A D | loose_ends.c | 259 unsigned char s1; local 262 s1 = *(volatile unsigned char *)PHYSMAP_PTOV(paddr); 263 result = s1; 481 memcmp(const void *s1, const void *s2, size_t n) argument 484 const unsigned char *p1 = s1, *p2 = s2;
|
/xnu-2422.115.4/bsd/dev/dtrace/ |
H A D | dtrace.c | 952 dtrace_strncmp(char *s1, char *s2, size_t limit) argument 957 if (s1 == s2 || limit == 0) 963 if (s1 == NULL) { 966 c1 = dtrace_load8((uintptr_t)s1++); 1038 uint8_t *s1 = dst; local 1041 if (s1 <= s2) { 1043 *s1++ = dtrace_load8((uintptr_t)s2++); 1047 s1 += len; 1050 *--s1 = dtrace_load8((uintptr_t)--s2); 1067 uint8_t *s1 local 1100 dtrace_bcmp(const void *s1, const void *s2, size_t len) argument [all...] |
/xnu-2422.115.4/bsd/nfs/ |
H A D | nfs_node.c | 345 int (*cmp)(const char *s1, const char *s2, size_t n);
|