Searched refs:StringErrorCollector (Results 1 – 3 of 3) sorted by relevance
/external/tensorflow/tensorflow/core/util/proto/ |
D | proto_utils.h | 40 class StringErrorCollector : public protobuf::io::ErrorCollector { 44 explicit StringErrorCollector(string* error_text); 48 StringErrorCollector(string* error_text, bool one_indexing); 49 StringErrorCollector(const StringErrorCollector&) = delete; 50 StringErrorCollector& operator=(const StringErrorCollector&) = delete;
|
D | proto_utils_test.cc | 26 using proto_utils::StringErrorCollector; 65 StringErrorCollector collector(&err); in TEST() 72 StringErrorCollector collector(&err); in TEST() 79 StringErrorCollector collector(&err); in TEST() 87 StringErrorCollector collector(&err); in TEST() 95 StringErrorCollector collector(&err, true); in TEST() 103 ASSERT_DEATH(StringErrorCollector(nullptr), "error_text.*non NULL"); in TEST() 106 StringErrorCollector collector(nullptr); in TEST()
|
D | proto_utils.cc | 81 StringErrorCollector err_collector(&err, /*one-indexing=*/true); in ParseTextFormatFromString() 90 StringErrorCollector::StringErrorCollector(string* error_text) in StringErrorCollector() function in tensorflow::proto_utils::StringErrorCollector 91 : StringErrorCollector(error_text, false) {} in StringErrorCollector() 93 StringErrorCollector::StringErrorCollector(string* error_text, in StringErrorCollector() function in tensorflow::proto_utils::StringErrorCollector 103 void StringErrorCollector::AddError(int line, int column, in AddError() 111 void StringErrorCollector::AddWarning(int line, int column, in AddWarning()
|