Lines Matching refs:strcmp
1318 if (!strcmp(arg, "no-settings-load")) { in cmd_init()
1320 } else if (!strcmp(arg, "sync")) { in cmd_init()
1683 if (!strcmp(arg, "dups")) { in cmd_scan()
1685 } else if (!strcmp(arg, "nodups")) { in cmd_scan()
1687 } else if (!strcmp(arg, "fal")) { in cmd_scan()
1689 } else if (!strcmp(arg, "coded")) { in cmd_scan()
1691 } else if (!strcmp(arg, "no-1m")) { in cmd_scan()
1693 } else if (!strcmp(arg, "timeout")) { in cmd_scan()
1707 if (!strcmp(action, "on")) { in cmd_scan()
1709 } else if (!strcmp(action, "off")) { in cmd_scan()
1711 } else if (!strcmp(action, "passive")) { in cmd_scan()
1726 if (!strcmp(verbose_state, "on")) { in cmd_scan_verbose_output()
1728 } else if (!strcmp(verbose_state, "off")) { in cmd_scan_verbose_output()
1989 if (!strcmp(argv[1], "off")) { in cmd_advertise()
2004 if (!strcmp(argv[1], "on")) { in cmd_advertise()
2006 } else if (!strcmp(argv[1], "nconn")) { in cmd_advertise()
2015 if (!strcmp(arg, "discov")) { in cmd_advertise()
2017 } else if (!strcmp(arg, "non_discov")) { in cmd_advertise()
2019 } else if (!strcmp(arg, "appearance")) { in cmd_advertise()
2021 } else if (!strcmp(arg, "fal")) { in cmd_advertise()
2024 } else if (!strcmp(arg, "fal-scan")) { in cmd_advertise()
2026 } else if (!strcmp(arg, "fal-conn")) { in cmd_advertise()
2028 } else if (!strcmp(arg, "identity")) { in cmd_advertise()
2030 } else if (!strcmp(arg, "no-name")) { in cmd_advertise()
2032 } else if (!strcmp(arg, "name-ad")) { in cmd_advertise()
2035 } else if (!strcmp(arg, "disable-37")) { in cmd_advertise()
2037 } else if (!strcmp(arg, "disable-38")) { in cmd_advertise()
2039 } else if (!strcmp(arg, "disable-39")) { in cmd_advertise()
2102 if (!strcmp(arg, "low")) { in cmd_directed_adv()
2106 } else if (!strcmp(arg, "identity")) { in cmd_directed_adv()
2108 } else if (!strcmp(arg, "dir-rpa")) { in cmd_directed_adv()
2110 } else if (!strcmp(arg, "disable-37")) { in cmd_directed_adv()
2112 } else if (!strcmp(arg, "disable-38")) { in cmd_directed_adv()
2114 } else if (!strcmp(arg, "disable-39")) { in cmd_directed_adv()
2140 if (!strcmp(argv[1], "conn-scan")) { in adv_param_parse()
2143 } else if (!strcmp(argv[1], "conn-nscan")) { in adv_param_parse()
2145 } else if (!strcmp(argv[1], "nconn-scan")) { in adv_param_parse()
2147 } else if (!strcmp(argv[1], "nconn-nscan")) { in adv_param_parse()
2156 if (!strcmp(arg, "ext-adv")) { in adv_param_parse()
2158 } else if (!strcmp(arg, "coded")) { in adv_param_parse()
2160 } else if (!strcmp(arg, "no-2m")) { in adv_param_parse()
2162 } else if (!strcmp(arg, "anon")) { in adv_param_parse()
2164 } else if (!strcmp(arg, "tx-power")) { in adv_param_parse()
2166 } else if (!strcmp(arg, "scan-reports")) { in adv_param_parse()
2168 } else if (!strcmp(arg, "fal")) { in adv_param_parse()
2171 } else if (!strcmp(arg, "fal-scan")) { in adv_param_parse()
2173 } else if (!strcmp(arg, "fal-conn")) { in adv_param_parse()
2175 } else if (!strcmp(arg, "identity")) { in adv_param_parse()
2177 } else if (!strcmp(arg, "low")) { in adv_param_parse()
2179 } else if (!strcmp(arg, "dir-rpa")) { in adv_param_parse()
2181 } else if (!strcmp(arg, "disable-37")) { in adv_param_parse()
2183 } else if (!strcmp(arg, "disable-38")) { in adv_param_parse()
2185 } else if (!strcmp(arg, "disable-39")) { in adv_param_parse()
2187 } else if (!strcmp(arg, "directed")) { in adv_param_parse()
2322 if (strcmp(arg, "scan-response") && *data_len == ARRAY_SIZE(ad)) { in cmd_adv_data()
2330 if (!strcmp(arg, "discov")) { in cmd_adv_data()
2332 } else if (!strcmp(arg, "non_discov")) { in cmd_adv_data()
2334 } else if (!strcmp(arg, "appearance")) { in cmd_adv_data()
2336 } else if (!strcmp(arg, "scan-response")) { in cmd_adv_data()
2345 } else if (!strcmp(arg, "name") && !name) { in cmd_adv_data()
2347 } else if (!strcmp(arg, "dev-name")) { in cmd_adv_data()
2429 if (!strcmp(arg, "timeout")) { in cmd_adv_start()
2437 if (!strcmp(arg, "num-events")) { in cmd_adv_start()
2573 if (!strcmp(argv[1], "on")) { in cmd_adv_rpa_expire()
2576 } else if (!strcmp(argv[1], "off")) { in cmd_adv_rpa_expire()
2598 if (!strcmp(argv[1], "off")) { in cmd_per_adv()
2604 } else if (!strcmp(argv[1], "on")) { in cmd_per_adv()
2647 if (argc > 3 && !strcmp(argv[3], "tx-power")) { in cmd_per_adv_param()
2764 if (!strcmp(argv[j], "aoa")) { in cmd_per_adv_sync_create()
2766 } else if (!strcmp(argv[j], "aod_1us")) { in cmd_per_adv_sync_create()
2768 } else if (!strcmp(argv[j], "aod_2us")) { in cmd_per_adv_sync_create()
2770 } else if (!strcmp(argv[j], "only_cte")) { in cmd_per_adv_sync_create()
2772 } else if (!strcmp(argv[j], "timeout")) { in cmd_per_adv_sync_create()
2779 } else if (!strcmp(argv[j], "skip")) { in cmd_per_adv_sync_create()
2879 if (!strcmp(argv[j], "aoa")) { in cmd_past_subscribe()
2882 } else if (!strcmp(argv[j], "aod_1us")) { in cmd_past_subscribe()
2885 } else if (!strcmp(argv[j], "aod_2us")) { in cmd_past_subscribe()
2888 } else if (!strcmp(argv[j], "only_cte")) { in cmd_past_subscribe()
2891 } else if (!strcmp(argv[j], "timeout")) { in cmd_past_subscribe()
2898 } else if (!strcmp(argv[j], "skip")) { in cmd_past_subscribe()
2905 } else if (!strcmp(argv[j], "conn")) { in cmd_past_subscribe()
2937 if (!strcmp(argv[1], "conn")) { in cmd_past_unsubscribe()
3276 if (!strcmp(arg, "coded")) { in bt_do_connect_le()
3278 } else if (!strcmp(arg, "no-1m")) { in bt_do_connect_le()
3661 if (!strcmp(arg, "s2")) { in cmd_conn_phy_update()
3663 } else if (!strcmp(arg, "s8")) { in cmd_conn_phy_update()
3762 if (strcmp(argv[1], "all") == 0) { in cmd_clear()
3834 if (!strcmp(argv[2], "force-pair")) { in cmd_security()
3855 if (!strcmp(bondable, "on")) { in cmd_bondable()
3857 } else if (!strcmp(bondable, "off")) { in cmd_bondable()
4294 if (!strcmp(argv[1], "all")) { in cmd_auth()
4296 } else if (!strcmp(argv[1], "input")) { in cmd_auth()
4298 } else if (!strcmp(argv[1], "display")) { in cmd_auth()
4300 } else if (!strcmp(argv[1], "yesno")) { in cmd_auth()
4302 } else if (!strcmp(argv[1], "confirm")) { in cmd_auth()
4304 } else if (!strcmp(argv[1], "oob")) { in cmd_auth()
4306 } else if (!strcmp(argv[1], "status")) { in cmd_auth()
4308 } else if (!strcmp(argv[1], "none")) { in cmd_auth()
4433 if (!strcmp(arg, "coded")) { in cmd_fal_connect()
4435 } else if (!strcmp(arg, "no-1m")) { in cmd_fal_connect()
4448 if (!strcmp(action, "on")) { in cmd_fal_connect()
4454 } else if (!strcmp(action, "off")) { in cmd_fal_connect()
4823 if (strcmp(action, "on") == 0) { in cmd_encrypted_ad_decrypt_scan()
4827 } else if (strcmp(action, "off") == 0) { in cmd_encrypted_ad_decrypt_scan()