Searched refs:ParseUTCTime (Results 1 – 5 of 5) sorted by relevance
/external/cronet/net/der/ |
D | parse_values_unittest.cc | 50 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()
|
D | parse_values.h | 109 [[nodiscard]] NET_EXPORT bool ParseUTCTime(const Input& in,
|
D | parse_values.cc | 299 bool ParseUTCTime(const Input& in, GeneralizedTime* value) { in ParseUTCTime() function
|
/external/cronet/net/cert/pki/ |
D | test_helpers.cc | 286 if (!der::ParseUTCTime(der::Input(&value), &test->time)) { in ReadVerifyCertChainTestFromFile()
|
D | parse_certificate.cc | 290 return der::ParseUTCTime(value, out); in ReadUTCOrGeneralizedTime()
|