/external/chromium_org/third_party/webrtc/base/ |
H A D | json.h | 30 bool GetIntFromJson(const Json::Value& in, int* out); 31 bool GetUIntFromJson(const Json::Value& in, unsigned int* out); 32 bool GetStringFromJson(const Json::Value& in, std::string* out); 33 bool GetBoolFromJson(const Json::Value& in, bool* out); 34 bool GetDoubleFromJson(const Json::Value& in, double* out); 37 bool GetValueFromJsonArray(const Json::Value& in, size_t n, 38 Json::Value* out); 39 bool GetIntFromJsonArray(const Json::Value& in, size_t n, 41 bool GetUIntFromJsonArray(const Json::Value& in, size_t n, 43 bool GetStringFromJsonArray(const Json [all...] |
H A D | json.cc | 19 bool GetStringFromJson(const Json::Value& in, std::string* out) { 40 bool GetIntFromJson(const Json::Value& in, int* out) { 43 ret = in.isConvertibleTo(Json::intValue); 60 bool GetUIntFromJson(const Json::Value& in, unsigned int* out) { 63 ret = in.isConvertibleTo(Json::uintValue); 80 bool GetBoolFromJson(const Json::Value& in, bool* out) { 83 ret = in.isConvertibleTo(Json::booleanValue); 101 bool GetDoubleFromJson(const Json::Value& in, double* out) { 104 ret = in.isConvertibleTo(Json::realValue); 122 bool JsonArrayToVector(const Json [all...] |
H A D | json_unittest.cc | 15 static Json::Value in_s("foo"); 16 static Json::Value in_sn("99"); 17 static Json::Value in_si("-99"); 18 static Json::Value in_sb("true"); 19 static Json::Value in_sd("1.2"); 20 static Json::Value in_n(12); 21 static Json::Value in_i(-12); 22 static Json::Value in_u(34U); 23 static Json::Value in_b(true); 24 static Json [all...] |
/external/skia/bench/ |
H A D | ResultsWriter.cpp | 12 Json::Value* SkFindNamedNode(Json::Value* root, const char name[]) { 13 Json::Value* search_results = NULL; 14 for(Json::Value::iterator iter = root->begin(); 25 Json::Value* new_val = &(root->append(Json::Value()));
|
H A D | ResultsWriter.h | 104 Json::Value* SkFindNamedNode(Json::Value* root, const char name[]); 123 Json::Value* bench_node = SkFindNamedNode(&fResults, sk_name.c_str()); 136 stream.writeText(Json::FastWriter().write(fRoot).c_str()); 142 Json::Value fRoot; 143 Json::Value& fResults; 144 Json::Value* fBench; 145 Json::Value* fConfig;
|
/external/jsoncpp/src/test_lib_json/ |
H A D | main.cpp | 12 #define kint32max Json::Value::maxInt 13 #define kint32min Json::Value::minInt 14 #define kuint32max Json::Value::maxUInt 15 #define kint64max Json::Value::maxInt64 16 #define kint64min Json::Value::minInt64 17 #define kuint64max Json::Value::maxUInt64 27 // Json Library test cases 32 static inline double uint64ToDouble( Json::UInt64 value ) 37 static inline double uint64ToDouble( Json::UInt64 value ) 39 return static_cast<double>( Json [all...] |
/external/chromium_org/third_party/libaddressinput/src/cpp/src/util/ |
H A D | json.h | 28 // Json json; 33 class Json { class in namespace:i18n::addressinput 35 Json(); 36 ~Json(); 45 const std::vector<const Json*>& GetSubDictionaries() const; 58 explicit Json(JsonImpl* impl); 62 DISALLOW_COPY_AND_ASSIGN(Json);
|
H A D | json.cc | 35 class Json::JsonImpl { 47 for (std::vector<const Json*>::const_iterator it = dictionaries_.begin(); 55 const std::vector<const Json*>& GetSubDictionaries() { 60 dictionaries_.push_back(new Json(new JsonImpl(&member->value))); 98 std::vector<const Json*> dictionaries_; 106 Json::Json() : impl_() {} function in class:i18n::addressinput::Json 108 Json::~Json() {} 110 bool Json 130 Json::Json(JsonImpl* impl) : impl_(impl) {} function in class:i18n::addressinput::Json [all...] |
/external/chromium_org/third_party/libaddressinput/src/cpp/test/util/ |
H A D | json_test.cc | 24 using i18n::addressinput::Json; 27 Json json; 32 Json json; 40 Json json; 45 Json json; 53 Json json; 60 Json json; 68 Json json; 76 Json json; 84 Json jso [all...] |
/external/chromium_org/third_party/libaddressinput/chromium/ |
H A D | json.cc | 46 class Json::JsonImpl { 56 const std::vector<const Json*>& GetSubDictionaries() { 63 sub_dicts_.push_back(new Json(new JsonImpl(*sub_dict))); 81 std::vector<const Json*> sub_dicts_; 86 Json::Json() {} function in class:i18n::addressinput::Json 88 Json::~Json() {} 90 bool Json::ParseObject(const std::string& json) { 98 const std::vector<const Json*> 107 Json::Json(JsonImpl* impl) : impl_(impl) {} function in class:i18n::addressinput::Json [all...] |
H A D | fallback_data_store_unittest.cc | 17 using i18n::addressinput::Json; 31 Json json; 39 const std::vector<const Json*>& sub_dicts = json.GetSubDictionaries(); 41 for (std::vector<const Json*>::const_iterator it = sub_dicts.begin(); 43 const Json* sub_dict = *it;
|
/external/chromium_org/third_party/skia/gm/ |
H A D | gm_expectations.h | 25 Json::Value CreateJsonTree(Json::Value expectedResults, 26 Json::Value actualResultsFailed, 27 Json::Value actualResultsFailureIgnored, 28 Json::Value actualResultsNoComparison, 29 Json::Value actualResultsSucceeded); 48 explicit GmResultDigest(const Json::Value &jsonTypeValuePair); 66 Json::Value asJsonTypeValuePair() const; 122 explicit Expectations(Json::Value jsonElement); 159 Json [all...] |
H A D | gm_expectations.cpp | 34 Json::Value CreateJsonTree(Json::Value expectedResults, 35 Json::Value actualResultsFailed, 36 Json::Value actualResultsFailureIgnored, 37 Json::Value actualResultsNoComparison, 38 Json::Value actualResultsSucceeded) { 39 Json::Value actualResults; 44 Json::Value root; 56 GmResultDigest::GmResultDigest(const Json::Value &jsonTypeValuePair) { 69 Json [all...] |
/external/skia/gm/ |
H A D | gm_expectations.h | 25 Json::Value CreateJsonTree(Json::Value expectedResults, 26 Json::Value actualResultsFailed, 27 Json::Value actualResultsFailureIgnored, 28 Json::Value actualResultsNoComparison, 29 Json::Value actualResultsSucceeded); 48 explicit GmResultDigest(const Json::Value &jsonTypeValuePair); 66 Json::Value asJsonTypeValuePair() const; 122 explicit Expectations(Json::Value jsonElement); 159 Json [all...] |
H A D | gm_expectations.cpp | 34 Json::Value CreateJsonTree(Json::Value expectedResults, 35 Json::Value actualResultsFailed, 36 Json::Value actualResultsFailureIgnored, 37 Json::Value actualResultsNoComparison, 38 Json::Value actualResultsSucceeded) { 39 Json::Value actualResults; 44 Json::Value root; 56 GmResultDigest::GmResultDigest(const Json::Value &jsonTypeValuePair) { 69 Json [all...] |
/external/jsoncpp/include/json/ |
H A D | features.h | 13 namespace Json { namespace 47 } // namespace Json
|
H A D | forwards.h | 13 namespace Json { namespace 41 } // namespace Json
|
/external/skia/tools/ |
H A D | image_expectations.h | 140 static bool Parse(SkFILE* filePtr, Json::Value *jsonRoot); 142 Json::Value fActualResults; 143 Json::Value fExpectedJsonRoot; 144 Json::Value fExpectedResults;
|
H A D | image_expectations.cpp | 120 Json::Value header = fExpectedJsonRoot[kJsonKey_Header]; 121 Json::Value headerType = header[kJsonKey_Header_Type]; 122 Json::Value headerRevision = header[kJsonKey_Header_Revision]; 140 Json::Value expectedImage; 151 Json::Value actualChecksumAlgorithm = digest.getHashType().c_str(); 152 Json::Value actualChecksumValue = Json::UInt64(digest.getHashValue()); 153 Json::Value actualImage; 159 Json::Value comparisonResult = kJsonValue_Image_ComparisonResult_NoComparison; 187 Json [all...] |
/external/chromium_org/third_party/skia/tools/ |
H A D | image_expectations.h | 221 static bool Parse(SkFILE* filePtr, Json::Value *jsonRoot); 223 Json::Value fActualResults; 224 Json::Value fDescriptions; 225 Json::Value fExpectedJsonRoot; 226 Json::Value fExpectedResults; 227 Json::Value fImageBaseGSUrl;
|
H A D | image_expectations.cpp | 147 Json::Value header = fExpectedJsonRoot[kJsonKey_Header]; 148 Json::Value headerType = header[kJsonKey_Header_Type]; 149 Json::Value headerRevision = header[kJsonKey_Header_Revision]; 170 Json::Value actualChecksumAlgorithm = digest.getHashType().c_str(); 171 Json::Value actualChecksumValue = Json::UInt64(digest.getHashValue()); 172 Json::Value actualImage; 178 Json::Value comparisonResult; 212 Json::Value expectedImage; 229 Json [all...] |
/external/jsoncpp/src/jsontestrunner/ |
H A D | main.cpp | 63 printValueTree( FILE *fout, Json::Value &value, const std::string &path = "." ) 67 case Json::nullValue: 70 case Json::intValue: 71 fprintf( fout, "%s=%s\n", path.c_str(), Json::valueToString( value.asLargestInt() ).c_str() ); 73 case Json::uintValue: 74 fprintf( fout, "%s=%s\n", path.c_str(), Json::valueToString( value.asLargestUInt() ).c_str() ); 76 case Json::realValue: 79 case Json::stringValue: 82 case Json::booleanValue: 85 case Json [all...] |
/external/chromium_org/third_party/skia/bench/ |
H A D | ResultsWriter.h | 83 stream.writeText(Json::StyledWriter().write(fRoot).c_str()); 97 fResults[id.c_str()] = Json::Value(Json::objectValue); 118 Json::Value fRoot; 119 Json::Value& fResults; 120 Json::Value* fBench; 121 Json::Value* fConfig;
|
/external/chromium_org/native_client_sdk/src/examples/demo/drive/ |
H A D | drive.cc | 171 Json::Value* root) { 193 Json::Reader reader(Json::Features::strictMode()); 228 Json::Value value(Json::objectValue); 230 value["description"] = Json::Value(params.description); 233 value["mimeType"] = Json::Value(params.mime_type); 236 value["title"] = Json::Value(params.title); 238 Json::FastWriter writer; 257 Json [all...] |
/external/chromium_org/components/nacl/renderer/ |
H A D | json_manifest.h | 63 bool GetKeyUrl(const Json::Value& dictionary, 67 bool GetURLFromISADictionary(const Json::Value& dictionary, 80 Json::Value dictionary_;
|