HomeSort by relevance Sort by last modified time
    Searched refs:json (Results 601 - 625 of 1526) sorted by null

<<21222324252627282930>>

  /external/chromium-trace/catapult/telemetry/telemetry/core/
local_server.py 8 import json
62 server_args_as_json = json.dumps(server_args)
106 return [NamedPort(**pair) for pair in json.loads(named_ports_json.lower())]
200 server_args = json.loads(server_args_as_json)
210 print 'LocalServerBackend started: %s' % json.dumps([pair._asdict()
  /external/chromium-trace/catapult/telemetry/telemetry/internal/backends/chrome_inspector/
tracing_backend.py 5 import json
126 'Tracing.start:\n' + json.dumps(response, indent=2))
186 'Tracing.requestMemoryDump:\n' + json.dumps(response, indent=2))
242 self._trace_events = json.loads(data)
  /external/chromium-trace/catapult/telemetry/telemetry/page/
page_test_unittest.py 5 import json
122 '', json.loads(archive_info_template % (test_archive, google_url)),
133 '', json.loads(archive_info_template % (test_archive, foo_url)),
141 '', json.loads(archive_info_template % (test_archive, google_url)),
  /external/chromium-trace/catapult/telemetry/
validate_binary_dependencies 6 import json
40 description='Validate the dependencies in a binary dependency json file')
42 help='The path to binary dependency json file')
  /external/chromium-trace/catapult/third_party/gsutil/third_party/apitools/apitools/base/py/
encoding.py 2 """Common code for converting proto to other formats, such as JSON."""
7 import json
86 """Convert the given message to JSON."""
92 """Convert the given JSON to a message of type message_type."""
96 # TODO(craigcitro): Do this directly, instead of via JSON.
99 return JsonToMessage(message_type, json.dumps(d))
104 return json.loads(MessageToJson(message))
109 return JsonToMessage(message_type, json.dumps(value))
114 return json.loads(MessageToJson(message))
227 result = json.loads(encoded_message
    [all...]
extra_types_test.py 2 import json
133 self.assertEqual(msg_dict, json.loads(encoding.MessageToJson(msg)))
135 msg, encoding.JsonToMessage(DateMsg, json.dumps(msg_dict)))
169 self.assertEqual(json.loads(out_json)['wow'], '-1234')
  /external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/pyami/
config.py 195 from boto.compat import json
206 item[section] = json.dumps(d)
210 from boto.compat import json
217 d = json.loads(item[section])
  /external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/protorpc/
protojson.py 18 """JSON support for message types.
21 MessageJSONEncoder: JSON encoder for message objects.
24 encode_message: Encodes a message in to a JSON string.
25 decode_message: Merge from a JSON string in to a message.
50 """Try to load a valid json module.
52 There are more than one json modules that might be installed. They are
54 This function attempts to load various json modules in a preferred order.
55 It does a basic check to guess if a loaded version of json is compatible.
58 Compatible json module.
61 ImportError if there are no json modules or the loaded json module i
82 json = _load_json_module() variable
    [all...]
  /external/chromium-trace/catapult/third_party/pipeline/pipeline/
models.py 23 import json
25 import simplejson as json
106 value = json.loads(value_encoded, cls=util.JsonDecoder)
166 self._value_decoded = json.loads(encoded_value, cls=util.JsonDecoder)
  /external/chromium-trace/
update.py 3 import codecs, httplib, json, optparse, os, urllib, shutil, subprocess, sys
  /external/clang/tools/clang-format/
clang-format.py 30 import json
96 output = json.loads(lines[0])
  /external/dbus-binding-generator/chromeos-dbus-bindings/
generate_chromeos_dbus_bindings.cc 11 #include <base/json/json_reader.h>
48 " --service-config=<config.json>\n"
76 // Load the service configuration from the provided JSON file.
82 std::unique_ptr<base::Value> json{base::JSONReader::Read(contents).release()};
83 if (!json)
86 base::DictionaryValue* dict = nullptr; // Aliased with |json|.
87 if (!json->GetAsDictionary(&dict))
  /external/google-tv-pairing-protocol/java/src/com/google/polo/json/
