Home
last modified time | relevance | path

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

/external/libtextclassifier/util/calendar/
Dcalendar-icu.cc315 if (parse_data.field_set_mask & DateParseData::Fields::ZONE_OFFSET_FIELD) { in InterpretParseData()
319 if (parse_data.field_set_mask & DateParseData::Fields::DST_OFFSET_FIELD) { in InterpretParseData()
325 if (parse_data.field_set_mask & DateParseData::Fields::RELATION_FIELD) { in InterpretParseData()
328 if (parse_data.field_set_mask & in InterpretParseData()
337 if (parse_data.field_set_mask & in InterpretParseData()
346 if (parse_data.field_set_mask & in InterpretParseData()
372 if (parse_data.field_set_mask & in InterpretParseData()
374 if (parse_data.field_set_mask & in InterpretParseData()
385 if (parse_data.field_set_mask & in InterpretParseData()
387 if (parse_data.field_set_mask & in InterpretParseData()
[all …]
Dcalendar_test.cc52 data.field_set_mask = DateParseData::YEAR_FIELD | DateParseData::MONTH_FIELD | in TEST()
/external/libtextclassifier/datetime/
Dextractor.cc25 result->field_set_mask = 0; in Extract()
53 result->field_set_mask |= DateParseData::YEAR_FIELD; in Extract()
61 result->field_set_mask |= DateParseData::MONTH_FIELD; in Extract()
69 result->field_set_mask |= DateParseData::DAY_FIELD; in Extract()
77 result->field_set_mask |= DateParseData::HOUR_FIELD; in Extract()
85 result->field_set_mask |= DateParseData::MINUTE_FIELD; in Extract()
93 result->field_set_mask |= DateParseData::SECOND_FIELD; in Extract()
101 result->field_set_mask |= DateParseData::AMPM_FIELD; in Extract()
109 result->field_set_mask |= DateParseData::RELATION_DISTANCE_FIELD; in Extract()
117 result->field_set_mask |= DateParseData::RELATION_FIELD; in Extract()
[all …]
Dparser.cc335 if ((data.field_set_mask & DateParseData::YEAR_FIELD) || in GetGranularity()
336 (data.field_set_mask & DateParseData::RELATION_TYPE_FIELD && in GetGranularity()
340 if ((data.field_set_mask & DateParseData::MONTH_FIELD) || in GetGranularity()
341 (data.field_set_mask & DateParseData::RELATION_TYPE_FIELD && in GetGranularity()
345 if (data.field_set_mask & DateParseData::RELATION_TYPE_FIELD && in GetGranularity()
349 if (data.field_set_mask & DateParseData::DAY_FIELD || in GetGranularity()
350 (data.field_set_mask & DateParseData::RELATION_FIELD && in GetGranularity()
354 (data.field_set_mask & DateParseData::RELATION_TYPE_FIELD && in GetGranularity()
365 if (data.field_set_mask & DateParseData::HOUR_FIELD) { in GetGranularity()
368 if (data.field_set_mask & DateParseData::MINUTE_FIELD) { in GetGranularity()
[all …]
/external/libtextclassifier/
Dtypes.h362 int field_set_mask; member