Lines Matching refs:strcasecmp
112 if (strcasecmp(aclname, name) == 0) { in get_acl_def()
138 if (strcasecmp(aclname, dacl->name) == 0) { in convert_named_acl()
260 if (strcasecmp(name, "localhost") == 0 || in count_acl_elements()
261 strcasecmp(name, "localnets") == 0 || in count_acl_elements()
262 strcasecmp(name, "none") == 0) in count_acl_elements()
265 } else if (strcasecmp(name, "any") != 0) { in count_acl_elements()
301 if (strcasecmp(dbname, "city") == 0) { in get_subtype()
303 } else if (strcasecmp(dbname, "country") == 0) { in get_subtype()
311 if (strcasecmp(dbname, "city") == 0) { in get_subtype()
313 } else if (strcasecmp(dbname, "country") == 0) { in get_subtype()
321 if (strcasecmp(dbname, "city") == 0) { in get_subtype()
323 } else if (strcasecmp(dbname, "country") == 0) { in get_subtype()
331 if (strcasecmp(dbname, "city") == 0) { in get_subtype()
333 } else if (strcasecmp(dbname, "country") == 0) { in get_subtype()
341 if (strcasecmp(dbname, "city") == 0) { in get_subtype()
349 if (strcasecmp(dbname, "city") == 0) { in get_subtype()
366 if (strcasecmp(dbname, "city") != 0) { in get_subtype()
373 if (strcasecmp(dbname, "isp") != 0) { in get_subtype()
380 if (strcasecmp(dbname, "org") != 0) { in get_subtype()
387 if (strcasecmp(dbname, "asnum") != 0) { in get_subtype()
394 if (strcasecmp(dbname, "domain") != 0) { in get_subtype()
401 if (strcasecmp(dbname, "netspeed") != 0) { in get_subtype()
497 if (strcasecmp(dbname, geoip_dbnames[i]) == 0) { in parse_geoip_element()
519 if (strcasecmp(stype, "country") == 0 && len == 2) { in parse_geoip_element()
524 } else if (strcasecmp(stype, "country") == 0 && len == 3) { in parse_geoip_element()
530 } else if (strcasecmp(stype, "country") == 0) { in parse_geoip_element()
535 } else if (strcasecmp(stype, "continent") == 0 && len == 2) { in parse_geoip_element()
540 } else if (strcasecmp(stype, "continent") == 0) { in parse_geoip_element()
544 } else if ((strcasecmp(stype, "region") == 0 || in parse_geoip_element()
545 strcasecmp(stype, "subdivision") == 0) && in parse_geoip_element()
552 } else if (strcasecmp(stype, "region") == 0 || in parse_geoip_element()
553 strcasecmp(stype, "subdivision") == 0) in parse_geoip_element()
559 } else if (strcasecmp(stype, "city") == 0) { in parse_geoip_element()
564 } else if (strcasecmp(stype, "postal") == 0 || in parse_geoip_element()
565 strcasecmp(stype, "postalcode") == 0) in parse_geoip_element()
576 } else if (strcasecmp(stype, "metro") == 0 || in parse_geoip_element()
577 strcasecmp(stype, "metrocode") == 0) in parse_geoip_element()
581 } else if (strcasecmp(stype, "tz") == 0 || in parse_geoip_element()
582 strcasecmp(stype, "timezone") == 0) in parse_geoip_element()
587 } else if (strcasecmp(stype, "isp") == 0) { in parse_geoip_element()
591 } else if (strcasecmp(stype, "asnum") == 0) { in parse_geoip_element()
595 } else if (strcasecmp(stype, "org") == 0) { in parse_geoip_element()
599 } else if (strcasecmp(stype, "domain") == 0) { in parse_geoip_element()
833 if (strcasecmp(name, "any") == 0) { in cfg_acl_fromconfig2()
849 } else if (strcasecmp(name, "none") == 0) { in cfg_acl_fromconfig2()
875 } else if (strcasecmp(name, "localhost") == 0) { in cfg_acl_fromconfig2()
879 } else if (strcasecmp(name, "localnets") == 0) { in cfg_acl_fromconfig2()