Searched refs:strncmp (Results 26 - 50 of 255) sorted by relevance

1234567891011

/haiku/src/tests/kits/support/bmemoryio/
H A DReadTest.cpp35 CPPUNIT_ASSERT(strncmp(readBuf, buf, 10) == 0);
/haiku/src/tests/servers/app/code_to_name/
H A Dcode_to_name.cpp59 if (strncmp(line, "AS_", 3))
/haiku/src/servers/launch/
H A DInitRealTimeClockJob.cpp64 bool isGMT = strncmp(buffer, "local", 5) != 0;
/haiku/src/add-ons/kernel/debugger/demangle/
H A Ddemangle.cpp18 return strncmp(symbol, "_Z", 2) == 0;
/haiku/src/bin/mkfs/
H A Dmain.cpp142 if (!strncmp(device, "/dev", 4))
H A DFsCreator.cpp77 if (!strncmp(fPath, "/dev", 4)) {
95 if (!strncmp(fPath, "/dev", 4)) {
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/
H A Dif_ath_btcoex.c374 if (strncmp(profname, "wb195", 5) == 0) {
376 } else if (strncmp(profname, "wb222", 5) == 0) {
378 } else if (strncmp(profname, "wb225", 5) == 0) {
380 } else if (strncmp(profname, "wb335", 5) == 0) {
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/
H A Drealpath.c94 if (p && strncmp(p, "/dm-", 4) == 0 && isdigit(*(p + 4))) {
/haiku/src/system/boot/platform/bios_ia32/
H A Dacpi.cpp101 && strncmp(rsdt->signature, ACPI_XSDT_SIGNATURE, 4) != 0) {
120 if (strncmp(rsdt->signature, ACPI_RSDT_SIGNATURE, 4) != 0) {
183 || strncmp(header->signature, signature, 4) != 0) {
237 if (strncmp(pointer, ACPI_RSDP_SIGNATURE, 8) == 0) {
/haiku/headers/private/shared/
H A Dcpu_type.h56 if (strncmp(&name[index], "Intel", 5) == 0) {
64 if (!strncmp(&name[index], "(R)", 3)) {
68 } else if (!strncmp(&name[index], "(TM)", 4)) {
72 } else if (!strncmp(&name[index], " CPU", 4)) {
75 } else if (!strncmp(&name[index], " @", 2)) {
119 } else if (!strncmp(&name[index], "with ", 5)
120 || !strncmp(&name[index], "/w", 2)) {
/haiku/src/system/libroot/posix/unistd/
H A Dconf.cpp411 if (!strncmp(fsh_name, "bfs", B_OS_NAME_LENGTH))
413 if (!strncmp(fsh_name, "dos", B_OS_NAME_LENGTH))
415 if (!strncmp(fsh_name, "fat", B_OS_NAME_LENGTH))
417 if (!strncmp(fsh_name, "ext2", B_OS_NAME_LENGTH))
419 if (!strncmp(fsh_name, "ext3", B_OS_NAME_LENGTH))
/haiku/src/bin/
H A Dspybmessage.cpp149 if (strncmp(argv[i], "-", 1))
182 if (strncmp(argv[0], "/", 1)) {
H A Deject.cpp88 if (strncmp(argv[i], "--h", 3) == 0) {
90 } else if (strncmp(argv[i], "-", 1) == 0) {
H A Dcheckfs.cpp84 if (strncmp(path, "/dev", 4)) {
H A Dresizefs.cpp45 if (strncmp(argv[1], "/dev", 4)) {
H A Dmodifiers.cpp83 if (!strncmp(argv[i], "-h", 2))
H A Dsysinfo.cpp634 if (!strncmp(baseInfo.eax_0.vendor_id, "CyrixInstead", 12)) {
831 if (strncmp(opt, "-id", strlen(opt)) == 0) {
834 } else if (strncmp(opt, "-cpu", strlen(opt)) == 0) {
836 } else if (strncmp(opt, "-mem", strlen(opt)) == 0) {
838 } else if (strncmp(opt, "-semaphores", strlen(opt)) == 0) {
840 } else if (strncmp(opt, "-ports", strlen(opt)) == 0) {
842 } else if (strncmp(opt, "-threads", strlen(opt)) == 0) {
844 } else if (strncmp(opt, "-teams", strlen(opt)) == 0) {
846 } else if (strncmp(opt, "-kinfo", strlen(opt)) == 0) {
848 } else if (strncmp(op
[all...]
/haiku/src/bin/pc/
H A Dpc.c358 strncmp(*str, "<<=", 3) == 0 || strncmp(*str, ">>=", 3) == 0)
653 while((strncmp(*str, "<<", 2) == 0) || (strncmp(*str, ">>", 2) == 0))
724 strncmp(*str, "<<", 2) != 0 && strncmp(*str, ">>", 2) &&
905 if (strncmp(*str, "++", 2) == 0 || strncmp(*str, "--", 2) == 0)
/haiku/src/bin/rc/
H A Drdef.cpp94 if (!strncmp(dir, path, length)
/haiku/src/add-ons/kernel/file_systems/reiserfs/
H A DSuperBlock.cpp65 if (strncmp(superBlock->s_magic, magic, len))
/haiku/src/system/runtime_loader/
H A Dutility.cpp37 if (!strncmp(name, environ[i], length) && environ[i][length] == '=')
/haiku/src/tests/kits/support/bstring/
H A DStringConstructionTest.cpp56 CPPUNIT_ASSERT(strncmp(string->String(), str, 5) == 0);
/haiku/src/apps/screenshot/
H A DScreenshot.cpp80 || strncmp(argv[i], "--format", 6) == 0
81 || strncmp(argv[i], "--format=", 7) == 0)
84 || strncmp(argv[i], "--delay", 7) == 0
85 || strncmp(argv[i], "--delay=", 8) == 0) {
/haiku/src/apps/devices/
H A DDeviceACPI.cpp30 if (strncmp(acpipnp_devids[i].VenId, vendorID, strlen(acpipnp_devids[i].VenId)) == 0) {
/haiku/src/add-ons/input_server/devices/keyboard/
H A DTeamListItem.cpp168 if (strncmp(systemServersPath.Path(), fTeamInfo.args,
172 if (strncmp(trackerPath.Path(), fTeamInfo.args,
176 if (strncmp(deskbarPath.Path(), fTeamInfo.args,

Completed in 182 milliseconds

1234567891011