CookieList.java 1 package com.google.polo.json;
4 Copyright (c) 2002 JSON.org
31 * @author JSON.org
  /external/libbrillo/brillo/http/
http_utils.h 259 // Performs a POST request with JSON data. Success status, returned data
261 // from the returned Response object. If a JSON response is expected,
265 const base::Value* json,
275 std::unique_ptr<base::Value> json,
281 // Performs a PATCH request with JSON data. Success status, returned data
283 // from the returned Response object. If a JSON response is expected,
287 const base::Value* json,
297 std::unique_ptr<base::Value> json,
303 // Given an http::Response object, parse the body data into Json object.
  /external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/particles/
ParticleEffectLoader.java 20 import com.badlogic.gdx.utils.Json;
45 Json json = new Json(); local
46 ResourceData<ParticleEffect> data = json.fromJson(ResourceData.class, file);
97 Json json = new Json(); local
98 json.toJson(data, parameter.file);
  /external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/particles/influencers/
RegionInfluencer.java 8 import com.badlogic.gdx.utils.Json;
216 public void write (Json json) {
217 json.writeValue("regions", regions, Array.class, AspectTextureRegion.class);
221 public void read (Json json, JsonValue jsonData) {
223 regions.addAll(json.readValue("regions", Array.class, AspectTextureRegion.class, jsonData));
  /external/libweave/
file_lists.mk 97 third_party/chromium/base/json/json_parser.cc \
98 third_party/chromium/base/json/json_reader.cc \
99 third_party/chromium/base/json/json_writer.cc \
100 third_party/chromium/base/json/string_escape.cc \
127 third_party/chromium/base/json/json_parser_unittest.cc \
128 third_party/chromium/base/json/json_reader_unittest.cc \
129 third_party/chromium/base/json/json_writer_unittest.cc \
130 third_party/chromium/base/json/string_escape_unittest.cc \
  /external/libweave/include/weave/provider/test/
mock_config_store.h 48 [](const std::string& json, const DoneCallback& callback) {
  /external/v8/tools/release/
releases.py 16 import json
444 OMAHA_PROXY_URL + "all.json",
448 recent_releases = json.loads(result_raw)
478 url_to_call = (OMAHA_PROXY_URL + "v8.json?version="
485 previous_v8_version = json.loads(result_raw)["v8_version"]
529 if self._options.json:
530 with open(self._options.json, "w") as f:
531 f.write(json.dumps(output))
532 if not self._options.csv and not self._options.json:
549 parser.add_argument("--json", help="Path to a JSON file for export."
    [all...]
  /frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/
MainFragment.java 70 String json = Utils local
72 CardRow[] rows = new Gson().fromJson(json, CardRow[].class);
140 // of data source. To simplify this example we decode it from a JSON source
148 String json = Utils.inputStreamToString( local
150 Movie movie = new Gson().fromJson(json, Movie.class);
  /prebuilts/go/darwin-x86/src/net/rpc/jsonrpc/
all_test.go 9 "encoding/json"
31 Id interface{} `json:"id"`
32 Result Reply `json:"result"`
33 Error interface{} `json:"error"`
66 dec := json.NewDecoder(cli)
82 dec := json.NewDecoder(cli)
98 dec := json.NewDecoder(cli)
187 go cli.Write([]byte(`{id:1}`)) // invalid json
  /prebuilts/go/darwin-x86/src/os/exec/
example_test.go 9 "encoding/json"
68 if err := json.NewDecoder(stdout).Decode(&person); err != nil {
  /prebuilts/go/linux-x86/src/net/rpc/jsonrpc/
all_test.go 9 "encoding/json"
31 Id interface{} `json:"id"`
32 Result Reply `json:"result"`
33 Error interface{} `json:"error"`
66 dec := json.NewDecoder(cli)
82 dec := json.NewDecoder(cli)
98 dec := json.NewDecoder(cli)
187 go cli.Write([]byte(`{id:1}`)) // invalid json
  /prebuilts/go/linux-x86/src/os/exec/
example_test.go 9 "encoding/json"
68 if err := json.NewDecoder(stdout).Decode(&person); err != nil {
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/json/tests/
test_check_circular.py 1 from json.tests import PyTest, CTest

Completed in 2022 milliseconds

<<21222324252627282930>>