HomeSort by relevance Sort by last modified time
    Searched refs:key (Results 101 - 125 of 13965) sorted by null

1 2 3 45 6 7 8 91011>>

  /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/
Sinhala.java 61 private static final ExpectedKey SINHALA_ALPHABET_KEY = key(
65 private static final ExpectedKey CURRENCY_RUPEE = key("\u0DBB\u0DD4",
83 key("\u0DD4", moreKey("1")),
85 key("\u0D85", moreKey("2")),
87 key("\u0DD0", moreKey("3")),
89 key("\u0DBB", moreKey("4")),
91 key("\u0D91", moreKey("5")),
93 key("\u0DC4", moreKey("6")),
95 key("\u0DB8", moreKey("7")),
97 key("\u0DC3", moreKey("8"))
    [all...]
PcQwerty.java 42 builder.replaceKeyOfLabel(ROW1_1, key("`", moreKey("~")))
43 .replaceKeyOfLabel(ROW2_11, key("[", moreKey("{")))
44 .replaceKeyOfLabel(ROW2_12, key("]", moreKey("}")))
45 .replaceKeyOfLabel(ROW2_13, key("\\", moreKey("|")))
46 .replaceKeyOfLabel(ROW3_10, key(";", moreKey(":")))
47 .replaceKeyOfLabel(ROW3_11, key("'", joinMoreKeys(additionalMoreKey("\""),
51 .replaceKeyOfLabel(ROW4_8, key(",", moreKey("<")))
52 .replaceKeyOfLabel(ROW4_9, key(".", moreKey(">")))
54 .replaceKeyOfLabel(ROW4_10, key("/", joinMoreKeys("?", "\u00BF")));
59 builder.replaceKeyOfLabel(ROW1_13, key("="
    [all...]
  /external/mesa3d/src/mesa/drivers/dri/i965/
brw_gs.c 48 struct brw_gs_prog_key *key )
58 c.key = *key;
81 switch (key->primitive) {
109 gen6_sol_program(&c, key, num_verts, check_edge_flag);
115 switch (key->primitive) {
117 brw_gs_quads( &c, key );
120 brw_gs_quad_strip( &c, key );
146 &c.key, sizeof(c.key),
241 struct brw_gs_prog_key key; local
    [all...]
  /cts/common/util/src/com/android/compatibility/common/util/
KeyValueArgsParser.java 24 * This class assumed the arguments are in the form "-<key> <value> ..."
32 String key = null; local
34 if (key == null) {
36 throw new RuntimeException("Invalid Key: " + s);
38 key = s;
40 map.put(key, s);
41 key = null;
44 if (key != null) {
45 throw new RuntimeException("Left over key");
  /external/autotest/client/profilers/readprofile/
avgprofile 12 foreach $key (keys %map) {
13 $value = int $map{$key}/5;
14 print "$value $key\n";
  /external/vboot_reference/host/lib/
host_key.c 25 VbPrivateKey* key; local
34 /* Read private key */
37 VBDEBUG(("%s(): Couldn't open key file: %s\n", __FUNCTION__, filename));
43 VBDEBUG(("%s(): Couldn't read private key from file: %s\n", __FUNCTION__,
48 /* Store key and algorithm in our struct */
49 key = (VbPrivateKey*)malloc(sizeof(VbPrivateKey));
50 if (!key) {
54 key->rsa_private_key = rsa_key;
55 key->algorithm = algorithm;
57 /* Return the key */
110 VbPrivateKey *key; local
149 VbPublicKey* key = (VbPublicKey*)malloc(sizeof(VbPublicKey) + key_size); local
162 VbPublicKey* key; local
230 VbPublicKey* key; local
    [all...]
  /frameworks/base/core/java/com/android/internal/app/procstats/
DurationsTable.java 36 final int key = from.getKeyAt(i); local
37 this.addDuration(SparseMappingTable.getIdFromKey(key), from.getValue(key));
48 final int key = getOrAddKey((byte)state, 1); local
49 setValue(key, getValue(key) + value);
54 final int key = getKey((byte)state);
55 if (key != SparseMappingTable.INVALID_KEY) {
56 return getValue(key);
  /frameworks/base/test-runner/src/android/test/
SimpleCache.java 26 protected abstract V load(K key);
28 final V get(K key) {
29 if (map.containsKey(key)) {
30 return map.get(key);
32 V value = load(key);
33 map.put(key, value);
  /frameworks/opt/net/wifi/service/java/com/android/server/wifi/
SystemPropertyService.java 22 public String get(String key, String defaultValue) {
23 return android.os.SystemProperties.get(key, defaultValue);
27 public void set(String key, String val) {
28 android.os.SystemProperties.set(key, val);
32 public boolean getBoolean(String key, boolean defaultValue) {
33 return android.os.SystemProperties.getBoolean(key, defaultValue);
  /packages/apps/Camera2/src/com/android/camera/processing/memory/
LruPool.java 31 * exist once. Different values may be returned for the same key, and there is
32 * no guarantee that adding and then immediately acquiring the same key will
59 void entryEvicted(TKey key, TValue value) { }
62 * Called after a cache miss to compute a value for the corresponding key.
69 TValue create(TKey key) {
74 * Returns the size of the entry for {@code key} and {@code value} in
80 int sizeOf(TKey key, TValue value) {
95 * Maintains individual pools for each distinct key type.
142 * @param key the type of object to retrieve from the pool.
145 public final TValue acquire(TKey key) {
228 TKey key = mLruKeyList.removeLast(); local
    [all...]
  /system/bt/osi/src/
properties.cc 23 int osi_property_get(const char* key, char* value, const char* default_value) {
36 return property_get(key, value, default_value);
40 int osi_property_set(const char* key, const char* value) {
44 return property_set(key, value);
48 int32_t osi_property_get_int32(const char* key, int32_t default_value) {
52 return property_get_int32(key, default_value);
  /system/extras/perfprofd/
configreader.h 26 // key/value pairs. Values come in two flavors: strings, or unsigned
37 unsigned getUnsignedValue(const char *key) const;
38 std::string getStringValue(const char *key) const;
49 void overrideUnsignedEntry(const char *key, unsigned new_value);
52 void addUnsignedEntry(const char *key,
56 void addStringEntry(const char *key, const char *default_value);
58 void parseLine(const char *key, const char *value, unsigned linecount);
  /tools/test/connectivity/acts/framework/acts/libs/config/
schema.py 26 key: The key of the config value this hander manages. This can change
32 self.key = None
35 """Formats the value stored at key from the inner config.
56 value = self.owner.inner.get_value(self.key)
62 def set_inner(self, key, value):
64 return self.owner.inner.set_value(self.key, value)
96 v.key = k
98 def get_value(self, key):
102 key: The key of the data to get
    [all...]
  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowBundle.java 34 public void remove(String key) {
35 map.remove(key);
39 public Object get(String key) {
40 return map.get(key);
44 public void putString(String key, String value) {
45 map.put(key, value);
49 public String getString(String key) {
50 Object value = map.get(key);
55 public String getString(String key, String defaultValue) {
59 Object value = map.get(key);
    [all...]
  /packages/apps/Calendar/tests/src/com/android/calendar/
FakeSharedPreferences.java 38 public boolean contains(String key) {
39 return mValues.containsKey(key);
48 public boolean getBoolean(String key, boolean defValue) {
49 if (mValues.containsKey(key)) {
50 return ((Boolean)mValues.get(key)).booleanValue();
56 public float getFloat(String key, float defValue) {
57 if (mValues.containsKey(key)) {
58 return ((Float)mValues.get(key)).floatValue();
64 public int getInt(String key, int defValue) {
65 if (mValues.containsKey(key)) {
    [all...]
  /packages/apps/Email/tests/src/com/android/email/
MockSharedPreferences.java 42 public boolean contains(String key) {
43 return mValues.containsKey(key);
50 public boolean getBoolean(String key, boolean defValue) {
51 if (mValues.containsKey(key)) {
52 return ((Boolean)mValues.get(key)).booleanValue();
57 public float getFloat(String key, float defValue) {
58 if (mValues.containsKey(key)) {
59 return ((Float)mValues.get(key)).floatValue();
64 public int getInt(String key, int defValue) {
65 if (mValues.containsKey(key)) {
    [all...]
  /external/ImageMagick/MagickCore/
thread.c 73 % CreateMagickThreadKey() creates a thread-specific data key visible to all
78 % MagickThreadKey CreateMagickThreadKey(MagickThreadKey *key)
82 % o key: opaque objects used to locate thread-specific data.
84 % o destructor: associate an optional destructor with each key value.
87 MagickExport MagickBooleanType CreateMagickThreadKey(MagickThreadKey *key,
91 return(pthread_key_create(key,destructor) == 0 ? MagickTrue : MagickFalse);
94 *key=TlsAlloc();
95 return(*key != TLS_OUT_OF_INDEXES ? MagickTrue : MagickFalse);
101 keys=(MagickThreadValue **) key;
132 % DeleteMagickThreadKey() deletes a thread-specific data key
    [all...]
  /external/icu/icu4c/source/tools/ctestfw/unicode/
datamap.h 40 * @param key name of the data field.
43 virtual const UnicodeString getString(const char* key, UErrorCode &status) const = 0;
47 * @param key name of the data field.
50 virtual int32_t getInt(const char* key, UErrorCode &status) const = 0;
54 * @param key name of the data field.
58 virtual int32_t getInt28(const char* key, UErrorCode &status) const = 0;
62 * @param key name of the data field.
66 virtual uint32_t getUInt28(const char* key, UErrorCode &status) const = 0;
71 * @param key name of the data field.
75 virtual const int32_t *getIntVector(int32_t &length, const char *key, UErrorCode &status) const = 0
    [all...]
  /external/toybox/toys/pending/
getfattr.c 36 char *keys, *key; local
55 for (key = keys, key_count = 0; key-keys < keys_len; key += strlen(key)+1)
58 for (key = keys, i = 0; key-keys < keys_len; key += strlen(key)+1)
59 sorted_keys[i++] = key;
    [all...]
  /libcore/ojluni/src/main/java/javax/crypto/spec/
SecretKeySpec.java 34 * This class specifies a secret key in a provider-independent fashion.
41 * a byte array and have no key parameters associated with them, e.g., DES or
55 * The secret key.
59 private byte[] key; field in class:SecretKeySpec
62 * The name of the algorithm associated with this key.
69 * Constructs a secret key from the given byte array.
72 * secret key of the specified algorithm. For example, if the algorithm is
73 * DES, this constructor does not check if <code>key</code> is 8 bytes
76 * <i>key specification</i> class (in this case:
80 * @param key the key material of the secret key. The contents o
    [all...]
  /external/guava/guava-tests/test/com/google/common/util/concurrent/
AtomicLongMapTest.java 71 String key = "key"; local
73 long before = map.get(key);
74 long result = map.incrementAndGet(key);
75 long after = map.get(key);
81 assertTrue(map.containsKey(key));
82 assertEquals(ITERATIONS, (int) map.get(key));
87 String key = "key"; local
88 assertEquals(0L, map.get(key));
104 String key = "key"; local
120 String key = "key"; local
137 String key = "key"; local
153 String key = "key"; local
170 String key = "key"; local
186 String key = "key"; local
203 String key = "key"; local
220 String key = "key"; local
238 String key = "key"; local
255 String key = "key"; local
273 String key = "key"; local
290 String key = "key"; local
331 String key = "key"; local
365 String key = "key"; local
383 String key = "key"; local
401 String key = "key"; local
419 String key = "key"; local
443 String key = "key"; local
462 String key = "key"; local
487 String key = "key"; local
508 Object key = new Object(); local
563 final String key = "key"; local
    [all...]
  /external/guice/extensions/grapher/src/com/google/inject/grapher/
NodeId.java 20 import com.google.inject.Key;
23 * ID of a node in the graph. An ID is given by a {@link Key} and a node type, which is used to
24 * distinguish instances and implementation classes for the same key. For example
26 * interface node with the key of {@code Key<Integer>} and an instance node with the same
27 * {@link Key} and value of 42.
47 private final Key<?> key; field in class:NodeId
50 private NodeId(Key<?> key, NodeType nodeType)
    [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/impl/
CalendarCache.java 40 public synchronized long get(long key) {
41 return values[findIndex(key)];
47 public synchronized void put(long key, long value)
52 int index = findIndex(key);
54 keys[index] = key;
59 private final int findIndex(long key) {
60 int index = hash(key);
63 while (values[index] != EMPTY && keys[index] != key)
66 delta = hash2(key);
96 * Produce a uniformly-distributed hash value from an integer key
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
CalendarCache.java 38 public synchronized long get(long key) {
39 return values[findIndex(key)];
45 public synchronized void put(long key, long value)
50 int index = findIndex(key);
52 keys[index] = key;
57 private final int findIndex(long key) {
58 int index = hash(key);
61 while (values[index] != EMPTY && keys[index] != key)
64 delta = hash2(key);
94 * Produce a uniformly-distributed hash value from an integer key
    [all...]
  /external/mesa3d/src/gallium/tests/unit/
u_cache_test.c 46 cache_test_hash(const void *key)
48 return util_hash_crc32(key, sizeof(cache_test_key));
53 cache_test_destroy(void *key, void *value)
55 free(key);
73 cache_test_key *key; local
88 key = malloc(sizeof(cache_test_key));
89 *key = 0xdeadbeef;
90 value_out = (cache_test_value *) util_cache_get(cache, key);
92 free(key);
99 key = malloc(sizeof(cache_test_key))
    [all...]

Completed in 1001 milliseconds

1 2 3 45 6 7 8 91011>>