Searched refs:TryParseMilliseconds (Results 1 – 3 of 3) sorted by relevance
/external/openscreen/util/json/ |
D | json_helpers_unittest.cc | 129 TEST(ParsingHelpersTest, TryParseMilliseconds) { in TEST() argument 137 EXPECT_TRUE(TryParseMilliseconds(kValid, &out)); in TEST() 139 EXPECT_TRUE(TryParseMilliseconds(kValidFloat, &out)); in TEST() 141 EXPECT_TRUE(TryParseMilliseconds(kZeroNumber, &out)); in TEST() 143 EXPECT_FALSE(TryParseMilliseconds(kNone, &out)); in TEST() 144 EXPECT_FALSE(TryParseMilliseconds(kNegativeNumber, &out)); in TEST() 145 EXPECT_FALSE(TryParseMilliseconds(kNotNumber, &out)); in TEST()
|
D | json_helpers.h | 113 inline bool TryParseMilliseconds(const Json::Value& value, milliseconds* out) { in TryParseMilliseconds() function
|
/external/openscreen/cast/streaming/ |
D | answer_messages.cc | 200 if (json::TryParseMilliseconds(root[kMaxDelay], &max_delay)) { in TryParse() 239 if (json::TryParseMilliseconds(root[kMaxDelay], &max_delay)) { in TryParse()
|