/external/chromium_org/v8/test/mjsunit/ |
H A D | property-object-key.js | 28 var key = { toString: function() { return 'baz'; } } 31 assertEquals(42, object[key]); 32 object[key] = 87; 33 assertEquals(87, object[key]); 34 object[key]++; 35 assertEquals(88, object[key]);
|
/external/chromium_org/v8/test/mjsunit/regress/ |
H A D | regress-push-args-twice.js | 32 for (var key = 0; key != 10; key++) {
|
H A D | regress-1066899.js | 31 for (var key in [0]) {
|
H A D | regress-357103.js | 9 var key = "Huckleberry Finn" + "Tom Sawyer"; variable 11 function f() { o[key] = "Adventures"; }
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/params/ |
H A D | RC2Parameters.java | 8 private byte[] key; field in class:RC2Parameters 12 byte[] key) 14 this(key, (key.length > 128) ? 1024 : (key.length * 8)); 18 byte[] key, 21 this.key = new byte[key.length]; 24 System.arraycopy(key, 0, this.key, 11 RC2Parameters( byte[] key) argument 17 RC2Parameters( byte[] key, int bits) argument [all...] |
H A D | KeyParameter.java | 8 private byte[] key; field in class:KeyParameter 11 byte[] key) 13 this(key, 0, key.length); 17 byte[] key, 21 this.key = new byte[keyLen]; 23 System.arraycopy(key, keyOff, this.key, 0, keyLen); 28 return key; 10 KeyParameter( byte[] key) argument 16 KeyParameter( byte[] key, int keyOff, int keyLen) argument
|
H A D | DESedeParameters.java | 12 byte[] key) 14 super(key); 16 if (isWeakKey(key, 0, key.length)) 18 throw new IllegalArgumentException("attempt to create weak DESede key"); 23 * return true if the passed in key is a DES-EDE weak key. 25 * @param key bytes making up the key 26 * @param offset offset into the byte array the key start 11 DESedeParameters( byte[] key) argument 29 isWeakKey( byte[] key, int offset, int length) argument 51 isWeakKey( byte[] key, int offset) argument [all...] |
/external/ksoap2/ksoap2-base/src/main/java/org/ksoap2/ |
H A D | HeaderProperty.java | 5 * HeaderProperty is a key - value pojo for storing http header properties. 8 private String key; field in class:HeaderProperty 11 public HeaderProperty(String key, String value) { argument 12 this.key = key; 17 return key; 20 public void setKey(String key) { argument 21 this.key = key;
|
/external/chromium_org/chrome/browser/resources/chromeos/login/ |
H A D | screen_context.js | 6 * @fileoverview Implementation of ScreenContext class: key-value storage for 18 function checkKeyIsValid(key) { 19 var keyType = typeof key; 20 require(keyType === 'string', 'Invalid type of key: "' + keyType + '".'); 37 * Returns stored value for |key| or |defaultValue| if key not found in 38 * storage. Throws Error if key not found and |defaultValue| omitted. 40 get: function(key, defaultValue) { 41 checkKeyIsValid(key); 42 if (this.hasKey(key)) { [all...] |
/external/chromium_org/v8/test/mjsunit/es6/regress/ |
H A D | regress-2034.js | 28 var key = {}; 30 Object.preventExtensions(key); 32 // Try querying using frozen key. 33 assertFalse(map.has(key)); 34 assertSame(undefined, map.get(key)); 36 // Try adding using frozen key. 37 map.set(key, 1); 38 assertTrue(map.has(key)); 39 assertSame(1, map.get(key)); 41 // Try deleting using frozen key [all...] |
/external/chromium_org/gpu/command_buffer/common/ |
H A D | thread_local.h | 5 // Functions for allocating and accessing thread local values via key. 28 ThreadLocalKey key; 29 pthread_key_create(&key, NULL); 30 return key; 34 inline void ThreadLocalFree(ThreadLocalKey key) { argument 36 TlsFree(key); 38 pthread_key_delete(key); 42 inline void ThreadLocalSetValue(ThreadLocalKey key, void* value) { argument 44 TlsSetValue(key, value); 46 pthread_setspecific(key, valu 50 ThreadLocalGetValue(ThreadLocalKey key) argument [all...] |
/external/chromium_org/chrome/browser/chromeos/login/auth/ |
H A D | key_unittest.cc | 5 #include "chrome/browser/chromeos/login/auth/key.h" 21 Key key(kPassword); 22 key.SetLabel(kLabel); 23 EXPECT_EQ(Key::KEY_TYPE_PASSWORD_PLAIN, key.GetKeyType()); 24 EXPECT_EQ(kPassword, key.GetSecret()); 25 EXPECT_EQ(kLabel, key.GetLabel()); 27 key.ClearSecret(); 28 EXPECT_EQ(Key::KEY_TYPE_PASSWORD_PLAIN, key.GetKeyType()); 29 EXPECT_TRUE(key.GetSecret().empty()); 30 EXPECT_EQ(kLabel, key [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/src/org/eclipse/releng/ |
H A D | SystemProperty.java | 17 private String key; field in class:SystemProperty 25 System.setProperty(key, value); 26 if (System.getProperty(key).equals(value)) 27 System.out.println("System property "+key+" set to "+System.getProperty(key)); 29 System.out.println("System property "+key+" could not be set. Currently set to "+System.getProperty(key)); 34 return key; 37 public void setKey(String key) { argument 38 this.key [all...] |
/external/chromium_org/base/threading/ |
H A D | thread_local_storage_posix.cc | 13 bool PlatformThreadLocalStorage::AllocTLS(TLSKey* key) { argument 14 return !pthread_key_create(key, 18 void PlatformThreadLocalStorage::FreeTLS(TLSKey key) { argument 19 int ret = pthread_key_delete(key); 23 void* PlatformThreadLocalStorage::GetTLSValue(TLSKey key) { argument 24 return pthread_getspecific(key); 27 void PlatformThreadLocalStorage::SetTLSValue(TLSKey key, void* value) { argument 28 int ret = pthread_setspecific(key, value);
|
/external/qemu/distrib/sdl-1.2.15/test/ |
H A D | testkeys.c | 13 SDLKey key; local 20 for ( key=SDLK_FIRST; key<SDLK_LAST; ++key ) { 21 printf("Key #%d, \"%s\"\n", key, SDL_GetKeyName(key));
|
/external/chromium_org/build/android/pylib/ |
H A D | system_properties.py | 10 System properties are key/value pairs as exposed by adb shell getprop/setprop. 21 def __getitem__(self, key): 22 if self._IsStatic(key): 23 if key not in self._cached_static_properties: 24 self._cached_static_properties[key] = self._GetProperty(key) 25 return self._cached_static_properties[key] 26 return self._GetProperty(key) 28 def __setitem__(self, key, value): 30 self._adb.SendShellCommand('setprop %s "%s"' % (key, valu [all...] |
/external/chromium_org/remoting/webapp/ |
H A D | typecheck.js | 6 * Get the |key| attribute in the given |dict| and verify that it is an 12 * @param {Object.<string,*>} dict The dictionary containing the |key| 13 * @param {string} key The key to typecheck in the |dict|. 14 * @param {Array=} opt_default The value to return if the key is not a bool. 15 * @return {Array} The |key| attribute value as an object. 17 function getArrayAttr(dict, key, opt_default) { 18 var value = /** @type {Array} */ (dict[key]); 21 throw 'Invalid data type for ' + key + 31 * Get the |key| attribut [all...] |
/external/chromium_org/third_party/libsrtp/srtp/crypto/kernel/ |
H A D | key.c | 2 * key.c 4 * key usage limits enforcement 45 #include "key.h" 50 key_limit_set(key_limit_t key, const xtd_seq_num_t s) { argument 58 key->num_left = s; 59 key->state = key_state_normal; 72 key_limit_check(const key_limit_t key) { argument 73 if (key->state == key_state_expired) 79 key_limit_update(key_limit_t key) { argument 81 if (low32(key [all...] |
/external/srtp/crypto/kernel/ |
H A D | key.c | 2 * key.c 4 * key usage limits enforcement 45 #include "key.h" 50 key_limit_set(key_limit_t key, const xtd_seq_num_t s) { argument 58 key->num_left = s; 59 key->state = key_state_normal; 72 key_limit_check(const key_limit_t key) { argument 73 if (key->state == key_state_expired) 79 key_limit_update(key_limit_t key) { argument 81 if (low32(key [all...] |
/external/chromium_org/content/browser/resources/media/ |
H A D | player_info.js | 35 * @param key A String key that describes the property. 38 addProperty: function(timestamp, key, value) { 45 if (typeof key !== 'string') { 46 throw new Error(typeof key + ' is not a valid key type'); 49 this.properties[key] = value; 51 if (!this.pastValues[key]) { 52 this.pastValues[key] = []; 57 key [all...] |
/external/chromium_org/chrome/test/ispy/client/ |
H A D | boto_bucket.py | 24 def __init__(self, key, secret, bucket_name): 25 """Initializes the bucket with a key, secret, and bucket_name. 28 key: the API key to access GS. 33 conn = uri.connect(key, secret) 37 key = boto.gs.key.Key(self.bucket) 38 key.key = path 39 return key [all...] |
/external/chromium_org/native_client_sdk/src/libraries/third_party/pthreads-win32/ |
H A D | pthread_key_delete.c | 42 pthread_key_delete (pthread_key_t key) argument 46 * This function deletes a thread-specific data key. This 47 * does not change the value of the thread specific data key 48 * for any thread and does not run the key's destructor 52 * key 57 * This function deletes a thread-specific data key. This 58 * does not change the value of the thread specific data key 59 * for any thread and does not run the key's destructor 63 * 0 successfully deleted the key, 64 * EINVAL key i [all...] |
/external/chromium_org/third_party/tcmalloc/chromium/src/ |
H A D | maybe_threads.h | 45 int perftools_pthread_key_create(pthread_key_t *key, 47 void *perftools_pthread_getspecific(pthread_key_t key); 48 int perftools_pthread_setspecific(pthread_key_t key, void *val);
|
/external/chromium_org/third_party/tcmalloc/vendor/src/ |
H A D | maybe_threads.h | 45 int perftools_pthread_key_create(pthread_key_t *key, 47 void *perftools_pthread_getspecific(pthread_key_t key); 48 int perftools_pthread_setspecific(pthread_key_t key, void *val);
|
/external/chromium_org/third_party/smhasher/src/ |
H A D | Hashes.h | 12 void sumhash ( const void * key, int len, uint32_t seed, void * out ); 13 void sumhash32 ( const void * key, int len, uint32_t seed, void * out ); 15 void DoNothingHash ( const void * key, int len, uint32_t seed, void * out ); 16 void crc32 ( const void * key, int len, uint32_t seed, void * out ); 18 void randhash_32 ( const void * key, int len, uint32_t seed, void * out ); 19 void randhash_64 ( const void * key, int len, uint32_t seed, void * out ); 20 void randhash_128 ( const void * key, int len, uint32_t seed, void * out ); 25 void md5_32 ( const void * key, int len, uint32_t seed, void * out ); 26 void sha1_32a ( const void * key, int len, uint32_t seed, void * out ); 31 void FNV ( const void * key, in 55 MurmurHash1_test( const void * key, int len, uint32_t seed, void * out ) argument 60 MurmurHash2_test( const void * key, int len, uint32_t seed, void * out ) argument 65 MurmurHash2A_test( const void * key, int len, uint32_t seed, void * out ) argument 70 MurmurHash64A_test( const void * key, int len, uint32_t seed, void * out ) argument 75 MurmurHash64B_test( const void * key, int len, uint32_t seed, void * out ) argument [all...] |