HomeSort by relevance Sort by last modified time
    Searched refs:key (Results 176 - 200 of 4983) sorted by null

1 2 3 4 5 6 78 91011>>

  /external/jmonkeyengine/engine/src/core/com/jme3/asset/
DesktopAssetManager.java 186 public boolean deleteFromCache(AssetKey key){
187 return cache.deleteFromCache(key);
195 public void addToCache(AssetKey key, Object asset){
196 cache.addToCache(key, asset);
199 public AssetInfo locateAsset(AssetKey<?> key){
208 AssetInfo info = handler.tryLocate(key);
210 logger.log(Level.WARNING, "Cannot locate resource: {0}", key);
220 * @param key
223 public <T> T loadAsset(AssetKey<T> key){
224 if (key == null)
266 eventListener.assetDependencyNotFound(handler.getParentKey(), key); local
341 TextureKey key = new TextureKey(name, true); local
348 TextureKey key = new TextureKey(name, flipY); local
    [all...]
  /external/webkit/Source/JavaScriptCore/wtf/
TCPackedCache.h 33 // This file provides a minimal cache that can hold a <key, value> pair
34 // with little if any wasted space. The types of the key and value
42 // must be large enough to hold a partial key and a value packed
47 // some <key, value> pair; the class provides no way to mark a cache
72 // a hash function, H, and use an array indexed by H(key):
73 // void Put(K key, V value) { a_[H(key)] = pair<K, V>(key, value); }
74 // V GetOrDefault(K key, V default) { const pair<K, V> &p = a_[H(key)]; ...
    [all...]
  /hardware/ti/wlan/wl1271/stad/src/Connection_Managment/
keyDeriveCkip.c 35 * \brief WEP broadcast key derivation implementation.
42 * MODULE: WEP broadcast key derivation *
43 * PURPOSE: WEP broadcast key derivation *
67 * CKIP key derivation init function:
69 * - Resets the key material in the system control block
95 * CKIP key derivation function:
96 * - Decodes the key material.
97 * - Distribute the decoded key material to the driver.
101 * I - p - Pointer to the encoded key material.
111 TSecurityKeys key; local
191 TSecurityKeys key; local
    [all...]
  /libcore/luni/src/main/java/java/nio/channels/spi/
AbstractSelectableChannel.java 41 * The collection of key.
82 * Gets this channel's selection key for the specified selector.
86 * @return the selection key for the channel or {@code null} if this channel
91 for (SelectionKey key : keyList) {
92 if (key != null && key.selector() == selector) {
93 return key;
103 * the corresponding selection key is returned. If the channel is not yet
105 * {@code selector} and adds the selection key to this channel's key set
148 SelectionKey key = keyFor(selector); local
    [all...]
  /libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
ExemptionMechanismSpiTest.java 29 import java.security.Key;
66 protected void engineInit(Key key) throws InvalidKeyException, ExemptionMechanismException {
67 super.engineInit(key);
72 protected void engineInit(Key key, AlgorithmParameterSpec params) throws InvalidKeyException, InvalidAlgorithmParameterException, ExemptionMechanismException {
73 super.engineInit(key, params);
78 protected void engineInit(Key key, AlgorithmParameters params) throws InvalidKeyException, InvalidAlgorithmParameterException, ExemptionMechanismException {
79 super.engineInit(key, params)
98 Key key = null; local
    [all...]
  /external/chromium/net/base/
network_change_notifier_mac.cc 29 base::mac::ScopedCFTypeRef<CFStringRef> key(
32 CFArrayAppendValue(notification_keys.get(), key.get());
33 key.reset(SCDynamicStoreKeyCreateNetworkGlobalEntity(
35 CFArrayAppendValue(notification_keys.get(), key.get());
36 key.reset(SCDynamicStoreKeyCreateNetworkGlobalEntity(
38 CFArrayAppendValue(notification_keys.get(), key.get());
51 CFStringRef key = static_cast<CFStringRef>( local
53 if (CFStringHasSuffix(key, kSCEntNetIPv4) ||
54 CFStringHasSuffix(key, kSCEntNetIPv6)) {
58 if (CFStringHasSuffix(key, kSCEntNetInterface))
    [all...]
  /external/compiler-rt/make/
lib_info.mk 18 AvailableModules := $(sort $(foreach key,$(SubDirKeys),\
19 $($(key).ModuleName)))
22 $(foreach key,$(SubDirKeys),\
23 $(call Append,ModuleSubDirKeys.$($(key).ModuleName),$(key)))
25 AvailableArchs := $(sort $(foreach key,$(SubDirKeys),\
26 $($(key).OnlyArchs)))
28 AvailableFunctions := $(sort $(foreach key,$(SubDirKeys),\
29 $(basename $($(key).ObjNames))))
32 $(foreach key,$(ModuleSubDirKeys.builtins),
    [all...]
  /external/dropbear/libtomcrypt/src/pk/ecc/
ecc_export.c 27 Export an ECC key as a binary packet
28 @param out [out] Destination for the key
29 @param outlen [in/out] Max size and resulting size of the exported key
30 @param type The type of key you want to export (PK_PRIVATE or PK_PUBLIC)
31 @param key The key to export
34 int ecc_export(unsigned char *out, unsigned long *outlen, int type, ecc_key *key)
42 LTC_ARGCHK(key != NULL);
45 if (key->type != PK_PRIVATE && type == PK_PRIVATE) {
49 if (ltc_ecc_is_valid_idx(key->idx) == 0)
    [all...]
  /external/guava/guava/src/com/google/common/util/concurrent/
AtomicLongMap.java 20 * {@code K}. If a key has not yet been associated with a value, its implicit value is zero.
64 * Returns the value associated with {@code key}, or zero if there is no value associated with
65 * {@code key}.
67 public long get(K key) {
68 AtomicLong atomic = map.get(key);
73 * Increments by one the value currently associated with {@code key}, and returns the new value.
75 public long incrementAndGet(K key) {
76 return addAndGet(key, 1);
80 * Decrements by one the value currently associated with {@code key}, and returns the new value.
82 public long decrementAndGet(K key) {
    [all...]
  /external/jmonkeyengine/engine/src/core/com/jme3/system/
AppSettings.java 182 for (String key : other.keySet()) {
183 if (get(key) == null) {
184 put(key, other.get(key));
201 String key = (String) entry.getKey(); local
206 if (key.endsWith("(int)")) {
207 key = key.substring(0, key.length() - 5);
209 putInteger(key, iVal)
    [all...]
  /external/llvm/lib/Support/
ThreadLocal.cpp 44 pthread_key_t* key = new pthread_key_t;
45 int errorcode = pthread_key_create(key, NULL);
48 data = (void*)key;
52 pthread_key_t* key = static_cast<pthread_key_t*>(data);
53 int errorcode = pthread_key_delete(*key);
56 delete key;
60 pthread_key_t* key = static_cast<pthread_key_t*>(data);
61 int errorcode = pthread_setspecific(*key, d);
67 pthread_key_t* key = static_cast<pthread_key_t*>(data);
68 return pthread_getspecific(*key);
    [all...]
  /external/openssh/regress/
keygen-change.sh 4 tid="change passphrase for key"
10 # generate user key for agent
11 trace "generating $t key"
12 rm -f $OBJ/$t-key
13 ${SSHKEYGEN} -q -N ${S1} -t $t -f $OBJ/$t-key
15 ${SSHKEYGEN} -p -P ${S1} -N ${S2} -f $OBJ/$t-key > /dev/null
17 fail "ssh-keygen -p failed for $t-key"
20 fail "ssh-keygen for $t-key failed"
22 rm -f $OBJ/$t-key $OBJ/$t-key.pu
    [all...]
  /external/openssl/crypto/des/
dess.cpp 39 des_key_schedule key; local
48 des_encrypt1(&data[0],key,1);
50 des_encrypt1(&data[0],key,1);
51 des_encrypt1(&data[0],key,1);
52 des_encrypt1(&data[0],key,1);
55 des_encrypt1(&data[0],key,1);
56 des_encrypt1(&data[0],key,1);
57 des_encrypt1(&data[0],key,1);
58 des_encrypt1(&data[0],key,1);
60 des_encrypt1(&data[0],key,1)
    [all...]
  /external/webkit/Source/WebCore/history/mac/
HistoryItemMac.mm 45 id HistoryItem::getTransientProperty(const String& key) const
49 return m_transientProperties->get(key).get();
52 void HistoryItem::setTransientProperty(const String& key, id value)
56 m_transientProperties->remove(key);
63 m_transientProperties->set(key, value);
  /external/webkit/Source/WebCore/storage/
Storage.cpp 65 String Storage::key(unsigned index) const function in class:WebCore::Storage
70 return m_storageArea->key(index);
73 String Storage::getItem(const String& key) const
78 return m_storageArea->getItem(key);
81 void Storage::setItem(const String& key, const String& value, ExceptionCode& ec)
87 m_storageArea->setItem(key, value, ec, m_frame);
90 void Storage::removeItem(const String& key)
95 m_storageArea->removeItem(key, m_frame);
106 bool Storage::contains(const String& key) const
111 return m_storageArea->contains(key);
    [all...]
  /external/webkit/Source/WebKit2/UIProcess/mac/
WebPreferencesMac.mm 39 static void setStringValueIfInUserDefaults(const String& identifier, const String& key, WebPreferencesStore& store)
41 id object = [[NSUserDefaults standardUserDefaults] objectForKey:makeKey(identifier, key)];
47 store.setStringValueForKey(key, (NSString *)object);
50 static void setBoolValueIfInUserDefaults(const String& identifier, const String& key, WebPreferencesStore& store)
52 id object = [[NSUserDefaults standardUserDefaults] objectForKey:makeKey(identifier, key)];
58 store.setBoolValueForKey(key, [object boolValue]);
61 static void setUInt32ValueIfInUserDefaults(const String& identifier, const String& key, WebPreferencesStore& store)
63 id object = [[NSUserDefaults standardUserDefaults] objectForKey:makeKey(identifier, key)];
69 store.setUInt32ValueForKey(key, [object intValue]);
72 static void setDoubleValueIfInUserDefaults(const String& identifier, const String& key, WebPreferencesStore& store
    [all...]
  /sdk/monkeyrunner/src/com/android/monkeyrunner/recorder/actions/
PyDictUtilBuilder.java 21 * {'key': 'value'}
34 private void addHelper(String key, String value) {
35 sb.append("'").append(key).append("'");
39 public PyDictUtilBuilder add(String key, int value) {
40 addHelper(key, Integer.toString(value));
44 public PyDictUtilBuilder add(String key, float value) {
45 addHelper(key, Float.toString(value));
49 public PyDictUtilBuilder add(String key, String value) {
50 addHelper(key, "'" + value + "'");
59 public PyDictUtilBuilder addTuple(String key, int x, int y)
    [all...]
  /system/core/include/cutils/
hashmap.h 42 int (*hash)(void* key), bool (*equals)(void* keyA, void* keyB));
50 * Hashes the memory pointed to by key with the given size. Useful for
53 int hashmapHash(void* key, size_t keySize);
56 * Puts value for the given key in the map. Returns pre-existing value if
62 void* hashmapPut(Hashmap* map, void* key, void* value);
65 * Gets a value from the map. Returns NULL if no entry for the given key is
68 void* hashmapGet(Hashmap* map, void* key);
71 * Returns true if the map contains an entry for the given key.
73 bool hashmapContainsKey(Hashmap* map, void* key);
76 * Gets the value for a key. If a value is not found, this function gets a
    [all...]
  /frameworks/base/core/java/com/google/android/mms/util/
AbstractCache.java 37 public boolean put(K key, V value) {
39 Log.v(TAG, "Trying to put " + key + " into cache.");
51 if (key != null) {
54 mCacheMap.put(key, cacheEntry);
57 Log.v(TAG, key + " cached, " + mCacheMap.size() + " items total.");
64 public V get(K key) {
66 Log.v(TAG, "Trying to get " + key + " from cache.");
69 if (key != null) {
70 CacheEntry<V> cacheEntry = mCacheMap.get(key);
74 Log.v(TAG, key + " hit " + cacheEntry.hit + " times.")
    [all...]
  /libcore/luni/src/main/java/org/apache/harmony/security/
SystemScope.java 43 // Identities hash: key is the identity name
46 // Identities hash: key is the public key
90 public synchronized Identity getIdentity(PublicKey key) {
91 if (key == null) {
94 return (Identity) keys.get(key);
110 PublicKey key = identity.getPublicKey(); local
111 if (key != null && keys.containsKey(key)) {
112 throw new KeyManagementException("key '" + key + "' is already used")
140 PublicKey key = identity.getPublicKey(); local
    [all...]
  /external/jmonkeyengine/engine/src/core/com/jme3/scene/
AssetLinkNode.java 65 public AssetLinkNode(ModelKey key) {
66 this(key.getName(), key);
69 public AssetLinkNode(String name, ModelKey key) {
71 assetLoaderKeys.add(key);
77 * @param key
79 public void addLinkedChild(ModelKey key) {
80 if (assetLoaderKeys.contains(key)) {
83 assetLoaderKeys.add(key);
86 public void removeLinkedChild(ModelKey key) {
    [all...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
PointerTracker.java 47 * Get KeyboardActionListener object that is used to register key code and so on.
59 * Get TimerProxy object that handles key repeat and long press timer event for this
61 * @return the TimerProxy object that handles key repeat and long press timer event.
67 public void invalidateKey(Key key);
132 // The current key where this pointer is.
133 private Key mCurrentKey = null;
134 // The position where the current key was recognized for the first time.
145 // true if event is already translated to a key action.
151 // true if this pointer is repeatable key
508 final Key key = getKeyOn(x, y); local
520 Key key = onDownKey(x, y, eventTime); local
561 Key key = onMoveKey(x, y); local
770 final Key key = mKeyDetector.detectHitKey(x, y); local
    [all...]
  /external/dbus/dbus/
dbus-hash.h 70 DBUS_HASH_TWO_STRINGS, /**< Hash key is two strings in one memory block, i.e. foo\\0bar\\0 */
94 void *key,
98 const char *key);
100 const char *key);
102 int key);
104 void *key);
106 uintptr_t key);
108 const char *key);
110 const char *key);
112 int key);
    [all...]
  /external/javassist/src/main/javassist/scopedpool/
SoftValueHashMap.java 34 public Object key; field in class:SoftValueHashMap.SoftValueRef
36 private SoftValueRef(Object key, Object val, ReferenceQueue q) {
38 this.key = key;
41 private static SoftValueRef create(Object key, Object val,
46 return new SoftValueRef(key, val, q);
72 if (ref == (SoftValueRef)hash.get(ref.key)) {
75 hash.remove(ref.key);
139 * Returns the number of key-value mappings in this map. <strong>Note:</strong>
150 * Returns <code>true</code> if this map contains no key-value mappings
    [all...]
  /external/mesa3d/src/mesa/program/
hash_table.c 51 const void *key; member in struct:hash_node
112 hash_table_find(struct hash_table *ht, const void *key)
114 const unsigned hash_value = (*ht->hash)(key);
121 if ((*ht->compare)(hn->key, key) == 0) {
131 hash_table_insert(struct hash_table *ht, void *data, const void *key)
133 const unsigned hash_value = (*ht->hash)(key);
140 node->key = key;
146 hash_table_remove(struct hash_table *ht, const void *key)
    [all...]

Completed in 7238 milliseconds

1 2 3 4 5 6 78 91011>>