Home
last modified time | relevance | path

Searched refs:GetUIntFromJson (Results 1 – 3 of 3) sorted by relevance

/external/webrtc/rtc_base/strings/
Djson_unittest.cc80 EXPECT_TRUE(GetUIntFromJson(in_sn, &out)); in TEST()
82 EXPECT_TRUE(GetUIntFromJson(in_n, &out)); in TEST()
84 EXPECT_TRUE(GetUIntFromJson(in_u, &out)); in TEST()
86 EXPECT_TRUE(GetUIntFromJson(in_b, &out)); in TEST()
88 EXPECT_TRUE(GetUIntFromJson(big_u, &out)); in TEST()
90 EXPECT_FALSE(GetUIntFromJson(in_s, &out)); in TEST()
93 EXPECT_FALSE(GetUIntFromJson(in_i, &out)); in TEST()
94 EXPECT_FALSE(GetUIntFromJson(big_sn, &out)); in TEST()
95 EXPECT_FALSE(GetUIntFromJson(big_si, &out)); in TEST()
96 EXPECT_FALSE(GetUIntFromJson(bad_a, &out)); in TEST()
[all …]
Djson.cc60 bool GetUIntFromJson(const Json::Value& in, unsigned int* out) { in GetUIntFromJson() function
157 return JsonArrayToVector(in, GetUIntFromJson, out); in JsonArrayToUIntVector()
224 return GetValueFromJsonArray(in, n, &x) && GetUIntFromJson(x, out); in GetUIntFromJsonArray()
264 return GetValueFromJsonObject(in, k, &x) && GetUIntFromJson(x, out); in GetUIntFromJsonObject()
Djson.h31 bool GetUIntFromJson(const Json::Value& in, unsigned int* out);