/external/webrtc/webrtc/base/ |
H A D | json.cc | 11 #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 D | WebSocketRTCClient.java | 22 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 D | PRESUBMIT.py | 9 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 D | vkjson.cc | 660 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 D | vkjson.h | 64 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 D | vkjson_info.cc | 125 output_file.append(".json"); 140 std::string json = out_device ? VkJsonDeviceToJson(*out_device) local 142 fwrite(json.data(), 1, json.size(), file);
|
H A D | vkjson_unittest.cc | 66 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 D | cJSON.c | 1328 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 D | loader.c | 1827 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 D | vk-layer-introspect.py | 19 import json namespace 336 dump = json.dumps(data, indent=4, sort_keys=True)
|
/external/vixl/tools/test_generator/ |
H A D | parser.py | 27 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 D | download_gold_plugin.py | 9 import json namespace
|
H A D | vs_toolchain.py | 8 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 D | debug.cc | 2445 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 D | closure-compiler.jar | META-INF/MANIFEST.MF META-INF/ com/ com/google/ com/google/debugging/ com/google/debugging/sourcemap/ ... |
/external/v8/src/inspector/build/ |
H A D | generate_protocol_externs.py | 32 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 D | v8-inspector-session-impl.cc | 312 String16 json = m_state->toJSONString(); local 313 return StringBufferImpl::adopt(json);
|
/external/v8/tools/ |
H A D | callstats.py | 14 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 D | BlinkGCPluginConsumer.cpp | 99 "graph.json", // Extension 580 DumpEdgeVisitor(JsonWriter* json) : json_(json) {} argument
|
H A D | process-graph.py | 6 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 D | compile_db.py | 6 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 D | build_file.py | 7 import json namespace
|
H A D | generate_win_compdb.py | 16 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 D | test_tool.py | 10 import json namespace 34 return json.dumps([{'directory': '.', 57 'compile_commands.json')
|
/external/v8/tools/clang/translation_unit/ |
H A D | test_translation_unit.py | 10 import json namespace 39 'compile_commands.json')
|