Home
last modified time | relevance | path

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

/external/webrtc/rtc_base/strings/
Djson.cc208 bool GetValueFromJsonArray(const Json::Value& in, size_t n, Json::Value* out) { in GetValueFromJsonArray() function
219 return GetValueFromJsonArray(in, n, &x) && GetIntFromJson(x, out); in GetIntFromJsonArray()
224 return GetValueFromJsonArray(in, n, &x) && GetUIntFromJson(x, out); in GetUIntFromJsonArray()
229 return GetValueFromJsonArray(in, n, &x) && GetStringFromJson(x, out); in GetStringFromJsonArray()
234 return GetValueFromJsonArray(in, n, &x) && GetBoolFromJson(x, out); in GetBoolFromJsonArray()
239 return GetValueFromJsonArray(in, n, &x) && GetDoubleFromJson(x, out); in GetDoubleFromJsonArray()
Djson_unittest.cc150 EXPECT_TRUE(GetValueFromJsonArray(a, 0, &out)); in TEST()
151 EXPECT_TRUE(GetValueFromJsonArray(a, 3, &out)); in TEST()
152 EXPECT_FALSE(GetValueFromJsonArray(a, 99, &out)); in TEST()
153 EXPECT_FALSE(GetValueFromJsonArray(a, 0xFFFFFFFF, &out)); in TEST()
Djson.h37 bool GetValueFromJsonArray(const Json::Value& in, size_t n, Json::Value* out);