/xnu-2422.115.4/tools/tests/xnu_quick_test/ |
H A D | 32bit_inode_tests.c | 61 if ( memcmp( &my_statfs_buf.f_fstypename[0], "ufs", 3 ) == 0 ) { 119 memcmp( &my_dirent_p->d_name[0], my_file_namep, my_dirent_p->d_namlen ) == 0 ) { 190 if ( memcmp( &my_statfsp->f_fstypename[0], "ufs", 3 ) == 0 ) { 203 if ( memcmp( &my_statfsp->f_fstypename[0], "hfs", 3 ) == 0 || 204 memcmp( &my_statfsp->f_fstypename[0], "ufs", 3 ) == 0 || 205 memcmp( &my_statfsp->f_fstypename[0], "devfs", 5 ) == 0 || 206 memcmp( &my_statfsp->f_fstypename[0], "volfs", 5 ) == 0 ) { 247 if ( !(memcmp( &my_statfsp->f_fstypename[0], "hfs", 3 ) == 0 || 248 memcmp( &my_statfsp->f_fstypename[0], "ufs", 3 ) == 0) ) {
|
H A D | machvm_tests.c | 75 if (0 != memcmp((char *)newdata, regionbuffers[5] + (regionsizes[5]-5)*pagesize, 105 if (0 != memcmp((char *)readlist[0].address, regionbuffers[5] + 10*pagesize, 114 if (0 != memcmp((char *)readlist[1].address, regionbuffers[5] + 10*pagesize + regionsizes[3]*pagesize, 148 if (0 != memcmp(regionbuffers[1], regionbuffers[3],
|
H A D | tests.c | 1368 if ( memcmp( &my_statfsp->f_fstypename[0], "ufs", 3 ) == 0 ) { 1381 if ( memcmp( &my_statfsp->f_fstypename[0], "hfs", 3 ) == 0 || 1382 memcmp( &my_statfsp->f_fstypename[0], "ufs", 3 ) == 0 || 1383 memcmp( &my_statfsp->f_fstypename[0], "devfs", 5 ) == 0 || 1384 memcmp( &my_statfsp->f_fstypename[0], "volfs", 5 ) == 0 ) { 1417 if ( memcmp( &my_statfs64p->f_fstypename[0], "hfs", 3 ) == 0 || 1418 memcmp( &my_statfs64p->f_fstypename[0], "ufs", 3 ) == 0 || 1419 memcmp( &my_statfs64p->f_fstypename[0], "devfs", 5 ) == 0 || 1420 memcmp( &my_statfs64p->f_fstypename[0], "volfs", 5 ) == 0 ) { 1463 if ( !(memcmp( [all...] |
/xnu-2422.115.4/bsd/kern/ |
H A D | bsd_stubs.c | 139 if(memcmp((char *)devsw, 147 (memcmp((char *)devsw, 185 (memcmp((char *)devsw, 215 if(memcmp((char *)devsw, 223 (memcmp((char *)devsw, 266 (memcmp((char *)devsw, 304 (memcmp((char *)devsw,
|
H A D | proc_uuid_policy.c | 169 if (0 == memcmp(searchentry->uuid, uuid, sizeof(uuid_t))) { 248 if (0 == memcmp(searchentry->uuid, uuid, sizeof(uuid_t))) {
|
H A D | ubc_subr.c | 606 } else if (entitlements == NULL && memcmp(embedded_hash, sha1_zero, SHA1_RESULTLEN) != 0) { 613 if (memcmp(computed_hash, embedded_hash, SHA1_RESULTLEN) != 0)
|
H A D | kern_newsysctl.c | 297 if (!memcmp(&oidp->oid_number, &old_oidp->oid_number, (offsetof(struct sysctl_oid, oid_descr)-offsetof(struct sysctl_oid, oid_number)))) {
|
H A D | decmpfs.c | 136 if (memcmp(alloc, alloc2, sizeof(*alloc)) != 0) {
|
/xnu-2422.115.4/osfmk/libsa/ |
H A D | string.h | 60 extern int memcmp(const void *, const void *, size_t);
|
/xnu-2422.115.4/libkern/uuid/ |
H A D | uuid.c | 78 return memcmp(uu1, uu2, sizeof(uuid_t)); 127 return !memcmp(uu, UUID_NULL, sizeof(uuid_t));
|
/xnu-2422.115.4/bsd/net/ |
H A D | if_utun_crypto_dtls.c | 442 memcmp(utun_crypto_framer_state_dtls_in(cur_framer).in_pattern, 446 memcmp(utun_crypto_framer_state_dtls_in(cur_framer).in_pattern_mask, 668 memcmp(utun_crypto_framer_state_dtls_out(framer).out_pattern, 800 memcmp(utun_crypto_framer_state_dtls_out(framer).out_pattern,
|
H A D | netsrc.c | 219 if (memcmp(&ia->ia_addr.sin6_addr, in6, sizeof(*in6)) == 0) {
|
H A D | if_bridge.c | 1262 if (memcmp(sc->sc_defaddr, 2243 !memcmp(IF_LLADDR(sc->sc_ifp), sc->sc_defaddr, ETHER_ADDR_LEN)) { 4087 if (memcmp(eh->ether_dhost, bstp_etheraddr, 4211 if (memcmp(IF_LLADDR((iface)), eh->ether_dhost, \ 4232 if (memcmp(IF_LLADDR((iface)), eh->ether_shost, \ 4246 if (memcmp(eh->ether_dhost, IF_LLADDR(bifp), 4296 if (memcmp(eh->ether_dhost, IF_LLADDR(ifp), ETHER_ADDR_LEN) == 0) {
|
H A D | if_llreach.c | 213 * an indication of order, memcmp() is, and is an ISO C99 requirement. 218 return (memcmp(&a->lr_key, &b->lr_key, sizeof (a->lr_key)));
|
H A D | pfvar.h | 573 memcmp((a)->fp_class_nm, (b)->fp_class_nm, PF_OSFP_LEN) == 0 && \ 574 memcmp((a)->fp_version_nm, (b)->fp_version_nm, PF_OSFP_LEN) == 0 && \ 575 memcmp((a)->fp_subtype_nm, (b)->fp_subtype_nm, PF_OSFP_LEN) == 0)
|
/xnu-2422.115.4/libkern/zlib/ |
H A D | zutil.h | 273 # define zmemcmp memcmp
|
/xnu-2422.115.4/osfmk/i386/ |
H A D | user_ldt.c | 131 if (!memcmp(&old_ldt->ldt[i++], &null_ldt, sizeof(null_ldt))) {
|
/xnu-2422.115.4/bsd/netinet/ |
H A D | ip_compat.h | 66 # define bcmp memcmp 666 # define bcmp(a,b,c) memcmp(a,b,c)
|
/xnu-2422.115.4/osfmk/vm/ |
H A D | vm_compressor_backing_store.c | 315 if (memcmp((void*)addr, (void*)dup_addr, PAGE_SIZE_64)) { 321 if (memcmp((void*)(addr + PAGE_SIZE_64), (void*)(dup_addr + PAGE_SIZE_64), PAGE_SIZE_64)) { 327 if (memcmp((void*)(addr + (2 * PAGE_SIZE_64)), (void*)(dup_addr + (2 * PAGE_SIZE_64)), PAGE_SIZE_64)) { 333 if (memcmp((void*)(addr + (3 * PAGE_SIZE_64)), (void*)(dup_addr + (3 * PAGE_SIZE_64)), PAGE_SIZE_64)) {
|
/xnu-2422.115.4/bsd/vfs/ |
H A D | vfs_cache.c | 1415 if (memcmp(ncp->nc_name, cnp->cn_nameptr, namelen) == 0 && ncp->nc_name[namelen] == 0) 1502 if (memcmp(ncp->nc_name, cnp->cn_nameptr, namelen) == 0 && ncp->nc_name[namelen] == 0) 2184 if (memcmp(entry->str, name, len) == 0 && entry->str[len] == 0) {
|
/xnu-2422.115.4/bsd/dev/random/ |
H A D | randomdev.c | 394 if (memcmp(kKnownAnswer, g_random_data, kBlockSize) != 0)
|
/xnu-2422.115.4/osfmk/x86_64/ |
H A D | loose_ends.c | 481 memcmp(const void *s1, const void *s2, size_t n) function
|
/xnu-2422.115.4/bsd/netinet6/ |
H A D | in6.h | 287 * does not supply memcmp(). For userland memcmp() is preferred as it is 297 (memcmp(&(a)->s6_addr[0], &(b)->s6_addr[0], sizeof (struct in6_addr)) \
|
H A D | nd6_prproxy.c | 1498 * an indication of order, memcmp() is, and is an ISO C99 requirement. 1504 return (memcmp(&a->soltgt_key, &b->soltgt_key, sizeof (a->soltgt_key)));
|
/xnu-2422.115.4/tools/tests/superpages/ |
H A D | testsp.c | 538 if (memcmp((void*)(uintptr_t)addr1, (void*)(uintptr_t)addr2, bytes)) {
|