/macosx-10.5.8/xnu-1228.15.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 191 strncmp( const char *s1, const char *s2, size_t n) argument 227 strcasecmp(const char *s1, const char *s2) argument 239 strncasecmp(const char *s1, const char *s2, size_t n) argument 289 strncpy( char *s1, const char *s2, size_t n) argument 556 strprefix(register const char *s1, register const char *s2) argument [all...] |
/macosx-10.5.8/xnu-1228.15.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); 86 extern int strprefix(const char *s1, const char *s2);
|
/macosx-10.5.8/xnu-1228.15.4/bsd/crypto/des/ |
H A D | des_locl.h | 174 unsigned int u1,u2,s1,s2; \ 182 s1=(int)(u>>16L); \ 184 s1&=0xfc; \ 186 LL^= *(const DES_LONG *)(des_SP+0x400+s1); \ 193 s1=(int)(t>>16L); \ 195 s1&=0xfc; \ 197 LL^= *(const DES_LONG *)(des_SP+0x400+s1); \ 204 s1=(int)(t>>16L); \ 206 s1&=0xfc; \ 208 LL^= *(const DES_LONG *)(des_SP+0x500+s1); \ [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/i386/ |
H A D | dtrace_isa.c | 180 size_t s1, s2; 189 s1 = sizeof (struct frame) + 2 * sizeof (long); 190 s2 = s1 + sizeof (siginfo_t); 192 s1 = sizeof (struct frame32) + 3 * sizeof (int); 193 s2 = s1 + sizeof (siginfo32_t); 210 if (oldcontext == sp + s1 || oldcontext == sp + s2) { 390 size_t s1, s2; 423 s1 = sizeof (struct frame) + 2 * sizeof (long); 424 s2 = s1 + sizeof (siginfo_t); 426 s1 [all...] |
H A D | fasttrap_isa.c | 1015 uint32_t s0, s1, s2, s3, s4, s5; local 1026 fasttrap_fuword32_noerr((user_addr_t)(unsigned long)&stack[1], &s1); 1046 dtrace_probe(probe->ftp_id, s1, s2, 1060 dtrace_probe(probe->ftp_id, s0, s1,
|
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/ppc/ |
H A D | dtrace_isa.c | 205 size_t s1, s2; 214 s1 = sizeof (struct frame) + 2 * sizeof (long); 215 s2 = s1 + sizeof (siginfo_t); 217 s1 = sizeof (struct frame32) + 3 * sizeof (int); 218 s2 = s1 + sizeof (siginfo32_t); 235 if (oldcontext == sp + s1 || oldcontext == sp + s2) { 391 size_t s1, s2; 424 s1 = sizeof (struct frame) + 2 * sizeof (long); 425 s2 = s1 + sizeof (siginfo_t); 427 s1 [all...] |
/macosx-10.5.8/xnu-1228.15.4/osfmk/i386/ |
H A D | db_gcc_aout.c | 217 register char *s1, *s2; local 219 s1 = sp->n_un.n_name; 221 if (*s1 == '_' && *s2 && *s2 != '_') 222 s1++; 224 if (*s1++ != *s2++) { 228 if (*s2 == 0 && sp->n_un.n_name <= s1 - 2 229 && s1[-2] == '.' && s1[-1] == 'o') 239 return(*s1 == 0 || (*s1 [all...] |
H A D | loose_ends.c | 206 unsigned char s1; local 209 s1 = *(unsigned char *)((uintptr_t)map->prv_CADDR | ((uint32_t)paddr & INTEL_OFFMASK)); 210 result = s1; 459 memcmp(const void *s1, const void *s2, size_t n) argument 462 const unsigned char *p1 = s1, *p2 = s2;
|
/macosx-10.5.8/xnu-1228.15.4/iokit/Kernel/ |
H A D | IOStringFuncs.c | 440 strncat(char *s1, const char *s2, unsigned long n) argument 445 os1 = s1; 446 while (*s1++) 448 --s1; 449 while ((*s1++ = *s2++)) 451 *--s1 = '\0';
|
H A D | IOHibernateRestoreKernel.c | 72 #define DO1(buf,i) {s1 += buf[i]; s2 += s1;} 81 unsigned long s1 = 1; // adler & 0xffff; local 94 s1 += *buf++; 95 s2 += s1; 97 s1 %= BASE; 100 return (s2 << 16) | s1;
|
/macosx-10.5.8/xnu-1228.15.4/libsa/ |
H A D | mkext.c | 41 #define DO1(buf,i) {s1 += buf[i]; s2 += s1;} 50 unsigned long s1 = 1; // adler & 0xffff; local 63 s1 += *buf++; 64 s2 += s1; 66 s1 %= BASE; 69 return (s2 << 16) | s1;
|
/macosx-10.5.8/xnu-1228.15.4/bsd/crypto/sha2/ |
H A D | sha2.c | 356 s1 = W256[(j+14)&0x0f]; \ 357 s1 = sigma1_256(s1); \ 359 (W256[j&0x0f] += s1 + W256[(j+9)&0x0f] + s0); \ 365 sha2_word32 a, b, c, d, e, f, g, h, s0, s1; local 423 sha2_word32 a, b, c, d, e, f, g, h, s0, s1; local 467 s1 = W256[(j+14)&0x0f]; 468 s1 = sigma1_256(s1); 472 (W256[j&0x0f] += s1 692 sha2_word64 a, b, c, d, e, f, g, h, s0, s1; local 747 sha2_word64 a, b, c, d, e, f, g, h, s0, s1; local [all...] |
/macosx-10.5.8/xnu-1228.15.4/osfmk/ddb/ |
H A D | db_aout.c | 112 char *s1, 115 struct nlist *sym1 = (struct nlist *) s1; 277 register char *s1, *s2; local 279 s1 = sp->n_un.n_name; 282 if (*s1 == '_' && *s2 && *s2 != '_') 283 s1++; 286 if (*s1++ != *s2++) { 290 if (*s2 == 0 && sp->n_un.n_name <= s1 - 2 291 && s1[-2] == '.' && s1[ 111 aout_db_order_symbols( char *s1, char *s2) argument [all...] |
/macosx-10.5.8/xnu-1228.15.4/EXTERNAL_HEADERS/architecture/ppc/ |
H A D | reg_help.h | 82 #define s1 r29 // .... macro
|
/macosx-10.5.8/xnu-1228.15.4/libkern/ |
H A D | zlib.c | 259 extern int zmemcmp OF((const Bytef* s1, const Bytef* s2, uInt len)); 5577 int zmemcmp(s1, s2, len) 5578 const Bytef* s1; 5585 if (s1[j] != s2[j]) return 2*(s1[j] > s2[j])-1; 5745 #define DO1(buf,i) {s1 += buf[i]; s2 += s1;} 5755 unsigned long s1 = adler & 0xffff; local 5770 s1 += *buf++; 5771 s2 += s1; [all...] |
/macosx-10.5.8/xnu-1228.15.4/osfmk/ppc/ |
H A D | db_interface.c | 437 __unused vm_size_t s1) 436 db_phys_cmp(__unused vm_offset_t a1, __unused vm_offset_t a2, __unused vm_size_t s1) argument
|
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/dtrace/ |
H A D | dtrace.c | 737 dtrace_strncmp(char *s1, char *s2, size_t limit) argument 742 if (s1 == s2 || limit == 0) 748 if (s1 == NULL) 751 c1 = dtrace_load8((uintptr_t)s1++); 820 uint8_t *s1 = dst; local 823 if (s1 <= s2) { 825 *s1++ = dtrace_load8((uintptr_t)s2++); 829 s1 += len; 832 *--s1 = dtrace_load8((uintptr_t)--s2); 849 uint8_t *s1 local 881 dtrace_bcmp(const void *s1, const void *s2, size_t len) argument [all...] |