HomeSort by relevance Sort by last modified time
    Searched refs:json (Results 76 - 100 of 1096) sorted by null

1 2 34 5 6 7 8 91011>>

  /external/chromium_org/third_party/WebKit/Source/devtools/scripts/
devtools_file_hashes.py 34 import json namespace
36 import simplejson as json namespace
42 json.dump(hashes, hashes_file, indent=4, separators=(",", ": "))
51 hashes = json.load(hashes_file)
  /external/chromium_org/third_party/mesa/src/src/gallium/docs/
Makefile 15 .PHONY: help clean html dirhtml pickle json htmlhelp qthelp latex changes linkcheck doctest
22 @echo " json to make JSON files"
48 json:
49 $(SPHINXBUILD) -b json $(ALLSPHINXOPTS) $(BUILDDIR)/json
51 @echo "Build finished; now you can process the JSON files."
  /external/chromium_org/third_party/skia/tools/bug_chomper/
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/v8/test/mjsunit/regress/
regress-369450.js 10 var json = JSON.stringify(v); variable
11 assertEquals("[]", json);
  /external/google-tv-pairing-protocol/java/src/com/google/polo/json/
HTTPTokener.java 1 package com.google.polo.json;
4 Copyright (c) 2002 JSON.org
30 * @author JSON.org
JSONException.java 1 package com.google.polo.json;
4 * The JSONException is thrown by the JSON.org classes then things are amiss.
5 * @author JSON.org
  /external/mesa3d/src/gallium/docs/
Makefile 15 .PHONY: help clean html dirhtml pickle json htmlhelp qthelp latex changes linkcheck doctest
22 @echo " json to make JSON files"
48 json:
49 $(SPHINXBUILD) -b json $(ALLSPHINXOPTS) $(BUILDDIR)/json
51 @echo "Build finished; now you can process the JSON files."
  /external/chromium_org/chrome/common/extensions/docs/examples/apps/hello-python/
main.py 89 logging.debug('Attempting to JSON parse: %s' % response_text)
90 json = simplejson.loads(response_text)
91 logging.debug('Got license server response: %s' % json)
93 logging.exception('Could not parse response as JSON: %s' % response_text)
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']
  /developers/build/prebuilts/gradle/RecipeAssistant/Application/src/main/java/com/example/android/wearable/recipeassistant/
