Searched refs:relation_type (Results 1 – 5 of 5) sorted by relevance
/external/libtextclassifier/utils/calendar/ |
D | calendar-common.h | 67 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 …]
|
D | calendar_test-include.cc | 120 data.relation_type = DateParseData::RelationType::WEEK; in TEST_F()
|
/external/libtextclassifier/annotator/ |
D | types.h | 391 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()
|
D | types.cc | 99 stream = stream << " relation_type: " << static_cast<int>(data.relation_type) in operator <<()
|
/external/libtextclassifier/annotator/datetime/ |
D | extractor.cc | 121 if (!ParseRelationType(group_text, &(result->relation_type))) { in Extract()
|