Home
last modified time | relevance | path

Searched refs:strncasecmp (Results 1 – 25 of 30) sorted by relevance

12

/openbmc/ipmitool/lib/
H A Dipmi_event.c218 strncasecmp(desc, evt->desc, __maxlen(desc, evt->desc)) == 0) in ipmi_event_find_offset()
256 else if (strncasecmp(evdir, "assert", 6) == 0) in ipmi_event_fromsensor()
258 else if (strncasecmp(evdir, "deassert", 8) == 0) in ipmi_event_fromsensor()
304 if (state == NULL || strncasecmp(state, "list", 4) == 0) { in ipmi_event_fromsensor()
315 if (0 != strncasecmp(state, "lnr", 3) && in ipmi_event_fromsensor()
316 0 != strncasecmp(state, "lcr", 3) && in ipmi_event_fromsensor()
317 0 != strncasecmp(state, "lnc", 3) && in ipmi_event_fromsensor()
318 0 != strncasecmp(state, "unc", 3) && in ipmi_event_fromsensor()
319 0 != strncasecmp(state, "ucr", 3) && in ipmi_event_fromsensor()
320 0 != strncasecmp(state, "unr", 3)) in ipmi_event_fromsensor()
[all …]
H A Dipmi_lanp.c892 if (strncasecmp(p, "none", 4) == 0) in ipmi_lan_set_auth()
894 else if (strncasecmp(p, "md2", 3) == 0) in ipmi_lan_set_auth()
896 else if (strncasecmp(p, "md5", 3) == 0) in ipmi_lan_set_auth()
898 else if ((strncasecmp(p, "password", 8) == 0) || in ipmi_lan_set_auth()
899 (strncasecmp(p, "key", 3) == 0)) in ipmi_lan_set_auth()
901 else if (strncasecmp(p, "oem", 3) == 0) in ipmi_lan_set_auth()
912 if (strncasecmp(p, "callback", 8) == 0) in ipmi_lan_set_auth()
914 else if (strncasecmp(p, "user", 4) == 0) in ipmi_lan_set_auth()
916 else if (strncasecmp(p, "operator", 8) == 0) in ipmi_lan_set_auth()
918 else if (strncasecmp(p, "admin", 5) == 0) in ipmi_lan_set_auth()
[all …]
H A Dhelper.c397 if (strncasecmp(vs[i].str, str, __maxlen(str, vs[i].str)) == 0) in str2val()
H A Dipmi_sdr.c4484 strncasecmp(type, "help", 4) == 0 || in ipmi_sdr_print_type()
4485 strncasecmp(type, "list", 4) == 0) { in ipmi_sdr_print_type()
4505 if (strncasecmp(sensor_type_desc[x], type, in ipmi_sdr_print_type()
4554 strncasecmp(entitystr, "help", 4) == 0 || in ipmi_sdr_print_entity()
4555 strncasecmp(entitystr, "list", 4) == 0) { in ipmi_sdr_print_entity()
4570 if (strncasecmp(entitystr, entity_id_vals[i].str, in ipmi_sdr_print_entity()
/openbmc/ipmitool/src/
H A Dipmievd.c709 if (strncasecmp(argv[i], "help", 4) == 0) { in ipmievd_main()
713 if (strncasecmp(argv[i], "daemon", 6) == 0) { in ipmievd_main()
716 else if (strncasecmp(argv[i], "nodaemon", 8) == 0) { in ipmievd_main()
719 else if (strncasecmp(argv[i], "daemon=", 7) == 0) { in ipmievd_main()
720 if (strncasecmp(argv[i]+7, "on", 2) == 0 || in ipmievd_main()
721 strncasecmp(argv[i]+7, "yes", 3) == 0) in ipmievd_main()
723 else if (strncasecmp(argv[i]+7, "off", 3) == 0 || in ipmievd_main()
724 strncasecmp(argv[i]+7, "no", 2) == 0) in ipmievd_main()
727 else if (strncasecmp(argv[i], "timeout=", 8) == 0) { in ipmievd_main()
734 else if (strncasecmp(argv[i], "pidfile=", 8) == 0) { in ipmievd_main()
/openbmc/u-boot/arch/powerpc/include/asm/
H A Dstring.h17 extern int strncasecmp(const char *, const char *, __kernel_size_t);
/openbmc/u-boot/arch/m68k/include/asm/
H A Dstring.h19 extern int strncasecmp(const char *, const char *, __kernel_size_t);
/openbmc/u-boot/include/linux/
H A Dstring.h48 extern int strncasecmp(const char *s1, const char *s2, __kernel_size_t len);
/openbmc/u-boot/fs/yaffs2/
H A Dydirectenv.h43 #define yaffs_strncmp(a, b, c) strncasecmp(a, b, c)
/openbmc/u-boot/lib/
H A Dstring.c31 int strncasecmp(const char *s1, const char *s2, size_t len) in strncasecmp() function
63 return strncasecmp(s1, s2, -1U); in strcasecmp()
/openbmc/u-boot/cmd/
H A Dgpio.c93 !strncasecmp(gpio_name, bank_name, banklen)) { in do_gpio_status()
/openbmc/libcper/subprojects/packagefiles/json-c/config/
H A Dmeson.build62 check_function += 'strncasecmp'
/openbmc/qemu/target/ppc/
H A Dppc-qmp-cmds.c169 if ((strncasecmp(name, "sr", 2) == 0) && in target_get_monitor_def()
/openbmc/u-boot/board/gateworks/gw_ventana/
H A Deeprom.c68 if (strncasecmp((const char *)info->model, "GW5400-A", 8) == 0) in read_eeprom()
H A Dgsc.c119 if (strncasecmp((const char*) ventana_info.model, "GW553", 5)) in gsc_info()
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/procmail/procmail/
H A Dgcc14.patch101 echo ' ftruncate, strtod, strncasecmp, strerror, strlcat,'
/openbmc/qemu/pc-bios/s390-ccw/
H A DMakefile75 strcmp.o strncmp.o strcasecmp.o strncasecmp.o strstr.o \
H A Dnetmain.c472 if (!strncasecmp("# pxelinux", cfgbuf, 10)) { in net_try_direct_tftp_load()
/openbmc/u-boot/drivers/fastboot/
H A Dfb_mmc.c390 if (strncasecmp(cmd, "zimage", 6) == 0) { in fastboot_mmc_flash_write()
/openbmc/u-boot/fs/fat/
H A Dfat.c984 if (!strncasecmp(path, itr->name, n)) in fat_itr_resolve()
987 !strncasecmp(path, itr->s_name, n)) in fat_itr_resolve()
/openbmc/u-boot/drivers/mtd/spi/
H A Dsandbox.c162 if (!strncasecmp(spec, data->name, len)) in sandbox_sf_probe()
/openbmc/u-boot/scripts/kconfig/
H A Dmconf.c424 if (strncasecmp(dialog_input_result, CONFIG_, strlen(CONFIG_)) == 0) in search_conf()
/openbmc/openbmc/poky/meta/recipes-support/lzop/lzop/
H A Dacinclude.m412 …jmp signal snprintf strcasecmp strchr strdup strerror strftime stricmp strncasecmp strnicmp strrch…
/openbmc/u-boot/lib/efi_loader/
H A Defi_hii.c831 if (!strncasecmp(language, languages, n) && in language_match()
/openbmc/u-boot/drivers/gpio/
H A Dgpio-uclass.c79 if (!strncasecmp(name, uc_priv->bank_name, len)) { in dm_gpio_lookup_name()

12