Home
last modified time | relevance | path

Searched refs:time_ms_utc (Results 1 – 13 of 13) sorted by relevance

/external/libtextclassifier/native/annotator/
Dtest-utils.h43 MATCHER_P2(IsDateResult, time_ms_utc, granularity, "") {
45 Value(arg.datetime_parse_result.time_ms_utc, time_ms_utc) &&
49 MATCHER_P2(IsDatetimeResult, time_ms_utc, granularity, "") {
51 Value(arg.datetime_parse_result.time_ms_utc, time_ms_utc) &&
64 MATCHER_P4(IsDatetimeSpan, start, end, time_ms_utc, granularity, "") {
70 arg.classification[0].datetime_parse_result.time_ms_utc ==
71 time_ms_utc &&
Dflatbuffer-utils.cc69 entity_data.datetime->time_ms_utc = parse_result.time_ms_utc; in CreateDatetimeSerializedEntityData()
Dtypes.cc69 std::string FormatMillis(int64 time_ms_utc) { in FormatMillis() argument
70 long time_seconds = time_ms_utc / 1000; // NOLINT in FormatMillis()
144 stream << "{/*time_ms_utc=*/ " << data.time_ms_utc << " /* " in operator <<()
145 << FormatMillis(data.time_ms_utc) << " */, /*granularity=*/ " in operator <<()
Dtypes.h352 int64 time_ms_utc; member
360 DatetimeParseResult() : time_ms_utc(0), granularity(GRANULARITY_UNKNOWN) {} in DatetimeParseResult()
365 : time_ms_utc(arg_time_ms_utc), in DatetimeParseResult()
373 time_ms_utc == other.time_ms_utc &&
Dentity-data.fbs71 time_ms_utc:long;
Dannotator_jni.cc143 classification_result.datetime_parse_result.time_ms_utc, in ClassificationResultWithIntentsToJObject()
Dannotator_test-include.cc2574 EXPECT_EQ(entity_data->datetime()->time_ms_utc(), 5443200000L); in VerifyClassifyTextOutputsDatetimeEntityData()
2659 EXPECT_EQ(entity_data->datetime()->time_ms_utc(), 1567296000000L); in VerifyAnnotateOutputsDatetimeEntityData()
/external/libtextclassifier/native/utils/calendar/
Dcalendar-javaicu.cc70 const std::string& locale, int64 time_ms_utc) { in Initialize() argument
143 time_ms_utc) in Initialize()
Dcalendar-javaicu.h37 int64 time_ms_utc);
/external/libtextclassifier/native/annotator/datetime/
Ddatetime-grounder.cc246 &(result.time_ms_utc), &(result.granularity))) { in Ground()
Dregex-parser.cc392 &(result.time_ms_utc), &(result.granularity))) { in ExtractDatetime()
/external/libtextclassifier/native/utils/
Dlua-utils.cc376 Push(classification.datetime_parse_result.time_ms_utc); in PushAnnotation()
519 classification.datetime_parse_result.time_ms_utc = in ReadClassificationResult()
/external/libtextclassifier/native/utils/intents/
Dintent-generator-test-lib.cc306 { name = "reference_time", long_value = conversation[#conversation].time_ms_utc } in TEST_F()