/external/libtextclassifier/native/utils/calendar/ |
D | calendar_test.cc | 26 : calendarlib_(libtextclassifier3::CreateCalendarLibForTesting()) {} in CalendarTest() 29 std::unique_ptr<CalendarLib> calendarlib_; member in libtextclassifier3::__anon0f6eb6d40111::CalendarTest 37 bool result = calendarlib_->InterpretParseData( in TEST_F() 50 ASSERT_TRUE(calendarlib_->InterpretParseData( in TEST_F() 57 ASSERT_TRUE(calendarlib_->InterpretParseData( in TEST_F() 74 ASSERT_TRUE(calendarlib_->InterpretParseData( in TEST_F() 83 ASSERT_TRUE(calendarlib_->InterpretParseData( in TEST_F() 94 ASSERT_TRUE(calendarlib_->InterpretParseData( in TEST_F() 108 ASSERT_TRUE(calendarlib_->InterpretParseData( in TEST_F() 116 ASSERT_TRUE(calendarlib_->InterpretParseData( in TEST_F() [all …]
|
/external/libtextclassifier/native/annotator/ |
D | annotator_test-include.cc | 82 calendarlib_.get()); in TEST_F() 127 GetTestModelPath(), unilib_.get(), calendarlib_.get()); in TEST_F() 133 GetTestModelPath(), unilib_.get(), calendarlib_.get()); in TEST_F() 150 GetTestModelPath(), unilib_.get(), calendarlib_.get()); in TEST_F() 164 GetModelWithVocabPath(), unilib_.get(), calendarlib_.get()); in TEST_F() 196 builder.GetSize(), unilib_.get(), calendarlib_.get()); in TEST_F() 213 builder.GetSize(), unilib_.get(), calendarlib_.get()); in TEST_F() 225 test_model.c_str(), test_model.size(), unilib_.get(), calendarlib_.get()); in TEST_F() 243 builder.GetSize(), unilib_.get(), calendarlib_.get()); in TEST_F() 279 builder.GetSize(), unilib_.get(), calendarlib_.get()); in TEST_F() [all …]
|
D | annotator_test-include.h | 68 calendarlib_(CreateCalendarLibForTesting()) {} in AnnotatorTest() 71 std::unique_ptr<CalendarLib> calendarlib_; variable
|
D | annotator.h | 526 const CalendarLib* calendarlib_; variable
|
D | annotator.cc | 298 calendarlib_ = calendarlib; in ValidateAndInitialize() 425 datetime_grounder_ = std::make_unique<DatetimeGrounder>(calendarlib_); in ValidateAndInitialize() 433 model_->datetime_model(), unilib_, calendarlib_, decompressor.get()); in ValidateAndInitialize()
|
/external/libtextclassifier/native/annotator/datetime/ |
D | datetime-grounder.cc | 214 : calendarlib_(*calendarlib) {} in DatetimeGrounder() 231 calendarlib_.GetGranularity(datetime_parsed_data), in Ground() 243 if (!calendarlib_.InterpretParseData( in Ground()
|
D | datetime-grounder_test.cc | 42 calendarlib_ = CreateCalendarLibForTesting(); in SetUp() 43 datetime_grounder_.reset(new DatetimeGrounder(calendarlib_.get())); in SetUp() 101 std::unique_ptr<CalendarLib> calendarlib_; member in libtextclassifier3::DatetimeGrounderTest
|
D | datetime-grounder.h | 45 const CalendarLib& calendarlib_;
|
D | regex-parser.cc | 47 : unilib_(*unilib), calendarlib_(*calendarlib) { in RegexDatetimeParser() 371 FillInterpretations(parse, calendarlib_.GetGranularity(parse), in ExtractDatetime() 389 if (!calendarlib_.InterpretParseData( in ExtractDatetime()
|
D | regex-parser.h | 108 const CalendarLib& calendarlib_; variable
|
D | grammar-parser_test.cc | 48 calendarlib_ = CreateCalendarLibForTesting(); in SetUp() 51 datetime_grounder_ = std::make_unique<DatetimeGrounder>(calendarlib_.get()); in SetUp() 65 std::unique_ptr<CalendarLib> calendarlib_; member in libtextclassifier3::__anon24aadc530111::GrammarDatetimeParserTest
|
D | regex-parser_test.cc | 63 calendarlib_ = CreateCalendarLibForTesting(); in LoadModel() 66 unilib_.get(), calendarlib_.get()); in LoadModel() 82 std::unique_ptr<CalendarLib> calendarlib_; member in libtextclassifier3::__anonc4078d470111::RegexDatetimeParserTest 1291 std::unique_ptr<CalendarLib> calendarlib_; member in libtextclassifier3::__anonc4078d470111::ParserLocaleTest 1333 calendarlib_ = CreateCalendarLibForTesting(); in SetUp() 1335 RegexDatetimeParser::Instance(model_fb, unilib_.get(), calendarlib_.get(), in SetUp()
|