Home
last modified time | relevance | path

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

/external/webrtc/webrtc/base/
Djson_unittest.cc58 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 …]
Djson.cc42 bool GetIntFromJson(const Json::Value& in, int* out) { in GetIntFromJson() function
156 return JsonArrayToVector(in, GetIntFromJson, out); in JsonArrayToIntVector()
227 return GetValueFromJsonArray(in, n, &x) && GetIntFromJson(x, out); in GetIntFromJsonArray()
267 return GetValueFromJsonObject(in, k, &x) && GetIntFromJson(x, out); in GetIntFromJsonObject()
Djson.h30 bool GetIntFromJson(const Json::Value& in, int* out);