Home
last modified time | relevance | path

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

12345678910>>...13

/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/vboot_reference/host/lib/
Dcrossystem.c455 else if (!strcasecmp(name,"kern_nv")) { in VbGetSystemPropertyInt()
457 } else if (!strcasecmp(name,"nvram_cleared")) { in VbGetSystemPropertyInt()
459 } else if (!strcasecmp(name,"recovery_request")) { in VbGetSystemPropertyInt()
461 } else if (!strcasecmp(name,"dbg_reset")) { in VbGetSystemPropertyInt()
463 } else if (!strcasecmp(name,"disable_dev_request")) { in VbGetSystemPropertyInt()
465 } else if (!strcasecmp(name,"clear_tpm_owner_request")) { in VbGetSystemPropertyInt()
467 } else if (!strcasecmp(name,"clear_tpm_owner_done")) { in VbGetSystemPropertyInt()
469 } else if (!strcasecmp(name,"fwb_tries")) { in VbGetSystemPropertyInt()
471 } else if (!strcasecmp(name,"fw_vboot2")) { in VbGetSystemPropertyInt()
473 } else if (!strcasecmp(name,"fw_try_count")) { in VbGetSystemPropertyInt()
[all …]
/external/vboot_reference/host/arch/mips/lib/
Dcrossystem_arch.c31 if (!strcasecmp(name,"devsw_cur")) { in VbGetArchPropertyInt()
33 } else if (!strcasecmp(name,"recoverysw_cur")) { in VbGetArchPropertyInt()
35 } else if (!strcasecmp(name,"wpsw_cur")) { in VbGetArchPropertyInt()
37 } else if (!strcasecmp(name,"devsw_boot")) { in VbGetArchPropertyInt()
39 } else if (!strcasecmp(name,"recoverysw_boot")) { in VbGetArchPropertyInt()
41 } else if (!strcasecmp(name,"recoverysw_ec_boot")) { in VbGetArchPropertyInt()
43 } else if (!strcasecmp(name,"wpsw_boot")) { in VbGetArchPropertyInt()
50 if (!strcasecmp(name,"hwid")) { in VbGetArchPropertyString()
52 } else if (!strcasecmp(name,"fwid")) { in VbGetArchPropertyString()
54 } else if (!strcasecmp(name,"ro_fwid")) { in VbGetArchPropertyString()
[all …]
/external/vboot_reference/host/arch/x86/lib/
Dcrossystem_arch.c728 if (!strcasecmp(name,"fmap_base")) { in VbGetArchPropertyInt()
737 if (!strcasecmp(name,"devsw_cur")) { in VbGetArchPropertyInt()
744 } else if (!strcasecmp(name,"recoverysw_cur")) { in VbGetArchPropertyInt()
746 } else if (!strcasecmp(name,"wpsw_cur")) { in VbGetArchPropertyInt()
750 } else if (!strcasecmp(name,"recoverysw_ec_boot")) { in VbGetArchPropertyInt()
756 if (!strcasecmp(name,"recovery_reason")) { in VbGetArchPropertyInt()
758 } else if (!strcasecmp(name,"devsw_boot")) { in VbGetArchPropertyInt()
760 } else if (!strcasecmp(name,"recoverysw_boot")) { in VbGetArchPropertyInt()
762 } else if (!strcasecmp(name,"wpsw_boot")) { in VbGetArchPropertyInt()
771 if (!strcasecmp(name,"savedmem_base")) { in VbGetArchPropertyInt()
[all …]
/external/libxcam/tests/
Dtest-cl-image.cpp197 if (!strcasecmp (optarg, "nv12")) in main()
199 else if (!strcasecmp (optarg, "ba10")) in main()
201 else if (! strcasecmp (optarg, "rgba")) in main()
203 else if (! strcasecmp (optarg, "rgba64")) in main()
205 else if (!strcasecmp (optarg, "ba12")) in main()
220 if (!strcasecmp (optarg, "nv12")) in main()
222 else if (!strcasecmp (optarg, "ba10")) in main()
224 else if (! strcasecmp (optarg, "rgba")) in main()
226 else if (! strcasecmp (optarg, "rgba64")) in main()
234 if (!strcasecmp (optarg, "demo")) in main()
[all …]
/external/vboot_reference/host/arch/x86_64/lib/
Dcrossystem_arch.c728 if (!strcasecmp(name,"fmap_base")) { in VbGetArchPropertyInt()
737 if (!strcasecmp(name,"devsw_cur")) { in VbGetArchPropertyInt()
744 } else if (!strcasecmp(name,"recoverysw_cur")) { in VbGetArchPropertyInt()
746 } else if (!strcasecmp(name,"wpsw_cur")) { in VbGetArchPropertyInt()
750 } else if (!strcasecmp(name,"recoverysw_ec_boot")) { in VbGetArchPropertyInt()
756 if (!strcasecmp(name,"recovery_reason")) { in VbGetArchPropertyInt()
758 } else if (!strcasecmp(name,"devsw_boot")) { in VbGetArchPropertyInt()
760 } else if (!strcasecmp(name,"recoverysw_boot")) { in VbGetArchPropertyInt()
762 } else if (!strcasecmp(name,"wpsw_boot")) { in VbGetArchPropertyInt()
771 if (!strcasecmp(name,"savedmem_base")) { in VbGetArchPropertyInt()
[all …]
/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/libjpeg-turbo/
Dtjexample.c43 #define strcasecmp stricmp macro
202 else if (!strcasecmp(argv[i], "444")) in main()
204 else if (!strcasecmp(argv[i], "422")) in main()
206 else if (!strcasecmp(argv[i], "420")) in main()
216 else if (!strcasecmp(argv[i], "-hflip")) in main()
218 else if (!strcasecmp(argv[i], "-vflip")) in main()
220 else if (!strcasecmp(argv[i], "-transpose")) in main()
222 else if (!strcasecmp(argv[i], "-transverse")) in main()
224 else if (!strcasecmp(argv[i], "-rot90")) in main()
226 else if (!strcasecmp(argv[i], "-rot180")) in main()
[all …]
Dtjbench.c812 if (!strcasecmp(temp, ".bmp")) ext = "bmp"; in main()
813 if (!strcasecmp(temp, ".jpg") || !strcasecmp(temp, ".jpeg")) in main()
834 if (!strcasecmp(argv[i], "-tile")) { in main()
836 } else if (!strcasecmp(argv[i], "-fastupsample")) { in main()
839 } else if (!strcasecmp(argv[i], "-fastdct")) { in main()
842 } else if (!strcasecmp(argv[i], "-accuratedct")) { in main()
845 } else if (!strcasecmp(argv[i], "-progressive")) { in main()
848 } else if (!strcasecmp(argv[i], "-rgb")) in main()
850 else if (!strcasecmp(argv[i], "-rgbx")) in main()
852 else if (!strcasecmp(argv[i], "-bgr")) in main()
[all …]
/external/selinux/libsemanage/src/
Dconf-parse.y129 if (strcasecmp($3, "true") == 0)
131 else if (strcasecmp($3, "false") == 0)
152 if (strcasecmp($3, "selinux") == 0)
154 else if (strcasecmp($3, "xen") == 0)
176 if (strcasecmp($3, "true") == 0)
178 else if (strcasecmp($3, "false") == 0)
189 if (strcasecmp($3, "true") == 0)
191 else if (strcasecmp($3, "false") == 0)
201 if (strcasecmp($3, "false") == 0) {
203 } else if (strcasecmp($3, "true") == 0) {
[all …]
Dfcontexts_file.c106 if (!strcasecmp(str, "-s")) in fcontext_parse()
108 else if (!strcasecmp(str, "-p")) in fcontext_parse()
110 else if (!strcasecmp(str, "-b")) in fcontext_parse()
112 else if (!strcasecmp(str, "-l")) in fcontext_parse()
114 else if (!strcasecmp(str, "-c")) in fcontext_parse()
116 else if (!strcasecmp(str, "-d")) in fcontext_parse()
118 else if (!strcasecmp(str, "--")) in fcontext_parse()
/external/u-boot/cmd/
Dtpm-v1.c20 if (!strcasecmp("TPM_ST_CLEAR", argv[1])) { in do_tpm_startup()
22 } else if (!strcasecmp("TPM_ST_STATE", argv[1])) { in do_tpm_startup()
24 } else if (!strcasecmp("TPM_ST_DEACTIVATED", argv[1])) { in do_tpm_startup()
420 if (!strcasecmp(argv[1], "key")) in TPM_COMMAND_NO_ARG()
422 else if (!strcasecmp(argv[1], "auth")) in TPM_COMMAND_NO_ARG()
424 else if (!strcasecmp(argv[1], "hash")) in TPM_COMMAND_NO_ARG()
426 else if (!strcasecmp(argv[1], "trans")) in TPM_COMMAND_NO_ARG()
428 else if (!strcasecmp(argv[1], "context")) in TPM_COMMAND_NO_ARG()
430 else if (!strcasecmp(argv[1], "counter")) in TPM_COMMAND_NO_ARG()
432 else if (!strcasecmp(argv[1], "delegate")) in TPM_COMMAND_NO_ARG()
[all …]
Dtpm-v2.c23 if (!strcasecmp("TPM2_SU_CLEAR", argv[1])) { in do_tpm2_startup()
25 } else if (!strcasecmp("TPM2_SU_STATE", argv[1])) { in do_tpm2_startup()
43 if (!strcasecmp("full", argv[1])) { in do_tpm2_self_test()
45 } else if (!strcasecmp("continue", argv[1])) { in do_tpm2_self_test()
68 if (!strcasecmp("TPM2_RH_LOCKOUT", argv[1])) in do_tpm2_clear()
70 else if (!strcasecmp("TPM2_RH_PLATFORM", argv[1])) in do_tpm2_clear()
252 if (!strcasecmp("TPM2_RH_LOCKOUT", argv[1])) in do_tpm_change_auth()
254 else if (!strcasecmp("TPM2_RH_ENDORSEMENT", argv[1])) in do_tpm_change_auth()
256 else if (!strcasecmp("TPM2_RH_OWNER", argv[1])) in do_tpm_change_auth()
258 else if (!strcasecmp("TPM2_RH_PLATFORM", argv[1])) in do_tpm_change_auth()
/external/e2fsprogs/ext2ed/
Dinit.c500 if (strcasecmp (option,"Ext2Descriptors")==0) { in process_configuration_file()
504 else if (strcasecmp (option,"AlternateDescriptors")==0) { in process_configuration_file()
508 else if (strcasecmp (option,"LogFile")==0) { in process_configuration_file()
512 else if (strcasecmp (option,"LogChanges")==0) { in process_configuration_file()
513 if (strcasecmp (value,"on")==0) in process_configuration_file()
515 else if (strcasecmp (value,"off")==0) in process_configuration_file()
523 else if (strcasecmp (option,"AllowChanges")==0) { in process_configuration_file()
524 if (strcasecmp (value,"on")==0) in process_configuration_file()
526 else if (strcasecmp (value,"off")==0) in process_configuration_file()
534 else if (strcasecmp (option,"AllowMountedRead")==0) { in process_configuration_file()
[all …]
/external/mesa3d/src/hgl/
DGLRendererRoster.cpp45 if (!strcasecmp(parameter, "enabled") || !strcasecmp(parameter, "on") in GLRendererRoster()
46 || !strcasecmp(parameter, "true") || !strcasecmp(parameter, "yes") in GLRendererRoster()
47 || !strcasecmp(parameter, "enable") || !strcmp(parameter, "1")) in GLRendererRoster()
53 if (!strcasecmp(parameter, "enabled") || !strcasecmp(parameter, "on") in GLRendererRoster()
54 || !strcasecmp(parameter, "true") || !strcasecmp(parameter, "yes") in GLRendererRoster()
55 || !strcasecmp(parameter, "enable") || !strcmp(parameter, "1")) in GLRendererRoster()
/external/iptables/extensions/
Dlibxt_RATEEST.c61 if (strcasecmp(p, "s") == 0 || strcasecmp(p, "sec")==0 || in RATEEST_get_time()
62 strcasecmp(p, "secs")==0) in RATEEST_get_time()
64 else if (strcasecmp(p, "ms") == 0 || strcasecmp(p, "msec")==0 || in RATEEST_get_time()
65 strcasecmp(p, "msecs") == 0) in RATEEST_get_time()
67 else if (strcasecmp(p, "us") == 0 || strcasecmp(p, "usec")==0 || in RATEEST_get_time()
68 strcasecmp(p, "usecs") == 0) in RATEEST_get_time()
/external/iproute2/tc/
Dtc_util.c205 if (strcasecmp(s->name, p) == 0) { in get_rate()
233 if (strcasecmp(s->name, p) == 0) { in get_rate64()
285 if (strcasecmp(p, "s") == 0 || strcasecmp(p, "sec") == 0 || in get_time()
286 strcasecmp(p, "secs") == 0) in get_time()
288 else if (strcasecmp(p, "ms") == 0 || strcasecmp(p, "msec") == 0 || in get_time()
289 strcasecmp(p, "msecs") == 0) in get_time()
291 else if (strcasecmp(p, "us") == 0 || strcasecmp(p, "usec") == 0 || in get_time()
292 strcasecmp(p, "usecs") == 0) in get_time()
336 if (strcasecmp(p, "kb") == 0 || strcasecmp(p, "k") == 0) in get_size()
338 else if (strcasecmp(p, "gb") == 0 || strcasecmp(p, "g") == 0) in get_size()
[all …]
/external/vboot_reference/host/arch/arm/lib/
Dcrossystem_arch.c521 if (!strcasecmp(name, "fmap_base")) { in VbGetArchPropertyInt()
523 } else if (!strcasecmp(name, "devsw_cur")) { in VbGetArchPropertyInt()
530 } else if (!strcasecmp(name, "recoverysw_cur")) { in VbGetArchPropertyInt()
537 } else if (!strcasecmp(name, "wpsw_cur")) { in VbGetArchPropertyInt()
544 } else if (!strcasecmp(name, "recoverysw_ec_boot")) in VbGetArchPropertyInt()
557 if (!strcasecmp(name,"arch")) in VbGetArchPropertyString()
561 if (!strcasecmp(name, "ro_fwid")) in VbGetArchPropertyString()
563 else if (!strcasecmp(name, "hwid")) in VbGetArchPropertyString()
565 else if (!strcasecmp(name, "fwid")) in VbGetArchPropertyString()
567 else if (!strcasecmp(name, "mainfw_type")) in VbGetArchPropertyString()
[all …]
/external/clang/test/Analysis/
Dstring.c898 #define strcasecmp BUILTIN(strcasecmp) macro
899 int strcasecmp(const char *s1, const char *s2);
904 clang_analyzer_eval(strcasecmp(x, y) > 0); // expected-warning{{TRUE}} in strcasecmp_check_modelling()
905 clang_analyzer_eval(strcasecmp(x, y) <= 0); // expected-warning{{FALSE}} in strcasecmp_check_modelling()
906 clang_analyzer_eval(strcasecmp(x, y) > 1); // expected-warning{{UNKNOWN}} in strcasecmp_check_modelling()
908 clang_analyzer_eval(strcasecmp(y, x) < 0); // expected-warning{{TRUE}} in strcasecmp_check_modelling()
909 clang_analyzer_eval(strcasecmp(y, x) >= 0); // expected-warning{{FALSE}} in strcasecmp_check_modelling()
910 clang_analyzer_eval(strcasecmp(y, x) < -1); // expected-warning{{UNKNOWN}} in strcasecmp_check_modelling()
914 clang_analyzer_eval(strcasecmp("abc", "Abc") == 0); // expected-warning{{TRUE}} in strcasecmp_constant0()
919 clang_analyzer_eval(strcasecmp(x, "Abc") == 0); // expected-warning{{TRUE}} in strcasecmp_constant_and_var_0()
[all …]
/external/selinux/libselinux/src/android/
Dandroid_platform.c578 if (!strcasecmp(name, "isSystemServer")) { in selinux_android_seapp_context_reload()
579 if (!strcasecmp(value, "true")) in selinux_android_seapp_context_reload()
581 else if (!strcasecmp(value, "false")) in selinux_android_seapp_context_reload()
587 } else if (!strcasecmp(name, "isEphemeralApp")) { in selinux_android_seapp_context_reload()
589 if (!strcasecmp(value, "true")) in selinux_android_seapp_context_reload()
591 else if (!strcasecmp(value, "false")) in selinux_android_seapp_context_reload()
597 } else if (!strcasecmp(name, "isV2App")) { in selinux_android_seapp_context_reload()
599 if (!strcasecmp(value, "true")) in selinux_android_seapp_context_reload()
601 else if (!strcasecmp(value, "false")) in selinux_android_seapp_context_reload()
607 } else if (!strcasecmp(name, "isOwner")) { in selinux_android_seapp_context_reload()
[all …]
/external/mesa3d/src/util/
Ddebug.c68 strcasecmp(str, "true") == 0 || in env_var_as_boolean()
69 strcasecmp(str, "yes") == 0) { in env_var_as_boolean()
72 strcasecmp(str, "false") == 0 || in env_var_as_boolean()
73 strcasecmp(str, "no") == 0) { in env_var_as_boolean()
/external/linux-kselftest/tools/testing/selftests/networking/timestamping/
Dtimestamping.c341 if (!strcasecmp(argv[i], "SO_TIMESTAMP")) in main()
343 else if (!strcasecmp(argv[i], "SO_TIMESTAMPNS")) in main()
345 else if (!strcasecmp(argv[i], "SIOCGSTAMP")) in main()
347 else if (!strcasecmp(argv[i], "SIOCGSTAMPNS")) in main()
349 else if (!strcasecmp(argv[i], "IP_MULTICAST_LOOP")) in main()
351 else if (!strcasecmp(argv[i], "SOF_TIMESTAMPING_TX_HARDWARE")) in main()
353 else if (!strcasecmp(argv[i], "SOF_TIMESTAMPING_TX_SOFTWARE")) in main()
355 else if (!strcasecmp(argv[i], "SOF_TIMESTAMPING_RX_HARDWARE")) in main()
357 else if (!strcasecmp(argv[i], "SOF_TIMESTAMPING_RX_SOFTWARE")) in main()
359 else if (!strcasecmp(argv[i], "SOF_TIMESTAMPING_SOFTWARE")) in main()
[all …]
/external/selinux/secilc/
Dsecilc.c144 if (!strcasecmp(optarg, "true") || !strcasecmp(optarg, "1")) { in main()
146 } else if (!strcasecmp(optarg, "false") || !strcasecmp(optarg, "0")) { in main()
168 if (!strcasecmp(optarg, "deny")) { in main()
170 } else if (!strcasecmp(optarg, "allow")) { in main()
172 } else if (!strcasecmp(optarg, "reject")) { in main()
/external/wpa_supplicant_8/hs20/client/
Dspp_client.c341 if (strcasecmp(urn, URN_HS20_PPS) != 0) { in hs20_spp_upload_mo()
389 if (strcasecmp(urn, URN_HS20_PPS) != 0) { in hs20_add_mo()
540 if (strcasecmp(name, "launchBrowserToURI") == 0) { in hs20_spp_exec()
570 if (strcasecmp(name, "uploadMO") == 0) { in hs20_spp_exec()
579 if (strcasecmp(name, "getCertificate") == 0) { in hs20_spp_exec()
633 if (!update && strcasecmp(name, "updateNode") == 0) in process_spp_post_dev_data_response()
635 if (!exec && strcasecmp(name, "exec") == 0) in process_spp_post_dev_data_response()
637 if (!add_mo && strcasecmp(name, "addMO") == 0) in process_spp_post_dev_data_response()
639 if (!no_mo && strcasecmp(name, "noMOUpdate") == 0) in process_spp_post_dev_data_response()
644 strcasecmp(status, in process_spp_post_dev_data_response()
[all …]
/external/libxcam/plugins/smart/dvs/libdvs/
Dtest-image-stabilization.cpp76 enableTwoPass = (strcasecmp (optarg, "false") == 0 ? false : true);; in main()
79 enableDeblur = (strcasecmp (optarg, "false") == 0 ? false : true); in main()
82 wobbleSuppress = (strcasecmp (optarg, "false") == 0 ? false : true); in main()
85 saveOutput = (strcasecmp (optarg, "false") == 0 ? false : true); in main()

12345678910>>...13