Searched refs:GetIntFromJson (Results 1 – 3 of 3) sorted by relevance
/external/webrtc/rtc_base/strings/ |
D | json_unittest.cc | 58 EXPECT_TRUE(GetIntFromJson(in_sn, &out)); in TEST() 60 EXPECT_TRUE(GetIntFromJson(in_si, &out)); in TEST() 62 EXPECT_TRUE(GetIntFromJson(in_n, &out)); in TEST() 64 EXPECT_TRUE(GetIntFromJson(in_i, &out)); in TEST() 66 EXPECT_TRUE(GetIntFromJson(in_u, &out)); in TEST() 68 EXPECT_TRUE(GetIntFromJson(in_b, &out)); in TEST() 70 EXPECT_FALSE(GetIntFromJson(in_s, &out)); in TEST() 71 EXPECT_FALSE(GetIntFromJson(big_sn, &out)); in TEST() 72 EXPECT_FALSE(GetIntFromJson(big_si, &out)); in TEST() 73 EXPECT_FALSE(GetIntFromJson(big_u, &out)); in TEST() [all …]
|
D | json.cc | 40 bool GetIntFromJson(const Json::Value& in, int* out) { in GetIntFromJson() function 152 return JsonArrayToVector(in, GetIntFromJson, out); in JsonArrayToIntVector() 219 return GetValueFromJsonArray(in, n, &x) && GetIntFromJson(x, out); in GetIntFromJsonArray() 257 return GetValueFromJsonObject(in, k, &x) && GetIntFromJson(x, out); in GetIntFromJsonObject()
|
D | json.h | 30 bool GetIntFromJson(const Json::Value& in, int* out);
|