/external/chromium_org/v8/tools/testrunner/server/ |
presence_handler.py | 33 import ujson as json namespace 35 import json namespace 57 data = json.loads(self.request[0].strip()) 67 response = json.dumps(response) 98 self.SendToAll(json.dumps([EXIT_REQUEST])) 119 request = json.dumps(request)
|
compression.py | 31 import ujson as json namespace 33 import json namespace 42 Sends a JSON encodable object over the specified socket (zlib-compressed). 44 obj = json.dumps(obj) 90 result = json.loads(result)
|
/external/chromium_org/base/test/ |
values_test_util.cc | 7 #include "base/json/json_reader.h" 65 scoped_ptr<Value> ParseJson(base::StringPiece json) { 68 json, base::JSON_ALLOW_TRAILING_COMMAS, 71 ADD_FAILURE() << "Failed to parse \"" << json << "\": " << error_msg;
|
/external/chromium_org/build/android/pylib/perf/ |
setup.py | 7 import json namespace 51 steps = json.load(f) 90 flaky_steps = json.load(f)
|
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/tools/ |
upload_chromevox_to_webstore.py | 19 import json namespace 30 'manifest_guest.json', 31 'manifest_next.json', 32 'manifest_next_guest.json' 47 old: A json file. 55 new_contents = json.loads(old_file.read()) 57 new_file.file.write(json.dumps(new_contents)) 106 if extension_file == 'manifest.json':
|
/external/chromium_org/chrome/test/ispy/ |
ispy_api_unittest.py | 7 import json namespace 27 'device', 'test', '1.1.1.1', 'versions.json', 29 self.ispy.UpdateExpectationVersion('1.1.1.1', 'versions.json') 31 'test1', 'device', 'test', '1.1.1.1', 'versions.json', self.white_img) 36 'test2', 'device', 'test', '1.1.1.1','versions.json', self.black_img) 40 self.ispy.UpdateExpectationVersion('1.0.0.0', 'versions.json') 41 self.ispy.UpdateExpectationVersion('1.0.4.0', 'versions.json') 42 self.ispy.UpdateExpectationVersion('2.1.5.0', 'versions.json') 43 self.ispy.UpdateExpectationVersion('1.1.5.0', 'versions.json') 44 self.ispy.UpdateExpectationVersion('0.0.0.0', 'versions.json') [all...] |
/external/chromium_org/native_client_sdk/src/build_tools/sdk_tools/ |
config.py | 5 import json namespace 39 self.update(json.loads(json_data)) 41 raise Error('Error reading json config:\n%s' % str(e)) 45 return json.dumps(self, sort_keys=False, indent=2) 47 raise Error('Json encoding error writing config:\n%s' % e)
|
/external/chromium_org/net/cert/ |
ct_log_response_parser.cc | 8 #include "base/json/json_reader.h" 9 #include "base/json/json_value_converter.h" 23 // Structure for making JSON decoding easier. The string fields 81 DVLOG(1) << "Tree size in Signed Tree Head JSON is negative: " 87 DVLOG(1) << "Timestamp in Signed Tree Head JSON is negative: " 93 DVLOG(1) << "Missing SHA256 root hash from Signed Tree Head JSON."; 98 DVLOG(1) << "Missing SHA256 root hash from Signed Tree Head JSON."; 110 scoped_ptr<base::Value> json(json_reader.Read(json_signed_tree_head)); 111 if (json.get() == NULL) { 112 DVLOG(1) << "Empty Signed Tree Head JSON." [all...] |
/external/chromium_org/remoting/host/ |
pairing_registry_delegate_linux_unittest.cc | 66 base::DictionaryValue* json; local 67 EXPECT_TRUE(pairings->GetDictionary(0, &json)); 68 EXPECT_EQ(PairingRegistry::Pairing::CreateFromValue(*json), pairing2);
|
/external/chromium_org/third_party/WebKit/Source/devtools/scripts/ |
concatenate_module_scripts.py | 8 Concatenates module scripts based on the module.json descriptor. 19 import simplejson as json namespace 21 import json namespace 71 descriptor = json.loads(read_file(module_json_file_name)) 73 print 'ERROR: Failed to load JSON from ' + module_json_file_name
|
/external/chromium_org/third_party/skia/gm/ |
gm_json.py | 6 """Schema of the JSON summary file written out by the GM tool. 16 import json namespace 22 # Key strings used in GM results JSON files (both expected-results.json and 23 # actual-results.json). 107 # Root directory where buildbots store skimage actual results json files. 171 """Loads the JSON summary written out by the GM tool. 175 # TODO(epoger): we should add a version number to the JSON file to ensure 180 json_dict = json.loads(file_contents) 185 """Loads the JSON summary written out by the GM tool [all...] |
/cts/apps/CameraITS/pymodules/its/ |
target.py | 21 import json namespace 23 import json namespace 94 The value is persisted in a JSON file in the current directory (from which 102 f.write(json.dumps({"exposure":exposure})) 112 o = json.load(f)
|
/external/chromium_org/build/android/buildbot/ |
bb_utils.py | 5 import json namespace 76 setattr(parser.values, option.dest, json.loads(value)) 80 help='build properties in JSON format') 83 help='factory properties in JSON format') 88 return ['--factory-properties=%s' % json.dumps(options.factory_properties), 89 '--build-properties=%s' % json.dumps(options.build_properties)]
|
/external/chromium_org/chrome/common/extensions/manifest_handlers/ |
ui_overrides_handler_unittest.cc | 8 #include "base/json/json_string_value_serializer.h" 54 JSONStringValueSerializer json(&manifest); 56 scoped_ptr<base::Value> root(json.Deserialize(NULL, &error)); 83 JSONStringValueSerializer json(&manifest); 85 scoped_ptr<base::Value> root(json.Deserialize(NULL, &error));
|
/external/chromium_org/chrome/test/ispy/server/ |
image_handler.py | 7 import json namespace
|
rebaseline_handler.py | 28 self.response.headers['Content-Type'] = 'json/application' 29 self.response.write(json.dumps(
|
/external/chromium_org/content/renderer/ |
dom_automation_controller.h | 100 // The value should be properly formed JSON. 101 bool SendJSON(const std::string& json);
|
/external/chromium_org/native_client_sdk/src/tools/ |
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/third_party/libaddressinput/src/cpp/src/util/ |
json.cc | 15 #include "json.h" 35 class Json::JsonImpl { 37 explicit JsonImpl(const std::string& json) 42 document_->Parse<kParseValidateEncodingFlag>(json.c_str()); 47 for (std::vector<const Json*>::const_iterator it = dictionaries_.begin(); 55 const std::vector<const Json*>& GetSubDictionaries() { 60 dictionaries_.push_back(new Json(new JsonImpl(&member->value))); 91 // An owned JSON document. Can be NULL if the JSON document is not owned. 94 // A JSON document that is not owned. Cannot be NULL. Can point to document_ [all...] |
json.h | 27 // Parses a JSON dictionary of strings. Sample usage: 28 // Json json; 29 // if (json.ParseObject("{'key1':'value1', 'key2':'value2'}") && 30 // json.HasStringKey("key1")) { 31 // Process(json.GetStringValueForKey("key1")); 33 class Json { 35 Json(); 36 ~Json(); 38 // Parses the |json| string and returns true if |json| is valid and it is a [all...] |
/external/chromium_org/tools/checklicenses/ |
checklicenses.py | 9 import json namespace 490 if options.json: 491 with open(options.json, 'w') as f: 492 json.dump(errors, f) 540 option_parser.add_option('--json', help='Path to JSON output file')
|
/external/clang/docs/analyzer/ |
Makefile | 17 .PHONY: help clean html dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf text man changes linkcheck doctest gettext 27 @echo " json to make JSON files" 66 json: 67 $(SPHINXBUILD) -b json $(ALLSPHINXOPTS) $(BUILDDIR)/json 69 @echo "Build finished; now you can process the JSON files."
|
/external/google-tv-pairing-protocol/java/src/com/google/polo/wire/ |
WireFormat.java | 20 import com.google.polo.wire.json.JsonWireAdapter; 29 JSON, // JSON, implemented by JsonWireInterface 42 case JSON:
|
/frameworks/base/tests/MusicServiceDemo/src/com/example/android/musicservicedemo/browser/ |
MusicProviderTask.java | 22 import org.json.JSONException;
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/json/tests/ |
test_encode_basestring_ascii.py | 2 from json.tests import PyTest, CTest 26 fname = self.json.encoder.encode_basestring_ascii.__name__ 28 result = self.json.encoder.encode_basestring_ascii(input_string)
|