/third_party/eudev/src/udev/ |
D | udev-builtin-blkid.c | 39 if (streq(name, "TYPE")) { in print_property() 42 } else if (streq(name, "USAGE")) { in print_property() 45 } else if (streq(name, "VERSION")) { in print_property() 48 } else if (streq(name, "UUID")) { in print_property() 54 } else if (streq(name, "UUID_SUB")) { in print_property() 60 } else if (streq(name, "LABEL")) { in print_property() 66 } else if (streq(name, "PTTYPE")) { in print_property() 69 } else if (streq(name, "PTUUID")) { in print_property() 72 } else if (streq(name, "PART_ENTRY_NAME")) { in print_property() 76 } else if (streq(name, "PART_ENTRY_TYPE")) { in print_property() [all …]
|
D | udev-builtin-path_id.c | 84 if (subsystem == NULL || !streq(subsystem, subsys)) in skip_subsystem() 435 if (devtype == NULL || !streq(devtype, "scsi_device")) in handle_scsi() 529 if (!streq(devtype, "usb_interface") && !streq(devtype, "usb_device")) in handle_usb() 600 } else if (streq(subsys, "scsi_tape")) { in builtin_path_id() 602 } else if (streq(subsys, "scsi")) { in builtin_path_id() 605 } else if (streq(subsys, "cciss")) { in builtin_path_id() 608 } else if (streq(subsys, "usb")) { in builtin_path_id() 611 } else if (streq(subsys, "bcma")) { in builtin_path_id() 614 } else if (streq(subsys, "serio")) { in builtin_path_id() 617 } else if (streq(subsys, "pci")) { in builtin_path_id() [all …]
|
D | udev-node.c | 78 if (streq(target, buf)) { in node_symlink() 157 if (streq(dent->d_name, udev_device_get_id_filename(dev))) in link_find_prioritized() 238 if (streq(name, name_current)) { in udev_node_update_old_links() 261 if (streq(udev_device_get_subsystem(dev), "block")) in node_permissions_apply() 303 if (streq(name, "selinux")) { in node_permissions_apply() 312 } else if (streq(name, "smack")) { in node_permissions_apply() 352 streq(udev_device_get_subsystem(dev), "block") ? "block" : "char", in udev_node_add() 371 streq(udev_device_get_subsystem(dev), "block") ? "block" : "char", in udev_node_remove()
|
D | udev-rules.c | 482 if (streq(rules_str(rules, off), owner)) { in add_uid() 529 if (streq(rules_str(rules, off), group)) { in add_gid() 973 if (streq(value, "?*")) in rule_add_key() 1089 if (streq(key, "ACTION")) { in add_rule() 1098 if (streq(key, "DEVPATH")) { in add_rule() 1107 if (streq(key, "KERNEL")) { in add_rule() 1116 if (streq(key, "SUBSYSTEM")) { in add_rule() 1122 if (streq(value, "subsystem") || in add_rule() 1123 streq(value, "bus") || in add_rule() 1124 streq(value, "class")) { in add_rule() [all …]
|
D | udevadm-info.c | 50 if (streq(name, skip[i])) in skip_attribute() 353 if (streq(optarg, "property") || streq(optarg, "env")) in uinfo() 355 else if (streq(optarg, "name")) in uinfo() 357 else if (streq(optarg, "symlink")) in uinfo() 359 else if (streq(optarg, "path")) in uinfo() 361 else if (streq(optarg, "all")) in uinfo()
|
D | udevadm-test.c | 72 if (streq (optarg, "early")) { in adm_test() 74 } else if (streq (optarg, "late")) { in adm_test() 76 } else if (streq (optarg, "never")) { in adm_test()
|
D | udev-event.c | 884 if (streq(udev_device_get_action(dev), "remove")) { 908 streq(udev_device_get_action(dev), "move")) 937 if (udev_device_get_ifindex(dev) > 0 && streq(udev_device_get_action(dev), "add") && 939 event->name != NULL && !streq(event->name, udev_device_get_sysname(dev)))) { 963 if (!streq(newifname,udev_device_get_sysname(dev))) { 973 if (event->name != NULL && !streq(event->name, newifname)) { 982 if (!streq(event->name, udev_device_get_sysname(dev))) 990 if (udev_device_get_ifindex(dev) > 0 && streq(udev_device_get_action(dev), "add") && 991 event->name != NULL && !streq(event->name, udev_device_get_sysname(dev))) { 1035 …apply = streq(udev_device_get_action(dev), "add") || event->owner_set || event->group_set || event…
|
D | udev-builtin-net_id.c | 336 if (!streq(config, "1")) in names_usb() 340 if (!streq(interf, "0")) in names_usb() 487 if (!streq(s, p)) in builtin_net_id() 492 if (streq("wlan", devtype)) in builtin_net_id() 494 else if (streq("wwan", devtype)) in builtin_net_id()
|
D | udev-builtin-hwdb.c | 103 if (subsystem && !streq(dsubsys, subsystem)) in udev_builtin_hwdb_search() 108 if (streq(dsubsys, "usb") && streq_ptr(udev_device_get_devtype(d), "usb_device")) { in udev_builtin_hwdb_search()
|
D | udevadm-trigger.c | 145 if (streq(optarg, "devices")) in adm_trigger() 147 else if (streq(optarg, "subsystems")) in adm_trigger()
|
/third_party/libinput/src/ |
D | quirks.c | 478 if (streq(key, "MatchName")) { in parse_match() 481 } else if (streq(key, "MatchBus")) { in parse_match() 483 if (streq(value, "usb")) in parse_match() 485 else if (streq(value, "bluetooth")) in parse_match() 487 else if (streq(value, "ps2")) in parse_match() 489 else if (streq(value, "rmi")) in parse_match() 491 else if (streq(value, "i2c")) in parse_match() 495 } else if (streq(key, "MatchVendor")) { in parse_match() 503 } else if (streq(key, "MatchProduct")) { in parse_match() 511 } else if (streq(key, "MatchVersion")) { in parse_match() [all …]
|
D | udev-seat.c | 65 if (syspath && new_syspath && streq(syspath, new_syspath)) in filter_duplicates() 90 if (!streq(device_seat, input->seat_id)) in device_added() 158 if (streq(syspath, in device_removed() 232 if (streq(action, "add")) in evdev_udev_handler() 234 else if (streq(action, "remove")) in evdev_udev_handler() 360 if (streq(seat->base.logical_name, seat_name)) in udev_seat_get_named()
|
D | builddir.h | 44 if (streq(MESON_BUILD_ROOT, "")) in builddir_lookup() 60 if (!streq(execdir, MESON_BUILD_ROOT)) in builddir_lookup()
|
D | util-prop-parsers.c | 216 if (streq(prop, "reliable")) in parse_switch_reliability_property() 218 else if (streq(prop, "write_open")) in parse_switch_reliability_property() 242 if (streq(prop, "below")) { in parse_tpkbcombo_layout_poperty() 268 if (streq(prop, "none")) { in parse_range_property()
|
/third_party/libinput/test/ |
D | test-builddir-lookup.c | 38 if (streq(mode, "--builddir-is-null")) { in main() 40 } else if (streq(mode, "--builddir-is-set")) { in main() 43 if (streq(MESON_BUILD_ROOT, "")) { in main() 47 assert(streq(MESON_BUILD_ROOT, builddir)); in main()
|
D | test-misc.c | 831 if (streq(key, "EVDEV_ABS_00")) { in START_TEST() 833 ck_assert(streq(value, "1:1000:100:10")); in START_TEST() 835 if (streq(key, "EVDEV_ABS_01")) { in START_TEST() 837 ck_assert(streq(value, "2:2000:200:20")); in START_TEST() 839 if (streq(key, "EVDEV_ABS_35")) { in START_TEST() 841 ck_assert(streq(value, "3:3000:300:30")); in START_TEST() 843 if (streq(key, "EVDEV_ABS_36")) { in START_TEST() 845 ck_assert(streq(value, "4:4000:400:40")); in START_TEST()
|
/third_party/libinput/tools/ |
D | ptraccel-debug.c | 267 if (streq(optarg, "accel")) in main() 269 else if (streq(optarg, "motion")) in main() 271 else if (streq(optarg, "delta")) in main() 273 else if (streq(optarg, "sequence")) in main() 317 if (streq(filter_type, "linear")) { in main() 321 } else if (streq(filter_type, "low-dpi")) { in main() 325 } else if (streq(filter_type, "touchpad")) { in main() 330 } else if (streq(filter_type, "x230")) { in main() 334 } else if (streq(filter_type, "trackpoint")) { in main()
|
D | shared.c | 107 if (streq(optarg, "lrm")) { in tools_parse_option() 109 } else if (streq(optarg, "lmr")) { in tools_parse_option() 155 if (streq(optarg, "none")) { in tools_parse_option() 158 } else if (streq(optarg, "clickfinger")) { in tools_parse_option() 161 } else if (streq(optarg, "buttonareas")) { in tools_parse_option() 172 if (streq(optarg, "none")) { in tools_parse_option() 175 } else if (streq(optarg, "twofinger")) { in tools_parse_option() 178 } else if (streq(optarg, "edge")) { in tools_parse_option() 181 } else if (streq(optarg, "button")) { in tools_parse_option() 217 if (streq(optarg, "adaptive")) in tools_parse_option() [all …]
|
D | libinput-quirks.c | 145 if (streq(argv[optind], "list")) { in main() 151 } else if (streq(argv[optind], "validate")) { in main()
|
/third_party/eudev/src/shared/ |
D | virt.c | 84 if (streq(e, "lxc")) in detect_container() 86 else if (streq(e, "lxc-libvirt")) in detect_container() 88 else if (streq(e, "systemd-nspawn")) in detect_container() 90 else if (streq(e, "docker")) in detect_container()
|
D | util.c | 97 return streq(a, b); in streq_ptr() 796 streq(filename, "lost+found") || in hidden_file_allow_backup() 797 streq(filename, "aquota.user") || in hidden_file_allow_backup() 798 streq(filename, "aquota.group") || in hidden_file_allow_backup() 1086 if (streq(i, needle)) in nulstr_contains() 1184 if (streq(*username, "root") || streq(*username, "0")) { in get_user_creds() 1245 if (streq(*groupname, "root") || streq(*groupname, "0")) { in get_group_creds() 1542 if (streq(p, ".")) in filename_is_valid() 1545 if (streq(p, "..")) in filename_is_valid()
|
/third_party/ltp/testcases/kernel/controllers/cpuset/cpuset_lib/ |
D | libcpuset.c | 292 static int streq(const char *s1, const char *s2) in streq() function 696 if (streq(optionname, "cpu_exclusive")) { in cpuset_set_iopt() 700 } else if (streq(optionname, "mem_exclusive")) { in cpuset_set_iopt() 704 } else if (streq(optionname, "mem_hardwall")) { in cpuset_set_iopt() 708 } else if (streq(optionname, "notify_on_release")) { in cpuset_set_iopt() 712 } else if (streq(optionname, "memory_pressure_enabled")) { in cpuset_set_iopt() 716 } else if (streq(optionname, "memory_migrate")) { in cpuset_set_iopt() 720 } else if (streq(optionname, "memory_spread_page")) { in cpuset_set_iopt() 724 } else if (streq(optionname, "memory_spread_slab")) { in cpuset_set_iopt() 728 } else if (streq(optionname, "sched_load_balance")) { in cpuset_set_iopt() [all …]
|
/third_party/eudev/src/scsi_id/ |
D | scsi_id.c | 364 if (streq(optarg, "0x80")) in set_options() 366 else if (streq(optarg, "0x83")) in set_options() 368 else if (streq(optarg, "pre-spc3-83")) in set_options() 446 if (streq(optarg, "0x80")) { in per_dev_options() 448 } else if (streq(optarg, "0x83")) { in per_dev_options() 450 } else if (streq(optarg, "pre-spc3-83")) { in per_dev_options()
|
/third_party/nghttp2/src/ |
D | util_test.cc | 44 util::streq(StringRef::from_lit("alpha"), StringRef::from_lit("alpha"))); in test_util_streq() 45 CU_ASSERT(!util::streq(StringRef::from_lit("alpha"), in test_util_streq() 47 CU_ASSERT(!util::streq(StringRef::from_lit("alphabravo"), in test_util_streq() 50 !util::streq(StringRef::from_lit("alpha"), StringRef::from_lit("alphA"))); in test_util_streq() 51 CU_ASSERT(!util::streq(StringRef{}, StringRef::from_lit("a"))); in test_util_streq() 52 CU_ASSERT(util::streq(StringRef{}, StringRef{})); in test_util_streq() 53 CU_ASSERT(!util::streq(StringRef::from_lit("alpha"), StringRef{})); in test_util_streq() 56 !util::streq(StringRef::from_lit("alph"), StringRef::from_lit("alpha"))); in test_util_streq() 58 !util::streq(StringRef::from_lit("alpha"), StringRef::from_lit("alph"))); in test_util_streq() 60 !util::streq(StringRef::from_lit("alpha"), StringRef::from_lit("alphA"))); in test_util_streq() [all …]
|
/third_party/eudev/test/ |
D | test-udev.c | 148 if (streq(udev_device_get_subsystem(dev), "block")) in main() 153 if (!streq(action, "remove")) { in main()
|