/third_party/libinput/src/ |
D | quirks.c | 558 if (streq(key, "MatchName")) { in parse_match() 561 } else if (streq(key, "MatchBus")) { in parse_match() 563 if (streq(value, "usb")) in parse_match() 565 else if (streq(value, "bluetooth")) in parse_match() 567 else if (streq(value, "ps2")) in parse_match() 569 else if (streq(value, "rmi")) in parse_match() 571 else if (streq(value, "i2c")) in parse_match() 573 else if (streq(value, "spi")) in parse_match() 577 } else if (streq(key, "MatchVendor")) { in parse_match() 585 } else if (streq(key, "MatchProduct")) { in parse_match() [all …]
|
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() 292 if (streq(prop, "1")) in parse_boolean_property() 294 else if (streq(prop, "0")) in parse_boolean_property()
|
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() 160 if (streq(syspath, in device_removed() 234 if (streq(action, "add")) in evdev_udev_handler() 236 else if (streq(action, "remove")) in evdev_udev_handler() 365 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 | path-seat.c | 113 if (streq(seat->base.physical_name, seat_name_physical) && in path_seat_get_named() 114 streq(seat->base.logical_name, seat_name_logical)) in path_seat_get_named()
|
D | evdev.c | 513 if (streq(prop, "internal")) { in evdev_tag_trackpoint() 515 } else if (streq(prop, "external")) { in evdev_tag_trackpoint() 565 if (streq(prop, "internal")) { in evdev_tag_keyboard() 567 } else if (streq(prop, "external")) { in evdev_tag_keyboard() 2087 rc = streq(udev_device_get_syspath(udev_device_new), in evdev_device_have_same_syspath() 2154 !streq(prop, "watch")) { in evdev_pre_configure_model_quirks() 2284 return value && !streq(value, "0"); in udev_device_should_be_ignored()
|
D | util-strings.h | 49 streq(const char *str1, const char *str2) in streq() function
|
/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 | 134 if (streq(optarg, "lrm")) { in tools_parse_option() 136 } else if (streq(optarg, "lmr")) { in tools_parse_option() 182 if (streq(optarg, "none")) { in tools_parse_option() 185 } else if (streq(optarg, "clickfinger")) { in tools_parse_option() 188 } else if (streq(optarg, "buttonareas")) { in tools_parse_option() 199 if (streq(optarg, "none")) { in tools_parse_option() 202 } else if (streq(optarg, "twofinger")) { in tools_parse_option() 205 } else if (streq(optarg, "edge")) { in tools_parse_option() 208 } else if (streq(optarg, "button")) { in tools_parse_option() 244 if (streq(optarg, "adaptive")) in tools_parse_option() [all …]
|
D | libinput-quirks.c | 149 if (streq(argv[optind], "list")) { in main() 155 } else if (streq(argv[optind], "validate")) { in main()
|
D | libinput-list-devices.c | 384 if (streq(argv[1], "--help")) { in main() 389 if (streq(argv[1], "--version")) { in main()
|
/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 | 828 if (streq(key, "EVDEV_ABS_00")) { in START_TEST() 830 ck_assert(streq(value, "1:1000:100:10")); in START_TEST() 832 if (streq(key, "EVDEV_ABS_01")) { in START_TEST() 834 ck_assert(streq(value, "2:2000:200:20")); in START_TEST() 836 if (streq(key, "EVDEV_ABS_35")) { in START_TEST() 838 ck_assert(streq(value, "3:3000:300:30")); in START_TEST() 840 if (streq(key, "EVDEV_ABS_36")) { in START_TEST() 842 ck_assert(streq(value, "4:4000:400:40")); in START_TEST()
|
D | test-utils.c | 1404 ck_assert(streq("", "") == true); in START_TEST() 1405 ck_assert(streq(NULL, NULL) == true); in START_TEST() 1406 ck_assert(streq("0.0.1", "") == false); in START_TEST() 1407 ck_assert(streq("foo", NULL) == false); in START_TEST() 1408 ck_assert(streq(NULL, "foo") == false); in START_TEST() 1409 ck_assert(streq("0.0.1", "0.0.1") == true); in START_TEST()
|
/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/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 …]
|
D | util.h | 386 bool streq(InputIt1 first1, InputIt1 last1, InputIt2 first2, InputIt2 last2) { in streq() function 393 template <typename T, typename S> bool streq(const T &a, const S &b) { in streq() function 394 return streq(a.begin(), a.end(), b.begin(), b.end()); in streq() 399 return streq(a, a + (N - 1), b, b + blen); in streq_l() 404 return streq(a, a + (N - 1), b.begin(), b.end()); in streq_l()
|
D | shrpx_tls.cc | 693 util::streq(target_proto_id, StringRef{proto_id, proto_len})) { in alpn_select_proto_cb() 1537 if (util::streq(NGHTTP2_H1_1_ALPN, StringRef{in, in + (in[0] + 1)})) { in select_h1_next_proto_cb() 1869 auto rv = util::streq(hostname, cn); in verify_numeric_hostname() 2231 if (util::streq(proto, needle)) { in in_proto_list()
|
/third_party/protobuf/src/google/protobuf/stubs/ |
D | hash.h | 113 struct streq {
|
/third_party/musl/src/thread/arm/ |
D | atomics.s | 46 streq r1,[r2]
|
/third_party/node/deps/icu-small/source/i18n/ |
D | rbnf.cpp | 124 streq(const char16_t* lhs, const char16_t* rhs) { in streq() function 144 if (!streq(getRuleSetName(i), rhs->getRuleSetName(i))) { in operator ==() 154 if (!streq(locale, rhs->getLocaleName(ix))) { in operator ==() 158 if (!streq(getDisplayName(i, j), rhs->getDisplayName(ix, j))) { in operator ==() 173 if (streq(locale, getLocaleName(i))) { in indexForLocale() 184 if (streq(ruleset, getRuleSetName(i))) { in indexForRuleSet()
|
/third_party/icu/icu4c/source/i18n/ |
D | rbnf.cpp | 124 streq(const UChar* lhs, const UChar* rhs) { in streq() function 144 if (!streq(getRuleSetName(i), rhs->getRuleSetName(i))) { in operator ==() 154 if (!streq(locale, rhs->getLocaleName(ix))) { in operator ==() 158 if (!streq(getDisplayName(i, j), rhs->getDisplayName(ix, j))) { in operator ==() 173 if (streq(locale, getLocaleName(i))) { in indexForLocale() 184 if (streq(ruleset, getRuleSetName(i))) { in indexForRuleSet()
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
D | rbnf.cpp | 124 streq(const UChar* lhs, const UChar* rhs) { in streq() function 144 if (!streq(getRuleSetName(i), rhs->getRuleSetName(i))) { in operator ==() 154 if (!streq(locale, rhs->getLocaleName(ix))) { in operator ==() 158 if (!streq(getDisplayName(i, j), rhs->getDisplayName(ix, j))) { in operator ==() 173 if (streq(locale, getLocaleName(i))) { in indexForLocale() 184 if (streq(ruleset, getRuleSetName(i))) { in indexForRuleSet()
|
/third_party/libinput/udev/ |
D | libinput-device-group.c | 81 if (streq(path_a, path_b)) in find_tree_distance()
|
/third_party/protobuf/src/google/protobuf/ |
D | message.cc | 190 streq>
|