Searched refs:dict (Results 276 - 300 of 1157) sorted by relevance

<<11121314151617181920>>

/external/chromium_org/third_party/cython/src/Cython/Compiler/
H A DFlowControl.pxd10 cdef public dict gen
12 cdef public dict input
13 cdef public dict output
59 cdef public dict assmts
92 cdef check_definitions(ControlFlow flow, dict compiler_directives)
/external/chromium_org/third_party/libxml/src/
H A Dentities.c23 #include <libxml/dict.h>
96 xmlDictPtr dict = NULL; local
102 dict = entity->doc->dict;
108 if (dict != NULL) {
109 if ((entity->name != NULL) && (!xmlDictOwns(dict, entity->name)))
112 (!xmlDictOwns(dict, entity->ExternalID)))
115 (!xmlDictOwns(dict, entity->SystemID)))
117 if ((entity->URI != NULL) && (!xmlDictOwns(dict, entity->URI)))
120 && (!xmlDictOwns(dict, entit
147 xmlCreateEntity(xmlDictPtr dict, const xmlChar *name, int type, const xmlChar *ExternalID, const xmlChar *SystemID, const xmlChar *content) argument
204 xmlDictPtr dict = NULL; local
405 xmlDictPtr dict; local
[all...]
H A Dhash.c55 xmlDictPtr dict; member in struct:_xmlHashTable
153 table->dict = NULL;
169 * @dict: a dictionary to use for the hash
171 * Create a new xmlHashTablePtr which will use @dict as the internal dictionary
176 xmlHashCreateDict(int size, xmlDictPtr dict) { argument
181 table->dict = dict;
182 xmlDictReference(dict);
308 if (table->dict == NULL) {
326 if (table->dict)
[all...]
/external/libxml2/
H A Dentities.c23 #include <libxml/dict.h>
98 xmlDictPtr dict = NULL; local
104 dict = entity->doc->dict;
110 if (dict != NULL) {
111 if ((entity->name != NULL) && (!xmlDictOwns(dict, entity->name)))
114 (!xmlDictOwns(dict, entity->ExternalID)))
117 (!xmlDictOwns(dict, entity->SystemID)))
119 if ((entity->URI != NULL) && (!xmlDictOwns(dict, entity->URI)))
122 && (!xmlDictOwns(dict, entit
149 xmlCreateEntity(xmlDictPtr dict, const xmlChar *name, int type, const xmlChar *ExternalID, const xmlChar *SystemID, const xmlChar *content) argument
206 xmlDictPtr dict = NULL; local
407 xmlDictPtr dict; local
[all...]
H A Dhash.c71 xmlDictPtr dict; member in struct:_xmlHashTable
182 table->dict = NULL;
201 * @dict: a dictionary to use for the hash
203 * Create a new xmlHashTablePtr which will use @dict as the internal dictionary
208 xmlHashCreateDict(int size, xmlDictPtr dict) { argument
213 table->dict = dict;
214 xmlDictReference(dict);
340 if (table->dict == NULL) {
358 if (table->dict)
[all...]
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/coverage/
H A Ddata.py12 The data file format is a pickled dict, with these keys:
16 * lines: a dict mapping filenames to sorted lists of line numbers
20 * arcs: a dict mapping filenames to sorted lists of line number pairs:
103 return dict(
109 return dict(
158 if isinstance(data, dict):
160 lines = dict([
161 (f, dict.fromkeys(linenos, None))
165 arcs = dict([
166 (f, dict
[all...]
/external/chromium_org/tools/gyp/pylib/gyp/
H A Dordered_dict.py43 class OrderedDict(dict):
45 # An inherited dict maps keys to values.
46 # The inherited dict provides __getitem__, __len__, __contains__, and get.
71 def __setitem__(self, key, value, dict_setitem=dict.__setitem__):
81 def __delitem__(self, key, dict_delitem=dict.__delitem__):
116 dict.clear(self)
138 value = dict.pop(self, key)
172 '''od.update(E, **F) -> None. Update od from dict/iterable E and F.
174 If E is a dict instance, does: for k in E: od[k] = E[k]
190 if isinstance(other, dict)
[all...]
/external/chromium_org/chrome/browser/extensions/api/sync_file_system/
H A Dsync_file_system_api.cc163 base::DictionaryValue* dict = new base::DictionaryValue(); local
164 SetResult(dict);
165 dict->SetString("name", file_system_name);
166 dict->SetString("root", root_url.spec());
265 base::DictionaryValue* dict = new base::DictionaryValue(); local
266 status_array->Append(dict);
273 dict->Set("entry", CreateDictionaryValueForFileSystemEntry(
275 dict->SetString("status", ToString(file_status));
279 dict->SetString("error", ErrorToString(file_error));
/external/chromium_org/chrome/browser/supervised_user/
H A Dsupervised_user_sync_service_unittest.cc80 void GetSupervisedUsersCallback(const base::DictionaryValue** dict, argument
82 *dict = supervised_users;
198 base::DictionaryValue* dict = new base::DictionaryValue; local
199 dict->SetString(kNameKey, kName1);
200 supervised_users->Set(kUserId1, dict);
201 dict = new base::DictionaryValue;
202 dict->SetString(kNameKey, kName2);
203 dict->SetBoolean(kAcknowledgedKey, true);
204 supervised_users->Set(kUserId2, dict);
/external/chromium_org/chrome/browser/extensions/api/preference/
H A Dpreference_helpers.cc108 base::DictionaryValue* dict; local
109 bool rv = args->GetDictionary(0, &dict);
113 dict->SetString(kLevelOfControlKey, level_of_control);
/external/chromium_org/chrome/browser/extensions/api/push_messaging/
H A Dobfuscated_gaia_id_fetcher.cc130 base::DictionaryValue* dict = NULL;
131 if (!value->GetAsDictionary(&dict))
134 return dict->GetString("id", result);
/external/chromium_org/chrome/browser/feedback/system_logs/log_sources/
H A Dchrome_internal_log_source.cc76 base::DictionaryValue* dict = NULL; local
77 if ((*it)->GetAsDictionary(&dict)) {
79 dict->GetString("title", &title);
/external/chromium_org/chrome/browser/resources/options/
H A Dcontent_settings.js121 * @param {Object} dict A mapping from radio groups to the checked value for
124 ContentSettings.setContentFilterSettingsValue = function(dict) {
125 for (var group in dict) {
128 var value = dict[group].value;
134 var managedBy = dict[group].managedBy;
138 dict[group].value + ']').checked = true;
153 value: dict[group].value,
/external/chromium_org/chrome/common/extensions/docs/server2/
H A Dapi_list_data_source_test.py20 return dict((name, name) for name in obj)
29 features = dict((name, {
39 api_data = dict((name, [{'namespace': name, 'description': description}])
H A Dmanifest_data_source.py31 if not isinstance(feature.get('example'), dict):
35 # Add any keys/value pairs in the dict as children
124 manifest_data_futures = dict((p, self._CreateManifestDataForPlatform(p))
127 return dict((platform, future.Get())
/external/chromium_org/chrome/common/extensions/
H A Dextension_test_util.cc37 const base::DictionaryValue* dict; local
38 CHECK(result->GetAsDictionary(&dict));
41 path.DirName(), location, *dict, extra_flags, id, error);
/external/chromium_org/components/policy/core/browser/
H A Dmanaged_bookmarks_tracker_unittest.cc94 base::DictionaryValue* dict = new base::DictionaryValue(); local
95 dict->SetString("name", title);
96 dict->SetString("url", GURL(url).spec());
97 return dict;
102 base::DictionaryValue* dict = new base::DictionaryValue(); local
103 dict->SetString("name", title);
104 dict->Set("children", children);
105 return dict;
135 const base::DictionaryValue* dict) {
137 if (!dict
134 NodeMatchesValue(const BookmarkNode* node, const base::DictionaryValue* dict) argument
[all...]
/external/chromium_org/components/policy/core/common/
H A Dregistry_dict_win.cc35 const base::DictionaryValue* dict = NULL; local
37 if (value.GetAsDictionary(&dict)) {
39 for (base::DictionaryValue::Iterator entry(*dict); !entry.IsAtEnd();
99 const base::DictionaryValue* dict = NULL; local
100 if (value.GetAsDictionary(&dict)) {
104 if (!dict->Get(base::IntToString(i), &entry))
160 scoped_ptr<RegistryDict> dict) {
161 if (!dict) {
168 entry = dict.release();
196 scoped_ptr<base::Value> dict) {
159 SetKey(const std::string& name, scoped_ptr<RegistryDict> dict) argument
195 SetValue(const std::string& name, scoped_ptr<base::Value> dict) argument
[all...]
/external/chromium_org/third_party/WebKit/Source/platform/exported/
H A DWebCryptoKeyAlgorithm.cpp134 void WebCryptoKeyAlgorithm::writeToDictionary(WebCryptoKeyAlgorithmDictionary* dict) const
137 dict->setString("name", WebCryptoAlgorithm::lookupAlgorithmInfo(id())->name);
138 m_private->params.get()->writeToDictionary(dict);
/external/chromium_org/third_party/cython/src/Tools/
H A Dcystdlib.py39 default_directives = dict(
79 ], dict(auto_cpdef=False)),
100 d = dict(default_directives)
/external/chromium_org/tools/json_schema_compiler/
H A Dutil.cc40 const base::DictionaryValue* dict = NULL; local
41 if (!from.GetDictionary(index, &dict))
43 *out = make_linked_ptr(dict->DeepCopy());
/external/skia/src/pdf/
H A DSkPDFStream.cpp39 SkPDFDict::Iter dict(pdfStream);
43 for (key = dict.next(&value); key != NULL; key = dict.next(&value)) {
/external/chromium_org/chrome/browser/extensions/api/declarative_content/
H A Dcontent_action.cc65 const base::DictionaryValue* dict,
128 const base::DictionaryValue* dict,
213 // for which the action is being created. |dict| contains the json dictionary
216 // semantically incorrect. |bad_message| is set to true in case |dict| does
221 const base::DictionaryValue* /* dict */,
266 const base::DictionaryValue* dict,
270 if (!InitScriptData(dict, error, bad_message, &script_data))
314 bool RequestContentScript::InitScriptData(const base::DictionaryValue* dict, argument
320 if (!dict->HasKey(keys::kCss) && !dict
62 Create( content::BrowserContext* browser_context, const Extension* extension, const base::DictionaryValue* dict, std::string* error, bool* bad_message) argument
263 Create( content::BrowserContext* browser_context, const Extension* extension, const base::DictionaryValue* dict, std::string* error, bool* bad_message) argument
433 Create( content::BrowserContext* browser_context, const Extension* extension, const base::DictionaryValue* dict, std::string* error, bool* bad_message) argument
[all...]
/external/chromium_org/net/base/
H A Dnet_log.cc26 base::DictionaryValue* dict = new base::DictionaryValue(); local
27 dict->SetInteger("byte_count", byte_count);
29 dict->SetString("hex_encoded_bytes", base::HexEncode(bytes, byte_count));
30 return dict;
91 base::DictionaryValue* dict = new base::DictionaryValue(); local
92 dict->SetInteger("type", static_cast<int>(type));
93 dict->SetInteger("id", static_cast<int>(id));
94 event_params->Set("source_dependency", dict);
104 base::DictionaryValue* dict = NULL; local
109 !event_params->GetAsDictionary(&dict) ||
319 base::DictionaryValue* dict = new base::DictionaryValue(); local
340 base::DictionaryValue* dict = new base::DictionaryValue(); local
[all...]
/external/chromium_org/base/
H A Dvalues_unittest.cc262 DictionaryValue dict; local
263 dict.Set(key, new DeletionTestValue(&deletion_flag));
269 DictionaryValue dict; local
270 dict.Set(key, new DeletionTestValue(&deletion_flag));
272 dict.Clear();
277 DictionaryValue dict; local
278 dict.Set(key, new DeletionTestValue(&deletion_flag));
280 dict.Set(key, Value::CreateNullValue());
291 DictionaryValue dict; local
292 dict
305 DictionaryValue dict; local
316 DictionaryValue dict; local
338 DictionaryValue dict; local
776 DictionaryValue dict; local
[all...]

Completed in 6476 milliseconds

<<11121314151617181920>>