Home
last modified time | relevance | path

Searched refs:error_text_ (Results 1 – 3 of 3) sorted by relevance

/external/tensorflow/tensorflow/core/util/proto/
Dproto_utils.cc95 : error_text_(error_text), index_offset_(one_indexing ? 1 : 0) { in StringErrorCollector()
96 DCHECK(error_text_ != nullptr) << "error_text must be non NULL"; in StringErrorCollector()
98 if (error_text_ == nullptr) { in StringErrorCollector()
105 if (error_text_ != nullptr) { in AddError()
106 absl::SubstituteAndAppend(error_text_, "$0($1): $2\n", line + index_offset_, in AddError()
Dproto_utils.h59 string* const error_text_;
/external/protobuf/src/google/protobuf/compiler/
Dcommand_line_interface_unittest.cc221 std::string error_text_; member in google::protobuf::compiler::__anon5a1c7dce0111::CommandLineInterfaceTest
358 error_text_ = GetCapturedTestStderr(); in RunWithArgs()
394 EXPECT_EQ("", error_text_); in ExpectNoErrors()
401 error_text_); in ExpectErrorText()
407 EXPECT_PRED_FORMAT2(testing::IsSubstring, expected_substring, error_text_); in ExpectErrorSubstring()
414 return error_text_.find(expected_substring) != std::string::npos; in HasAlternateErrorSubstring()