/external/chromium_org/third_party/WebKit/Source/devtools/ |
frontend_protocol_sources.target.darwin-x86_64.mk | 22 $(gyp_shared_intermediate_dir)/resources/inspector/InspectorBackendCommands.js: $(LOCAL_PATH)/third_party/WebKit/Source/devtools/scripts/CodeGeneratorFrontend.py $(LOCAL_PATH)/third_party/WebKit/Source/devtools/protocol.json $(GYP_TARGET_DEPENDENCIES) 23 @echo "Gyp action: Generating Inspector protocol frontend sources from protocol.json ($@)" 24 $(hide)cd $(gyp_local_path)/third_party/WebKit/Source/devtools; mkdir -p $(gyp_shared_intermediate_dir)/resources/inspector; python scripts/CodeGeneratorFrontend.py protocol.json --output_js_dir "$(gyp_shared_intermediate_dir)/resources/inspector/"
|
frontend_protocol_sources.target.linux-arm.mk | 22 $(gyp_shared_intermediate_dir)/resources/inspector/InspectorBackendCommands.js: $(LOCAL_PATH)/third_party/WebKit/Source/devtools/scripts/CodeGeneratorFrontend.py $(LOCAL_PATH)/third_party/WebKit/Source/devtools/protocol.json $(GYP_TARGET_DEPENDENCIES) 23 @echo "Gyp action: Generating Inspector protocol frontend sources from protocol.json ($@)" 24 $(hide)cd $(gyp_local_path)/third_party/WebKit/Source/devtools; mkdir -p $(gyp_shared_intermediate_dir)/resources/inspector; python scripts/CodeGeneratorFrontend.py protocol.json --output_js_dir "$(gyp_shared_intermediate_dir)/resources/inspector/"
|
frontend_protocol_sources.target.linux-arm64.mk | 22 $(gyp_shared_intermediate_dir)/resources/inspector/InspectorBackendCommands.js: $(LOCAL_PATH)/third_party/WebKit/Source/devtools/scripts/CodeGeneratorFrontend.py $(LOCAL_PATH)/third_party/WebKit/Source/devtools/protocol.json $(GYP_TARGET_DEPENDENCIES) 23 @echo "Gyp action: Generating Inspector protocol frontend sources from protocol.json ($@)" 24 $(hide)cd $(gyp_local_path)/third_party/WebKit/Source/devtools; mkdir -p $(gyp_shared_intermediate_dir)/resources/inspector; python scripts/CodeGeneratorFrontend.py protocol.json --output_js_dir "$(gyp_shared_intermediate_dir)/resources/inspector/"
|
frontend_protocol_sources.target.linux-mips.mk | 22 $(gyp_shared_intermediate_dir)/resources/inspector/InspectorBackendCommands.js: $(LOCAL_PATH)/third_party/WebKit/Source/devtools/scripts/CodeGeneratorFrontend.py $(LOCAL_PATH)/third_party/WebKit/Source/devtools/protocol.json $(GYP_TARGET_DEPENDENCIES) 23 @echo "Gyp action: Generating Inspector protocol frontend sources from protocol.json ($@)" 24 $(hide)cd $(gyp_local_path)/third_party/WebKit/Source/devtools; mkdir -p $(gyp_shared_intermediate_dir)/resources/inspector; python scripts/CodeGeneratorFrontend.py protocol.json --output_js_dir "$(gyp_shared_intermediate_dir)/resources/inspector/"
|
frontend_protocol_sources.target.linux-mips64.mk | 22 $(gyp_shared_intermediate_dir)/resources/inspector/InspectorBackendCommands.js: $(LOCAL_PATH)/third_party/WebKit/Source/devtools/scripts/CodeGeneratorFrontend.py $(LOCAL_PATH)/third_party/WebKit/Source/devtools/protocol.json $(GYP_TARGET_DEPENDENCIES) 23 @echo "Gyp action: Generating Inspector protocol frontend sources from protocol.json ($@)" 24 $(hide)cd $(gyp_local_path)/third_party/WebKit/Source/devtools; mkdir -p $(gyp_shared_intermediate_dir)/resources/inspector; python scripts/CodeGeneratorFrontend.py protocol.json --output_js_dir "$(gyp_shared_intermediate_dir)/resources/inspector/"
|
frontend_protocol_sources.target.linux-x86.mk | 22 $(gyp_shared_intermediate_dir)/resources/inspector/InspectorBackendCommands.js: $(LOCAL_PATH)/third_party/WebKit/Source/devtools/scripts/CodeGeneratorFrontend.py $(LOCAL_PATH)/third_party/WebKit/Source/devtools/protocol.json $(GYP_TARGET_DEPENDENCIES) 23 @echo "Gyp action: Generating Inspector protocol frontend sources from protocol.json ($@)" 24 $(hide)cd $(gyp_local_path)/third_party/WebKit/Source/devtools; mkdir -p $(gyp_shared_intermediate_dir)/resources/inspector; python scripts/CodeGeneratorFrontend.py protocol.json --output_js_dir "$(gyp_shared_intermediate_dir)/resources/inspector/"
|
frontend_protocol_sources.target.linux-x86_64.mk | 22 $(gyp_shared_intermediate_dir)/resources/inspector/InspectorBackendCommands.js: $(LOCAL_PATH)/third_party/WebKit/Source/devtools/scripts/CodeGeneratorFrontend.py $(LOCAL_PATH)/third_party/WebKit/Source/devtools/protocol.json $(GYP_TARGET_DEPENDENCIES) 23 @echo "Gyp action: Generating Inspector protocol frontend sources from protocol.json ($@)" 24 $(hide)cd $(gyp_local_path)/third_party/WebKit/Source/devtools; mkdir -p $(gyp_shared_intermediate_dir)/resources/inspector; python scripts/CodeGeneratorFrontend.py protocol.json --output_js_dir "$(gyp_shared_intermediate_dir)/resources/inspector/"
|
/external/chromium_org/third_party/WebKit/Tools/GardeningServer/ |
internal_alerts_test.py | 6 import json namespace 36 self.assertEqual(res.content_type, 'application/json') 55 internal_alerts = json.loads(res.body) 65 params = {'content': '[{"this is not valid JSON'} 79 internal_alerts = json.loads(res.body) 84 # This generates ~2.5MB of JSON that compresses to ~750K. Real 89 params = {'content': json.dumps(put_internal_alerts)} 93 got_internal_alerts = json.loads(res.body) 101 internal_alerts = json.loads(res.body)
|
/external/robolectric/ |
Android.mk | 31 robolectric-json \ 58 robolectric-json:lib/main/json-20080701.jar \
|
/libcore/json/src/test/java/org/json/ |
ParsingTest.java | 17 package org.json; 232 private void assertParsed(String message, Object expected, String json) throws JSONException { 233 Object actual = new JSONTokener(json).nextValue(); 236 assertEquals("For input \"" + json + "\" " + message, expected, actual); 239 private void assertParsed(Object expected, String json) throws JSONException { 240 assertParsed("", expected, json);
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/ |
ItsSerializer.java | 43 import org.json.JSONArray; 44 import org.json.JSONObject; 57 * Class to deal with serializing and deserializing between JSON and Camera2 objects. 72 private static Object serializeRational(Rational rat) throws org.json.JSONException { 80 private static Object serializeSize(Size size) throws org.json.JSONException { 88 private static Object serializeSizeF(SizeF size) throws org.json.JSONException { 96 private static Object serializeRect(Rect rect) throws org.json.JSONException { 105 private static Object serializePoint(Point point) throws org.json.JSONException { 114 throws org.json.JSONException { 128 throws org.json.JSONException [all...] |
/cts/apps/CameraITS/pymodules/its/ |
device.py | 20 import json namespace 31 The script importing this module (on the host machine) prepares JSON 135 # Read a line (newline-terminated) string serialization of JSON object. 144 jobj = json.loads(line) 165 self.sock.send(json.dumps(cmd) + "\n") 172 self.sock.send(json.dumps(cmd) + "\n") 195 self.sock.send(json.dumps(cmd) + "\n") 210 self.sock.send(json.dumps(cmd) + "\n") 238 self.sock.send(json.dumps(cmd) + "\n") 252 self.sock.send(json.dumps(cmd) + "\n" [all...] |
/external/chromium_org/v8/test/mjsunit/regress/ |
regress-1081309.js | 37 function ParsedResponse(json) { 38 this.response_ = eval('(' + json + ')'); 75 var json; 76 json = '{"seq":0,"type":"request","command":"backtrace"}' 77 var response = new ParsedResponse(dcp.processDebugJSONRequest(json));
|
/external/chromium_org/base/metrics/ |
statistics_recorder_unittest.cc | 7 #include "base/json/json_reader.h" 263 std::string json(StatisticsRecorder::ToJSON(std::string())); 265 // Check for valid JSON. 267 root.reset(JSONReader::Read(json)); 290 json = StatisticsRecorder::ToJSON(query); 292 root.reset(JSONReader::Read(json)); 309 json.clear(); 313 json = StatisticsRecorder::ToJSON(query); 314 EXPECT_TRUE(json.empty());
|
/external/chromium_org/cloud_print/service/win/ |
chrome_launcher.cc | 11 #include "base/json/json_reader.h" 12 #include "base/json/json_writer.h" 99 std::string json; local 101 if (!base::ReadFileToString(file_path, &json)) { 105 scoped_ptr<base::Value> service_state(base::JSONReader::Read(json)); 267 base::FilePath printers_file = temp_user_data.path().Append(L"printers.json"); 306 std::string json = ReadAndUpdateServiceState(temp_user_data.path(), local 310 return json; 316 if (!json.empty()) { 319 return json; [all...] |
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/accessibility/ |
AccessibilityInjector.java | 29 import org.json.JSONException; 30 import org.json.JSONObject; 417 // Try to pull the params from the JSON string. 422 JSONObject json = new JSONObject(jsonParams); local 426 Iterator<String> keyIt = json.keys(); 431 if (json.optJSONObject(key) == null && json.optJSONArray(key) == null) { 432 params.put(key, json.getString(key)); 461 Log.w(TAG, "Error parsing JS JSON object", ex);
|
/external/chromium_org/third_party/WebKit/Source/core/inspector/ |
JSONParser.cpp | 469 PassRefPtr<JSONValue> parseJSON(const String& json) 471 if (json.isEmpty()) 473 if (json.is8Bit()) 474 return parseJSONInternal(json.characters8(), json.length()); 475 return parseJSONInternal(json.characters16(), json.length());
|
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/helpers/ |
CameraMetadataGetter.java | 53 import org.json.JSONArray; 54 import org.json.JSONObject; 248 private static Object serializeRational(Rational rat) throws org.json.JSONException { 256 private static Object serializeSize(Size size) throws org.json.JSONException { 264 private static Object serializeSizeF(SizeF size) throws org.json.JSONException { 272 private static Object serializeRect(Rect rect) throws org.json.JSONException { 281 private static Object serializePoint(Point point) throws org.json.JSONException { 290 throws org.json.JSONException { 304 throws org.json.JSONException { 332 throws org.json.JSONException [all...] |
/developers/build/prebuilts/androidtv/leanback/app/src/main/java/com/example/android/leanback/ |
VideoProvider.java | 22 import org.json.JSONArray; 23 import org.json.JSONException; 24 import org.json.JSONObject; 78 String json = sb.toString(); local 79 return new JSONObject(json); 81 Log.d(TAG, "Failed to parse the json for media list", e); 88 Log.d(TAG, "JSON feed closed", e);
|
/external/chromium_org/chrome/browser/policy/test/ |
local_policy_test_server.cc | 14 #include "base/json/json_writer.h" 85 .AppendASCII(base::StringPrintf("policy_%s.json", test_name.c_str())); 248 std::string json; local 249 base::JSONWriter::Write(&clients_, &json); 252 if (base::WriteFile(client_state_file, json.c_str(), json.size()) != 253 static_cast<int>(json.size())) {
|
/external/chromium_org/cloud_print/service/ |
service_state.cc | 7 #include "base/json/json_reader.h" 8 #include "base/json/json_writer.h" 100 bool ServiceState::FromString(const std::string& json) { 102 scoped_ptr<base::Value> data(base::JSONReader::Read(json)); 153 std::string json; local 156 &json); 157 return json;
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/ |
generate_results_dashboard.py | 29 import json namespace 122 current_failing_results_json_file = self._filesystem.join(results_directories[0], 'failing_results.json') 125 self._current_result_json_dict['tests'] = json.loads(input_json_string)['tests'] 131 # Load the remaining stale layout test results Json's to create the dashboard 133 failing_json_file_path = self._filesystem.join(json_file, 'failing_results.json') 134 full_json_file_path = self._filesystem.join(json_file, 'full_results.json') 137 self._old_failing_results_list.append(json.loads(json_string)) 139 self._old_full_results_list.append(json.loads(json_string_full_result)) 149 final_json = json.dumps(self._final_result) 151 archived_results_file_path = self._filesystem.join(self._results_directory, 'archived_results.json') [all...] |
/external/owasp/sanitizer/empiricism/ |
html-containment.js | 142 var htmlForNullValue = '<span class="json-kw">null</span>'; 143 var htmlForErrorValue = '<span class="json-kw json-err">null</span>'; 156 out.push('<span class="json-kw">', v, '</span>'); 159 out.push('<span class="json-val">', v, '</span>'); 164 var token = JSON.stringify(String(v)); 166 out.push('<span class="json-str">', token, '</span>'); 202 out.push('<span class="json-ext json-block-', depth, 203 depth === 0 || inline ? ' json-nocollapse' : '' [all...] |
/external/chromium_org/third_party/simplejson/ |
__init__.py | 1 r"""JSON (JavaScript Object Notation) <http://json.org> is a subset of 7 version of the :mod:`json` library contained in Python 2.6, but maintains 14 >>> import simplejson as json 15 >>> json.dumps(['foo', {'bar': ('baz', None, 1.0, 2)}]) 17 >>> print json.dumps("\"foo\bar") 19 >>> print json.dumps(u'\u1234') 21 >>> print json.dumps('\\') 23 >>> print json.dumps({"c": 0, "b": 0, "a": 0}, sort_keys=True) 27 >>> json.dump(['streaming API'], io [all...] |
/development/samples/Wiktionary/src/com/example/android/wiktionary/ |
ExtendedWikiHelper.java | 19 import org.json.JSONArray; 20 import org.json.JSONException; 21 import org.json.JSONObject; 93 "http://en.wiktionary.org/w/api.php?action=query&list=random&format=json"; 207 // Drill into the JSON response to find the returned word
|