Searched refs:key (Results 1 - 25 of 6813) sorted by relevance

1234567891011>>

/external/chromium_org/v8/test/mjsunit/
H A Dproperty-object-key.js28 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 Dregress-push-args-twice.js32 for (var key = 0; key != 10; key++) {
H A Dregress-1066899.js31 for (var key in [0]) {
H A Dregress-357103.js9 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 DRC2Parameters.java8 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 DKeyParameter.java8 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 DDESedeParameters.java12 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 DHeaderProperty.java5 * 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 Dscreen_context.js6 * @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 + '".');
38 * Returns stored value for |key| or |defaultValue| if key not found in
39 * storage. Throws Error if key not found and |defaultValue| omitted.
41 get: function(key, defaultValue) {
42 checkKeyIsValid(key);
43 if (this.hasKey(key)) {
[all...]
/external/chromium_org/v8/test/mjsunit/es6/regress/
H A Dregress-2034.js28 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 Dthread_local.h5 // 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/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/src/org/eclipse/releng/
H A DSystemProperty.java17 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 Dthread_local_storage_posix.cc13 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 Dtestkeys.c13 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 Dsystem_properties.py10 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 Dtypecheck.js6 * 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 Dkey.c2 * 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 Dkey.c2 * 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 Dplayer_info.js35 * @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/chromeos/login/auth/
H A Dkey_unittest.cc5 #include "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/chromium_org/chrome/test/ispy/client/
H A Dboto_bucket.py24 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 Dpthread_key_delete.c42 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/net/android/java/src/org/chromium/net/
H A DAndroidKeyStore.java17 * Returns the public modulus of a given RSA private key as a byte
23 * @param key A PrivateKey instance, must implement RSAKey.
28 byte[] getRSAKeyModulus(AndroidPrivateKey key); argument
31 * Returns the 'Q' parameter of a given DSA private key as a byte
36 * @param key A PrivateKey instance. Must implement DSAKey.
41 byte[] getDSAKeyParamQ(AndroidPrivateKey key); argument
44 * Returns the 'order' parameter of a given ECDSA private key as a
46 * @param key A PrivateKey instance. Must implement ECKey.
51 byte[] getECKeyOrder(AndroidPrivateKey key); argument
58 * @param key
62 getPrivateKeyEncodedBytes(AndroidPrivateKey key) argument
94 rawSignDigestWithPrivateKey(AndroidPrivateKey key, byte[] message) argument
104 getPrivateKeyType(AndroidPrivateKey key) argument
138 getOpenSSLHandleForPrivateKey(AndroidPrivateKey key) argument
151 getOpenSSLEngineForPrivateKey(AndroidPrivateKey key) argument
157 releaseKey(AndroidPrivateKey key) argument
[all...]
/external/chromium_org/third_party/tcmalloc/chromium/src/
H A Dmaybe_threads.h45 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 Dmaybe_threads.h45 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);

Completed in 734 milliseconds

1234567891011>>