Home
last modified time | relevance | path

Searched refs:key (Results 1 – 25 of 533) sorted by relevance

12345678910>>...22

/device/google/atv/
DGeneric.kl16 # Generic key layout file for full alphabetic US English PC style external keyboards.
19 # Do not edit the generic key layout to support a specific keyboard; instead, create
20 # a new key layout file with the required keyboard configuration.
23 key 1 ESCAPE
24 key 2 1
25 key 3 2
26 key 4 3
27 key 5 4
28 key 6 5
29 key 7 6
[all …]
/device/linaro/hikey/
Dcommon.kl16 # Generic key layout file for full alphabetic US English PC style external keyboards.
19 # Do not edit the generic key layout to support a specific keyboard; instead, create
20 # a new key layout file with the required keyboard configuration.
23 key 399 GRAVE
24 key 1 BACK
25 key 2 1
26 key 3 2
27 key 4 3
28 key 5 4
29 key 6 5
[all …]
/device/linaro/bootloader/arm-trusted-firmware/tools/cert_create/src/
Dkey.c33 int key_new(key_t *key) in key_new() argument
36 key->key = EVP_PKEY_new(); in key_new()
37 if (key->key == NULL) { in key_new()
44 static int key_create_rsa(key_t *key) in key_create_rsa() argument
71 if (!EVP_PKEY_assign_RSA(key->key, rsa)) { in key_create_rsa()
84 static int key_create_ecdsa(key_t *key) in key_create_ecdsa() argument
99 if (!EVP_PKEY_assign_EC_KEY(key->key, ec)) { in key_create_ecdsa()
111 typedef int (*key_create_fn_t)(key_t *key);
120 int key_create(key_t *key, int type) in key_create() argument
128 return key_create_fn[type](key); in key_create()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dweakref.py51 del self.data[wr.key]
55 def __getitem__(self, key): argument
56 o = self.data[key]()
58 raise KeyError, key
62 def __contains__(self, key): argument
64 o = self.data[key]()
69 def has_key(self, key): argument
71 o = self.data[key]()
79 def __setitem__(self, key, value): argument
80 self.data[key] = KeyedRef(value, self._remove, key)
[all …]
Dshelve.py106 def has_key(self, key): argument
107 return key in self.dict
109 def __contains__(self, key): argument
110 return key in self.dict
112 def get(self, key, default=None): argument
113 if key in self.dict:
114 return self[key]
117 def __getitem__(self, key): argument
119 value = self.cache[key]
121 f = StringIO(self.dict[key])
[all …]
DUserDict.py18 def __getitem__(self, key): argument
19 if key in self.data:
20 return self.data[key]
22 return self.__class__.__missing__(self, key)
23 raise KeyError(key)
24 def __setitem__(self, key, item): self.data[key] = item argument
25 def __delitem__(self, key): del self.data[key] argument
45 def has_key(self, key): return key in self.data argument
58 def get(self, key, failobj=None): argument
59 if key not in self:
[all …]
D_abcoll.py337 def __getitem__(self, key): argument
340 def get(self, key, default=None): argument
342 return self[key]
346 def __contains__(self, key): argument
348 self[key]
358 for key in self:
359 yield self[key]
362 for key in self:
363 yield (key, self[key])
369 return [(key, self[key]) for key in self]
[all …]
Dcgi.py277 key, params = parse_header(line)
278 if key != 'form-data':
311 key = parts.next()
322 return key, pdict
533 def __getitem__(self, key): argument
539 if item.name == key: found.append(item)
541 raise KeyError, key
547 def getvalue(self, key, default=None): argument
549 if key in self:
550 value = self[key]
[all …]
Ddumbdbm.py86 key, pos_and_siz_pair = eval(line)
87 self._index[key] = pos_and_siz_pair
112 for key, pos_and_siz_pair in self._index.iteritems():
113 f.write("%r, %r\n" % (key, pos_and_siz_pair))
118 def __getitem__(self, key): argument
119 pos, siz = self._index[key] # may raise KeyError
155 def _addkey(self, key, pos_and_siz_pair): argument
156 self._index[key] = pos_and_siz_pair
159 f.write("%r, %r\n" % (key, pos_and_siz_pair))
162 def __setitem__(self, key, val): argument
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
Dweakref.py52 self._pending_removals.append(wr.key)
54 del self.data[wr.key]
69 def __getitem__(self, key): argument
70 o = self.data[key]()
72 raise KeyError, key
76 def __delitem__(self, key): argument
79 del self.data[key]
81 def __contains__(self, key): argument
83 o = self.data[key]()
88 def has_key(self, key): argument
[all …]
DUserDict.py18 def __getitem__(self, key): argument
19 if key in self.data:
20 return self.data[key]
22 return self.__class__.__missing__(self, key)
23 raise KeyError(key)
24 def __setitem__(self, key, item): self.data[key] = item argument
25 def __delitem__(self, key): del self.data[key] argument
45 def has_key(self, key): return key in self.data argument
58 def get(self, key, failobj=None): argument
59 if key not in self:
[all …]
D_abcoll.py376 def __getitem__(self, key): argument
379 def get(self, key, default=None): argument
382 return self[key]
386 def __contains__(self, key): argument
388 self[key]
400 for key in self:
401 yield self[key]
405 for key in self:
406 yield (key, self[key])
414 return [(key, self[key]) for key in self]
[all …]
/device/sample/skins/WVGAMedDpi/
Dlayout111 image key.png
116 image key.png
121 image key.png
126 image key.png
131 image key.png
136 image key.png
141 image key.png
146 image key.png
151 image key.png
156 image key.png
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/classes/
DDbm.py15 for key in self.keys():
16 t = repr(key) + ': ' + repr(self[key])
24 def __getitem__(self, key): argument
25 return eval(self.db[repr(key)])
27 def __setitem__(self, key, value): argument
28 self.db[repr(key)] = repr(value)
30 def __delitem__(self, key): argument
31 del self.db[repr(key)]
35 for key in self.db.keys():
36 res.append(eval(key))
[all …]
/device/google/bonito/json-c/
Djson_object.h70 char *key; member
275 extern void json_object_object_add(struct json_object* obj, const char *key,
296 const char *key));
317 const char *key,
329 extern void json_object_object_del(struct json_object* obj, const char *key);
346 # define json_object_object_foreach(obj,key,val) \ argument
347 char *key; \
349 for(struct lh_entry *entry ## key = json_object_get_object(obj)->head, *entry_next ## key = NULL; \
350 ({ if(entry ## key) { \
351 key = (char*)entry ## key->k; \
[all …]
/device/google/crosshatch/json-c/
Djson_object.h70 char *key; member
275 extern void json_object_object_add(struct json_object* obj, const char *key,
296 const char *key));
317 const char *key,
329 extern void json_object_object_del(struct json_object* obj, const char *key);
346 # define json_object_object_foreach(obj,key,val) \ argument
347 char *key; \
349 for(struct lh_entry *entry ## key = json_object_get_object(obj)->head, *entry_next ## key = NULL; \
350 ({ if(entry ## key) { \
351 key = (char*)entry ## key->k; \
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/
Dthread.c223 struct key { struct
225 struct key *next; argument
231 int key; member
235 static struct key *keyhead = NULL; argument
260 static struct key *
261 find_key(int key, void *value) in find_key() argument
263 struct key *p, *prev_p; in find_key()
271 if (p->id == id && p->key == key) in find_key()
287 p = (struct key *)malloc(sizeof(struct key)); in find_key()
290 p->key = key; in find_key()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_winreg.py81 key = CreateKey(root_key, test_key_name)
83 sub_key = CreateKey(key, "sub_key")
90 nkeys, nvalues, since_mod = QueryInfoKey(key)
109 int_key = int(key)
110 key.Close()
124 key = OpenKey(root_key, test_key_name)
126 with OpenKey(key, "sub_key") as sub_key:
148 read_val = EnumKey(key, 0)
151 EnumKey(key, 1)
156 key.Close()
[all …]
Dtest_descrtut.py19 def __getitem__(self, key): argument
21 return dict.__getitem__(self, key)
25 def get(self, key, *args): argument
28 return dict.get(self, key, *args)
31 for key in other:
32 if key not in self:
33 self[key] = other[key]
111 def __getitem__(self, key): argument
113 return dict.__getitem__(self, key)
117 def get(self, key, *args): argument
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/
Dsetobject.c76 set_lookkey(PySetObject *so, PyObject *key, register long hash) in set_lookkey() argument
89 if (entry->key == NULL || entry->key == key) in set_lookkey()
92 if (entry->key == dummy) in set_lookkey()
96 startkey = entry->key; in set_lookkey()
98 cmp = PyObject_RichCompareBool(startkey, key, Py_EQ); in set_lookkey()
102 if (table == so->table && entry->key == startkey) { in set_lookkey()
110 return set_lookkey(so, key, hash); in set_lookkey()
121 if (entry->key == NULL) { in set_lookkey()
126 if (entry->key == key) in set_lookkey()
128 if (entry->hash == hash && entry->key != dummy) { in set_lookkey()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/
Dsetobject.c76 set_lookkey(PySetObject *so, PyObject *key, register long hash) in set_lookkey() argument
89 if (entry->key == NULL || entry->key == key) in set_lookkey()
92 if (entry->key == dummy) in set_lookkey()
96 startkey = entry->key; in set_lookkey()
98 cmp = PyObject_RichCompareBool(startkey, key, Py_EQ); in set_lookkey()
102 if (table == so->table && entry->key == startkey) { in set_lookkey()
110 return set_lookkey(so, key, hash); in set_lookkey()
121 if (entry->key == NULL) { in set_lookkey()
126 if (entry->key == key) in set_lookkey()
128 if (entry->hash == hash && entry->key != dummy) { in set_lookkey()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Lua/src/
Dltable.c97 static Node *mainposition (const Table *t, const TValue *key) { in mainposition() argument
98 switch (ttype(key)) { in mainposition()
100 return hashnum(t, nvalue(key)); in mainposition()
102 TString *s = rawtsvalue(key); in mainposition()
107 return hashstr(t, rawtsvalue(key)); in mainposition()
110 return hashstr(t, rawtsvalue(key)); in mainposition()
112 return hashboolean(t, bvalue(key)); in mainposition()
114 return hashpointer(t, pvalue(key)); in mainposition()
116 return hashpointer(t, fvalue(key)); in mainposition()
118 return hashpointer(t, gcvalue(key)); in mainposition()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/RegularExpressionDxe/Oniguruma/
Dst.c21 st_data_t key; member
60 #define do_hash(key,table) (unsigned int)(*(table)->type->hash)((key)) argument
61 #define do_hash_bin(key,table) (do_hash(key, table)%(table)->num_bins) argument
220 #define PTR_NOT_EQUAL(table, ptr, hash_val, key) \ argument
221 ((ptr) != 0 && (ptr->hash != (hash_val) || !EQUAL((table), (key), (ptr)->key)))
232 if (PTR_NOT_EQUAL(table, ptr, hash_val, key)) {\
234 while (PTR_NOT_EQUAL(table, ptr->next, hash_val, key)) {\
242 st_lookup(table, key, value) in st_lookup() argument
244 register st_data_t key;
250 hash_val = do_hash(key, table);
[all …]
/device/google/contexthub/util/common/
DJSONObject.h109 if (!getValue(key, &value)) { \
113 bool getFieldType(KEY key, JSONValue::FieldType *type) const { in getFieldType()
119 bool getInt32(KEY key, int32_t *out) const { in getInt32()
124 bool getFloat(KEY key, float *out) const { in getFloat()
129 bool getString(KEY key, AString *out) const { in getString()
134 bool getBoolean(KEY key, bool *out) const { in getBoolean()
139 bool getObject(KEY key, sp<JSONObject> *obj) const { in getObject()
144 bool getArray(KEY key, sp<JSONArray> *obj) const { in getArray()
154 virtual bool getValue(KEY key, JSONValue *value) const = 0;
164 void setValue(const char *key, const JSONValue &value);
[all …]
/device/linaro/bootloader/arm-trusted-firmware/plat/rockchip/rk3399/drivers/dp/
Dcdn_dp.c24 static struct cdn_dp_hdcp_key_1x key; variable
26 int hdcp_handler(struct cdn_dp_hdcp_key_1x *key);
32 memset(&key, 0x00, sizeof(key)); in dp_hdcp_ctrl()
33 hdcp_key_pdata = (uint64_t *)&key; in dp_hdcp_ctrl()
36 if (hdcp_key_pdata == (uint64_t *)(&key + 1)) in dp_hdcp_ctrl()
37 return hdcp_handler(&key); in dp_hdcp_ctrl()
52 if (hdcp_key_pdata < (uint64_t *)&key || in dp_hdcp_store_key()
53 hdcp_key_pdata + 6 > (uint64_t *)(&key + 1)) in dp_hdcp_store_key()

12345678910>>...22