/external/chromium_org/third_party/WebKit/Source/platform/graphics/ |
H A D | GraphicsLayer.cpp | 551 RefPtr<JSONObject> json = adoptRef(new JSONObject); local 554 json->setString("this", pointerAsString(this)); 555 json->setString("debugName", m_client->debugName(this)); 559 json->setArray("position", pointAsJSONArray(m_position)); 562 json->setArray("transformOrigin", pointAsJSONArray(m_transformOrigin)); 565 json->setArray("bounds", sizeAsJSONArray(m_size)); 568 json->setNumber("opacity", m_opacity); 571 json->setString("blendMode", compositeOperatorName(CompositeSourceOver, m_blendMode)); 574 json->setBoolean("isolate", m_isRootForIsolatedGroup); 577 json 675 RefPtr<JSONObject> json = layerTreeAsJSON(flags, renderingContextMap); local [all...] |
/external/chromium_org/content/child/webcrypto/test/ |
H A D | test_helpers.cc | 10 #include "base/json/json_reader.h" 11 #include "base/json/json_writer.h" 154 std::string json; local 155 base::JSONWriter::Write(&dict, &json); 156 return MakeJsonVector(json); 174 // Strip C++ style comments out of the "json" file, otherwise it cannot be 192 scoped_ptr<base::Value> json; local 193 ::testing::AssertionResult result = ReadJsonTestFile(test_file_name, &json); 199 if (!json->GetAsList(&list_value) || !list_value) 203 ignore_result(json 397 GetJwkDictionary( const std::vector<uint8_t>& json) argument 457 VerifySecretJwk( const std::vector<uint8_t>& json, const std::string& alg_expected, const std::string& k_expected_hex, blink::WebCryptoKeyUsageMask use_mask_expected) argument 483 VerifyPublicJwk( const std::vector<uint8_t>& json, const std::string& alg_expected, const std::string& n_expected_hex, const std::string& e_expected_hex, blink::WebCryptoKeyUsageMask use_mask_expected) argument 527 std::vector<uint8_t> json; local [all...] |
/external/chromium_org/third_party/skia/gm/tests/ |
H A D | run.sh | 73 # - writing json summary into $2/$OUTPUT_ACTUAL_SUBDIR/json-summary.txt 84 JSON_SUMMARY_FILE="$ACTUAL_OUTPUT_DIR/json-summary.txt" 124 # Create input dir (at path $1) with expectations (both image and json) 138 JSON_DIR=$INPUTS_DIR/json 147 --writeJsonSummaryPath $JSON_DIR/identical-bytes.json 157 --writeJsonSummaryPath $JSON_DIR/identical-pixels.json 165 --writeJsonSummaryPath $JSON_DIR/different-pixels.json 168 # different-pixels.json, but in which the *first* ignore-failure is changed 172 sed -e "0,/$OLD/{s/$OLD/$NEW/}" $JSON_DIR/different-pixels.json \ [all...] |
/external/skia/gm/tests/ |
H A D | run.sh | 73 # - writing json summary into $2/$OUTPUT_ACTUAL_SUBDIR/json-summary.txt 84 JSON_SUMMARY_FILE="$ACTUAL_OUTPUT_DIR/json-summary.txt" 124 # Create input dir (at path $1) with expectations (both image and json) 138 JSON_DIR=$INPUTS_DIR/json 147 --writeJsonSummaryPath $JSON_DIR/identical-bytes.json 157 --writeJsonSummaryPath $JSON_DIR/identical-pixels.json 165 --writeJsonSummaryPath $JSON_DIR/different-pixels.json 168 # different-pixels.json, but in which the *first* ignore-failure is changed 172 sed -e "0,/$OLD/{s/$OLD/$NEW/}" $JSON_DIR/different-pixels.json \ [all...] |
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/omnibox/ |
H A D | SuggestionAnswer.java | 9 import org.json.JSONArray; 10 import org.json.JSONException; 11 import org.json.JSONObject;
|
/external/chromium_org/chrome/common/extensions/docs/server2/ |
H A D | api_list_data_source_test.py | 7 import json namespace 46 apis['api'][json_file] = json.dumps(_TEST_API_DATA[name]) 86 ('alarms', 'alarms.json'), 87 ('app.window', 'app_window.json'), 88 ('browserAction', 'browser_action.json'), 89 ('experimental.bluetooth', 'experimental_bluetooth.json'), 90 ('experimental.history', 'experimental_history.json'), 91 ('experimental.power', 'experimental_power.json'), 92 ('extension', 'extension.json'), 93 ('infobars', 'infobars.json'), [all...] |
H A D | manifest_data_source.py | 6 import json namespace 27 '''To display json in examples more clearly, convert the example of 33 feature['example'] = json.dumps(feature['example']) 47 example = json.dumps(value['example'])
|
H A D | rietveld_patcher.py | 5 import json namespace 41 issue_json = json.loads(self._fetcher.Fetch( 66 patchset_json = json.loads(self._fetcher.Fetch(
|
H A D | sidenav_data_source_test.py | 6 import json namespace 65 'chrome_sidenav.json': json.dumps([ 101 'chrome_sidenav.json': json.dumps([{ 144 'chrome_sidenav.json': '[{ "title": "H1" }]' 152 # If Refresh fails, chrome_sidenav.json will not be cached, and the 156 '%schrome_sidenav.json' % JSON_TEMPLATES).Get().cache_data
|
H A D | whats_new_data_source_test.py | 6 import json namespace
|
/external/chromium_org/chrome/service/cloud_print/ |
H A D | connector_settings_unittest.cc | 56 ServiceProcessPrefs* CreateTestFile(const char* json) { argument 59 if (json) { 60 std::string content = json;
|
/external/chromium_org/google_apis/drive/ |
H A D | base_requests_unittest.cc | 80 response->set_content_type("application/json"); 94 scoped_ptr<base::Value> json(ParseJson(kValidJsonString)); 97 ASSERT_TRUE(json); 98 ASSERT_TRUE(json->GetAsDictionary(&root_dict));
|
/external/chromium_org/gpu/config/ |
H A D | gpu_control_list_unittest.cc | 136 // Invalid json input should not change the current control_list settings. 293 const std::string json = LONG_STRING_CONST( local 319 EXPECT_TRUE(control_list->LoadList(json, GpuControlList::kAllOs)); 339 const std::string json = LONG_STRING_CONST( local 366 EXPECT_TRUE(control_list->LoadList(json, GpuControlList::kAllOs)); 399 const std::string json = LONG_STRING_CONST( local 435 EXPECT_TRUE(control_list->LoadList(json, GpuControlList::kAllOs)); 443 const std::string json = LONG_STRING_CONST( local 483 EXPECT_TRUE(control_list->LoadList(json, GpuControlList::kAllOs)); 506 const std::string json local 544 const std::string json= LONG_STRING_CONST( local [all...] |
/external/chromium_org/native_client_sdk/src/build_tools/ |
H A D | update_sdktools.py | 21 import json namespace 61 return json.loads(json_string, object_pairs_hook=collections.OrderedDict) 63 return json.loads(json_string) 124 UpdateManifestFileToRevision('json/naclsdk_manifest0.json', revision) 125 UpdateManifestFileToRevision('json/naclsdk_manifest2.json', revision)
|
/external/chromium_org/native_client_sdk/src/examples/tutorial/debugging/ |
H A D | debugging.c | 86 void DumpJson(const char* json) { argument 88 size_t size = sizeof(kTrcPrefix) + strlen(json) + 1; // +1 for NULL. 91 strcat(out, json);
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/layout_package/ |
H A D | json_results_generator.py | 29 import json namespace 43 # FIXME: Kill this code once the server returns json instead of jsonp. 52 return json.loads(content) 57 json_string = json.dumps(json_object, separators=(',', ':'))
|
/external/chromium_org/third_party/webrtc/modules/video_capture/android/java/src/org/webrtc/videoengine/ |
H A D | VideoCaptureDeviceInfoAndroid.java | 21 import org.json.JSONArray; 22 import org.json.JSONException; 23 import org.json.JSONObject;
|
/external/chromium_org/tools/json_to_struct/ |
H A D | element_generator.py | 5 import json namespace 32 # json.dumps quotes the string and escape characters as required. 33 lines.append(' %s,' % json.dumps(content)) 42 # json.dumps quotes the string and escape characters as required. 43 lines.append(' L%s,' % _JSONToCString16(json.dumps(content)))
|
/external/chromium_org/tools/profile_chrome/ |
H A D | trace_packager.py | 6 import json namespace 55 json_data = json.load(f) 72 json.dump(merged_data, f)
|
/external/chromium_org/tools/telemetry/telemetry/core/platform/power_monitor/ |
H A D | monsoon_power_monitor.py | 5 import json namespace 43 json.dump(result, output) 113 result = json.loads(powermonitor_output)
|
/external/chromium_org/tools/win/sizeviewer/ |
H A D | sizeviewer.py | 5 import json namespace 49 json_path = dll_path + '.json' 61 all_data = json.load(jsonf) 88 {'data': json.dumps(data, indent=2),
|
/external/chromium_org/v8/tools/push-to-trunk/ |
H A D | auto_push.py | 30 import json namespace 55 settings_dict = json.loads(FileToText(settings_file)) 65 status_url = "https://v8-status.appspot.com/current?format=json" 67 self["tree_message"] = json.loads(status_json)["message"]
|
/external/google-tv-pairing-protocol/java/src/com/google/polo/wire/json/ |
H A D | JsonWireAdapter.java | 17 package com.google.polo.wire.json; 20 import com.google.polo.json.JSONException; 21 import com.google.polo.json.JSONObject;
|
/external/chromium_org/base/test/ |
H A D | values_test_util.h | 48 // Parses |json| as JSON, allowing trailing commas, and returns the 49 // resulting value. If the json fails to parse, causes an EXPECT 51 scoped_ptr<Value> ParseJson(base::StringPiece json);
|
/external/chromium_org/cc/test/ |
H A D | layer_tree_json_parser_unittest.cc | 89 std::string json = host_impl.LayerTreeAsJson(); local 90 scoped_refptr<Layer> root = ParseTreeFromJson(json, NULL); 115 std::string json = host_impl.LayerTreeAsJson(); local 116 scoped_refptr<Layer> root = ParseTreeFromJson(json, NULL);
|