Searched refs:GetBoolFromJson (Results 1 – 3 of 3) sorted by relevance
/external/webrtc/rtc_base/strings/ |
D | json_unittest.cc | 102 EXPECT_TRUE(GetBoolFromJson(in_sb, &out)); in TEST() 104 EXPECT_TRUE(GetBoolFromJson(in_n, &out)); in TEST() 106 EXPECT_TRUE(GetBoolFromJson(in_i, &out)); in TEST() 108 EXPECT_TRUE(GetBoolFromJson(in_u, &out)); in TEST() 110 EXPECT_TRUE(GetBoolFromJson(in_b, &out)); in TEST() 112 EXPECT_TRUE(GetBoolFromJson(big_u, &out)); in TEST() 114 EXPECT_FALSE(GetBoolFromJson(in_s, &out)); in TEST() 115 EXPECT_FALSE(GetBoolFromJson(in_sn, &out)); in TEST() 116 EXPECT_FALSE(GetBoolFromJson(in_si, &out)); in TEST() 117 EXPECT_FALSE(GetBoolFromJson(big_sn, &out)); in TEST() [all …]
|
D | json.cc | 79 bool GetBoolFromJson(const Json::Value& in, bool* out) { in GetBoolFromJson() function 166 return JsonArrayToVector(in, GetBoolFromJson, out); in JsonArrayToBoolVector() 234 return GetValueFromJsonArray(in, n, &x) && GetBoolFromJson(x, out); in GetBoolFromJsonArray() 278 return GetValueFromJsonObject(in, k, &x) && GetBoolFromJson(x, out); in GetBoolFromJsonObject()
|
D | json.h | 33 bool GetBoolFromJson(const Json::Value& in, bool* out);
|