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

/darwin-on-arm/xnu/libkern/c++/Tests/TestSerialization/test2/
H A Dtest2_main.cpp71 " <key>key s2</key> <string ID=\"3\">string 2</string> \n"
151 OSSerialize *s2 = OSSerialize::withCapacity(5); local
152 if (!d2->serialize(s2)) {
158 s2->getLength(), s2->getCapacity());
159 IOLog("object unformatted = %s\n", s2->text());
162 strcmp(s->text(), s2->text()) ? "un":"");
167 s2->release();
/darwin-on-arm/xnu/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
156 * the contents are identical up to the length of s2.
158 * in s1 than in s2 or if s1 is shorter than s2 and the
167 const char *s2)
173 b = *s2++;
185 * strncmp (s1, s2,
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 Dstring.h82 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 Dmemcpy.c117 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 Dmkext.c36 #define DO1(buf,i) {s1 += buf[i]; s2 += s1;}
46 unsigned long s2 = 0; // (adler >> 16) & 0xffff; local
55 s2 += s1;
58 s2 %= BASE;
61 return adler32_vec(s1, s2, buf, len);
76 s2 += s1;
79 s2 %= BASE;
81 return (s2 << 16) | s1;
/darwin-on-arm/xnu/libkern/zlib/
H A Dzutil.c187 int zmemcmp(s1, s2, len)
189 const Bytef* s2;
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));
/darwin-on-arm/xnu/bsd/dev/i386/
H A Ddtrace_isa.c271 size_t s1, s2;
281 s2 = s1 + sizeof (siginfo_t);
284 s2 = s1 + sizeof (siginfo32_t);
301 if (oldcontext == sp + s1 || oldcontext == sp + s2) {
546 size_t s1, s2;
580 s2 = s1 + sizeof (siginfo_t);
583 s2 = s1 + sizeof (siginfo32_t);
607 if (oldcontext == sp + s1 || oldcontext == sp + s2) {
H A Dfasttrap_isa.c1036 uint32_t s0, s1, s2, s3, s4, s5; local
1048 fasttrap_fuword32_noerr((user_addr_t)(unsigned long)&stack[2], &s2);
1067 dtrace_probe(probe->ftp_id, s1, s2,
1082 s2, s3, s4);
/darwin-on-arm/xnu/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
499 while ((*s1++ = *s2++))
H A DIOService.cpp3689 OSSerialize * s2 = OSSerialize::withCapacity(128); local
3691 _current->serialize(s2);
3692 kprintf("**mismatch** %p %p\n%s\n%s\n%s\n", current, _current, s->text(), s1->text(), s2->text());
3694 s2->release();
/darwin-on-arm/xnu/osfmk/x86_64/
H A Dloose_ends.c256 unsigned short s2; local
262 s2 = *(volatile unsigned short *)PHYSMAP_PTOV(paddr);
263 result = s2;
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 Dloose_ends.c242 unsigned short s2; local
248 s2 = *(unsigned short *)((uintptr_t)map->prv_CADDR | ((uint32_t)paddr & INTEL_OFFMASK));
249 result = s2;
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 Ddtrace.c1011 dtrace_strncmp(char *s1, char *s2, size_t limit) argument
1016 if (s1 == s2 || limit == 0)
1028 if (s2 == NULL) {
1031 c2 = dtrace_load8((uintptr_t)s2++);
1098 const uint8_t *s2 = src; local
1100 if (s1 <= s2) {
1102 *s1++ = dtrace_load8((uintptr_t)s2++);
1105 s2 += len;
1109 *--s1 = dtrace_load8((uintptr_t)--s2);
1127 const uint8_t *s2 local
1159 dtrace_bcmp(const void *s1, const void *s2, size_t len) argument
[all...]
/darwin-on-arm/xnu/bsd/nfs/
H A Dnfs_node.c344 int (*cmp)(const char *s1, const char *s2, size_t n);

Completed in 73 milliseconds