Home
last modified time | relevance | path

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

/external/libtextclassifier/utils/calendar/
Dcalendar-common.h67 bool AdjustByRelation(DateParseData::RelationType relation_type, int distance,
245 DateParseData::RelationType relation_type, int distance, bool allow_today, in AdjustByRelation()
249 case DateParseData::RelationType::MONDAY: in AdjustByRelation()
250 case DateParseData::RelationType::TUESDAY: in AdjustByRelation()
251 case DateParseData::RelationType::WEDNESDAY: in AdjustByRelation()
252 case DateParseData::RelationType::THURSDAY: in AdjustByRelation()
253 case DateParseData::RelationType::FRIDAY: in AdjustByRelation()
254 case DateParseData::RelationType::SATURDAY: in AdjustByRelation()
255 case DateParseData::RelationType::SUNDAY: in AdjustByRelation()
271 case DateParseData::RelationType::SECOND: in AdjustByRelation()
[all …]
Dcalendar_test-include.cc32 static_cast<DateParseData::RelationType>(0), in TEST_F()
120 data.relation_type = DateParseData::RelationType::WEEK; in TEST_F()
156 DateParseData::RelationType::WEDNESDAY, in TEST_F()
176 DateParseData::RelationType::WEDNESDAY, in TEST_F()
196 DateParseData::RelationType::WEDNESDAY, in TEST_F()
216 DateParseData::RelationType::WEDNESDAY, in TEST_F()
236 DateParseData::RelationType::WEDNESDAY, in TEST_F()
257 DateParseData::RelationType::HOUR, in TEST_F()
278 DateParseData::RelationType::MINUTE, in TEST_F()
299 DateParseData::RelationType::SECOND, in TEST_F()
Dcalendar-javaicu.cc71 static_cast<int>(DateParseData::RelationType::SUNDAY) || in Initialize()
73 static_cast<int>(DateParseData::RelationType::MONDAY) || in Initialize()
75 static_cast<int>(DateParseData::RelationType::TUESDAY) || in Initialize()
77 static_cast<int>(DateParseData::RelationType::WEDNESDAY) || in Initialize()
79 static_cast<int>(DateParseData::RelationType::THURSDAY) || in Initialize()
81 static_cast<int>(DateParseData::RelationType::FRIDAY) || in Initialize()
83 static_cast<int>(DateParseData::RelationType::SATURDAY)) { in Initialize()
/external/libtextclassifier/annotator/datetime/
Dextractor.cc419 DateParseData::RelationType* parsed_relation_type) const { in ParseRelationType()
423 {DatetimeExtractorType_MONDAY, DateParseData::RelationType::MONDAY}, in ParseRelationType()
424 {DatetimeExtractorType_TUESDAY, DateParseData::RelationType::TUESDAY}, in ParseRelationType()
426 DateParseData::RelationType::WEDNESDAY}, in ParseRelationType()
428 DateParseData::RelationType::THURSDAY}, in ParseRelationType()
429 {DatetimeExtractorType_FRIDAY, DateParseData::RelationType::FRIDAY}, in ParseRelationType()
431 DateParseData::RelationType::SATURDAY}, in ParseRelationType()
432 {DatetimeExtractorType_SUNDAY, DateParseData::RelationType::SUNDAY}, in ParseRelationType()
433 {DatetimeExtractorType_SECONDS, DateParseData::RelationType::SECOND}, in ParseRelationType()
434 {DatetimeExtractorType_MINUTES, DateParseData::RelationType::MINUTE}, in ParseRelationType()
[all …]
Dextractor.h99 DateParseData::RelationType* parsed_relation_type) const;
101 DateParseData::RelationType* parsed_weekday) const;
/external/libtextclassifier/annotator/
Dtypes.h318 enum class RelationType { enum
391 RelationType relation_type = RelationType::UNSPECIFIED;
399 int dst_offset, Relation relation, RelationType relation_type, in DateParseData()