Home
last modified time | relevance | path

Searched refs:SetAbsoluteValue (Results 1 – 6 of 6) sorted by relevance

/external/libtextclassifier/native/utils/calendar/
Dcalendar_test.cc48 data.SetAbsoluteValue(DatetimeComponent::ComponentType::YEAR, 2018); in TEST_F()
69 data.SetAbsoluteValue(DatetimeComponent::ComponentType::YEAR, 2018); in TEST_F()
70 data.SetAbsoluteValue(DatetimeComponent::ComponentType::HOUR, 7); in TEST_F()
71 data.SetAbsoluteValue(DatetimeComponent::ComponentType::MINUTE, 30); in TEST_F()
72 data.SetAbsoluteValue(DatetimeComponent::ComponentType::SECOND, 10); in TEST_F()
81 data.SetAbsoluteValue(DatetimeComponent::ComponentType::ZONE_OFFSET, in TEST_F()
92 data.SetAbsoluteValue(DatetimeComponent::ComponentType::ZONE_OFFSET, in TEST_F()
107 data.SetAbsoluteValue(DatetimeComponent::ComponentType::YEAR, 2018); in TEST_F()
115 data.SetAbsoluteValue(DatetimeComponent::ComponentType::MONTH, 4); in TEST_F()
123 data.SetAbsoluteValue(DatetimeComponent::ComponentType::DAY_OF_MONTH, 25); in TEST_F()
[all …]
/external/libtextclassifier/native/annotator/datetime/
Ddatetime-grounder.cc147 datetime_parsed_data->SetAbsoluteValue( in FillAbsoluteDateTimeComponents()
152 datetime_parsed_data->SetAbsoluteValue( in FillAbsoluteDateTimeComponents()
156 datetime_parsed_data->SetAbsoluteValue( in FillAbsoluteDateTimeComponents()
161 datetime_parsed_data->SetAbsoluteValue( in FillAbsoluteDateTimeComponents()
166 datetime_parsed_data->SetAbsoluteValue( in FillAbsoluteDateTimeComponents()
170 datetime_parsed_data->SetAbsoluteValue( in FillAbsoluteDateTimeComponents()
174 datetime_parsed_data->SetAbsoluteValue( in FillAbsoluteDateTimeComponents()
178 datetime_parsed_data->SetAbsoluteValue( in FillAbsoluteDateTimeComponents()
184 datetime_parsed_data->SetAbsoluteValue( in FillAbsoluteDateTimeComponents()
Dextractor.cc64 result->SetAbsoluteValue(DatetimeComponent::ComponentType::YEAR, year); in Extract()
73 result->SetAbsoluteValue(DatetimeComponent::ComponentType::MONTH, in Extract()
83 result->SetAbsoluteValue(DatetimeComponent::ComponentType::DAY_OF_MONTH, in Extract()
93 result->SetAbsoluteValue(DatetimeComponent::ComponentType::HOUR, hour); in Extract()
103 result->SetAbsoluteValue(DatetimeComponent::ComponentType::MINUTE, in Extract()
113 result->SetAbsoluteValue(DatetimeComponent::ComponentType::SECOND, in Extract()
123 result->SetAbsoluteValue(DatetimeComponent::ComponentType::MERIDIEM, in Extract()
164 result->SetAbsoluteValue(component_type, day_of_week); in Extract()
176 result->SetAbsoluteValue(date_time_pair.first, date_time_pair.second); in Extract()
Dutils.cc52 modified_parse.SetAbsoluteValue( in FillInterpretations()
55 modified_parse.SetAbsoluteValue( in FillInterpretations()
/external/libtextclassifier/native/annotator/
Dtypes.cc237 void DatetimeParsedData::SetAbsoluteValue( in SetAbsoluteValue() function in libtextclassifier3::DatetimeParsedData
Dtypes.h741 void SetAbsoluteValue(const DatetimeComponent::ComponentType& field_type,