Home
last modified time | relevance | path

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

12345678910>>...294

/dports/security/fwlogwatch/fwlogwatch-1.5/
H A Drcfile.c78 if ((strncasecmp(string, "yes", 3) == 0) in get_yes_or_no()
79 || (strncasecmp(string, "on", 2) == 0) in get_yes_or_no()
80 || (strncasecmp(string, "true", 4) == 0)) { in get_yes_or_no()
82 } else if ((strncasecmp(string, "no", 2) == 0) in get_yes_or_no()
83 || (strncasecmp(string, "off", 3) == 0) in get_yes_or_no()
84 || (strncasecmp(string, "false", 5) == 0)) { in get_yes_or_no()
113 else if (strncasecmp(command, "verbose", 7) == 0) { in parse_rcfile()
119 } else if (strncasecmp(command, "input", 5) == 0) { in parse_rcfile()
127 else if (strncasecmp(command, "parser", 6) == 0) { in parse_rcfile()
175 else if (strncasecmp(command, "title", 5) == 0) { in parse_rcfile()
[all …]
/dports/x11-wm/wmconfig/wmconfig-1.5.1/
H A Dwmconfig.c285 if ((strncasecmp(optarg, "fvwm2", 5) == 0) || (strncasecmp(optarg, "fvwm95", 6) == 0)) { in parse_options()
295 if (strncasecmp(optarg, "mwm", 3) == 0) { in parse_options()
310 if ((strncasecmp(optarg, "fluxbox", 7) == 0) || (strncasecmp(optarg, "blackbox", 8) == 0)) { in parse_options()
325 if (strncasecmp(optarg, "twm", 3) == 0) { in parse_options()
331 if ((strncasecmp(optarg, "tvtwm", 5) == 0) || (strncasecmp(optarg, "vtwm", 4) == 0)) { in parse_options()
349 if ((strncasecmp(optarg, "olwm", 4) == 0) || (strncasecmp(optarg, "olvwm", 5) == 0)) { in parse_options()
360 if ((strncasecmp(optarg, "kde2", 4) == 0) || (strncasecmp(optarg, "kde3", 4) == 0)) { in parse_options()
436 …if ((strncasecmp(optarg, "enlightenment", 13) == 0) || (strncasecmp(optarg, "e17", 3) == 0) || (st… in parse_options()
448 if ((strncasecmp(optarg, "ede", 3) == 0) || (strncasecmp(optarg, "equinox", 7) == 0)) { in parse_options()
453 if ((strncasecmp(optarg, "ude", 3) == 0) || (strncasecmp(optarg, "uwm", 3) == 0)) { in parse_options()
[all …]
/dports/science/afni/afni-AFNI_21.3.16/src/
H A D3dNwarpCalc.c352 if( strncasecmp(argv[iarg],"-linear",4)==0 || strncasecmp(argv[iarg],"-trilinear",6)==0 ){ in main()
355 if( strncasecmp(argv[iarg],"-cubic",4)==0 || strncasecmp(argv[iarg],"-tricubic",6)==0 ){ in main()
359 if( strncasecmp(argv[iarg],"-quintic",4)==0 || strncasecmp(argv[iarg],"-triquintic",6)==0 ){ in main()
362 if( strncasecmp(argv[iarg],"-wsinc",5) == 0 ){ in main()
365 if( strncasecmp(argv[iarg],"-interp",5)==0 ){ in main()
372 } else if( strncasecmp(inam,"linear",3)==0 || strncasecmp(inam,"trilinear",5)==0 ){ in main()
374 } else if( strncasecmp(inam,"cubic",3)==0 || strncasecmp(inam,"tricubic",5)==0 ){ in main()
377 } else if( strncasecmp(inam,"quintic",3)==0 || strncasecmp(inam,"triquintic",5)==0 ){ in main()
395 } else if( strncasecmp(inam,"linear",3)==0 || strncasecmp(inam,"trilinear",5)==0 ){ in main()
397 } else if( strncasecmp(inam,"cubic",3)==0 || strncasecmp(inam,"tricubic",5)==0 ){ in main()
[all …]
/dports/net/kamailio/kamailio-5.4.5/src/core/parser/
H A Dparse_methods.c72 !strncasecmp(s->s + 1, "egister", 7))) { in parse_method_name()
83 if (likely((s->len==3) && !strncasecmp(s->s + 1, "ck", 2))) { in parse_method_name()
94 if (likely((s->len==4) && !strncasecmp(s->s + 1, "nfo", 3))) { in parse_method_name()
109 if (likely((s->len==4) && !strncasecmp(s->s + 1, "ost", 3))) { in parse_method_name()
113 if (likely((s->len==3) && !strncasecmp(s->s + 1, "ut", 2))) { in parse_method_name()
127 if (likely((s->len==3) && !strncasecmp(s->s + 1, "ye", 2))) { in parse_method_name()
176 if (likely((s->len==3) && !strncasecmp(s->s + 1, "et", 2))){ in parse_method_name()
183 if (likely((s->len==4) && !strncasecmp(s->s + 1, "dmq", 3))){ in parse_method_name()
256 if (!strncasecmp(_next->s + 2, "fo", 2)) { in parse_method_advance()
337 if (!strncasecmp(_next->s + 2, "fer", 3)) { in parse_method_advance()
[all …]
/dports/net-mgmt/net-snmp/net-snmp-5.9/agent/mibgroup/ucd-snmp/
H A Dpass_common.c67 if (!strncasecmp(buf, "too-big", 7)) { in netsnmp_internal_pass_str_to_errno()
72 } else if (!strncasecmp(buf, "bad-value", 9)) { in netsnmp_internal_pass_str_to_errno()
74 } else if (!strncasecmp(buf, "read-only", 9)) { in netsnmp_internal_pass_str_to_errno()
76 } else if (!strncasecmp(buf, "gen-error", 9)) { in netsnmp_internal_pass_str_to_errno()
123 if (!strncasecmp(buf, "string", 6)) { in netsnmp_internal_pass_parse()
132 else if (!strncasecmp(buf, "integer64", 9)) { in netsnmp_internal_pass_parse()
142 else if (!strncasecmp(buf, "integer", 7)) { in netsnmp_internal_pass_parse()
162 else if (!strncasecmp(buf, "counter", 7)) { in netsnmp_internal_pass_parse()
167 } else if (!strncasecmp(buf, "octet", 5)) { in netsnmp_internal_pass_parse()
171 } else if (!strncasecmp(buf, "opaque", 6)) { in netsnmp_internal_pass_parse()
[all …]
/dports/www/mod_php81/php-8.1.1/ext/standard/tests/strings/
H A Dstrncasecmp_basic.phpt2 Test strncasecmp() function : basic functionality
5 echo "*** Testing strncasecmp() function: basic functionality ***\n";
7 echo "-- Testing strncasecmp() with single quoted string --\n";
8 var_dump( strncasecmp('Hello', 'Hello', 5) ); //expected: int(0)
9 var_dump( strncasecmp('Hello', 'Hi', 5) ); //expected: value < 0
12 echo "-- Testing strncasecmp() with double quoted string --\n";
17 echo "-- Testing strncasecmp() with here-doc string --\n";
21 var_dump( strncasecmp($str, "Hello", 5) ); //expected: int(0)
29 -- Testing strncasecmp\(\) with single quoted string --
33 -- Testing strncasecmp\(\) with double quoted string --
[all …]
/dports/www/mod_php80/php-8.0.15/ext/standard/tests/strings/
H A Dstrncasecmp_basic.phpt2 Test strncasecmp() function : basic functionality
5 echo "*** Testing strncasecmp() function: basic functionality ***\n";
7 echo "-- Testing strncasecmp() with single quoted string --\n";
8 var_dump( strncasecmp('Hello', 'Hello', 5) ); //expected: int(0)
9 var_dump( strncasecmp('Hello', 'Hi', 5) ); //expected: value < 0
12 echo "-- Testing strncasecmp() with double quoted string --\n";
17 echo "-- Testing strncasecmp() with here-doc string --\n";
21 var_dump( strncasecmp($str, "Hello", 5) ); //expected: int(0)
29 -- Testing strncasecmp\(\) with single quoted string --
33 -- Testing strncasecmp\(\) with double quoted string --
[all …]
/dports/lang/php80/php-8.0.15/ext/standard/tests/strings/
H A Dstrncasecmp_basic.phpt2 Test strncasecmp() function : basic functionality
5 echo "*** Testing strncasecmp() function: basic functionality ***\n";
7 echo "-- Testing strncasecmp() with single quoted string --\n";
8 var_dump( strncasecmp('Hello', 'Hello', 5) ); //expected: int(0)
9 var_dump( strncasecmp('Hello', 'Hi', 5) ); //expected: value < 0
12 echo "-- Testing strncasecmp() with double quoted string --\n";
17 echo "-- Testing strncasecmp() with here-doc string --\n";
21 var_dump( strncasecmp($str, "Hello", 5) ); //expected: int(0)
29 -- Testing strncasecmp\(\) with single quoted string --
33 -- Testing strncasecmp\(\) with double quoted string --
[all …]
/dports/lang/php81/php-8.1.1/ext/standard/tests/strings/
H A Dstrncasecmp_basic.phpt2 Test strncasecmp() function : basic functionality
5 echo "*** Testing strncasecmp() function: basic functionality ***\n";
7 echo "-- Testing strncasecmp() with single quoted string --\n";
8 var_dump( strncasecmp('Hello', 'Hello', 5) ); //expected: int(0)
9 var_dump( strncasecmp('Hello', 'Hi', 5) ); //expected: value < 0
12 echo "-- Testing strncasecmp() with double quoted string --\n";
17 echo "-- Testing strncasecmp() with here-doc string --\n";
21 var_dump( strncasecmp($str, "Hello", 5) ); //expected: int(0)
29 -- Testing strncasecmp\(\) with single quoted string --
33 -- Testing strncasecmp\(\) with double quoted string --
[all …]
/dports/lang/php74/php-7.4.27/ext/standard/tests/strings/
H A Dstrncasecmp_basic.phpt2 Test strncasecmp() function : basic functionality
12 echo "-- Testing strncasecmp() with single quoted string --\n";
13 var_dump( strncasecmp('Hello', 'Hello', 5) ); //expected: int(0)
17 echo "-- Testing strncasecmp() with double quoted string --\n";
22 echo "-- Testing strncasecmp() with here-doc string --\n";
26 var_dump( strncasecmp($str, "Hello", 5) ); //expected: int(0)
27 var_dump( strncasecmp($str, "Hi", 5) ); //expected: value < 0
28 var_dump( strncasecmp("Hi", $str, 5) ); //expected: value > 0
34 -- Testing strncasecmp\(\) with single quoted string --
38 -- Testing strncasecmp\(\) with double quoted string --
[all …]
H A Dstrncasecmp_error.phpt2 Test strncasecmp() function : error conditions
10 echo "*** Testing strncasecmp() function: error conditions ***\n";
16 echo "\n-- Testing strncasecmp() function with Zero arguments --";
17 var_dump( strncasecmp() );
20 var_dump( strncasecmp($str1) );
21 var_dump( strncasecmp($str1, $str2) );
24 var_dump( strncasecmp($str1, $str2, $len, $extra_arg) );
28 var_dump( strncasecmp($str1, $str2, $len) );
32 *** Testing strncasecmp() function: error conditions ***
34 -- Testing strncasecmp() function with Zero arguments --
[all …]
/dports/lang/php73/php-7.3.33/ext/standard/tests/strings/
H A Dstrncasecmp_basic.phpt2 Test strncasecmp() function : basic functionality
12 echo "-- Testing strncasecmp() with single quoted string --\n";
13 var_dump( strncasecmp('Hello', 'Hello', 5) ); //expected: int(0)
17 echo "-- Testing strncasecmp() with double quoted string --\n";
22 echo "-- Testing strncasecmp() with here-doc string --\n";
26 var_dump( strncasecmp($str, "Hello", 5) ); //expected: int(0)
27 var_dump( strncasecmp($str, "Hi", 5) ); //expected: value < 0
28 var_dump( strncasecmp("Hi", $str, 5) ); //expected: value > 0
34 -- Testing strncasecmp\(\) with single quoted string --
38 -- Testing strncasecmp\(\) with double quoted string --
[all …]
H A Dstrncasecmp_error.phpt2 Test strncasecmp() function : error conditions
10 echo "*** Testing strncasecmp() function: error conditions ***\n";
16 echo "\n-- Testing strncasecmp() function with Zero arguments --";
17 var_dump( strncasecmp() );
20 var_dump( strncasecmp($str1) );
21 var_dump( strncasecmp($str1, $str2) );
24 var_dump( strncasecmp($str1, $str2, $len, $extra_arg) );
28 var_dump( strncasecmp($str1, $str2, $len) );
32 *** Testing strncasecmp() function: error conditions ***
34 -- Testing strncasecmp() function with Zero arguments --
[all …]
/dports/www/mod_php74/php-7.4.27/ext/standard/tests/strings/
H A Dstrncasecmp_basic.phpt2 Test strncasecmp() function : basic functionality
12 echo "-- Testing strncasecmp() with single quoted string --\n";
13 var_dump( strncasecmp('Hello', 'Hello', 5) ); //expected: int(0)
17 echo "-- Testing strncasecmp() with double quoted string --\n";
22 echo "-- Testing strncasecmp() with here-doc string --\n";
26 var_dump( strncasecmp($str, "Hello", 5) ); //expected: int(0)
27 var_dump( strncasecmp($str, "Hi", 5) ); //expected: value < 0
28 var_dump( strncasecmp("Hi", $str, 5) ); //expected: value > 0
34 -- Testing strncasecmp\(\) with single quoted string --
38 -- Testing strncasecmp\(\) with double quoted string --
[all …]
H A Dstrncasecmp_error.phpt2 Test strncasecmp() function : error conditions
10 echo "*** Testing strncasecmp() function: error conditions ***\n";
16 echo "\n-- Testing strncasecmp() function with Zero arguments --";
17 var_dump( strncasecmp() );
20 var_dump( strncasecmp($str1) );
21 var_dump( strncasecmp($str1, $str2) );
24 var_dump( strncasecmp($str1, $str2, $len, $extra_arg) );
28 var_dump( strncasecmp($str1, $str2, $len) );
32 *** Testing strncasecmp() function: error conditions ***
34 -- Testing strncasecmp() function with Zero arguments --
[all …]
/dports/www/mod_php73/php-7.3.33/ext/standard/tests/strings/
H A Dstrncasecmp_basic.phpt2 Test strncasecmp() function : basic functionality
12 echo "-- Testing strncasecmp() with single quoted string --\n";
13 var_dump( strncasecmp('Hello', 'Hello', 5) ); //expected: int(0)
17 echo "-- Testing strncasecmp() with double quoted string --\n";
22 echo "-- Testing strncasecmp() with here-doc string --\n";
26 var_dump( strncasecmp($str, "Hello", 5) ); //expected: int(0)
27 var_dump( strncasecmp($str, "Hi", 5) ); //expected: value < 0
28 var_dump( strncasecmp("Hi", $str, 5) ); //expected: value > 0
34 -- Testing strncasecmp\(\) with single quoted string --
38 -- Testing strncasecmp\(\) with double quoted string --
[all …]
H A Dstrncasecmp_error.phpt2 Test strncasecmp() function : error conditions
10 echo "*** Testing strncasecmp() function: error conditions ***\n";
16 echo "\n-- Testing strncasecmp() function with Zero arguments --";
17 var_dump( strncasecmp() );
20 var_dump( strncasecmp($str1) );
21 var_dump( strncasecmp($str1, $str2) );
24 var_dump( strncasecmp($str1, $str2, $len, $extra_arg) );
28 var_dump( strncasecmp($str1, $str2, $len) );
32 *** Testing strncasecmp() function: error conditions ***
34 -- Testing strncasecmp() function with Zero arguments --
[all …]
/dports/security/razorback-api/api-0.5.0/src/
H A Druntime_config.c302 if (!strncasecmp (string, "MD5", 3)) in parseHashType()
307 else if (!strncasecmp (string, "SHA1", 4)) in parseHashType()
335 if (!strncasecmp (string, "binary", 6)) in parseMessageFormat()
340 else if (!strncasecmp (string, "json", 4)) in parseMessageFormat()
351 if (!strncasecmp (string, "syslog", 6)) in parseLogDest()
361 else if (!strncasecmp (string, "file", 4)) in parseLogDest()
372 if (!strncasecmp (string, "emergency", 9)) in parseLogLevel()
377 else if (!strncasecmp (string, "alert", 5)) in parseLogLevel()
402 else if (!strncasecmp (string, "info", 4)) in parseLogLevel()
421 if (!strncasecmp (string, "daemon", 6)) in parseLogFacility()
[all …]
/dports/net-im/echat/echat-0.04beta1/
H A Dchat_cmnd.c21 …if (!strncasecmp(buf, CMD_QUIT, CMD_MAXLEN) || !strncasecmp(buf, CMD_QUIT1, CMD_MAXLEN) || !strnca… in cmnd_help()
26 …if (!strncasecmp(buf, CMD_HELP, CMD_MAXLEN) || !strncasecmp(buf, CMD_HELP1, CMD_MAXLEN) || !strnca… in cmnd_help()
36 if (!strncasecmp(buf, CMD_STATUS, CMD_MAXLEN) || !strncasecmp(buf, CMD_STATUS1, CMD_MAXLEN)) { in cmnd_help()
41 if (!strncasecmp(buf, CMD_KEYS, CMD_MAXLEN) || !strncasecmp(buf, CMD_KEYS1, CMD_MAXLEN)) { in cmnd_help()
123 …if (!strncasecmp(buf, CMD_MESG, CMD_MAXLEN) || !strncasecmp(buf, CMD_MESG1, CMD_MAXLEN) || !strnca… in cmnd_help()
178 …if (!strncasecmp(buf, CMD_INFO, CMD_MAXLEN) || !strncasecmp(buf, CMD_INFO1, CMD_MAXLEN) || !strnca… in cmnd_help()
188 …if (!strncasecmp(buf, CMD_TALK, CMD_MAXLEN) || !strncasecmp(buf, CMD_TALK1, CMD_MAXLEN) || !strnca… in cmnd_help()
873 …if (!strncasecmp(buf, CMD_HELP, CMD_MAXLEN) || !strncasecmp(buf, CMD_HELP1, CMD_MAXLEN) || !strnca… in cmnd_parse()
932 …if (!strncasecmp(buf, CMD_MESG, CMD_MAXLEN) || !strncasecmp(buf, CMD_MESG1, CMD_MAXLEN) || !strnca… in cmnd_parse()
965 …if (!strncasecmp(buf, CMD_INFO, CMD_MAXLEN) || !strncasecmp(buf, CMD_INFO1, CMD_MAXLEN) || !strnca… in cmnd_parse()
[all …]
H A Dchat_conf.c207 if (!strncasecmp(option, "nick", OPTION_MAXLEN)) { in conf_read()
211 if (!strncasecmp(option, "gender", OPTION_MAXLEN)) { in conf_read()
219 if (!strncasecmp(option, "mode", OPTION_MAXLEN)) { in conf_read()
223 if (!strncasecmp(option, "active", OPTION_MAXLEN)) { in conf_read()
247 if (!strncasecmp(option, "ignore", OPTION_MAXLEN)) { in conf_read()
251 if (!strncasecmp(option, "ban", OPTION_MAXLEN)) { in conf_read()
259 if (!strncasecmp(option, "port", OPTION_MAXLEN)) { in conf_read()
303 if (!strncasecmp(option, "ps", OPTION_MAXLEN)) { in conf_read()
307 if (!strncasecmp(option, "style", OPTION_MAXLEN)) { in conf_read()
311 if (!strncasecmp(option, "ascii", OPTION_MAXLEN)) { in conf_read()
[all …]
/dports/biology/p5-AcePerl/AcePerl-1.92/acelib/
H A Dhelpsubs.c237 if (strncasecmp (s, subject_copy, in helpSubjectGetFilename()
977 if (strncasecmp (*cp, "</B>", 3) == 0) in parseBold()
1047 if (strncasecmp (*cp, "</I>", 3) == 0) in parseItalic()
1076 if (strncasecmp (*cp, "<", 1) == 0) in parseText()
1092 if (strncasecmp (*cp, ">", 1) == 0) in parseText()
1140 if (strncasecmp (*cp, "HREF=", 5) == 0) in parseHref()
1205 if (strncasecmp (*cp, "</a>", 4) == 0) in parseHref()
1323 strncasecmp (*cp, "<li>", 4) == 0 || in parseListItem()
1324 strncasecmp (*cp, "<dt>", 4) == 0)) in parseListItem()
1380 strncasecmp (*cp, "<dl>", 4) == 0) in parseList()
[all …]
/dports/mail/mboxgrep/mboxgrep-0.7.9/src/
H A Dmisc.c42 if (0 == strncasecmp (name, "mbox", 4)) in folder_format()
44 else if (0 == strncasecmp (name, "zmbox", 5)) in folder_format()
46 else if (0 == strncasecmp (name, "gzmbox", 6)) in folder_format()
48 else if (0 == strncasecmp (name, "bzmbox", 5)) in folder_format()
52 else if (0 == strncasecmp (name, "mh", 2)) in folder_format()
54 else if (0 == strncasecmp (name, "nnml", 4)) in folder_format()
56 else if (0 == strncasecmp (name, "nnmh", 4)) in folder_format()
76 if (0 == strncasecmp (name, "none", 4)) in lock_method()
78 else if (0 == strncasecmp (name, "off", 3)) in lock_method()
81 else if (0 == strncasecmp (name, "fcntl", 5)) in lock_method()
[all …]
/dports/comms/rtl-433/rtl_433-21.12/src/
H A Dfileformat.c15 #ifndef strncasecmp // Microsoft Visual Studio
16 #define strncasecmp _strnicmp macro
169 if (len == 1 && !strncasecmp("M", s, 1)) info->center_frequency = num * 1e6; in file_type()
170 else if (len == 1 && !strncasecmp("k", s, 1)) info->sample_rate = num * 1e3; in file_type()
171 else if (len == 2 && !strncasecmp("Hz", s, 2)) info->center_frequency = num; in file_type()
172 else if (len == 3 && !strncasecmp("sps", s, 3)) info->sample_rate = num; in file_type()
184 if (len == 1 && !strncasecmp("i", t, 1)) file_type_set_content(&info->format, F_I); in file_type()
185 else if (len == 1 && !strncasecmp("q", t, 1)) file_type_set_content(&info->format, F_Q); in file_type()
186 … else if (len == 2 && !strncasecmp("iq", t, 2)) file_type_set_content(&info->format, F_IQ); in file_type()
189 … else if (len == 2 && !strncasecmp("u8", t, 2)) file_type_set_format(&info->format, F_U8); in file_type()
[all …]
/dports/security/barnyard2/barnyard2-2-1.13/src/output-plugins/
H A Dspo_alert_csv.c317 if(!strncasecmp("timestamp", type, 9)) in RealAlertCSV()
329 else if(!strncasecmp("sig_id",type,6)) in RealAlertCSV()
345 else if(!strncasecmp("msg", type, 3)) in RealAlertCSV()
448 else if(!strncasecmp("src", type, 3)) in RealAlertCSV()
453 else if(!strncasecmp("dst", type, 3)) in RealAlertCSV()
472 else if(!strncasecmp("icmpid",type,6)) in RealAlertCSV()
482 else if(!strncasecmp("ttl",type,3)) in RealAlertCSV()
487 else if(!strncasecmp("tos",type,3)) in RealAlertCSV()
492 else if(!strncasecmp("id",type,2)) in RealAlertCSV()
497 else if(!strncasecmp("iplen",type,5)) in RealAlertCSV()
[all …]
/dports/security/barnyard2-sguil/barnyard2-2-1.13/src/output-plugins/
H A Dspo_alert_csv.c317 if(!strncasecmp("timestamp", type, 9)) in RealAlertCSV()
329 else if(!strncasecmp("sig_id",type,6)) in RealAlertCSV()
345 else if(!strncasecmp("msg", type, 3)) in RealAlertCSV()
448 else if(!strncasecmp("src", type, 3)) in RealAlertCSV()
453 else if(!strncasecmp("dst", type, 3)) in RealAlertCSV()
472 else if(!strncasecmp("icmpid",type,6)) in RealAlertCSV()
482 else if(!strncasecmp("ttl",type,3)) in RealAlertCSV()
487 else if(!strncasecmp("tos",type,3)) in RealAlertCSV()
492 else if(!strncasecmp("id",type,2)) in RealAlertCSV()
497 else if(!strncasecmp("iplen",type,5)) in RealAlertCSV()
[all …]

12345678910>>...294