Searched refs:strncmp (Results 201 - 225 of 255) sorted by path

1234567891011

/haiku/src/preferences/mail/
H A DDNSQuery.cpp163 (!strncmp(line, name, sizeof(name) - 1) && \
/haiku/src/preferences/time/
H A DZoneView.cpp312 if (timeZoneCode == "001" && strncmp(zoneID, "Etc/GMT", 7) != 0)
591 if (strncmp(buffer, "gmt", 3) == 0)
/haiku/src/servers/media/
H A DNodeManager.cpp683 if (strncmp(name, node.name, nameLength) != 0)
1052 if (strncmp(name, info.info.name, nameLength) != 0)
/haiku/src/servers/net/
H A DNetServer.cpp372 if (!strncmp(interface.Name(), name, nameLength))
611 if (strncmp(resolveConfBuffer, staticDNS, sizeStaticDNS) == 0) {
615 } else if (strncmp(resolveConfBuffer, dynamicDNS, sizeDynamicDNS)
754 if (!strncmp(device, "/dev/net/", 9)) {
931 if (strncmp(path, "/dev/net/", 9)) {
/haiku/src/system/boot/arch/x86/
H A Darch_cpu.cpp355 bool isIntel = strncmp(info.eax_0.vendor_id, "GenuineIntel", 12) == 0;
356 bool isAmd = strncmp(info.eax_0.vendor_id, "AuthenticAMD", 12) == 0;
/haiku/src/system/boot/loader/file_systems/packagefs/
H A DPackageSettingsItem.h166 && strncmp(key.Name(), name, key.NameLength()) == 0
H A Dpackagefs.cpp266 if (strncmp(child->Name(), name, nameLength) == 0
/haiku/src/system/boot/loader/
H A Dloader.cpp61 if (strncmp(path, kSystemDirectoryPrefix, strlen(kSystemDirectoryPrefix))
H A Dpackage_support.cpp40 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/system/boot/platform/atari_m68k/
H A Ddevices.cpp248 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/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) {
H A Ddevices.cpp298 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/efi/
H A Dacpi.cpp101 && strncmp(rsdt->signature, ACPI_XSDT_SIGNATURE, 4) != 0) {
117 if (strncmp(rsdt->signature, ACPI_RSDT_SIGNATURE, 4) != 0) {
172 if (header != NULL && strncmp(header->signature, signature, 4) == 0) {
218 if (strncmp((char *)rsdp, ACPI_RSDP_SIGNATURE, 8) == 0)
/haiku/src/system/kernel/arch/arm/
H A Darch_debug_console.cpp108 if (strncmp(args->arch_args.uart.kind, UART_KIND_PL011,
112 } else if (strncmp(args->arch_args.uart.kind, UART_KIND_8250_OMAP,
116 } else if (strncmp(args->arch_args.uart.kind, UART_KIND_8250,
H A Darch_int.cpp156 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,
H A Darch_timer.cpp62 } else if (strncmp(args->arch_args.timer.kind, TIMER_KIND_OMAP3,
66 } else if (strncmp(args->arch_args.timer.kind, TIMER_KIND_PXA,
/haiku/src/system/kernel/arch/arm64/
H A Darch_debug_console.cpp101 if (strncmp(args->arch_args.uart.kind, UART_KIND_PL011,
105 } else if (strncmp(args->arch_args.uart.kind, UART_KIND_LINFLEX,
109 }/* else if (strncmp(args->arch_args.uart.kind, UART_KIND_8250_OMAP,
113 }*/ else if (strncmp(args->arch_args.uart.kind, UART_KIND_8250,
/haiku/src/system/kernel/arch/m68k/
H A Darch_int.cpp487 || strncmp(name, namePrefix, namePrefixLen) != 0) {
/haiku/src/system/kernel/arch/ppc/
H A Darch_int.cpp453 || strncmp(name, namePrefix, namePrefixLen) != 0) {
/haiku/src/system/kernel/arch/riscv64/
H A Darch_debug_console.cpp106 if (strncmp(args->arch_args.uart.kind, UART_KIND_8250,
110 } else if (strncmp(args->arch_args.uart.kind, UART_KIND_SIFIVE,
/haiku/src/system/kernel/cache/
H A Dfile_cache.cpp933 if (strncmp(name, CACHE_MODULES_NAME, strlen(CACHE_MODULES_NAME)))
/haiku/src/system/kernel/debug/
H A Ddebug.cpp598 if (strncmp(sLineBuffer[historyLine], buffer,
1518 && strncmp(string, sLastOutputBuffer, length) == 0) {
1765 if (!strncmp(name, kDemanglePrefix, strlen(kDemanglePrefix))) {
H A Ddebug_commands.cpp230 while (command != NULL && strncmp(prefix, command->name, prefixLen) != 0)
H A Ddebug_variables.cpp48 return strncmp(name, variableName, sizeof(name)) == 0;
/haiku/src/system/kernel/device_manager/
H A Dlegacy_drivers.cpp310 if (!strncmp(device->Path(), devicePaths[0], B_PATH_NAME_LENGTH)) {
537 if (!strncmp(pathBuffer.Path(), path, pathBuffer.BufferSize()))
1216 if (strncmp(type, "drivers/dev", length))

Completed in 169 milliseconds

1234567891011