Home
last modified time | relevance | path

Searched refs:match_text (Results 1 – 12 of 12) sorted by relevance

/external/libtextclassifier/native/actions/
Dutils.cc62 const UnicodeText& match_text, const std::string& smart_reply_action_type, in SuggestTextRepliesFromCapturingMatch() argument
66 suggestion.response_text = match_text.ToUTF8String(); in SuggestTextRepliesFromCapturingMatch()
79 StringPiece match_text) { in NormalizeMatchText() argument
81 UTF8ToUnicodeText(match_text, /*do_copy=*/false)); in NormalizeMatchText()
87 const UnicodeText match_text) { in NormalizeMatchText() argument
89 return match_text; in NormalizeMatchText()
91 return NormalizeText(unilib, group->normalization_options(), match_text); in NormalizeMatchText()
97 const int message_index, StringPiece match_text, in FillAnnotationFromCapturingMatch() argument
105 annotation->span.text = match_text.ToString(); in FillAnnotationFromCapturingMatch()
117 StringPiece match_text, MutableFlatbuffer* buffer) { in MergeEntityDataFromCapturingMatch() argument
[all …]
Dutils.h44 const UnicodeText& match_text, const std::string& smart_reply_action_type,
51 StringPiece match_text);
56 const UnicodeText match_text);
62 const int message_index, StringPiece match_text,
69 StringPiece match_text, MutableFlatbuffer* buffer);
Dgrammar-actions.cc79 const UnicodeText match_text = in InstantiateActionsFromMatch() local
82 NormalizeMatchText(unilib_, group, match_text); in InstantiateActionsFromMatch()
101 /*message_index=*/message_index, match_text.ToUTF8String(), in InstantiateActionsFromMatch()
/external/rust/crates/regex/tests/
Dapi.rs148 assert_eq!(t!("abc"), match_text!(cap.get(0).unwrap())); in capture_misc()
150 assert_eq!(t!("c"), match_text!(cap.get(4).unwrap())); in capture_misc()
153 assert_eq!(t!("c"), match_text!(cap.name("b").unwrap())); in capture_misc()
169 assert_eq!(t!("a5"), match_text!(subs[0].unwrap())); in sub_capture_matches()
170 assert_eq!(t!("a"), match_text!(subs[1].unwrap())); in sub_capture_matches()
171 assert_eq!(t!("5"), match_text!(subs[2].unwrap())); in sub_capture_matches()
172 assert_eq!(t!("5"), match_text!(subs[4].unwrap())); in sub_capture_matches()
Dmacros_str.rs4 macro_rules! match_text { ($text:expr) => { $text.as_str() } } macro
Dmacros_bytes.rs4 macro_rules! match_text { ($text:expr) => { $text.as_bytes() } } macro
Dregression.rs47 assert_eq!(match_text!(caps.name("foo").unwrap()), text!("x")); in regression_captures_rep()
Dreplace.rs98 match_text!(captures.get(1).unwrap())[0..1].to_owned()
/external/llvm-project/lldb/tools/debugserver/source/MacOSX/DarwinLog/
DLogFilterExactMatch.cpp14 const std::string &match_text) in LogFilterExactMatch() argument
16 m_match_text(match_text) {} in LogFilterExactMatch()
DLogFilterExactMatch.h21 const std::string &match_text);
/external/libtextclassifier/native/annotator/grammar/
Dgrammar-annotator.cc180 UnicodeText match_text = in InstantiateClassificationFromDerivation() local
183 match_text = NormalizeText(unilib_, group->normalization_options(), in InstantiateClassificationFromDerivation()
184 match_text); in InstantiateClassificationFromDerivation()
187 match_text.ToUTF8String())) { in InstantiateClassificationFromDerivation()
/external/llvm-project/lldb/source/Plugins/StructuredData/DarwinLog/
DStructuredDataDarwinLog.cpp354 const std::string &match_text) in ExactMatchFilterRule() argument
356 m_match_text(match_text) {} in ExactMatchFilterRule()