/external/skia/tools/bug_chomper/ |
H A D | run_server.sh | 18 if [[ ! -f oauth_client_secret.json ]]; then 19 gsutil cp gs://chromium-skia-gm/bugchomper/oauth_client_secret.json .
|
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/speech_rules/ |
H A D | math_simple_store.js | 87 * @param {Object} json JSON object of the speech rules. 89 cvox.MathCompoundStore.prototype.addSymbolRules = function(json) { 90 var key = cvox.MathSimpleStore.parseUnicode_(json['key']); 91 this.defineRules(json['key'], key, json['mappings']); 97 * @param {Object} json JSON object of the speech rules. 99 cvox.MathCompoundStore.prototype.addFunctionRules = function(json) { 100 var names = json['names']; 101 var mappings = json['mappings'];
|
/external/chromium_org/chrome/common/extensions/docs/examples/apps/hello-python/ |
H A D | main.py | 90 json = simplejson.loads(response_text) 91 logging.debug('Got license server response: %s' % json) 101 if json.has_key('error'): 103 license['message'] = json['error']['message'] 104 elif json['result'] == 'YES' and json['accessLevel'] in VALID_ACCESS_LEVELS: 105 license['access'] = json['accessLevel']
|
/external/chromium_org/base/json/ |
H A D | json_writer.cc | 5 #include "base/json/json_writer.h" 9 #include "base/json/string_escape.h" 24 bool JSONWriter::Write(const Value* const node, std::string* json) { argument 25 return WriteWithOptions(node, 0, json); 30 std::string* json) { 31 json->clear(); 33 json->reserve(1024); 35 JSONWriter writer(options, json); 39 json->append(kPrettyPrintLineEnding); 44 JSONWriter::JSONWriter(int options, std::string* json) argument 29 WriteWithOptions(const Value* const node, int options, std::string* json) argument [all...] |
/external/chromium_org/third_party/WebKit/Tools/GardeningServer/ |
H A D | alerts.py | 7 import json namespace 17 class DateTimeEncoder(json.JSONEncoder): 22 return json.JSONEncoder.default(self, obj) 32 self.response.headers['Content-Type'] = 'application/json' 41 return json.dumps(alerts, cls=DateTimeEncoder, indent=1) 58 alerts = json.loads(self.request.get('content'))
|
/external/chromium_org/third_party/libaddressinput/chromium/ |
H A D | json.cc | 5 #include "third_party/libaddressinput/src/cpp/src/util/json.h" 11 #include "base/json/json_reader.h" 22 // Returns |json| parsed into a JSON dictionary. Sets |parser_error| to true if 24 ::scoped_ptr<const base::DictionaryValue> Parse(const std::string& json, argument 29 // |json| is converted to a |c_str()| here because rapidjson and other parts 31 ::scoped_ptr<const base::Value> parsed(base::JSONReader::Read(json.c_str())); 48 explicit JsonImpl(const std::string& json) argument 49 : owned_(Parse(json, &parser_error_)), 90 bool Json::ParseObject(const std::string& json) { argument 92 impl_.reset(new JsonImpl(json)); [all...] |
/external/chromium_org/tools/memory_inspector/memory_inspector/data/ |
H A D | serialization.py | 15 import json namespace 25 class Encoder(json.JSONEncoder): 69 return json.JSONEncoder.default(self, obj) 72 class MmapDecoder(json.JSONDecoder): 82 class SymbolsDecoder(json.JSONDecoder): 94 class NativeHeapDecoder(json.JSONDecoder):
|
/external/chromium_org/chrome/browser/ui/app_list/search/webstore/ |
H A D | webstore_provider.h | 46 void OnWebstoreSearchFetched(scoped_ptr<base::DictionaryValue> json); 47 void ProcessWebstoreSearchResults(const base::DictionaryValue* json);
|
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/mappy/ |
H A D | popup.js | 8 var url = 'https://maps.googleapis.com/maps/api/geocode/json?address=' + 18 var json = JSON.parse(request.responseText); 19 var latlng = json.results[0].geometry.location;
|
/external/chromium_org/components/omnibox/ |
H A D | search_suggestion_parser_unittest.cc | 7 #include "base/json/json_reader.h" 15 scoped_ptr<base::DictionaryValue> AsDictionary(const std::string& json) { argument 16 base::Value* value = base::JSONReader::Read(json);
|
/external/chromium_org/tools/memory_inspector/memory_inspector/backends/ |
H A D | native_heap_dump_parser.py | 7 import json namespace 32 data = json.loads(content)
|
/external/chromium_org/tools/profile_chrome/ |
H A D | chrome_controller_unittest.py | 6 import json namespace 44 json.loads(f.read())
|
H A D | perf_controller_unittest.py | 6 import json namespace 40 json.loads(f.read())
|
/external/chromium_org/tools/telemetry/telemetry/results/ |
H A D | json_output_formatter.py | 5 import json namespace 13 serialized by the json module. It also requires a benchmark_metadat object 48 json.dump(ResultsAsDict(page_test_results, self.benchmark_metadata),
|
/external/chromium_org/v8/test/mjsunit/es6/ |
H A D | mirror-symbols.js | 12 var json = JSON.stringify(serializer.serializeValue(mirror)); 29 var fromJSON = eval('(' + json + ')');
|
/external/chromium_org/v8/test/mjsunit/ |
H A D | mirror-number.js | 35 var json = JSON.stringify(serializer.serializeValue(mirror)); 51 var fromJSON = eval('(' + json + ')');
|
/external/chromium_org/chrome/common/extensions/docs/examples/apps/hello-java/ |
H A D | HelloLicenseServlet.java | 23 import com.google.appengine.repackaged.org.json.JSONObject; 93 JSONObject json = new JSONObject(file); 96 "YES".equals(json.get("result")) ? 97 "FULL".equals(json.get("accessLevel")) ? "full" : "free trial" :
|
/external/chromium_org/chrome/test/ispy/server/ |
H A D | rebaseline_handler.py | 28 self.response.headers['Content-Type'] = 'json/application' 29 self.response.write(json.dumps(
|
/external/chromium_org/components/policy/core/common/cloud/ |
H A D | policy_header_service.cc | 8 #include "base/json/json_writer.h" 76 std::string json; local 77 base::JSONWriter::Write(&value, &json); 78 DCHECK(!json.empty()); 82 base::Base64Encode(json, &encoded);
|
/external/chromium_org/native_client_sdk/src/tools/ |
H A D | fix_manifest.py | 9 """Fix Chrome App manifest.json files for use with multi-platform zip files. 14 The manifest.json file needs to point to the correct platform-specific paths, 16 we can't have one manifest.json for all combinations. 18 Instead, we update the top-level manifest.json file during the build: 38 import json namespace 62 usage='Usage: %prog [options] manifest.json', description=__doc__) 84 data = json.load(f, object_pairs_hook=collections.OrderedDict) 86 data = json.load(f) 118 json.dump(data, f, indent=2)
|
/external/chromium_org/v8/tools/testrunner/server/ |
H A D | compression.py | 31 import ujson as json namespace 33 import json namespace 44 obj = json.dumps(obj) 90 result = json.loads(result)
|
/external/jsoncpp/include/json/ |
H A D | assertions.h | 12 # include <json/config.h>
|
/external/chromium_org/build/android/pylib/instrumentation/ |
H A D | json_perf_parser.py | 8 import json namespace 144 return GetAverageRunInfo(json.loads(json_string), name) 159 perf = json.loads(data)
|
/external/chromium_org/chrome/browser/chromeos/system_logs/ |
H A D | touch_log_source.cc | 10 #include "base/json/json_string_value_serializer.h" 26 JSONStringValueSerializer json(&touch_log); 27 json.set_pretty_print(true); 28 if (json.Serialize(*dictionary) && !touch_log.empty())
|
/external/chromium_org/chrome/test/chromedriver/chrome/ |
H A D | frame_tracker.cc | 9 #include "base/json/json_writer.h" 54 std::string json; local 55 base::JSONWriter::Write(context, &json); 58 "Runtime.executionContextCreated has invalid 'context': " + json);
|