/external/libtextclassifier/native/actions/ |
D | test-utils.h | 35 MATCHER_P(IsSmartReply, response_text, "") { 38 Value(arg.response_text, response_text);
|
D | utils.cc | 39 if (action->response_text() != nullptr) { in FillSuggestionFromSpec() 40 suggestion->response_text = action->response_text()->str(); in FillSuggestionFromSpec() 66 suggestion.response_text = match_text.ToUTF8String(); in SuggestTextRepliesFromCapturingMatch()
|
D | lua-ranker_test.cc | 29 MATCHER_P2(IsAction, type, response_text, "") { 31 testing::Value(arg.response_text, response_text);
|
D | ranker_test.cc | 29 MATCHER_P3(IsAction, type, response_text, score, "") { 31 testing::Value(arg.response_text, response_text) &&
|
D | actions-suggestions_test.cc | 627 rule_action->action->response_text = "General Desaster!"; in TEST_F() 637 rule_action->action->response_text = "General Kenobi!"; in TEST_F() 667 EXPECT_EQ(response.actions[0].response_text, "General Kenobi!"); in TEST_F() 688 rule_action->action->response_text = "General Desaster!"; in TEST_F() 698 rule_action->action->response_text = "General Kenobi!"; in TEST_F() 737 EXPECT_EQ(response.actions[0].response_text, "General Kenobi!"); in TEST_F() 822 EXPECT_EQ(response.actions[0].response_text, "Okay"); in TEST_F() 889 action->response_text = "General Kenobi!"; in TEST_F() 937 EXPECT_EQ(response.actions[0].response_text, "General Kenobi!"); in TEST_F() 966 action->response_text = "General Kenobi!"; in TEST_F() [all …]
|
D | grammar-actions_test.cc | 75 int AddActionSpec(const std::string& type, const std::string& response_text, in AddActionSpec() argument 84 actions_spec->action->response_text = response_text; in AddActionSpec() 105 const std::string& response_text, in AddSmartReplySpec() argument 107 return AddActionSpec("text_reply", response_text, {}, action_grammar_rules); in AddSmartReplySpec()
|
D | regex-actions.cc | 165 if (action.response_text.empty()) { in FilterConfidenceOutput() 171 UTF8ToUnicodeText(action.response_text, /*do_copy=*/false)); in FilterConfidenceOutput()
|
D | types.h | 69 std::string response_text; member
|
D | ranker.cc | 133 if (const int value = Compare(action.response_text, other.response_text)) { in Compare()
|
D | actions_model.fbs | 310 response_text:string (shared); 398 // When true, actions suggestions are deduplicated by `type`, `response_text`
|
D | actions_jni.cc | 219 action_response.actions[i].response_text)); in ActionSuggestionsToJObject()
|
/external/grpc-grpc/test/core/http/ |
D | parser_test.cc | 95 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/ |
D | test_httplib.py | 1971 response_text = ( 1978 self.conn._create_connection = self._create_connection(response_text) 1983 def _create_connection(self, response_text): argument 1985 return FakeSocket(response_text, host=address[0], port=address[1]) 2030 response_text = 'HTTP/1.0 200 OK\r\n{}\r\n\r\n'.format(expected_header) 2033 self.conn._create_connection = self._create_connection(response_text)
|
/external/grpc-grpc/test/cpp/util/ |
D | grpc_tool.cc | 671 grpc::string response_text = parser->GetTextFormatFromMethod( in CallMethod() local 677 if (!callback(response_text)) { in CallMethod()
|
/external/libtextclassifier/native/utils/ |
D | lua-utils.cc | 555 PushString(action.response_text); in PushAction() 586 action.response_text = Read<std::string>(/*index=*/kIndexStackTop); in ReadAction()
|
/external/python/cpython2/Lib/test/ |
D | test_httplib.py | 946 response_text = ( 953 return FakeSocket(response_text, host=address[0], port=address[1])
|