Home
last modified time | relevance | path

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

12

/f-stack/freebsd/contrib/openzfs/lib/libzfs/os/linux/
H A Dlibzfs_util_os.c114 if (!strncasecmp(load_str, "YES", strlen("YES")) || in libzfs_load_module_impl()
115 !strncasecmp(load_str, "ON", strlen("ON"))) in libzfs_load_module_impl()
/f-stack/freebsd/arm/ti/twl/
H A Dtwl.c363 if (strncasecmp(compat, "ti,twl6030", 10) == 0) in twl_probe()
365 else if (strncasecmp(compat, "ti,twl6025", 10) == 0) in twl_probe()
367 else if (strncasecmp(compat, "ti,twl4030", 10) == 0) in twl_probe()
/f-stack/tools/ifconfig/
H A Difvlan.c240 if (strncasecmp(proto_8021Q, val, in DECL_CMD_FUNC()
243 } else if ((strncasecmp(proto_8021ad, val, strlen(proto_8021ad)) == 0) in DECL_CMD_FUNC()
244 || (strncasecmp(proto_qinq, val, strlen(proto_qinq)) == 0)) { in DECL_CMD_FUNC()
H A Difieee80211.c601 strncasecmp(arg, "any", 3) == 0 || strncasecmp(arg, "off", 3) == 0); in isanyarg()
943 return (strcmp(arg, "-") == 0 || strncasecmp(arg, "undef", 5) == 0); in isundefarg()
1033 } else if (strncasecmp(val, "rtscts", 3) == 0) { in set80211protmode()
1049 } else if (strncasecmp(val, "rts", 3) == 0) { in set80211htprotmode()
4635 #define iseq(a,b) (strncasecmp(a,b,sizeof(b)-1) == 0) in DECL_CMD_FUNC()
5804 #define iseq(a,b) (strncasecmp(a,b,sizeof(b)-1) == 0) in DECL_CMD_FUNC()
/f-stack/freebsd/libkern/
H A Dstrcasestr.c64 } while (strncasecmp(s, find, len) != 0); in strcasestr()
H A Dstrcasecmp.c57 strncasecmp(const char *s1, const char *s2, size_t n) in strncasecmp() function
/f-stack/tools/libutil/
H A Dtrimdomain.c81 if (strncasecmp(s + 1, domain, dlen) == 0) { in trimdomain()
/f-stack/freebsd/contrib/openzfs/cmd/zgenhostid/
H A Dzgenhostid.c94 if (strncasecmp("0x", in_s, 2) == 0) { in main()
/f-stack/dpdk/lib/librte_eal/windows/include/
H A Drte_os.h40 #define strncasecmp(s1, s2, count) _strnicmp(s1, s2, count) macro
/f-stack/freebsd/arm64/coresight/
H A Dcoresight_fdt.c73 strncasecmp(name, "port@", 6)) { in coresight_fdt_get_ports()
/f-stack/freebsd/contrib/ipfilter/netinet/
H A Dip_dns_pxy.c252 return strncasecmp(base, query, qlen);
268 return strncasecmp(base, query + qlen - blen, blen);
/f-stack/app/redis-5.0.5/deps/hiredis/
H A Dasync.c608 if (hasnext && strncasecmp(cstr,"subscribe\r\n",11) == 0) { in __redisAsyncCommand()
621 } else if (strncasecmp(cstr,"unsubscribe\r\n",13) == 0) { in __redisAsyncCommand()
629 } else if(strncasecmp(cstr,"monitor\r\n",9) == 0) { in __redisAsyncCommand()
H A Dtest.c302 strncasecmp(reader->errstr,"No support for",14) == 0); in test_reply_reader()
/f-stack/app/redis-5.0.5/src/
H A Dredis-check-aof.c212 strncasecmp(buf,"y",1) != 0) { in redis_check_aof_main()
/f-stack/freebsd/arm64/arm64/
H A Dmachdep_boot.c144 if (strncasecmp(cmdline, guard, guard_len) != 0) in cmdline_set_env()
/f-stack/tools/ngctl/
H A Dmain.c555 if (strncasecmp(s, cmd->cmd, strlen(s)) == 0)
562 if (strncasecmp(s, cmd->aliases[a], strlen(s)) == 0)
/f-stack/freebsd/netinet/libalias/
H A Dalias_ftp.c355 if (strncasecmp("PORT ", sptr, 5)) in ParseFtpPortCommand()
428 if (strncasecmp("EPRT ", sptr, 5)) in ParseFtpEprtCommand()
/f-stack/freebsd/contrib/openzfs/lib/libzutil/os/linux/
H A Dzutil_import_os.c830 !strncasecmp(env, "YES", 3) || !strncasecmp(env, "ON", 2))) { in update_vdev_config_dev_strs()
/f-stack/freebsd/sys/
H A Dlibkern.h185 int strncasecmp(const char *, const char *, size_t);
/f-stack/freebsd/arm/arm/
H A Dmachdep_boot.c162 if (strncasecmp(cmdline, guard, guard_len) != 0) in cmdline_set_env()
/f-stack/dpdk/drivers/net/i40e/
H A Di40e_ethdev.c12117 if (!strncasecmp(name, "PPPOE", 5)) in i40e_update_customized_ptype()
12140 else if (!strncasecmp(name, "IPV4", 4) && in i40e_update_customized_ptype()
12164 else if (!strncasecmp(name, "IPV6", 4) && in i40e_update_customized_ptype()
12168 else if (!strncasecmp(name, "UDP", 3) && in i40e_update_customized_ptype()
12172 else if (!strncasecmp(name, "UDP", 3) && in i40e_update_customized_ptype()
12176 else if (!strncasecmp(name, "TCP", 3) && in i40e_update_customized_ptype()
12180 else if (!strncasecmp(name, "TCP", 3) && in i40e_update_customized_ptype()
12193 !strncasecmp(name, "ICMPV6", 6)) && in i40e_update_customized_ptype()
12198 !strncasecmp(name, "ICMPV6", 6)) && in i40e_update_customized_ptype()
12219 !strncasecmp(name, "L2TPV2", 6) || in i40e_update_customized_ptype()
[all …]
/f-stack/dpdk/lib/librte_eal/common/
H A Deal_common_options.c1294 if (strncasecmp(arg, "primary", sizeof("primary")) == 0) in eal_parse_proc_type()
1296 if (strncasecmp(arg, "secondary", sizeof("secondary")) == 0) in eal_parse_proc_type()
1298 if (strncasecmp(arg, "auto", sizeof("auto")) == 0) in eal_parse_proc_type()
/f-stack/app/redis-5.0.5/deps/lua/src/
H A Dlua_cjson.c986 if (!strncasecmp(p, "inf", 3)) in json_is_invalid_number()
988 if (!strncasecmp(p, "nan", 3)) in json_is_invalid_number()
/f-stack/freebsd/contrib/openzfs/lib/libzfs/
H A Dlibzfs_pool.c3992 !strncasecmp(env, "YES", 3) || !strncasecmp(env, "ON", 2))) in zpool_vdev_name()
3997 !strncasecmp(env, "YES", 3) || !strncasecmp(env, "ON", 2))) in zpool_vdev_name()
4002 !strncasecmp(env, "YES", 3) || !strncasecmp(env, "ON", 2))) in zpool_vdev_name()
H A Dlibzfs_util.c999 (!strncasecmp(env, "YES", 3) && strnlen(env, 4) == 3) || in libzfs_envvar_is_set()
1000 (!strncasecmp(env, "ON", 2) && strnlen(env, 3) == 2))) in libzfs_envvar_is_set()

12