Home
last modified time | relevance | path

Searched refs:strcasecmp (Results 1 – 25 of 275) sorted by relevance

1234567891011

/external/libmtp/examples/
Dpathutils.c46 if (strcasecmp (path, current) == 0) { in lookup_folder_id()
78 if (strcasecmp (file->filename, path) == 0) { in parse_path()
99 if (strcasecmp (file->filename, filename) == 0) { in parse_path()
148 if (!strcasecmp (ptype, "wav")) { in find_filetype()
150 } else if (!strcasecmp (ptype, "mp3")) { in find_filetype()
152 } else if (!strcasecmp (ptype, "wma")) { in find_filetype()
154 } else if (!strcasecmp (ptype, "ogg")) { in find_filetype()
156 } else if (!strcasecmp (ptype, "mp4")) { in find_filetype()
158 } else if (!strcasecmp (ptype, "wmv")) { in find_filetype()
160 } else if (!strcasecmp (ptype, "avi")) { in find_filetype()
[all …]
/external/netperf/
Dnetperf.c141 if (strcasecmp(test_name,"TCP_STREAM") == 0) { in main()
144 else if (strcasecmp(test_name,"TCP_MAERTS") == 0) { in main()
148 else if (strcasecmp(test_name,"EXS_TCP_STREAM") == 0) { in main()
153 else if (strcasecmp(test_name,"TCP_SENDFILE") == 0) { in main()
157 else if (strcasecmp(test_name,"TCP_RR") == 0) { in main()
160 else if (strcasecmp(test_name,"TCP_CRR") == 0) { in main()
163 else if (strcasecmp(test_name,"TCP_CC") == 0) { in main()
167 else if (strcasecmp(test_name,"TCP_TRR") == 0) { in main()
172 else if (strcasecmp(test_name,"TCP_NBRR") == 0) { in main()
176 else if (strcasecmp(test_name,"UDP_STREAM") == 0) { in main()
[all …]
Dnetsh.c878 if ((strcasecmp(test_name,"TCP_STREAM") == 0) || in scan_cmd_line()
880 (strcasecmp(test_name,"EXS_TCP_STREAM") == 0) || in scan_cmd_line()
883 (strcasecmp(test_name,"TCP_SENDFILE") == 0) || in scan_cmd_line()
885 (strcasecmp(test_name,"TCP_MAERTS") == 0) || in scan_cmd_line()
886 (strcasecmp(test_name,"TCP_RR") == 0) || in scan_cmd_line()
887 (strcasecmp(test_name,"TCP_CRR") == 0) || in scan_cmd_line()
888 (strcasecmp(test_name,"TCP_CC") == 0) || in scan_cmd_line()
890 (strcasecmp(test_name,"TCP_TRR") == 0) || in scan_cmd_line()
893 (strcasecmp(test_name,"TCP_TRR") == 0) || in scan_cmd_line()
895 (strcasecmp(test_name,"UDP_STREAM") == 0) || in scan_cmd_line()
[all …]
/external/chromium_org/third_party/cld/languages/internal/
Dlanguages.cc284 !base::strcasecmp(lang_code, info.language_code_639_1_)) || in LanguageFromCode()
286 !base::strcasecmp(lang_code, info.language_code_639_2_)) || in LanguageFromCode()
288 !base::strcasecmp(lang_code, info.language_code_other_))) { in LanguageFromCode()
298 if (!base::strcasecmp(lang_code, "zh-cn") || in LanguageFromCode()
299 !base::strcasecmp(lang_code, "zh_cn")) { in LanguageFromCode()
303 if (!base::strcasecmp(lang_code, "zh-tw") || in LanguageFromCode()
304 !base::strcasecmp(lang_code, "zh_tw")) { in LanguageFromCode()
308 if (!base::strcasecmp(lang_code, "sr-me") || in LanguageFromCode()
309 !base::strcasecmp(lang_code, "sr_me")) { in LanguageFromCode()
315 if (!base::strcasecmp(lang_code, "he")) { in LanguageFromCode()
[all …]
/external/qemu/hw/
Dwatchdog.c59 if (strcasecmp(model->wdt_name, p) == 0) { in select_watchdog()
75 if (strcasecmp(p, "reset") == 0) in select_watchdog_action()
77 else if (strcasecmp(p, "shutdown") == 0) in select_watchdog_action()
79 else if (strcasecmp(p, "poweroff") == 0) in select_watchdog_action()
81 else if (strcasecmp(p, "pause") == 0) in select_watchdog_action()
83 else if (strcasecmp(p, "debug") == 0) in select_watchdog_action()
85 else if (strcasecmp(p, "none") == 0) in select_watchdog_action()
/external/mdnsresponder/Clients/
Ddns-sd.c96 #define strcasecmp _stricmp macro
247 if (!strcasecmp(s, "A" )) return(kDNSServiceType_A); in GetRRType()
248 else if (!strcasecmp(s, "NS" )) return(kDNSServiceType_NS); in GetRRType()
249 else if (!strcasecmp(s, "MD" )) return(kDNSServiceType_MD); in GetRRType()
250 else if (!strcasecmp(s, "MF" )) return(kDNSServiceType_MF); in GetRRType()
251 else if (!strcasecmp(s, "CNAME" )) return(kDNSServiceType_CNAME); in GetRRType()
252 else if (!strcasecmp(s, "SOA" )) return(kDNSServiceType_SOA); in GetRRType()
253 else if (!strcasecmp(s, "MB" )) return(kDNSServiceType_MB); in GetRRType()
254 else if (!strcasecmp(s, "MG" )) return(kDNSServiceType_MG); in GetRRType()
255 else if (!strcasecmp(s, "MR" )) return(kDNSServiceType_MR); in GetRRType()
[all …]
/external/iproute2/tc/
Dtc_util.c161 if (strcasecmp(s->name, p) == 0) { in get_rate()
237 if (strcasecmp(p, "s") == 0 || strcasecmp(p, "sec")==0 || in get_time()
238 strcasecmp(p, "secs")==0) in get_time()
240 else if (strcasecmp(p, "ms") == 0 || strcasecmp(p, "msec")==0 || in get_time()
241 strcasecmp(p, "msecs") == 0) in get_time()
243 else if (strcasecmp(p, "us") == 0 || strcasecmp(p, "usec")==0 || in get_time()
244 strcasecmp(p, "usecs") == 0) in get_time()
288 if (strcasecmp(p, "kb") == 0 || strcasecmp(p, "k")==0) in get_size()
290 else if (strcasecmp(p, "gb") == 0 || strcasecmp(p, "g")==0) in get_size()
292 else if (strcasecmp(p, "gbit") == 0) in get_size()
[all …]
/external/chromium_org/third_party/WebKit/Source/testing/plugin/
Dmain.cpp56 static inline int strcasecmp(const char* s1, const char* s2) in strcasecmp() function
202 if (strcasecmp(argn[i], "test") == 0) in NPP_New()
204 if (strcasecmp(argn[i], "onstreamload") == 0 && !obj->onStreamLoad) in NPP_New()
206 else if (strcasecmp(argn[i], "onStreamDestroy") == 0 && !obj->onStreamDestroy) in NPP_New()
208 else if (strcasecmp(argn[i], "onURLNotify") == 0 && !obj->onURLNotify) in NPP_New()
210 else if (strcasecmp(argn[i], "src") == 0 && in NPP_New()
211strcasecmp(argv[i], "data:application/x-webkit-test-netscape,returnerrorfromnewstream") == 0) in NPP_New()
213 else if (strcasecmp(argn[i], "src") == 0 && in NPP_New()
214strcasecmp(argv[i], "data:application/x-webkit-test-netscape,alertwhenloaded") == 0) in NPP_New()
216 else if (strcasecmp(argn[i], "src") == 0 && in NPP_New()
[all …]
/external/iptables/extensions/
Dlibxt_RATEEST.c55 if (strcasecmp(p, "s") == 0 || strcasecmp(p, "sec")==0 || in RATEEST_get_time()
56 strcasecmp(p, "secs")==0) in RATEEST_get_time()
58 else if (strcasecmp(p, "ms") == 0 || strcasecmp(p, "msec")==0 || in RATEEST_get_time()
59 strcasecmp(p, "msecs") == 0) in RATEEST_get_time()
61 else if (strcasecmp(p, "us") == 0 || strcasecmp(p, "usec")==0 || in RATEEST_get_time()
62 strcasecmp(p, "usecs") == 0) in RATEEST_get_time()
Dlibxt_AUDIT.c35 if (strcasecmp(cb->arg, "accept") == 0) in audit_parse()
37 else if (strcasecmp(cb->arg, "drop") == 0) in audit_parse()
39 else if (strcasecmp(cb->arg, "reject") == 0) in audit_parse()
Dlibxt_ipvs.c80 if (strcasecmp(cb->arg, "ORIGINAL") == 0) { in ipvs_mt_parse()
83 } else if (strcasecmp(cb->arg, "REPLY") == 0) { in ipvs_mt_parse()
92 if (strcasecmp(cb->arg, "GATE") == 0) in ipvs_mt_parse()
94 else if (strcasecmp(cb->arg, "IPIP") == 0) in ipvs_mt_parse()
96 else if (strcasecmp(cb->arg, "MASQ") == 0) in ipvs_mt_parse()
Dlibxt_sctp.c171 if (!strcasecmp(buffer, "ALL")) { in parse_sctp_chunk()
176 if (!strcasecmp(buffer, "NONE")) { in parse_sctp_chunk()
190 if (strcasecmp(sctp_chunk_names[i].name, ptr) == 0) { in parse_sctp_chunk()
232 if (!strcasecmp(match_type, "ANY")) { in parse_sctp_chunks()
234 } else if (!strcasecmp(match_type, "ALL")) { in parse_sctp_chunks()
236 } else if (!strcasecmp(match_type, "ONLY")) { in parse_sctp_chunks()
/external/e2fsprogs/ext2ed/
Dinit.c506 if (strcasecmp (option,"Ext2Descriptors")==0) { in process_configuration_file()
510 else if (strcasecmp (option,"AlternateDescriptors")==0) { in process_configuration_file()
514 else if (strcasecmp (option,"LogFile")==0) { in process_configuration_file()
518 else if (strcasecmp (option,"LogChanges")==0) { in process_configuration_file()
519 if (strcasecmp (value,"on")==0) in process_configuration_file()
521 else if (strcasecmp (value,"off")==0) in process_configuration_file()
529 else if (strcasecmp (option,"AllowChanges")==0) { in process_configuration_file()
530 if (strcasecmp (value,"on")==0) in process_configuration_file()
532 else if (strcasecmp (value,"off")==0) in process_configuration_file()
540 else if (strcasecmp (option,"AllowMountedRead")==0) { in process_configuration_file()
[all …]
/external/libselinux/src/
Dandroid.c205 if (!strcasecmp(name, "isSystemServer")) { in selinux_android_seapp_context_reload()
206 if (!strcasecmp(value, "true")) in selinux_android_seapp_context_reload()
208 else if (!strcasecmp(value, "false")) in selinux_android_seapp_context_reload()
213 } else if (!strcasecmp(name, "user")) { in selinux_android_seapp_context_reload()
220 } else if (!strcasecmp(name, "seinfo")) { in selinux_android_seapp_context_reload()
224 } else if (!strcasecmp(name, "name")) { in selinux_android_seapp_context_reload()
228 } else if (!strcasecmp(name, "domain")) { in selinux_android_seapp_context_reload()
232 } else if (!strcasecmp(name, "type")) { in selinux_android_seapp_context_reload()
236 } else if (!strcasecmp(name, "levelFromUid")) { in selinux_android_seapp_context_reload()
237 if (!strcasecmp(value, "true")) in selinux_android_seapp_context_reload()
[all …]
/external/chromium_org/third_party/cld/base/
Dstring_util.h18 inline int strcasecmp(const char* s1, const char* s2) { in strcasecmp() function
22 inline int strcasecmp(const char* s1, const char* s2) {
23 return ::strcasecmp(s1, s2);
/external/linux-tools-perf/util/
Dconfig.c270 else if (!strcasecmp(end, "k")) { in parse_unit_factor()
274 else if (!strcasecmp(end, "m")) { in parse_unit_factor()
278 else if (!strcasecmp(end, "g")) { in parse_unit_factor()
321 if (!strcasecmp(value, "true") || !strcasecmp(value, "yes") || !strcasecmp(value, "on")) in perf_config_bool_or_int()
323 if (!strcasecmp(value, "false") || !strcasecmp(value, "no") || !strcasecmp(value, "off")) in perf_config_bool_or_int()
/external/chromium_org/printing/backend/
Dcups_helper.cc155 (base::strcasecmp(marked_choice->choice, printing::kBlack) != 0) && in GetBasicColorModelSettings()
156 (base::strcasecmp(marked_choice->choice, printing::kGray) != 0) && in GetBasicColorModelSettings()
157 (base::strcasecmp(marked_choice->choice, printing::kGrayscale) != 0); in GetBasicColorModelSettings()
188 if ((base::strcasecmp(printout_mode_choice->choice, in GetPrintOutModeColorSettings()
190 (base::strcasecmp(printout_mode_choice->choice, kHighGray) == 0) || in GetPrintOutModeColorSettings()
191 (base::strcasecmp(printout_mode_choice->choice, kDraftGray) == 0)) { in GetPrintOutModeColorSettings()
222 (base::strcasecmp(mode_choice->choice, printing::kColor) == 0); in GetColorModeSettings()
248 (base::strcasecmp(mode_choice->choice, printing::kColor) == 0); in GetHPColorSettings()
278 (base::strcasecmp(mode_choice->choice, printing::kGreyscale) != 0); in GetProcessColorModelSettings()
373 if (base::strcasecmp(duplex_choice->choice, kDuplexNone) != 0) in ParsePpdCapabilities()
/external/clang/test/Analysis/
Dstring.c858 #define strcasecmp BUILTIN(strcasecmp) macro
859 int strcasecmp(const char *s1, const char *s2);
862 clang_analyzer_eval(strcasecmp("abc", "Abc") == 0); // expected-warning{{TRUE}} in strcasecmp_constant0()
867 clang_analyzer_eval(strcasecmp(x, "Abc") == 0); // expected-warning{{TRUE}} in strcasecmp_constant_and_var_0()
872 clang_analyzer_eval(strcasecmp("Abc", x) == 0); // expected-warning{{TRUE}} in strcasecmp_constant_and_var_1()
878 clang_analyzer_eval(strcasecmp(x, y) == 0); // expected-warning{{TRUE}} in strcasecmp_0()
884 clang_analyzer_eval(strcasecmp(x, y) == 1); // expected-warning{{TRUE}} in strcasecmp_1()
890 clang_analyzer_eval(strcasecmp(x, y) == -1); // expected-warning{{TRUE}} in strcasecmp_2()
896strcasecmp(x, y); // expected-warning{{Null pointer argument in call to string comparison function… in strcasecmp_null_0()
902strcasecmp(x, y); // expected-warning{{Null pointer argument in call to string comparison function… in strcasecmp_null_1()
[all …]
/external/libppp/src/
Dcommand.c222 ((cmd->name && !strcasecmp(cmd->name, arg->argv[arg->argn])) || in HelpCommand()
223 (cmd->alias && !strcasecmp(cmd->alias, arg->argv[arg->argn])))) { in HelpCommand()
737 if (!strcasecmp(arg->argv[arg->argn], "reload")) in ResolvCommand()
739 else if (!strcasecmp(arg->argv[arg->argn], "restore")) in ResolvCommand()
741 else if (!strcasecmp(arg->argv[arg->argn], "rewrite")) in ResolvCommand()
743 else if (!strcasecmp(arg->argv[arg->argn], "readonly")) in ResolvCommand()
745 else if (!strcasecmp(arg->argv[arg->argn], "writable")) in ResolvCommand()
1266 (arg->argc > arg->argn && !strcasecmp(arg->argv[arg->argn], "all") && in QuitCommand()
1281 if (!strcasecmp(arg->argv[arg->argn], "lcp")) { in OpenCommand()
1291 } else if (!strcasecmp(arg->argv[arg->argn], "ccp")) { in OpenCommand()
[all …]
/external/chromium_org/base/strings/
Dstring_util_posix.h24 inline int strcasecmp(const char* string1, const char* string2) { in strcasecmp() function
25 return ::strcasecmp(string1, string2); in strcasecmp()
/external/blktrace/
Dact_mask.c6 (!strcasecmp((mmp)->short_form, (str)) || \
7 !strcasecmp((mmp)->long_form, (str)))
/external/chromium/base/
Dstring_util_posix.h24 inline int strcasecmp(const char* string1, const char* string2) { in strcasecmp() function
25 return ::strcasecmp(string1, string2); in strcasecmp()
/external/sepolicy/tools/
Dcheck_seapp.c265 if (!strcasecmp(key, "levelFrom") && in key_map_validate()
266 (strcasecmp(value, "none") && strcasecmp(value, "all") && in key_map_validate()
267 strcasecmp(value, "app") && strcasecmp(value, "user"))) { in key_map_validate()
282 else if (!strcasecmp(key, "sebool")) { in key_map_validate()
310 else if (!strcasecmp(key, "type") || !strcasecmp(key, "domain")) { in key_map_validate()
319 else if (!strcasecmp(key, "level")) { in key_map_validate()
497 if (strcasecmp(k->key, x->name)) { in rule_map_new()
/external/chromium/chrome/browser/sync/syncable/
Ddirectory_manager.cc70 DCHECK_EQ(base::strcasecmp(name.c_str(), in OpenImpl()
97 base::strcasecmp(name.c_str(), in Close()
130 (base::strcasecmp(name.c_str(), in ScopedDirLookup()
/external/e2fsprogs/lib/e2p/
Dfeature.c129 if (!strcasecmp(string, f->string)) { in e2p_string2feature()
203 if (!strcasecmp(string, f->string)) { in e2p_jrnl_string2feature()
290 if ((strcasecmp(cp, "none") == 0) || in e2p_edit_feature2()
291 (strcasecmp(cp, "clear") == 0)) { in e2p_edit_feature2()

1234567891011