Recipe.java 24 import org.json.JSONArray;
25 import org.json.JSONException;
26 import org.json.JSONObject;
63 public static Recipe fromJson(Context context, JSONObject json) {
66 recipe.titleText = json.getString(Constants.RECIPE_FIELD_TITLE);
67 recipe.summaryText = json.getString(Constants.RECIPE_FIELD_SUMMARY);
68 if (json.has(Constants.RECIPE_FIELD_IMAGE)) {
69 recipe.recipeImage = json.getString(Constants.RECIPE_FIELD_IMAGE);
71 JSONArray ingredients = json.getJSONArray(Constants.RECIPE_FIELD_INGREDIENTS);
78 JSONArray steps = json.getJSONArray(Constants.RECIPE_FIELD_STEPS)
    [all...]
  /developers/samples/android/wearable/wear/RecipeAssistant/Application/src/main/java/com/example/android/wearable/recipeassistant/
Recipe.java 24 import org.json.JSONArray;
25 import org.json.JSONException;
26 import org.json.JSONObject;
63 public static Recipe fromJson(Context context, JSONObject json) {
66 recipe.titleText = json.getString(Constants.RECIPE_FIELD_TITLE);
67 recipe.summaryText = json.getString(Constants.RECIPE_FIELD_SUMMARY);
68 if (json.has(Constants.RECIPE_FIELD_IMAGE)) {
69 recipe.recipeImage = json.getString(Constants.RECIPE_FIELD_IMAGE);
71 JSONArray ingredients = json.getJSONArray(Constants.RECIPE_FIELD_INGREDIENTS);
78 JSONArray steps = json.getJSONArray(Constants.RECIPE_FIELD_STEPS)
    [all...]
  /development/samples/browseable/RecipeAssistant/Application/src/com.example.android.wearable.recipeassistant/
Recipe.java 24 import org.json.JSONArray;
25 import org.json.JSONException;
26 import org.json.JSONObject;
63 public static Recipe fromJson(Context context, JSONObject json) {
66 recipe.titleText = json.getString(Constants.RECIPE_FIELD_TITLE);
67 recipe.summaryText = json.getString(Constants.RECIPE_FIELD_SUMMARY);
68 if (json.has(Constants.RECIPE_FIELD_IMAGE)) {
69 recipe.recipeImage = json.getString(Constants.RECIPE_FIELD_IMAGE);
71 JSONArray ingredients = json.getJSONArray(Constants.RECIPE_FIELD_INGREDIENTS);
78 JSONArray steps = json.getJSONArray(Constants.RECIPE_FIELD_STEPS)
    [all...]
  /external/chromium_org/base/json/
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) {
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)
    [all...]
  /external/chromium_org/third_party/WebKit/Tools/GardeningServer/
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'))
60 warning = 'content field was not JSON'
  /external/chromium_org/third_party/dom_distiller_js/package/proto_gen/third_party/dom_distiller_js/
dom_distiller_json_converter.h 15 namespace json { namespace in namespace:dom_distiller::proto
18 static bool ReadFromValue(const base::Value* json, dom_distiller::proto::DistilledContent* message) {
20 if (!json->GetAsDictionary(&dict)) goto error;
45 static bool ReadFromValue(const base::Value* json, dom_distiller::proto::PaginationInfo* message) {
47 if (!json->GetAsDictionary(&dict)) goto error;
92 static bool ReadFromValue(const base::Value* json, dom_distiller::proto::MarkupArticle* message) {
94 if (!json->GetAsDictionary(&dict)) goto error;
167 static bool ReadFromValue(const base::Value* json, dom_distiller::proto::MarkupImage* message) {
169 if (!json->GetAsDictionary(&dict)) goto error;
244 static bool ReadFromValue(const base::Value* json, dom_distiller::proto::MarkupInfo* message)
    [all...]
  /developers/build/prebuilts/gradle/MediaBrowserService/Application/src/main/java/com/example/android/mediabrowserservice/model/
MusicProvider.java 24 import org.json.JSONArray;
25 import org.json.JSONException;
26 import org.json.JSONObject;
41 * Utility class to get a list of MusicTrack's based on a server-side JSON
48 private static final String CATALOG_URL = "http://storage.googleapis.com/automotive-media/music.json";
220 private MediaMetadata buildFromJSON(JSONObject json, String basePath) throws JSONException {
221 String title = json.getString(JSON_TITLE);
222 String album = json.getString(JSON_ALBUM);
223 String artist = json.getString(JSON_ARTIST);
224 String genre = json.getString(JSON_GENRE)
    [all...]
  /developers/samples/android/media/MediaBrowserService/Application/src/main/java/com/example/android/mediabrowserservice/model/
MusicProvider.java 24 import org.json.JSONArray;
25 import org.json.JSONException;
26 import org.json.JSONObject;
41 * Utility class to get a list of MusicTrack's based on a server-side JSON
48 private static final String CATALOG_URL = "http://storage.googleapis.com/automotive-media/music.json";
220 private MediaMetadata buildFromJSON(JSONObject json, String basePath) throws JSONException {
221 String title = json.getString(JSON_TITLE);
222 String album = json.getString(JSON_ALBUM);
223 String artist = json.getString(JSON_ARTIST);
224 String genre = json.getString(JSON_GENRE)
    [all...]
  /development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/model/
MusicProvider.java 24 import org.json.JSONArray;
25 import org.json.JSONException;
26 import org.json.JSONObject;
41 * Utility class to get a list of MusicTrack's based on a server-side JSON
48 private static final String CATALOG_URL = "http://storage.googleapis.com/automotive-media/music.json";
220 private MediaMetadata buildFromJSON(JSONObject json, String basePath) throws JSONException {
221 String title = json.getString(JSON_TITLE);
222 String album = json.getString(JSON_ALBUM);
223 String artist = json.getString(JSON_ARTIST);
224 String genre = json.getString(JSON_GENRE)
    [all...]
  /external/chromium_org/chrome/common/extensions/docs/examples/extensions/buildbot/
utils.js 12 if (responseType == "json")
13 // WebKit doesn't handle xhr.responseType = "json" as of Chrome 25.
22 responseType == "json" ? JSON.parse(xhr.response) : xhr.response;
  /external/chromium_org/third_party/libaddressinput/chromium/
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,
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()));
44 // Implementation of JSON parser for libaddressinput using JSON parser in
46 class Json::JsonImpl
    [all...]
  /development/samples/SampleSyncAdapter/src/com/example/android/samplesync/client/
RawContact.java 21 import org.json.JSONObject;
22 import org.json.JSONException;
136 * Convert the RawContact object into a JSON string. From the
138 * @return a JSON string representation of the object
141 JSONObject json = new JSONObject(); local
145 json.put("f", mFirstName);
148 json.put("l", mLastName);
151 json.put("m", mCellPhone);
154 json.put("o", mOfficePhone);
157 json.put("h", mHomePhone)
    [all...]
  /developers/build/prebuilts/gradle/Quiz/Application/src/main/java/com/example/android/wearable/quiz/
JsonUtils.java 21 import org.json.JSONException;
22 import org.json.JSONObject;
  /developers/samples/android/wearable/wear/Quiz/Application/src/main/java/com/example/android/wearable/quiz/
JsonUtils.java 21 import org.json.JSONException;
22 import org.json.JSONObject;
  /development/samples/browseable/Quiz/Application/src/com.example.android.wearable.quiz/
JsonUtils.java 21 import org.json.JSONException;
22 import org.json.JSONObject;
  /external/chromium_org/chrome/browser/resources/chromeos/chromevox/tools/
generate_test_messages.py 7 '''Generates test_messages.js from an extension message json file.'''
23 cvox.TestMessages = %(json)s;
39 json = in_file.read().strip()
41 out_file.write(_JS_TEMPLATE % {'in_file': in_file_name, 'json': json})
  /external/chromium_org/chrome/browser/ui/app_list/search/webstore/
webstore_provider.h 46 void OnWebstoreSearchFetched(scoped_ptr<base::DictionaryValue> json);
47 void ProcessWebstoreSearchResults(const base::DictionaryValue* json);

Completed in 1895 milliseconds

1 2 34 5 6 7 8 91011>>