Searched defs:key (Results 1 - 25 of 130) sorted by relevance

123456

/device/google/marlin/dataservices/datatop/src/
H A Ddatatop_str.h45 * Number of key/val pairs in dictionary.
46 * @var dt_procdict::key
47 * Holds the key that is used to access the value.
49 * Value that the key accesses.
53 char *key[DTOP_DICT_SIZE]; member in struct:dt_procdict
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
H A Drotatingtree.h19 void *key; member in struct:rotating_node_s
25 rotating_node_t* RotatingTree_Get(rotating_node_t **root, void *key);
H A Drotatingtree.c34 if (KEY_LOWER_THAN(node->key, (*root)->key))
44 /* Locate the node with the given key. This is the most complicated
48 RotatingTree_Get(rotating_node_t **root, void *key) argument
54 if (node->key == key)
56 if (KEY_LOWER_THAN(key, node->key))
71 if (node->key == key)
[all...]
/device/google/dragon/audio/hal/
H A Ddictionary.h36 association is identified by a unique string key. Looking up values
45 char ** key ; /** List of string keys */ member in struct:_dictionary_
56 @brief Compute the hash key for a string.
57 @param key Character string to use for key.
62 The key is stored anyway in the struct so that collision can be avoided
63 by comparing the key itself in last resort.
66 unsigned dictionary_hash(const char * key);
96 @param key Key to look for in the dictionary.
97 @param def Default value to return if key no
[all...]
H A Dcras_dsp.c89 void cras_dsp_set_variable(struct cras_dsp_context *ctx, const char *key, argument
92 cras_expr_env_set_variable_string(&ctx->env, key, value);
H A Dcras_dsp_ini.c61 const char *key)
64 snprintf(full_key, sizeof(full_key), "%s:%s", sec_name, key);
96 char key[MAX_PORT_NAME_LENGTH]; local
104 snprintf(key, sizeof(key), "input_%d", i);
105 str = getstring(ini, sec_name, key);
108 snprintf(key, sizeof(key), "output_%d", i);
109 str = getstring(ini, sec_name, key);
115 syslog(LOG_ERR, "empty value for %s:%s", sec_name, key);
60 getstring(struct ini *ini, const char *sec_name, const char *key) argument
[all...]
H A Ddictionary.c29 /** Invalid key token */
78 @brief Compute the hash key for a string.
79 @param key Character string to use for key.
84 The key is stored anyway in the struct so that collision can be avoided
85 by comparing the key itself in last resort.
88 unsigned dictionary_hash(const char * key) argument
94 len = strlen(key);
96 hash += (unsigned)key[i] ;
129 d->key
175 dictionary_get(dictionary * d, const char * key, char * def) argument
221 dictionary_set(dictionary * d, const char * key, const char * val) argument
288 dictionary_unset(dictionary * d, const char * key) argument
[all...]
/device/linaro/bootloader/arm-trusted-firmware/tools/cert_create/include/
H A Dcert.h36 #include "key.h"
60 key_t *key; /* Key to be signed */ member in struct:cert_s
H A Dkey.h42 * One instance of this structure must be created for each key, usually in an
49 char *fn; /* Filename to load/store the key */
50 EVP_PKEY *key; /* Key container */ member in struct:key_s
53 int key_new(key_t *key);
54 int key_load(key_t *key);
55 int key_store(key_t *key);
/device/linaro/bootloader/arm-trusted-firmware/tools/cert_create/src/
H A Dkey.c42 #include "key.h"
49 * Create a new key
51 int key_new(key_t *key) argument
56 /* Create key pair container */
62 /* Generate a new RSA key */
65 key->key = k;
68 printf("Cannot assign RSA key\n");
76 int key_load(key_t *key) argument
81 /* Create key pai
112 key_store(key_t *key) argument
[all...]
/device/linaro/bootloader/edk2/StdLib/LibC/StdLib/
H A DBsearch.c13 equal key.
23 object shall always compare the same way with the key.
82 const void *key,
96 cmp = (*compar)(key, p);
99 if (cmp > 0) { /* key > p: move right */
81 bsearch( const void *key, const void *base0, size_t nmemb, size_t size, int (*compar)(const void *, const void *) ) argument
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/_sqlite/
H A Dcache.h35 PyObject* key; member in struct:_pysqlite_Node
H A Dmicroprotocols.c57 PyObject* key; local
62 key = Py_BuildValue("(OO)", (PyObject*)type, proto);
63 if (!key) {
67 rc = PyDict_SetItem(psyco_adapters, key, cast);
68 Py_DECREF(key);
78 PyObject *adapter, *key; local
85 key = Py_BuildValue("(OO)", (PyObject*)obj->ob_type, proto);
86 if (!key) {
89 adapter = PyDict_GetItem(psyco_adapters, key);
90 Py_DECREF(key);
[all...]
H A Dcache.c29 pysqlite_Node* pysqlite_new_node(PyObject* key, PyObject* data) argument
38 Py_INCREF(key);
39 node->key = key;
52 Py_DECREF(self->key);
118 PyObject* key = args; local
123 node = (pysqlite_Node*)PyDict_GetItem(self->mapping, key);
125 /* an entry for this key already exists in the cache */
162 /* There is no entry for this key in the cache, yet. We'll insert a new
170 if (PyDict_DelItem(self->mapping, self->last->key) !
[all...]
H A Drow.c70 char* key; local
90 key = PyString_AsString(idx);
100 p1 = key;
125 PyErr_SetString(PyExc_IndexError, "No item with that key");
/device/google/contexthub/util/nanotool/
H A Dcalibrationfile.cpp88 bool CalibrationFile::SetSingleAxis(const char *key, int32_t value) { argument
89 json_root_->setInt32(key, value);
93 bool CalibrationFile::SetSingleAxis(const char *key, float value) { argument
94 json_root_->setFloat(key, value);
98 bool CalibrationFile::SetTripleAxis(const char *key, int32_t x, int32_t y, argument
104 json_root_->setArray(key, json_array);
108 bool CalibrationFile::SetFourAxis(const char *key, int32_t x, int32_t y, argument
115 json_root_->setArray(key, json_array);
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Include/
H A Dsetobject.h13 1. Unused: key == NULL
14 2. Active: key != NULL and key != dummy
15 3. Dummy: key == dummy
25 long hash; /* cached hash code for the entry key */
26 PyObject *key; member in struct:__anon2713
52 setentry *(*lookup)(PySetObject *so, PyObject *key, long hash);
88 PyAPI_FUNC(int) PySet_Contains(PyObject *anyset, PyObject *key);
89 PyAPI_FUNC(int) PySet_Discard(PyObject *set, PyObject *key);
90 PyAPI_FUNC(int) PySet_Add(PyObject *set, PyObject *key);
[all...]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Include/
H A Dsetobject.h13 1. Unused: key == NULL
14 2. Active: key != NULL and key != dummy
15 3. Dummy: key == dummy
25 long hash; /* cached hash code for the entry key */
26 PyObject *key; member in struct:__anon3019
52 setentry *(*lookup)(PySetObject *so, PyObject *key, long hash);
88 PyAPI_FUNC(int) PySet_Contains(PyObject *anyset, PyObject *key);
89 PyAPI_FUNC(int) PySet_Discard(PyObject *set, PyObject *key);
90 PyAPI_FUNC(int) PySet_Add(PyObject *set, PyObject *key);
[all...]
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/Pccts/antlr/
H A Dhash.c100 /* Given a table, add 'rec' with key 'key' (add to front of list). return ptr to entry */
103 hash_add( Entry **table, char *key, Entry *rec ) argument
105 hash_add( table, key, rec )
107 char *key;
112 char *p=key;
113 require(table!=NULL && key!=NULL && rec!=NULL, "add: invalid addition");
121 /* Return ptr to 1st entry found in table under key (return NULL if none found) */
124 hash_get( Entry **table, char *key )
126 hash_get( table, key )
[all...]
/device/linaro/bootloader/arm-trusted-firmware/services/std_svc/psci/
H A Dpsci_setup.c69 * to the mpidr (key) at a particular affinity level. The second routine decides
72 static int psci_aff_map_get_idx(unsigned long key, argument
80 * during the binary search then the key has not been found.
92 * where the key is likely to be found. The mpidrs in each node in the
98 if (psci_aff_map[mid].mpidr > key)
99 return psci_aff_map_get_idx(key, min_idx, mid - 1);
100 else if (psci_aff_map[mid].mpidr < key)
101 return psci_aff_map_get_idx(key, mid + 1, max_idx);
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/
H A Dmoduleobject.c110 PyObject *key, *value; local
119 while (PyDict_Next(d, &pos, &key, &value)) {
120 if (value != Py_None && PyString_Check(key)) {
121 char *s = PyString_AsString(key);
125 if (PyDict_SetItem(d, key, Py_None) != 0)
133 while (PyDict_Next(d, &pos, &key, &value)) {
134 if (value != Py_None && PyString_Check(key)) {
135 char *s = PyString_AsString(key);
139 if (PyDict_SetItem(d, key, Py_None) != 0)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/
H A Dmoduleobject.c110 PyObject *key, *value; local
119 while (PyDict_Next(d, &pos, &key, &value)) {
120 if (value != Py_None && PyString_Check(key)) {
121 char *s = PyString_AsString(key);
125 PyDict_SetItem(d, key, Py_None);
132 while (PyDict_Next(d, &pos, &key, &value)) {
133 if (value != Py_None && PyString_Check(key)) {
134 char *s = PyString_AsString(key);
138 PyDict_SetItem(d, key, Py_None);
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/
H A Dthread.c184 Per-thread data ("key") support.
186 Use PyThread_create_key() to create a new key. This is typically shared
219 /* A singly-linked list of struct key objects remembers all the key->value
223 struct key { struct
225 struct key *next;
230 /* The key and its associated value. */
231 int key; member in struct:key
235 static struct key *keyhead = NULL;
240 * If the current thread has a mapping for key, th
261 find_key(int key, void *value) argument
317 PyThread_delete_key(int key) argument
342 PyThread_set_key_value(int key, void *value) argument
358 PyThread_get_key_value(int key) argument
370 PyThread_delete_key_value(int key) argument
[all...]
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/Pccts/support/sym/
H A Dsym.c29 * zzs_add(key,rec)-- Add 'rec' with key 'key' to the symbol table.
30 * zzs_newadd(key) -- create entry; add using 'key' to the symbol table.
31 * zzs_get(key) -- Return pointer to last record entered under 'key'
39 * zzs_keydel(s) -- Unlink the entry associated with key s.
58 * zzs_new(key) -- Create a new record with calloc() of type Sym.
59 * Add 'key' t
164 zzs_add(char *key,Sym rec) argument
187 zzs_get(char *key) argument
242 zzs_keydel(char *key) argument
[all...]
/device/linaro/bootloader/edk2/StdLib/BsdSocketLib/
H A Dgetservent.c148 static char *key = NULL; local
160 if (key)
161 free(key);
162 if ((rv = yp_first(yp_domain, "services.byname", &key, &keylen,
169 lastkey = key;
170 rv = yp_next(yp_domain, "services.byname", key, keylen, &key,

Completed in 465 milliseconds

123456