HomeSort by relevance Sort by last modified time
    Searched refs:key (Results 251 - 275 of 15685) sorted by null

<<11121314151617181920>>

  /system/update_engine/scripts/update_payload/
histogram.py 15 This object serves the sole purpose of formatting (key, val) pairs as an
34 data: list of (key, count) pairs constituting the histogram
42 self.max_key_len = max([len(str(key)) for key, count in self.data])
43 self.total = sum([count for key, count in self.data])
49 This simply converts a mapping from names to counts into a list of (key,
66 namer = lambda key: key_names[key]
68 namer = lambda key: key
    [all...]
  /frameworks/base/core/java/android/os/
Bundle.java 172 * Make a Bundle for a single key/value pair.
176 public static Bundle forPair(String key, String value) {
178 b.putString(key, value);
271 * Removes any entry with the given key from the mapping of this Bundle.
273 * @param key a String key
275 public void remove(String key) {
276 super.remove(key);
435 * any existing value for the given key.
437 * @param key a String, or nul
    [all...]
  /external/google-breakpad/src/common/
simple_string_dictionary.h 52 // The template parameters control the amount of storage used for the key,
65 // An Entry object is a single entry in the map. If the key is a 0-length
68 char key[KeySize]; member in struct:google_breakpad::NonAllocatingMap::Entry
72 return key[0] != '\0';
131 // Returns the number of active key/value pairs. The upper limit for this
143 // Given |key|, returns its corresponding |value|. |key| must not be NULL. If
144 // the key is not found, NULL is returned.
145 const char* GetValueForKey(const char* key) const {
146 assert(key);
    [all...]
  /device/linaro/bootloader/arm-trusted-firmware/tools/cert_create/include/
key.h 23 /* Supported key algorithms */
37 * One instance of this structure must be created for each key, usually in an
42 int id; /* Key id */
43 const char *opt; /* Command line option to specify a key */
45 const char *desc; /* Key description (debug purposes) */
46 char *fn; /* Filename to load/store the key */
47 EVP_PKEY *key; /* Key container */ member in struct:key_s
53 int key_new(key_t *key);
54 int key_create(key_t *key, int type)
    [all...]
  /external/clang/test/PCH/
objc_container.h 9 - (id)objectForKeyedSubscript:(id)key;
10 - (void)setObject:(id)object forKeyedSubscript:(id)key;
20 id key; local
22 oldObject = dictionary[key];
24 dictionary[key] = newObject;
  /external/dhcpcd-6.8.2/test/
test_hmac_md5.c 52 uint8_t key[16]; local
57 key[i] = 0x0b;
58 hmac_md5(text, 8, key, 16, hmac);
68 const uint8_t key[] = "Jefe"; local
71 hmac_md5(text, 28, key, 4, hmac);
81 uint8_t key[16]; local
88 key[i] = 0xaa;
89 hmac_md5(text, 50, key, 16, hmac);
99 uint8_t key[25]; local
106 key[i] = (uint8_t)(i + 1)
117 uint8_t key[16]; local
133 uint8_t key[80]; local
149 uint8_t key[80]; local
    [all...]
  /external/guava/guava/src/com/google/common/collect/
ImmutableEntry.java 31 final K key; field in class:ImmutableEntry
34 ImmutableEntry(@Nullable K key, @Nullable V value) {
35 this.key = key;
40 return key;
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/normalizer/
IntHashtable.java 25 public void put(int key, int value) {
27 table.remove(new Integer(key));
29 table.put(new Integer(key), new Integer(value));
33 public int get(int key) {
34 Integer value = table.get(new Integer(key));
IntStringHashtable.java 25 public void put(int key, String value) {
27 table.remove(new Integer(key));
29 table.put(new Integer(key), value);
33 public String get(int key) {
34 String value = table.get(new Integer(key));
LongHashtable.java 24 public void put(long key, int value) {
26 table.remove(new Long(key));
28 table.put(new Long(key), new Integer(value));
32 public int get(long key) {
33 Integer value = table.get(new Long(key));
  /external/kmod/shared/
hash.h 15 int hash_add(struct hash *hash, const char *key, const void *value);
16 int hash_add_unique(struct hash *hash, const char *key, const void *value);
17 int hash_del(struct hash *hash, const char *key);
18 void *hash_find(const struct hash *hash, const char *key);
21 bool hash_iter_next(struct hash_iter *iter, const char **key,
  /external/libdrm/amdgpu/
util_hash_table.h 55 util_hash_table_create(unsigned (*hash)(void *key),
59 util_hash_table_set(struct util_hash_table *ht, void *key, void *value);
61 drm_private void *util_hash_table_get(struct util_hash_table *ht, void *key);
63 drm_private void util_hash_table_remove(struct util_hash_table *ht, void *key);
68 void (*callback)(void *key, void *value, void *data),
  /external/mesa3d/src/gallium/auxiliary/util/
u_hash_table.h 59 util_hash_table_create(unsigned (*hash)(void *key),
65 void *key,
70 void *key);
75 void *key);
85 (void *key, void *value, void *data),
  /external/skia/include/private/
GrSwizzle.h 55 void setFromKey(uint8_t key) {
56 fKey = key;
58 fSwiz[i] = IToC(key & 3);
59 key >>= 2;
68 /** Compact representation of the swizzle suitable for a key. */
77 uint32_t key = fKey; local
79 idx = (key & 3);
81 key >>= 2;
82 idx = (key & 3);
84 key >>= 2
96 uint32_t key = fKey; local
    [all...]
  /external/skqp/include/private/
GrSwizzle.h 55 void setFromKey(uint8_t key) {
56 fKey = key;
58 fSwiz[i] = IToC(key & 3);
59 key >>= 2;
68 /** Compact representation of the swizzle suitable for a key. */
77 uint32_t key = fKey; local
79 idx = (key & 3);
81 key >>= 2;
82 idx = (key & 3);
84 key >>= 2
96 uint32_t key = fKey; local
    [all...]
  /external/v8/src/parsing/
duplicate-finder.h 19 bool AddOneByteSymbol(Vector<const uint8_t> key);
20 bool AddTwoByteSymbol(Vector<const uint16_t> key);
23 bool AddSymbol(Vector<const uint8_t> key, bool is_one_byte);
24 // Backs up the key and its length in the backing store.
27 // followed by the bytes of the key.
28 uint8_t* BackupKey(Vector<const uint8_t> key, bool is_one_byte);
36 static uint32_t Hash(Vector<const uint8_t> key, bool is_one_byte);
  /frameworks/av/camera/include/camera/
CameraParameters2.h 41 void set(const char *key, const char *value);
42 void set(const char *key, int value);
43 void setFloat(const char *key, float value);
44 // Look up string value by key.
45 // -- The string remains valid until the next set/remove of the same key,
47 const char *get(const char *key) const;
48 int getInt(const char *key) const;
49 float getFloat(const char *key) const;
58 // * NAME_NOT_FOUND - if either key has not been set previously
64 void remove(const char *key);
    [all...]
  /libcore/dom/src/test/java/org/w3c/domts/
UserDataNotification.java 23 private final String key; field in class:UserDataNotification
33 String key,
38 this.key = key;
54 * Gets value of key parameter
56 * @return value of key parameter
59 return key;
  /libcore/ojluni/src/main/java/java/util/prefs/
PreferenceChangeEvent.java 48 * Key of the preference that changed.
52 private String key; field in class:PreferenceChangeEvent
65 * @param key The key of the preference that was changed.
69 public PreferenceChangeEvent(Preferences node, String key,
72 this.key = key;
86 * Returns the key of the preference that was changed.
88 * @return The key of the preference that was changed.
91 return key;
    [all...]
  /libcore/ojluni/src/main/java/sun/util/locale/
LocaleObjectCache.java 51 public V get(K key) {
55 CacheEntry<K, V> entry = map.get(key);
60 V newVal = createObject(key);
61 // make sure key is normalized *after* the object creation
62 // so that newVal is assured to be created from a valid key.
63 key = normalizeKey(key);
64 if (key == null || newVal == null) {
65 // subclass must return non-null key/value object
69 CacheEntry<K, V> newEntry = new CacheEntry<>(key, newVal, queue)
106 private K key; field in class:LocaleObjectCache.CacheEntry
    [all...]
  /packages/apps/Messaging/tests/src/com/android/messaging/util/
FakeBugleGservices.java 31 public long getLong(final String key, final long defaultValue) {
36 public int getInt(final String key, final int defaultValue) {
41 public boolean getBoolean(final String key, final boolean defaultValue) {
46 public String getString(final String key, final String defaultValue) {
51 public float getFloat(String key, float defaultValue) {
  /external/ltp/testcases/kernel/syscalls/keyctl/
keyctl02.c 22 * checking the validity of a key and the key's semaphore being taken,
23 * then the key type read method will see a revoked key.
25 * This causes a problem for the user-defined key type because it
27 * in a non-revoked key and doesn't check for a NULL pointer.
53 key_serial_t key = (unsigned long)arg; local
56 keyctl(KEYCTL_READ, key, buffer, 4);
63 key_serial_t key = (unsigned long)arg; local
65 keyctl(KEYCTL_REVOKE, key);
73 key_serial_t key; local
    [all...]
  /external/vboot_reference/firmware/2lib/
2rsa.c 7 * Implementation of RSA signature verification which uses a pre-processed key
9 * multiple RSA key lengths and hash digest algorithms.
20 static void subM(const struct vb2_public_key *key, uint32_t *a)
24 for (i = 0; i < key->arrsize; ++i) {
25 A += (uint64_t)a[i] - key->n[i];
34 int vb2_mont_ge(const struct vb2_public_key *key, uint32_t *a)
37 for (i = key->arrsize; i;) {
39 if (a[i] < key->n[i])
41 if (a[i] > key->n[i])
50 static void montMulAdd(const struct vb2_public_key *key,
    [all...]
  /external/webp/src/utils/
color_cache_utils.h 40 const VP8LColorCache* const cc, uint32_t key) {
41 assert((key >> cc->hash_bits_) == 0u);
42 return cc->colors_[key];
46 uint32_t key, uint32_t argb) {
47 assert((key >> cc->hash_bits_) == 0u);
48 cc->colors_[key] = argb;
53 const int key = VP8LHashPix(argb, cc->hash_shift_); local
54 cc->colors_[key] = argb;
62 // Return the key if cc contains argb, and -1 otherwise.
65 const int key = VP8LHashPix(argb, cc->hash_shift_) local
    [all...]
  /frameworks/support/recyclerview-selection/src/androidTest/java/androidx/recyclerview/selection/testing/
TestSelectionObserver.java 42 public void onItemStateChanged(K key, boolean selected) {
44 assertNotSelected(key);
45 mSelected.add(key);
47 assertSelected(key);
48 mSelected.remove(key);
76 void assertSelected(K key) {
77 assertTrue(key + " is not selected.", mSelected.contains(key));
80 void assertNotSelected(K key) {
81 assertFalse(key + " is already selected", mSelected.contains(key))
    [all...]

Completed in 434 milliseconds

<<11121314151617181920>>