Searched refs:GetUIntFromJson (Results 1 – 3 of 3) sorted by relevance
/external/webrtc/rtc_base/strings/ |
D | json_unittest.cc | 80 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 …]
|
D | json.cc | 60 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()
|
D | json.h | 31 bool GetUIntFromJson(const Json::Value& in, unsigned int* out);
|