Searched defs:json (Results 1 - 25 of 354) sorted by last modified time

1234567891011>>

/external/webrtc/webrtc/base/
H A Djson.cc11 #include "webrtc/base/json.h"
294 std::string JsonValueToString(const Json::Value& json) { argument
296 std::string value = w.write(json);
/external/webrtc/webrtc/examples/androidapp/src/org/appspot/apprtc/
H A DWebSocketRTCClient.java22 import org.json.JSONException;
23 import org.json.JSONObject;
193 JSONObject json = new JSONObject();
194 jsonPut(json, "sdp", sdp.description);
195 jsonPut(json, "type", "offer");
196 sendPostMessage(MessageType.MESSAGE, messageUrl, json.toString());
218 JSONObject json = new JSONObject();
219 jsonPut(json, "sdp", sdp.description);
220 jsonPut(json, "type", "answer");
221 wsClient.send(json
339 jsonPut(JSONObject json, String key, Object value) argument
[all...]
/external/webrtc/
H A DPRESUBMIT.py9 import json namespace
447 json_url='http://webrtc-status.appspot.com/current?format=json'))
458 masters = json.loads(subprocess.check_output(
/external/vulkan-validation-layers/libs/vkjson/
H A Dvkjson.cc660 template <typename T> bool VkTypeFromJson(const std::string& json, argument
664 cJSON* object = cJSON_Parse(json.c_str());
681 bool VkJsonInstanceFromJson(const std::string& json, argument
684 return VkTypeFromJson(json, instance, errors);
691 bool VkJsonDeviceFromJson(const std::string& json, argument
694 return VkTypeFromJson(json, device, errors);
702 bool VkJsonImageFormatPropertiesFromJson(const std::string& json, argument
705 return VkTypeFromJson(json, properties, errors);
H A Dvkjson.h64 bool VkJsonInstanceFromJson(const std::string& json,
70 bool VkJsonDeviceFromJson(const std::string& json,
76 bool VkJsonImageFormatPropertiesFromJson(const std::string& json,
90 inline bool VkJsonAllPropertiesFromJson(const std::string& json, argument
93 return VkJsonDeviceFromJson(json, properties, errors);
H A Dvkjson_info.cc125 output_file.append(".json");
140 std::string json = out_device ? VkJsonDeviceToJson(*out_device) local
142 fwrite(json.data(), 1, json.size(), file);
H A Dvkjson_unittest.cc66 std::string json = VkJsonInstanceToJson(instance); local
67 std::cout << json << std::endl;
70 result = VkJsonInstanceFromJson(json, &instance2, &errors);
85 json = VkJsonImageFormatPropertiesToJson(props);
87 result = VkJsonImageFormatPropertiesFromJson(json, &props2, &errors);
/external/vulkan-validation-layers/loader/
H A DcJSON.c1328 void cJSON_Minify(char *json) { argument
1329 char *into = json;
1330 while (*json) {
1331 if (*json == ' ')
1332 json++;
1333 else if (*json == '\t')
1334 json++; /* Whitespace characters. */
1335 else if (*json == '\r')
1336 json++;
1337 else if (*json
[all...]
H A Dloader.c1827 const char *filename, cJSON **json) {
1833 if (NULL == json) {
1838 *json = NULL;
1866 *json = cJSON_Parse(json_buf);
1867 if (*json == NULL) {
2425 * Given a cJSON struct (json) of the top level JSON object from layer manifest
2432 * If the json input object does not have all the required fields no entry
2438 cJSON *json, bool is_implicit, char *filename) {
2454 item = cJSON_GetObjectItem(json, "file_format_version");
2485 layers_node = cJSON_GetObjectItem(json, "layer
1826 loader_get_json(const struct loader_instance *inst, const char *filename, cJSON **json) argument
2436 loader_add_layer_properties(const struct loader_instance *inst, struct loader_layer_list *layer_instance_list, cJSON *json, bool is_implicit, char *filename) argument
2894 cJSON *json = NULL; local
3091 cJSON *json; local
3172 cJSON *json; local
[all...]
/external/vulkan-validation-layers/
H A Dvk-layer-introspect.py19 import json namespace
336 dump = json.dumps(data, indent=4, sort_keys=True)
/external/vixl/tools/test_generator/
H A Dparser.py27 import json namespace
42 `test/a32/config/data-types.json` as a reference.
95 # value. We use the `object_pairs_hook` to make the json module create
97 return json.loads(match_cpp_comments.sub("", f.read()),
413 Parse the `data_type_file` and `test_case_files` json description files into a
/external/v8/gypfiles/
H A Ddownload_gold_plugin.py9 import json namespace
H A Dvs_toolchain.py8 import json namespace
21 json_data_file = os.path.join(script_dir, 'win_toolchain.json')
46 toolchain_data = json.load(tempf)
286 toolchain_data = json.load(tempf)
290 # in the json file then the toolchain should be updated.
296 this revision. The update outputs a .json of the various configuration
319 '--output-json', json_data_file,
/external/v8/src/debug/
H A Ddebug.cc2445 Handle<Object> json; local
2446 if (!maybe_json.ToHandle(&json) || !json->IsString()) {
2449 return scope.Escape(v8::Utils::ToLocal(Handle<String>::cast(json)));
/external/v8/src/inspector/build/closure-compiler/
H A Dclosure-compiler.jarMETA-INF/MANIFEST.MF META-INF/ com/ com/google/ com/google/debugging/ com/google/debugging/sourcemap/ ...
/external/v8/src/inspector/build/
H A Dgenerate_protocol_externs.py32 import json namespace
74 def generate_enum(name, json):
76 for member in json["enum"]:
100 parsed_json = json.loads(json_string)
/external/v8/src/inspector/
H A Dv8-inspector-session-impl.cc312 String16 json = m_state->toJSONString(); local
313 return StringBufferImpl::adopt(json);
/external/v8/tools/
H A Dcallstats.py14 json process logs from several versions and generate JSON
21 import json namespace
125 """, json.dumps(sites), """;
226 for item in json.load(f):
538 print json.dumps(versions, separators=(',', ':'))
652 # Command: json.
653 subparsers["json"] = subparser_adder.add_parser(
654 "json", help="Collect results file created by the 'run' command into" \
655 "a single json file.")
656 subparsers["json"]
[all...]
/external/v8/tools/clang/blink_gc_plugin/
H A DBlinkGCPluginConsumer.cpp99 "graph.json", // Extension
580 DumpEdgeVisitor(JsonWriter* json) : json_(json) {} argument
H A Dprocess-graph.py6 import argparse, os, sys, json, subprocess, pickle, StringIO namespace
154 obj = json.load(open(filename))
160 ['find', dirname, '-name', '*.graph.json']).split('\n')
/external/v8/tools/clang/pylib/clang/
H A Dcompile_db.py6 import json namespace
22 with file(os.path.join(path, 'compile_commands.json'), 'w') as f:
32 with open(os.path.join(path, 'compile_commands.json'), 'rb') as db:
33 return json.load(db)
/external/v8/tools/clang/scripts/
H A Dbuild_file.py7 import json namespace
H A Dgenerate_win_compdb.py16 import json namespace
68 compile_db = json.loads(compile_db_as_json)
77 f = file('out/Debug/compile_commands.json', 'w')
78 f.write(json.dumps(compile_db, indent=2))
H A Dtest_tool.py10 import json namespace
34 return json.dumps([{'directory': '.',
57 'compile_commands.json')
/external/v8/tools/clang/translation_unit/
H A Dtest_translation_unit.py10 import json namespace
39 'compile_commands.json')

Completed in 696 milliseconds

1234567891011>>