HomeSort by relevance Sort by last modified time
    Searched refs:Json (Results 1 - 16 of 16) sorted by null

  /external/chromium_org/third_party/libjingle/source/talk/base/
json.h 35 #include "json/json.h"
37 #include "third_party/jsoncpp/json.h"
43 // JSON Helpers
47 bool GetIntFromJson(const Json::Value& in, int* out);
48 bool GetUIntFromJson(const Json::Value& in, unsigned int* out);
49 bool GetStringFromJson(const Json::Value& in, std::string* out);
50 bool GetBoolFromJson(const Json::Value& in, bool* out);
51 bool GetDoubleFromJson(const Json::Value& in, double* out);
53 // Pull values out of a JSON array
    [all...]
json.cc 28 #include "talk/base/json.h"
36 bool GetStringFromJson(const Json::Value& in, std::string* out) {
57 bool GetIntFromJson(const Json::Value& in, int* out) {
60 ret = in.isConvertibleTo(Json::intValue);
77 bool GetUIntFromJson(const Json::Value& in, unsigned int* out) {
80 ret = in.isConvertibleTo(Json::uintValue);
97 bool GetBoolFromJson(const Json::Value& in, bool* out) {
100 ret = in.isConvertibleTo(Json::booleanValue);
118 bool GetDoubleFromJson(const Json::Value& in, double* out) {
121 ret = in.isConvertibleTo(Json::realValue)
    [all...]
json_unittest.cc 30 #include "talk/base/json.h"
32 static Json::Value in_s("foo");
33 static Json::Value in_sn("99");
34 static Json::Value in_si("-99");
35 static Json::Value in_sb("true");
36 static Json::Value in_sd("1.2");
37 static Json::Value in_n(12);
38 static Json::Value in_i(-12);
39 static Json::Value in_u(34U);
40 static Json::Value in_b(true)
    [all...]
  /external/skia/gm/
gm_expectations.h 20 // json includes xlocale which generates warning 4530 because we're compiling without
25 #include "json/reader.h"
26 #include "json/value.h"
35 Json::Value CreateJsonTree(Json::Value expectedResults,
36 Json::Value actualResultsFailed,
37 Json::Value actualResultsFailureIgnored,
38 Json::Value actualResultsNoComparison,
39 Json::Value actualResultsSucceeded);
56 * checksum within JSON expectations file, in the for
    [all...]
gm_expectations.cpp 14 // See gm_json.py for descriptions of each of these JSON keys.
25 // Types of result hashes we support in the JSON file.
40 Json::Value CreateJsonTree(Json::Value expectedResults,
41 Json::Value actualResultsFailed,
42 Json::Value actualResultsFailureIgnored,
43 Json::Value actualResultsNoComparison,
44 Json::Value actualResultsSucceeded) {
45 Json::Value actualResults;
50 Json::Value root
    [all...]
gmmain.cpp 46 // json includes xlocale which generates warning 4530 because we're compiling without
51 #include "json/value.h"
789 * expected) to the JSON summary. Regardless of this setting, if
791 * results to the JSON summary. (This is so that we will always
    [all...]
  /external/chromium_org/native_client_sdk/src/examples/demo/drive/
drive.cc 13 #include "json/reader.h"
14 #include "json/writer.h"
30 // boundary between the JSON metadata and the file content.
171 Json::Value* root) {
193 Json::Reader reader(Json::Features::strictMode());
226 result += "\nContent-Type: application/json; charset=UTF-8\n\n";
228 Json::Value value(Json::objectValue);
230 value["description"] = Json::Value(params.description)
    [all...]
  /external/chromium_org/ppapi/native_client/src/trusted/plugin/
json_manifest.cc 23 #include "third_party/jsoncpp/source/include/json/reader.h"
112 bool IsValidDictionary(const Json::Value& dictionary,
129 Json::Value::Members members = dictionary.getMemberNames();
158 bool IsValidUrlSpec(const Json::Value& url_spec,
189 Json::Value translate = url_spec[kPnaclTranslateKey];
198 Json::Value url = url_spec[kUrlKey];
207 Json::Value opt_level = url_spec[kOptLevelKey];
229 bool IsValidPnaclTranslateSpec(const Json::Value& pnacl_spec,
245 Json::Value url_spec = pnacl_spec[kPnaclTranslateKey];
260 bool IsValidISADictionary(const Json::Value& dictionary
    [all...]
json_manifest.h 7 // Manifest processing for JSON manifests.
19 #include "third_party/jsoncpp/source/include/json/value.h"
38 dictionary_(Json::nullValue) { }
43 bool Init(const nacl::string& json, ErrorInfo* error_info);
83 Json::Value dictionary_;
pnacl_resources.cc 16 #include "third_party/jsoncpp/source/include/json/reader.h"
17 #include "third_party/jsoncpp/source/include/json/value.h"
22 const char PnaclUrls::kResourceInfoUrl[] = "pnacl.json";
138 // Finally, we have the resource info JSON data in json_buffer.
139 PLUGIN_PRINTF(("Resource info JSON data:\n%s\n", json_buffer.c_str()));
158 // Expect the JSON file to contain a top-level object (dictionary).
159 Json::Reader json_reader;
160 Json::Value json_data;
162 errmsg = nacl::string("JSON parse error: ") +
168 errmsg = nacl::string("Malformed JSON dictionary")
    [all...]
  /external/chromium_org/remoting/host/mac/
me2me_preference_pane.h 12 #include "third_party/jsoncpp/source/include/json/value.h"
32 Json::Value config_;
  /external/chromium_org/third_party/libjingle/source/talk/examples/peerconnection/client/
conductor.cc 34 #include "talk/base/json.h"
39 // Names used for a IceCandidate JSON object.
44 // Names used for a SessionDescription JSON object.
162 Json::StyledWriter writer;
163 Json::Value jmessage;
233 Json::Reader reader;
234 Json::Value jmessage;
478 Json::StyledWriter writer;
479 Json::Value jmessage;
  /external/chromium_org/third_party/jsoncpp/overrides/include/json/
value.h 10 # include "json/forwards.h"
24 /** \brief JSON (JavaScript Object Notation).
26 namespace Json {
63 * Json::Value aValue( StaticString("some text") );
64 * Json::Value object;
91 /** \brief Represents a <a HREF="http://www.json.org">JSON</a> value.
129 typedef Json::UInt UInt;
130 typedef Json::Int Int;
132 typedef Json::UInt64 UInt64
    [all...]
  /external/skia/tools/
skimage_main.cpp 26 DEFINE_string(createExpectationsPath, "", "Path to write JSON expectations.");
29 DEFINE_string(readExpectationsPath, "", "Path to read JSON expectations from.");
171 static Json::Value gExpectationsToWrite;
181 Json::Value value = expectation.asJsonValue();
339 // Create a string representing just the filename itself, for use in json expectations.
620 Json::Value nullValue;
621 Json::Value root = skiagm::CreateJsonTree(gExpectationsToWrite, nullValue, nullValue,
  /external/chromium_org/third_party/jsoncpp/overrides/src/lib_json/
json_value.cpp 7 # include <json/assertions.h>
8 # include <json/value.h>
9 # include <json/writer.h>
27 namespace Json {
60 static inline double integerToDouble( Json::UInt64 value )
114 } // namespace Json
133 namespace Json {
648 // attempt to take address of bit-field structure member `Json::Value::type_'
    [all...]
  /libcore/benchmarks/libs/
caliper.jar 

Completed in 521 milliseconds