Searched refs:GetUIntFromJson (Results 1 – 3 of 3) sorted by relevance
/external/webrtc/webrtc/base/ |
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 | 62 bool GetUIntFromJson(const Json::Value& in, unsigned int* out) { in GetUIntFromJson() function 161 return JsonArrayToVector(in, GetUIntFromJson, out); in JsonArrayToUIntVector() 233 return GetValueFromJsonArray(in, n, &x) && GetUIntFromJson(x, out); in GetUIntFromJsonArray() 273 return GetValueFromJsonObject(in, k, &x) && GetUIntFromJson(x, out); in GetUIntFromJsonObject()
|
D | json.h | 31 bool GetUIntFromJson(const Json::Value& in, unsigned int* out);
|