Home
last modified time | relevance | path

Searched refs:match (Results 1 – 25 of 55) sorted by relevance

123

/device/google/coral/
Dutils.mk16 define match-word
48 define match-word-in-list
51 $(call match-word,$(call find-word-in-list,$(1),$(2)),$(strip $(1))), \
66 define match-prefix
70 $(if $(call match-word-in-list,$(1),$(text)),true,) \
87 $(call match-word,$(1),$(TARGET_BOARD_PLATFORM))
93 $(if $(call match-word,$(1),$(TARGET_BOARD_PLATFORM)),,true)
99 $(call match-word-in-list,$(TARGET_BOARD_PLATFORM),$(1))
106 $(call match-word-in-list,$(TARGET_BOARD_PLATFORM),\
118 $(call match-prefix,$(1),$(__underscore),$(TARGET_BOARD_PLATFORM))
[all …]
DWCNSS_qcom_cfg.ini371 # BIT 5, 4, 3: Roaming handoff decisions on multiple candidates match
372 # 000 match if exact BSSIDs are found
373 # 001 match if at least one top priority BSSID only
/device/google/redbull/
Dutils.mk16 define match-word
48 define match-word-in-list
51 $(call match-word,$(call find-word-in-list,$(1),$(2)),$(strip $(1))), \
66 define match-prefix
70 $(if $(call match-word-in-list,$(1),$(text)),true,) \
87 $(call match-word,$(1),$(TARGET_BOARD_PLATFORM))
93 $(if $(call match-word,$(1),$(TARGET_BOARD_PLATFORM)),,true)
99 $(call match-word-in-list,$(TARGET_BOARD_PLATFORM),$(1))
106 $(call match-word-in-list,$(TARGET_BOARD_PLATFORM),\
118 $(call match-prefix,$(1),$(__underscore),$(TARGET_BOARD_PLATFORM))
[all …]
/device/google/sunfish/
Dutils.mk16 define match-word
48 define match-word-in-list
51 $(call match-word,$(call find-word-in-list,$(1),$(2)),$(strip $(1))), \
66 define match-prefix
70 $(if $(call match-word-in-list,$(1),$(text)),true,) \
87 $(call match-word,$(1),$(TARGET_BOARD_PLATFORM))
93 $(if $(call match-word,$(1),$(TARGET_BOARD_PLATFORM)),,true)
99 $(call match-word-in-list,$(TARGET_BOARD_PLATFORM),$(1))
106 $(call match-word-in-list,$(TARGET_BOARD_PLATFORM),\
118 $(call match-prefix,$(1),$(__underscore),$(TARGET_BOARD_PLATFORM))
[all …]
/device/google/cuttlefish/common/libs/utils/
Dflag_parser.cpp417 .Setter([&value](const FlagMatch& match) -> Result<void> { in VerbosityFlag() argument
418 value = CF_EXPECT(ToSeverity(match.value)); in VerbosityFlag()
442 const FlagMatch& match) { in GflagsCompatBoolFlagSetter() argument
443 const auto& key = match.key; in GflagsCompatBoolFlagSetter()
451 if (match.value == "true") { in GflagsCompatBoolFlagSetter()
454 } else if (match.value == "false") { in GflagsCompatBoolFlagSetter()
458 return CF_ERRF("Unexpected boolean value \"{}\" for \{}\"", match.value, in GflagsCompatBoolFlagSetter()
462 return CF_ERRF("Unexpected key \"{}\" for \"{}\"", match.key, name); in GflagsCompatBoolFlagSetter()
479 &flags](const FlagMatch& match) -> Result<void> { in HelpXmlFlag() argument
481 CF_EXPECT(GflagsCompatBoolFlagSetter(name, print_xml, match)); in HelpXmlFlag()
[all …]
Dshared_fd_flag.cpp34 static Result<void> Set(const FlagMatch& match, SharedFD& out) { in Set() argument
36 CF_EXPECTF(android::base::ParseInt(match.value.c_str(), &raw_fd), in Set()
37 "Failed to parse value \"{}\" for fd flag \"{}\"", match.value, in Set()
38 match.key); in Set()
Dflag_parser_test.cpp135 flag.Setter([&elems](const FlagMatch& match) -> Result<void> { in TEST() argument
136 elems.push_back(match.value); in TEST()
409 .Setter([this](const FlagMatch& match) -> Result<void> { in SetUp() argument
410 elems_.push_back(match.value); in SetUp()
/device/google/trout/tools/tracing/tooling/
Dqnx_perfetto.py43 match = trace_input_regex.match(line)
44 if match != None:
46 match.group( 'ename' ),
47 match.group( 'etype' ),
48 …(int(match.group( 'time_s' )) * 1000000) + (int(match.group( 'time_ns' )) * 1000) + int(match.grou…
49 int(match.group( 'pid' ))
Dcalculate_time_offset.py54 match = re.search(pattern, time_str)
55 if match is None:
57 return int(match.group())
/device/google/cuttlefish/host/libs/config/
Dcustom_actions.cpp217 [this](const FlagMatch& match) -> Result<void> { in INJECT() argument
218 if (!match.value.empty() && in INJECT()
219 (match.value == "unset" || match.value == "\"unset\"")) { in INJECT()
221 } else if (!match.value.empty() && !FileExists(match.value)) { in INJECT()
223 match.value); in INJECT()
225 custom_action_config_.push_back(match.value); in INJECT()
237 custom_actions_flag_.Setter([this](const FlagMatch& match) -> Result<void> { in INJECT() argument
239 if (match.value == "unset" || match.value == "\"unset\"") { in INJECT()
244 ParseJson(match.value), "Could not read custom actions config flag"); in INJECT()
Dtouchpad.cpp71 .Setter([&](const FlagMatch& match) -> Result<void> { in ParseTouchpadConfigsFromArgs()
72 repeated_touchpad_flag_values.push_back(match.value); in ParseTouchpadConfigsFromArgs()
Ddisplay.cpp114 .Setter([&](const FlagMatch& match) -> Result<void> { in ParseDisplayConfigsFromArgs()
115 repeated_display_flag_values.push_back(match.value); in ParseDisplayConfigsFromArgs()
/device/google/atv/FrameworkPackageStubs/src/com/android/browser/provider/
DBrowserProvider2.java493 final int match = URI_MATCHER.match(uri); in getType() local
494 switch (match) { in getType()
544 final int match = URI_MATCHER.match(uri); in query() local
548 switch (match) { in query()
572 if (match == BOOKMARKS_ID) { in query()
578 } else if (match == BOOKMARKS_FOLDER_ID) { in query()
737 if ((match == LEGACY || match == LEGACY_ID) in query()
927 final int match = URI_MATCHER.match(uri); in deleteInTransaction() local
930 switch (match) { in deleteInTransaction()
1056 int match = URI_MATCHER.match(uri); in insertInTransaction() local
[all …]
/device/google/trout/tools/
Dlogcat_diff.py45 match = self.rgx.match(line)
46 if match:
47 component = match.group('component')
48 message = match.group('message')
/device/linaro/dragonboard/shared/utils/pd-mapper/
Djson.c119 const char *match; in json_parse_keyword() local
126 match = "true"; in json_parse_keyword()
130 match = "false"; in json_parse_keyword()
134 match = "null"; in json_parse_keyword()
142 m = match; in json_parse_keyword()
/device/google/cuttlefish/host/commands/kernel_log_monitor/
Dkernel_log_server.cc35 std::string_view match; // Substring to match in the kernel logs member
136 for (auto& [match, prefix] : kInformationalPatterns) { in HandleIncomingMessage()
137 auto pos = line_.find(match); in HandleIncomingMessage()
139 LOG(INFO) << prefix << line_.substr(pos + match.size()); in HandleIncomingMessage()
/device/google/cuttlefish_vmm/
Dgen_android_bp.py117 match = re.match(
122 if not match:
130 f.write(textwrap.indent(content, match.group("indent")))
/device/sample/etc/
Dfix_apns_full_conf.py21 match rat:
71 if re.match(RE_TYPE, line):
/device/google/cuttlefish/host/libs/config/adb/
Dflags.cpp39 mode_flag_.Setter([this](const FlagMatch& match) -> Result<void> { in INJECT() argument
42 for (auto& mode : android::base::Split(match.value, ",")) { in INJECT()
/device/google/contexthub/firmware/os/core/
Dseos.c804 bool match = (bool)cookie; in matchAutoStart() local
808 return match; in matchAutoStart()
811 return match; in matchAutoStart()
813 return !match; in matchAutoStart()
815 return match; in matchAutoStart()
1319 void osRemovePendingEvents(bool (*match)(uint32_t evtType, const void *evtData, void *context), voi… in osRemovePendingEvents()
1321 evtQueueRemoveAllMatching(mEvtsInternal, match, context); in osRemovePendingEvents()
DeventQ.c159 bool (*match)(uint32_t evtType, const void *data, void *context), in evtQueueRemoveAllMatching()
168 if (match(rec->evtType, rec->evtData, context)) { in evtQueueRemoveAllMatching()
/device/generic/opengl-transport/host/libs/virglrenderer/
Dgen_entries.py97 m = re_func.match(line)
110 m = re_param.match(parameter)
/device/google/cuttlefish/host/commands/display/
Dmain.cpp174 .Setter([&](const FlagMatch& match) -> Result<void> { in DoRemove()
175 displays.push_back(match.value); in DoRemove()
/device/generic/goldfish/MultiDisplayProvider/src/com/android/emulator/multidisplay/
DMultiDisplayService.java106 public boolean match(int w, int h, int d, int f) { in match() method in MultiDisplayService.MultiDisplay
341 if (mMultiDisplay[displayId].match(w, h, dpi, flag)) { in addVirtualDisplay()
/device/google/contexthub/firmware/os/inc/
DeventQ.h39 void evtQueueRemoveAllMatching(struct EvtQueue* q, bool (*match)(uint32_t evtType, const void *dat…

123