Home
last modified time | relevance | path

Searched refs:relation_type (Results 1 – 5 of 5) sorted by relevance

/external/libtextclassifier/utils/calendar/
Dcalendar-common.h67 bool AdjustByRelation(DateParseData::RelationType relation_type, int distance,
156 TC3_CALENDAR_CHECK(AdjustByRelation(parse_data.relation_type, in ApplyRelationField()
163 TC3_CALENDAR_CHECK(AdjustByRelation(parse_data.relation_type, in ApplyRelationField()
170 TC3_CALENDAR_CHECK(AdjustByRelation(parse_data.relation_type, in ApplyRelationField()
186 TC3_CALENDAR_CHECK(AdjustByRelation(parse_data.relation_type, in ApplyRelationField()
194 TC3_CALENDAR_CHECK(AdjustByRelation(parse_data.relation_type, in ApplyRelationField()
245 DateParseData::RelationType relation_type, int distance, bool allow_today, in AdjustByRelation() argument
248 switch (relation_type) { in AdjustByRelation()
264 if (day_of_week == static_cast<int>(relation_type)) { in AdjustByRelation()
297 << static_cast<int>(relation_type); in AdjustByRelation()
[all …]
Dcalendar_test-include.cc120 data.relation_type = DateParseData::RelationType::WEEK; in TEST_F()
/external/libtextclassifier/annotator/
Dtypes.h391 RelationType relation_type = RelationType::UNSPECIFIED; member
399 int dst_offset, Relation relation, RelationType relation_type, in DateParseData()
412 this->relation_type = relation_type; in DateParseData()
Dtypes.cc99 stream = stream << " relation_type: " << static_cast<int>(data.relation_type) in operator <<()
/external/libtextclassifier/annotator/datetime/
Dextractor.cc121 if (!ParseRelationType(group_text, &(result->relation_type))) { in Extract()