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

/xnu-2422.115.4/libsyscall/wrappers/string/
H A Dstrcmp.c40 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 Dmemcpy.c118 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 Dstring.h82 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 Dsubrs.c152 * 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 DIOStringFuncs.c90 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 DIOService.cpp3722 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 Dmkext.c36 #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 Dzutil.c187 int zmemcmp(s1, s2, len)
188 const Bytef* s1;
195 if (s1[j] != s2[j]) return 2*(s1[j] > s2[j])-1;
H A Dzutil.h278 extern int zmemcmp OF((const Bytef* s1, const Bytef* s2, uInt len));
/xnu-2422.115.4/bsd/dev/i386/
H A Ddtrace_isa.c271 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 Dfasttrap_isa.c1036 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 Ddtrace_glue.h543 #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 Dloose_ends.c259 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 Ddtrace.c952 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 Dnfs_node.c345 int (*cmp)(const char *s1, const char *s2, size_t n);

Completed in 106 milliseconds