Searched refs:match_text (Results 1 – 12 of 12) sorted by relevance
/external/libtextclassifier/native/actions/ |
D | utils.cc | 62 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 …]
|
D | utils.h | 44 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);
|
D | grammar-actions.cc | 79 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/ |
D | api.rs | 148 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()
|
D | macros_str.rs | 4 macro_rules! match_text { ($text:expr) => { $text.as_str() } } macro
|
D | macros_bytes.rs | 4 macro_rules! match_text { ($text:expr) => { $text.as_bytes() } } macro
|
D | regression.rs | 47 assert_eq!(match_text!(caps.name("foo").unwrap()), text!("x")); in regression_captures_rep()
|
D | replace.rs | 98 match_text!(captures.get(1).unwrap())[0..1].to_owned()
|
/external/llvm-project/lldb/tools/debugserver/source/MacOSX/DarwinLog/ |
D | LogFilterExactMatch.cpp | 14 const std::string &match_text) in LogFilterExactMatch() argument 16 m_match_text(match_text) {} in LogFilterExactMatch()
|
D | LogFilterExactMatch.h | 21 const std::string &match_text);
|
/external/libtextclassifier/native/annotator/grammar/ |
D | grammar-annotator.cc | 180 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/ |
D | StructuredDataDarwinLog.cpp | 354 const std::string &match_text) in ExactMatchFilterRule() argument 356 m_match_text(match_text) {} in ExactMatchFilterRule()
|