Home
last modified time | relevance | path

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

/external/cronet/net/der/
Dparse_values_unittest.cc50 EXPECT_TRUE(ParseUTCTime(FromStringLiteral("140218161200Z"), &out)); in TEST()
53 EXPECT_FALSE(ParseUTCTime(FromStringLiteral("140218161200X"), &out)); in TEST()
57 EXPECT_FALSE(ParseUTCTime(FromStringLiteral("-40218161200Z"), &out)); in TEST()
61 EXPECT_TRUE(ParseUTCTime(FromStringLiteral("090218161200Z"), &out)); in TEST()
64 EXPECT_FALSE(ParseUTCTime(FromStringLiteral("140218161200"), &out)); in TEST()
65 EXPECT_FALSE(ParseUTCTime(FromStringLiteral("140218161200Z0"), &out)); in TEST()
68 EXPECT_FALSE(ParseUTCTime(FromStringLiteral("1402181612Z"), &out)); in TEST()
157 ASSERT_TRUE(ParseUTCTime(FromStringLiteral("150218161200Z"), &time2)); in TEST()
Dparse_values.h109 [[nodiscard]] NET_EXPORT bool ParseUTCTime(const Input& in,
Dparse_values.cc299 bool ParseUTCTime(const Input& in, GeneralizedTime* value) { in ParseUTCTime() function
/external/cronet/net/cert/pki/
Dtest_helpers.cc286 if (!der::ParseUTCTime(der::Input(&value), &test->time)) { in ReadVerifyCertChainTestFromFile()
Dparse_certificate.cc290 return der::ParseUTCTime(value, out); in ReadUTCOrGeneralizedTime()