Home
last modified time | relevance | path

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

/external/webrtc/rtc_base/strings/
Djson_unittest.cc102 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 …]
Djson.cc79 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()
Djson.h33 bool GetBoolFromJson(const Json::Value& in, bool* out);