Home
last modified time | relevance | path

Searched refs:response_text (Results 1 – 14 of 14) sorted by relevance

/external/libtextclassifier/native/actions/
Dtest-utils.h36 MATCHER_P(IsSmartReply, response_text, "") {
39 Value(arg.response_text, response_text);
Dutils.cc34 if (action->response_text() != nullptr) { in FillSuggestionFromSpec()
35 suggestion->response_text = action->response_text()->str(); in FillSuggestionFromSpec()
61 suggestion.response_text = match_text.ToUTF8String(); in SuggestTextRepliesFromCapturingMatch()
Dlua-ranker_test.cc29 MATCHER_P2(IsAction, type, response_text, "") {
31 testing::Value(arg.response_text, response_text);
Dranker_test.cc29 MATCHER_P3(IsAction, type, response_text, score, "") {
31 testing::Value(arg.response_text, response_text) &&
Dtypes.h61 std::string response_text; member
Dregex-actions.cc162 if (action.response_text.empty()) { in FilterConfidenceOutput()
168 UTF8ToUnicodeText(action.response_text, /*do_copy=*/false)); in FilterConfidenceOutput()
Dranker.cc129 if (const int value = Compare(action.response_text, other.response_text)) { in Compare()
Dactions_model.fbs296 response_text:string (shared);
384 // When true, actions suggestions are deduplicated by `type`, `response_text`
Dactions_jni.cc193 action_result[i].response_text)); in ActionSuggestionsToJObjectArray()
/external/grpc-grpc/test/core/http/
Dparser_test.cc95 const char* response_text, int expect_status, in test_succeeds() argument
98 grpc_slice input_slice = grpc_slice_from_copied_string(response_text); in test_succeeds()
150 const char* response_text) { in test_fails() argument
152 grpc_slice input_slice = grpc_slice_from_copied_string(response_text); in test_fails()
/external/python/cpython3/Lib/test/
Dtest_httplib.py1934 response_text = (
1941 self.conn._create_connection = self._create_connection(response_text)
1946 def _create_connection(self, response_text): argument
1948 return FakeSocket(response_text, host=address[0], port=address[1])
1993 response_text = 'HTTP/1.0 200 OK\r\n{}\r\n\r\n'.format(expected_header)
1996 self.conn._create_connection = self._create_connection(response_text)
/external/grpc-grpc/test/cpp/util/
Dgrpc_tool.cc671 grpc::string response_text = parser->GetTextFormatFromMethod( in CallMethod() local
677 if (!callback(response_text)) { in CallMethod()
/external/libtextclassifier/native/utils/
Dlua-utils.cc572 PushString(action.response_text); in PushAction()
603 action.response_text = Read<std::string>(/*index=*/kIndexStackTop); in ReadAction()
/external/python/cpython2/Lib/test/
Dtest_httplib.py946 response_text = (
953 return FakeSocket(response_text, host=address[0], port=address[1])