/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/ |
H A D | device.c | 708 if (hd->unix_dev_name && !strncmp(dev->d_name, 711 if (hd->unix_dev_name2 && !strncmp(dev->d_name, 716 if (names->str && !strncmp(dev->d_name, 728 if (hd->unix_dev_name && !strncmp(dev->d_name, 731 if (hd->unix_dev_name2 && !strncmp(dev->d_name, 736 if (names->str && !strncmp(dev->d_name,
|
/haiku/src/system/boot/loader/ |
H A D | package_support.cpp | 40 return strcmp(name, "haiku.hpkg") == 0 || strncmp(name, "haiku-", 6) == 0; 74 fDisplayName = strncmp(stateName, "state_", 6) == 0 219 if (strncmp(entry->d_name, "state_", 6) == 0) {
|
/haiku/src/tests/system/kernel/unit/ |
H A D | TestSuite.cpp | 55 && strncmp(test->Name(), name, nameLength) == 0) {
|
/haiku/src/add-ons/kernel/file_systems/packagefs/util/ |
H A D | StringPool.h | 181 && strncmp(value->String(), key.String(), key.Length()) == 0
|
/haiku/src/tests/add-ons/kernel/debugger/ |
H A D | c++filt.cpp | 45 return strncmp(s, prefix, strlen(prefix)) == 0;
|
/haiku/src/tools/ |
H A D | exec.c | 132 if (strncmp(val, currentArg, nameLen) != 0
|
/haiku/src/tests/kits/shared/ |
H A D | KeymapTest.cpp | 109 CPPUNIT_ASSERT(strncmp(chars, mapChars + 1, numBytes) == 0);
|
/haiku/src/system/boot/loader/file_systems/packagefs/ |
H A D | PackageSettingsItem.h | 166 && strncmp(key.Name(), name, key.NameLength()) == 0
|
/haiku/src/tests/kits/support/bstring/ |
H A D | StringAssignTest.cpp | 107 CPPUNIT_ASSERT(strncmp(str->String(), "SomethingElseAgain", 2) == 0);
|
/haiku/src/bin/ |
H A D | renice.c | 131 if (!strncmp(thname, thinfo.name, B_OS_NAME_LENGTH)) {
|
H A D | setversion.cpp | 193 else if (strncmp(argv[i], "-", 1) == 0) 231 if (!strncmp(argv[i], "-", 1)) {
|
/haiku/src/add-ons/input_server/filters/shortcut_catcher/ |
H A D | KeyInfos.cpp | 207 if (strncmp(keyName, "KeyCode ", 7) == 0)
|
/haiku/headers/os/net/ |
H A D | NetworkDevice.h | 69 return strncmp(name, other.name, 32) == 0
|
/haiku/src/bin/filteredquery/ |
H A D | query.cpp | 46 if (!strncmp(path.Path(), wantedPath.Path(),
|
/haiku/headers/posix/ |
H A D | string.h | 38 extern int strncmp(const char *string1, const char *string2, size_t length);
|
/haiku/src/add-ons/kernel/network/devices/loopback/ |
H A D | loopback.cpp | 40 if (strncmp(name, "loop", 4))
|
/haiku/src/system/kernel/arch/arm/ |
H A D | arch_int.cpp | 156 if (strncmp(args->arch_args.interrupt_controller.kind, INTC_KIND_GICV2, 163 } else if (strncmp(args->arch_args.interrupt_controller.kind, INTC_KIND_OMAP3, 169 } else if (strncmp(args->arch_args.interrupt_controller.kind, INTC_KIND_PXA, 175 } else if (strncmp(args->arch_args.interrupt_controller.kind, INTC_KIND_SUN4I,
|
/haiku/src/add-ons/input_server/devices/serial_mouse/ |
H A D | SerialMouse.cpp | 120 if (strncmp(dev_name, "serial", 6) != 0 121 && strncmp(dev_name, "pc_serial", 9) != 0)
|
/haiku/src/add-ons/media/plugins/ape_reader/MAClib/ |
H A D | APEInfo.cpp | 43 if ((strncmp(pFilename, "http://", 7) == 0) || (strncmp(pFilename, "m01p://", 7) == 0)) // SHINTA: wchar_t -> char
|
H A D | APETag.h | 153 BOOL bValid = (strncmp(m_cID, "APETAGEX", 8) == 0) &&
|
/haiku/src/add-ons/kernel/file_systems/websearchfs/ |
H A D | parse_duckduckgo_html.c | 213 if (!strncmp(p, "Cached", 6)) { 216 } else if (!strncmp(p, "Similar", 7)) {
|
/haiku/src/system/boot/platform/bios_ia32/ |
H A D | devices.cpp | 298 if (!strncmp(parameters.host_bus, "PCI", 3)) { 304 } else if (!strncmp(parameters.host_bus, "ISA", 3)) { 316 if (!strncmp(parameters.interface_type, "ATA", 3)) { 320 } else if (!strncmp(parameters.interface_type, "ATAPI", 3)) { 324 } else if (!strncmp(parameters.interface_type, "SCSI", 3)) { 327 } else if (!strncmp(parameters.interface_type, "USB", 3)) { 330 } else if (!strncmp(parameters.interface_type, "1394", 3)) { 333 } else if (!strncmp(parameters.interface_type, "FIBRE", 3)) {
|
/haiku/src/system/boot/platform/atari_m68k/ |
H A D | devices.cpp | 248 if (!strncmp(parameters.host_bus, "PCI", 3)) { 254 } else if (!strncmp(parameters.host_bus, "ISA", 3)) { 266 if (!strncmp(parameters.interface_type, "ATA", 3)) { 270 } else if (!strncmp(parameters.interface_type, "ATAPI", 3)) { 274 } else if (!strncmp(parameters.interface_type, "SCSI", 3)) { 277 } else if (!strncmp(parameters.interface_type, "USB", 3)) { 280 } else if (!strncmp(parameters.interface_type, "1394", 3)) { 283 } else if (!strncmp(parameters.interface_type, "FIBRE", 3)) {
|
/haiku/src/kits/shared/ |
H A D | Keymap.cpp | 335 if (strncmp(&fChars[offset + 1], &fChars[deadOffset[i] + 1], 424 if (strncmp(&fChars[offset + 1], &fChars[deadKey[i] + 1], *numBytes) 606 if (strncmp(chars, &fChars[deadOffsets[i] + 1], deadNumBytes) == 0)
|
/haiku/src/bin/unzip/ |
H A D | list.c | 158 if (strncmp(G.sig, central_hdr_sig, 4)) { /* is it a CentDir entry? */ 455 if (strncmp(G.sig, end_central_sig, 4)) { /* just to make sure again */ 524 if (strncmp(G.sig, central_hdr_sig, 4)) { /* is it a CentDir entry? */ 614 if (strncmp(G.sig, end_central_sig, 4)) { /* just to make sure again */
|