/external/libmtp/examples/ |
D | pathutils.c | 46 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/src/ |
D | netperf.c | 152 if (strcasecmp(test_name,"TCP_STREAM") == 0) { in main() 155 else if (strcasecmp(test_name,"TCP_MAERTS") == 0) { in main() 158 else if (strcasecmp(test_name,"TCP_MSS") == 0) { in main() 162 else if (strcasecmp(test_name,"EXS_TCP_STREAM") == 0) { in main() 167 else if (strcasecmp(test_name,"TCP_SENDFILE") == 0) { in main() 171 else if (strcasecmp(test_name,"TCP_RR") == 0) { in main() 174 else if (strcasecmp(test_name,"TCP_CRR") == 0) { in main() 177 else if (strcasecmp(test_name,"TCP_CC") == 0) { in main() 181 else if (strcasecmp(test_name,"TCP_TRR") == 0) { in main() 186 else if (strcasecmp(test_name,"TCP_NBRR") == 0) { in main() [all …]
|
D | netsh.c | 466 else if ((strcasecmp(arg1,"xmit") == 0) || in parse_direction() 467 (strcasecmp(arg1,"send") == 0) || in parse_direction() 468 (strcasecmp(arg1,"stream") == 0) || in parse_direction() 469 (strcasecmp(arg1,"transmit") == 0)) { in parse_direction() 472 else if ((strcasecmp(arg1,"recv") == 0) || in parse_direction() 473 (strcasecmp(arg1,"receive") == 0) || in parse_direction() 474 (strcasecmp(arg1,"maerts") == 0)) { in parse_direction() 478 else if (strcasecmp(arg1,"rr") == 0) { in parse_direction() 508 if (!strcasecmp(temp,"tcp")){ in parse_protocol() 513 if (!strcasecmp(temp,"udp")) { in parse_protocol() [all …]
|
/external/vboot_reference/host/lib/ |
D | crossystem.c | 455 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/ |
D | crossystem_arch.c | 31 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/ |
D | crossystem_arch.c | 728 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/vboot_reference/host/arch/x86_64/lib/ |
D | crossystem_arch.c | 728 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/ |
D | dns-sd.c | 96 #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/selinux/libsemanage/src/ |
D | conf-parse.y | 129 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 …]
|
D | fcontexts_file.c | 106 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/iproute2/tc/ |
D | tc_util.c | 205 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/e2fsprogs/ext2ed/ |
D | init.c | 499 if (strcasecmp (option,"Ext2Descriptors")==0) { in process_configuration_file() 503 else if (strcasecmp (option,"AlternateDescriptors")==0) { in process_configuration_file() 507 else if (strcasecmp (option,"LogFile")==0) { in process_configuration_file() 511 else if (strcasecmp (option,"LogChanges")==0) { in process_configuration_file() 512 if (strcasecmp (value,"on")==0) in process_configuration_file() 514 else if (strcasecmp (value,"off")==0) in process_configuration_file() 522 else if (strcasecmp (option,"AllowChanges")==0) { in process_configuration_file() 523 if (strcasecmp (value,"on")==0) in process_configuration_file() 525 else if (strcasecmp (value,"off")==0) in process_configuration_file() 533 else if (strcasecmp (option,"AllowMountedRead")==0) { in process_configuration_file() [all …]
|
/external/iptables/extensions/ |
D | libxt_RATEEST.c | 61 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/avahi/avahi-daemon/ |
D | main.c | 620 if (strcasecmp(g->name, "server") == 0) { in load_config_file() 625 if (strcasecmp(p->key, "host-name") == 0) { in load_config_file() 628 } else if (strcasecmp(p->key, "domain-name") == 0) { in load_config_file() 631 } else if (strcasecmp(p->key, "browse-domains") == 0) { in load_config_file() 651 } else if (strcasecmp(p->key, "use-ipv4") == 0) in load_config_file() 653 else if (strcasecmp(p->key, "use-ipv6") == 0) in load_config_file() 655 else if (strcasecmp(p->key, "check-response-ttl") == 0) in load_config_file() 657 else if (strcasecmp(p->key, "allow-point-to-point") == 0) in load_config_file() 659 else if (strcasecmp(p->key, "use-iff-running") == 0) in load_config_file() 661 else if (strcasecmp(p->key, "disallow-other-stacks") == 0) in load_config_file() [all …]
|
/external/libnl/lib/route/ |
D | pktloc_syntax.y | 66 if (!strcasecmp($2, "u8")) 68 else if (!strcasecmp($2, "h8")) { 71 } else if (!strcasecmp($2, "u16")) 73 else if (!strcasecmp($2, "h16")) { 76 } else if (!strcasecmp($2, "u32")) 78 else if (!strcasecmp($2, "h32")) {
|
/external/libnl/src/ |
D | disabled-nl-qdisc-add.c | 34 if (argc != 2 || strcasecmp(argv[0], "limit")) { in parse_pfifo_opts() 55 if (argc != 2 || strcasecmp(argv[0], "limit")) { in parse_bfifo_opts() 82 if (argc < 2 || strcasecmp(argv[0], "bands")) in parse_prio_opts() 94 if (argc < 5 || strcasecmp(argv[2], "map")) in parse_prio_opts() 163 if (!strcasecmp(argv[4], "blackhole")) in main() 165 else if (!strcasecmp(argv[4], "pfifo")) in main() 167 else if (!strcasecmp(argv[4], "bfifo")) in main() 169 else if (!strcasecmp(argv[4], "prio")) in main()
|
/external/libjpeg-turbo/ |
D | tjbench.c | 780 if(!strcasecmp(temp, ".bmp")) ext="bmp"; in main() 781 if(!strcasecmp(temp, ".jpg") || !strcasecmp(temp, ".jpeg")) decomponly=1; in main() 805 if(!strcasecmp(argv[i], "-tile")) in main() 809 if(!strcasecmp(argv[i], "-fastupsample")) in main() 814 if(!strcasecmp(argv[i], "-fastdct")) in main() 819 if(!strcasecmp(argv[i], "-accuratedct")) in main() 824 if(!strcasecmp(argv[i], "-rgb")) pf=TJPF_RGB; in main() 825 if(!strcasecmp(argv[i], "-rgbx")) pf=TJPF_RGBX; in main() 826 if(!strcasecmp(argv[i], "-bgr")) pf=TJPF_BGR; in main() 827 if(!strcasecmp(argv[i], "-bgrx")) pf=TJPF_BGRX; in main() [all …]
|
/external/libvncserver/test/ |
D | tjbench.c | 522 if(!strcasecmp(temp, ".bmp")) ext="bmp"; in main() 523 if(!strcasecmp(temp, ".jpg") || !strcasecmp(temp, ".jpeg")) decomponly=1; in main() 547 if(!strcasecmp(argv[i], "-tile")) in main() 551 if(!strcasecmp(argv[i], "-forcesse3")) in main() 556 if(!strcasecmp(argv[i], "-forcesse2")) in main() 561 if(!strcasecmp(argv[i], "-forcesse")) in main() 566 if(!strcasecmp(argv[i], "-forcemmx")) in main() 571 if(!strcasecmp(argv[i], "-fastupsample")) in main() 576 if(!strcasecmp(argv[i], "-rgb")) pf=TJPF_RGB; in main() 577 if(!strcasecmp(argv[i], "-rgbx")) pf=TJPF_RGBX; in main() [all …]
|
/external/vboot_reference/host/arch/arm/lib/ |
D | crossystem_arch.c | 521 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/libnl/src/lib/ |
D | utils.c | 99 if (!strcasecmp(str, "brief")) in nl_cli_parse_dumptype() 101 else if (!strcasecmp(str, "details") || !strcasecmp(str, "detailed")) in nl_cli_parse_dumptype() 103 else if (!strcasecmp(str, "stats")) in nl_cli_parse_dumptype() 105 else if (!strcasecmp(str, "env")) in nl_cli_parse_dumptype()
|
/external/libselinux/src/ |
D | android.c | 398 if (!strcasecmp(name, "isSystemServer")) { in selinux_android_seapp_context_reload() 399 if (!strcasecmp(value, "true")) in selinux_android_seapp_context_reload() 401 else if (!strcasecmp(value, "false")) in selinux_android_seapp_context_reload() 407 } else if (!strcasecmp(name, "isAutoPlayApp")) { in selinux_android_seapp_context_reload() 409 if (!strcasecmp(value, "true")) in selinux_android_seapp_context_reload() 411 else if (!strcasecmp(value, "false")) in selinux_android_seapp_context_reload() 417 } else if (!strcasecmp(name, "isOwner")) { in selinux_android_seapp_context_reload() 419 if (!strcasecmp(value, "true")) in selinux_android_seapp_context_reload() 421 else if (!strcasecmp(value, "false")) in selinux_android_seapp_context_reload() 427 } else if (!strcasecmp(name, "user")) { in selinux_android_seapp_context_reload() [all …]
|
/external/selinux/secilc/ |
D | secilc.c | 134 if (!strcasecmp(optarg, "true") || !strcasecmp(optarg, "1")) { in main() 136 } else if (!strcasecmp(optarg, "false") || !strcasecmp(optarg, "0")) { in main() 158 if (!strcasecmp(optarg, "deny")) { in main() 160 } else if (!strcasecmp(optarg, "allow")) { in main() 162 } else if (!strcasecmp(optarg, "reject")) { in main()
|
/external/clang/test/Analysis/ |
D | string.c | 860 #define strcasecmp BUILTIN(strcasecmp) macro 861 int strcasecmp(const char *s1, const char *s2); 864 clang_analyzer_eval(strcasecmp("abc", "Abc") == 0); // expected-warning{{TRUE}} in strcasecmp_constant0() 869 clang_analyzer_eval(strcasecmp(x, "Abc") == 0); // expected-warning{{TRUE}} in strcasecmp_constant_and_var_0() 874 clang_analyzer_eval(strcasecmp("Abc", x) == 0); // expected-warning{{TRUE}} in strcasecmp_constant_and_var_1() 880 clang_analyzer_eval(strcasecmp(x, y) == 0); // expected-warning{{TRUE}} in strcasecmp_0() 886 clang_analyzer_eval(strcasecmp(x, y) == 1); // expected-warning{{TRUE}} in strcasecmp_1() 892 clang_analyzer_eval(strcasecmp(x, y) == -1); // expected-warning{{TRUE}} in strcasecmp_2() 898 …strcasecmp(x, y); // expected-warning{{Null pointer argument in call to string comparison function… in strcasecmp_null_0() 904 …strcasecmp(x, y); // expected-warning{{Null pointer argument in call to string comparison function… in strcasecmp_null_1() [all …]
|
/external/wpa_supplicant_8/hs20/client/ |
D | spp_client.c | 341 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/libnl/lib/ |
D | utils.c | 206 if (!strcasecmp(p, "kb") || !strcasecmp(p, "k")) in nl_size2int() 208 else if (!strcasecmp(p, "gb") || !strcasecmp(p, "g")) in nl_size2int() 210 else if (!strcasecmp(p, "gbit")) in nl_size2int() 212 else if (!strcasecmp(p, "mb") || !strcasecmp(p, "m")) in nl_size2int() 214 else if (!strcasecmp(p, "mbit")) in nl_size2int() 216 else if (!strcasecmp(p, "kbit")) in nl_size2int() 218 else if (!strcasecmp(p, "bit")) in nl_size2int() 220 else if (strcasecmp(p, "b") != 0) in nl_size2int() 851 if (!strcasecmp(tbl[i].a, buf)) in __str2type() 871 if (!strcasecmp(tl->a, buf)) in __list_str2type()
|