Home
last modified time | relevance | path

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

/external/webrtc/webrtc/base/
Djson.cc214 bool GetValueFromJsonArray(const Json::Value& in, size_t n, in GetValueFromJsonArray() function
227 return GetValueFromJsonArray(in, n, &x) && GetIntFromJson(x, out); in GetIntFromJsonArray()
233 return GetValueFromJsonArray(in, n, &x) && GetUIntFromJson(x, out); in GetUIntFromJsonArray()
239 return GetValueFromJsonArray(in, n, &x) && GetStringFromJson(x, out); in GetStringFromJsonArray()
245 return GetValueFromJsonArray(in, n, &x) && GetBoolFromJson(x, out); in GetBoolFromJsonArray()
251 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,