/darwin-on-arm/xnu/osfmk/libsa/ |
H A D | string.h | 78 /* strcmp() is being deprecated. Please use strncmp() instead. */ 80 extern int strncmp(const char *,const char *, size_t);
|
/darwin-on-arm/xnu/libkern/ |
H A D | kernel_mach_header.c | 187 if(strncmp(sgp->segname, segname, sizeof(sgp->segname)) == 0 || 192 if(strncmp(sp->sectname, sectname, 194 strncmp(sp->segname, segname, 221 && !strncmp(sgp->segname, seg_name, sizeof(sgp->segname)))
|
/darwin-on-arm/xnu/SETUP/md/ |
H A D | md.c | 557 if (strncmp(makbuf, SALUTATION, len)) { 581 if (! strncmp(makbuf, SALUTATION, len) || 582 ! strncmp(makbuf, OLDSALUTATION, oldlen)) 608 ret = strncmp(cp, file, len); 615 if (strncmp(makbuf, SALUTATION, SALUTATIONLEN)) { 626 if (strncmp(makbuf, SALUTATION, SALUTATIONLEN)) {
|
/darwin-on-arm/xnu/osfmk/device/ |
H A D | subrs.c | 144 #undef strncmp macro 161 * strcmp() is being deprecated. Please use strncmp() instead. 185 * strncmp (s1, s2, n) compares the strings "s1" and "s2" 190 // ARM implementation in ../arm/strncmp.s 192 strncmp( function
|
/darwin-on-arm/xnu/libkern/c++/ |
H A D | OSRuntime.cpp | 234 result = !strncmp(section->sectname, SECT_MODTERMFUNC, 237 result = result || !strncmp(section->sectname, SECT_DESTRUCTOR, 251 result = !strncmp(section->sectname, SECT_MODINITFUNC, 254 result = result || !strncmp(section->sectname, SECT_CONSTRUCTOR, 306 } /* if (strncmp...) */ 483 } /* if (strncmp...) */
|
H A D | OSSymbol.cpp | 278 && (strncmp(probeSymbol->string, cString, probeSymbol->length) == 0)) 286 && (strncmp(probeSymbol->string, cString, probeSymbol->length) == 0)) 315 && strncmp(probeSymbol->string, cString, probeSymbol->length) == 0) 334 && strncmp(probeSymbol->string, cString, probeSymbol->length) == 0)
|
H A D | OSString.cpp | 211 return strncmp(string, aCString, length) == 0;
|
/darwin-on-arm/xnu/SETUP/config/ |
H A D | mkglue.c | 153 if (strncmp(vector, "dzx", 3) == 0) 156 if (strncmp(vector, "uur", 3) == 0) { 175 if (strncmp(vector, "dzx", 3) == 0)
|
H A D | mkmakefile.c | 285 if (profiling && strncmp(line, "COPTS=", 6) == 0) { 455 if (strncmp(this, "OPTIONS/", 8) == 0) 798 if (profiling && (strncmp(line, "LIBS=", 5) == 0)) 1177 if (! strncmp(makbuf, OLDSALUTATION, oldlen))
|
/darwin-on-arm/xnu/osfmk/arm/ |
H A D | model_dep.c | 181 if (strncmp(SEG_TEXT, orig_sg->segname, 184 else if (strncmp(SEG_LINKEDIT, orig_sg->segname, 187 else if (strncmp("", orig_sg->segname,
|
/darwin-on-arm/xnu/bsd/dev/dtrace/ |
H A D | sdt_subr.c | 970 if (strncmp(sdp->sdp_provider->sdtp_name, a->sda_provider, strlen(a->sda_provider) + 1) != 0) 974 strncmp(sdp->sdp_name, a->sda_name, strlen(a->sda_name) + 1) != 0)
|
H A D | fasttrap.c | 1467 strncmp(fp->ftp_name, name, sizeof(fp->ftp_name)) == 0 && 1545 if (fp->ftp_pid == pid && strncmp(fp->ftp_name, name, sizeof(fp->ftp_name)) == 0 && 1654 if (fp->ftp_pid == pid && strncmp(fp->ftp_name, name, sizeof(fp->ftp_name)) == 0 && 1971 if (strncmp(dhpv->dthpv_provname, FASTTRAP_PID_NAME, sizeof(FASTTRAP_PID_NAME)) == 0) { 1981 if (strncmp(dhpv->dthpv_provname, FASTTRAP_OBJC_NAME, sizeof(FASTTRAP_OBJC_NAME)) == 0) { 1987 if (strncmp(dhpv->dthpv_provname, FASTTRAP_ONESHOT_NAME, sizeof(FASTTRAP_ONESHOT_NAME)) == 0) {
|
/darwin-on-arm/xnu/iokit/Kernel/ |
H A D | IONVRAM.cpp | 98 if (strncmp((const char *)_nvramImage + currentOffset + 4, 102 } else if (strncmp((const char *)_nvramImage + currentOffset + 4, 108 } else if (strncmp((const char *)_nvramImage + currentOffset + 4, 112 } else if (strncmp((const char *)_nvramImage + currentOffset + 4, 1044 if (!strncmp("true", (const char *)propData, propDataLength)) { 1046 } else if (!strncmp("false", (const char *)propData, propDataLength)) { 1219 !strncmp("bootr", (const char *)bootCommandData + cnt, 5)) { 1642 if( comp && (0 == strncmp("pci", name, sizeof("pci"))) 1643 && (0 == strncmp("80000000", comp, sizeof("80000000")))) {
|
H A D | IOPlatformExpert.cpp | 695 if ((0 == strncmp(objString, "OSString", sizeof("OSString"))) || 696 (0 == strncmp(objString, "OSSymbol", sizeof("OSSymbol")))) 699 else if (0 == strncmp(objString, "OSData", sizeof("OSData"))) { 1198 if( 0 == strncmp( str, "AAPL,", strlen( "AAPL," ) ))
|
/darwin-on-arm/xnu/libkern/kxld/ |
H A D | kxld_util.h | 76 !strncmp((str1), (str2), (len)) : 0)
|
/darwin-on-arm/xnu/libsa/ |
H A D | bootstrap.cpp | 579 if (!strncmp(devTreeNameCString, BOOTER_KEXT_PREFIX, 584 } else if (!strncmp(devTreeNameCString, BOOTER_MKEXT_PREFIX, 741 (strncmp(bundle_id, COM_APPLE, CONST_STRLEN(COM_APPLE)) != 0)) { 856 (strncmp(bundle_id, COM_APPLE_KEC, CONST_STRLEN(COM_APPLE_KEC)) != 0)) {
|
/darwin-on-arm/xnu/bsd/sys/ |
H A D | dtrace_glue.h | 548 #define LIT_STRNEQL(s1, lit_s2) (0 == strncmp( (s1), (lit_s2), sizeof((lit_s2)) )) 555 #define LIT_STRNSTART(s1, lit_s2) (0 == strncmp( (s1), (lit_s2), sizeof((lit_s2)) - 1 ))
|
/darwin-on-arm/xnu/tools/tests/xnu_quick_test/ |
H A D | memory_tests.c | 60 if (strncmp(crash_file_pfx, dep1->d_name, crash_file_pfxlen)) 79 if (strncmp(crash_file_pfx, dep2->d_name, crash_file_pfxlen))
|
/darwin-on-arm/xnu/osfmk/i386/ |
H A D | cpuid.c | 535 if (!strncmp(info_p->cpuid_brand_string, CPUID_STRING_UNKNOWN, 813 if ((strncmp(CPUID_VID_INTEL, info_p->cpuid_vendor, 1075 if (!strncmp("387", fpu_arg, sizeof("387")) || !strncmp("mmx", fpu_arg, sizeof("mmx"))) { 1078 } else if (!strncmp("sse", fpu_arg, sizeof("sse"))) {
|
/darwin-on-arm/xnu/iokit/bsddev/ |
H A D | IOKitBSDInit.cpp | 438 if ( strncmp( look, "en", strlen( "en" )) == 0 ) { 440 } else if ( strncmp( look, "uuid", strlen( "uuid" )) == 0 ) { 780 if (strncmp(cdev_name, "/dev/", 5) == 0) {
|
/darwin-on-arm/xnu/bsd/kern/ |
H A D | imageboot.c | 63 return (strncmp(root_path, kIBFilePrefix,
|
H A D | netboot.c | 226 if (strncmp(path, kNetBootRootPathPrefixNFS, 396 else if (strncmp(root_path, kNetBootRootPathPrefixHTTP,
|
/darwin-on-arm/xnu/pexpert/gen/ |
H A D | bootargs.c | 107 if (strncmp(args, arg_string, i) ||
|
/darwin-on-arm/xnu/bsd/net/ |
H A D | pf_if.c | 593 return (strncmp(p->pfik_name, q->pfik_name, IFNAMSIZ)); 688 if (strncmp(p->pfik_name, filter, n))
|
/darwin-on-arm/xnu/bsd/netat/ |
H A D | at.c | 213 if (!strncmp(ifID->ifName, cfgp->ifr_name, 252 if (!strncmp(ifID->ifName, defzonep->ifr_name,
|