/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/params/ |
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 | RC2Parameters.java | 9 byte[] key) 11 this(key, (key.length > 128) ? 1024 : (key.length * 8)); 15 byte[] key, 18 super(key); 8 RC2Parameters( byte[] key) argument 14 RC2Parameters( byte[] key, int bits) 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 64 isRealEDEKey(byte[] key, int offset) argument 75 isReal2Key(byte[] key, int offset) argument 95 isReal3Key(byte[] key, int offset) argument [all...] |
/external/toolchain-utils/crosperf/ |
H A D | config.py | 8 def GetConfig(key): 9 return config.get(key) 12 def AddConfig(key, value): 13 config[key] = value
|
/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/syslinux/com32/cmenu/libmenu/ |
H A D | des.h | 6 extern char *crypt(const char *key, const char *salt);
|
/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/libchrome/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/protobuf/js/commonjs/ |
H A D | export_asserts.js | 26 for (var key in global) { 27 if ((typeof key == "string") && global.hasOwnProperty(key) && 28 shouldExport(key)) { 29 exports[key] = global[key];
|
/external/syslinux/com32/samples/ |
H A D | keytest.c | 16 * Test the key parsing library 30 int key; local 35 key = get_key(stdin, 0); 37 if (key == 0x03) { 40 } else if (key == '!') 43 if (key >= 0x20 && key < 0x100) { 44 putchar(key); 46 printf("[%s,%04x]", key_code_to_name(key), key); 53 int key; local [all...] |
/external/autotest/client/tools/ |
H A D | diffprofile | 15 key = ' '.join(a[start_key:]) 17 results.append((key, count)) 31 for (key, count) in parse_lines(sys.argv[1]): 33 if orig.has_key(key): 34 orig[key] += count 36 orig[key] = count 37 if diff.has_key(key): 38 diff[key] -= count 40 diff[key] = -count 42 for (key, coun [all...] |
/external/vboot_reference/firmware/lib20/ |
H A D | packed_key.c | 12 const uint8_t *vb2_packed_key_data(const struct vb2_packed_key *key) argument 14 return (const uint8_t *)key + key->key_offset; 19 const struct vb2_packed_key *key) 22 key, sizeof(*key), 23 key->key_offset, key->key_size); 26 int vb2_unpack_key(struct vb2_public_key *key, argument 36 /* Make sure passed buffer is big enough for the packed key */ 17 vb2_verify_packed_key_inside(const void *parent, uint32_t parent_size, const struct vb2_packed_key *key) argument [all...] |
/external/autotest/client/site_tests/platform_OSLimits/ |
H A D | platform_OSLimits.py | 22 def get_limit(self, key, path): 27 key: dictionary key of os limit. 35 # will handle it differently. Determine this from the key. 42 if key in multivals: 46 if limits[key] in line: 47 fields = line.split(limits[key]) 138 for key in refpath: 139 osvalue[key] = None 141 for key i [all...] |
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/text/ |
H A D | CollationKey.java | 35 * the key is created, binary comparisons are fast. This approach is 90 final java.text.CollationKey key; field in class:CollationKey 96 this.key = delegate; 154 // * @param key array of bytes that represent the collation order of argument 159 // public CollationKey(String source, byte key[]) 165 // * CollationKey constructor that forces key to release its internal byte 166 // * array for adoption. key will have a null byte array after this 169 // * @param key RawCollationKey object that represents the collation order of 175 // public CollationKey(String source, RawCollationKey key) 189 return key [all...] |
/external/parameter-framework/asio/include/asio/detail/impl/ |
H A D | service_registry.hpp | 26 asio::io_service::service::key key; local 27 init_key(key, Service::id); 28 first_service_->key_ = key; 41 asio::io_service::service::key key; local 42 init_key(key, Service::id); 44 return *static_cast<Service*>(do_use_service(key, factory)); 50 asio::io_service::service::key key; local 58 asio::io_service::service::key key; local 65 init_key(asio::io_service::service::key& key, const asio::detail::service_id<Service>& ) argument [all...] |
/external/parameter-framework/asio-1.10.6/include/asio/detail/impl/ |
H A D | service_registry.hpp | 26 asio::io_service::service::key key; local 27 init_key(key, Service::id); 28 first_service_->key_ = key; 41 asio::io_service::service::key key; local 42 init_key(key, Service::id); 44 return *static_cast<Service*>(do_use_service(key, factory)); 50 asio::io_service::service::key key; local 58 asio::io_service::service::key key; local 65 init_key(asio::io_service::service::key& key, const asio::detail::service_id<Service>& ) argument [all...] |
/external/vogar/src/vogar/ |
H A D | FileCache.java | 26 boolean existsInCache(String key); argument 28 void copyToCache(File source, String key); argument 30 void copyFromCache(String key, File destination); argument
|
/external/toybox/toys/example/ |
H A D | test_scankey.c | 26 int key, x, y; local 44 key = scan_key_getsize(scratch, -1*!!t[0], &width, &height); 49 printf("key=[ESC"); 51 while (0<(key = scan_key_getsize(scratch, 0, &width, &height))) 52 printf("%c", key); 54 } else printf("key=%d ", key); 58 if (key == -2) continue; 59 if (key <= ' ') break; 60 if (key> [all...] |
/external/libchrome/base/posix/ |
H A D | global_descriptors.cc | 14 GlobalDescriptors::Descriptor::Descriptor(Key key, int fd) argument 15 : key(key), fd(fd), region(base::MemoryMappedFile::Region::kWholeFile) { 18 GlobalDescriptors::Descriptor::Descriptor(Key key, argument 21 : key(key), fd(fd), region(region) { 32 int GlobalDescriptors::Get(Key key) const { 33 const int ret = MaybeGet(key); 36 DLOG(FATAL) << "Unknown global descriptor: " << key; 40 int GlobalDescriptors::MaybeGet(Key key) cons 50 Set(Key key, int fd) argument 54 Set(Key key, int fd, base::MemoryMappedFile::Region region) argument [all...] |
/external/toybox/toys/other/ |
H A D | sysctl.c | 20 -N Don't print key values 21 -n Don't print key names 30 static char *split_key(char *key) argument 32 char *value = strchr(key, '='); 44 static void key_error(char *key) argument 47 if (!(toys.optflags & FLAG_e)) error_msg("unknown key '%s'", key); 48 } else perror_msg("key '%s'", key); 51 static int write_key(char *path, char *key, cha argument 69 char *path, *data, *key; local 94 process_key(char *key, char *value) argument 128 char *line = 0, *key, *val; local [all...] |
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/tester/android/content/ |
H A D | TestSharedPreferences.java | 33 public String getString(String key, String defValue) { argument 34 return (String) getValue(key, defValue); 37 private Object getValue(String key, Object defValue) { argument 40 Object value = fileHash.get(key); 49 public int getInt(String key, int defValue) { argument 50 return (Integer) getValue(key, defValue); 54 public long getLong(String key, long defValue) { argument 55 return (Long) getValue(key, defValue); 59 public float getFloat(String key, float defValue) { argument 60 return (Float) getValue(key, defValu 64 getBoolean(String key, boolean defValue) argument 69 contains(String key) argument 103 putString(String key, String value) argument 110 putInt(String key, int value) argument 117 putLong(String key, long value) argument 124 putFloat(String key, float value) argument 131 putBoolean(String key, boolean value) argument 138 remove(String key) argument 176 putStringSet(String key, Set<String> values) argument 182 getStringSet(String key, Set<String> defValues) argument [all...] |
/external/llvm/lib/Support/Unix/ |
H A D | ThreadLocal.inc | 30 pthread_key_t* key = reinterpret_cast<pthread_key_t*>(&data); 31 int errorcode = pthread_key_create(key, nullptr); 37 pthread_key_t* key = reinterpret_cast<pthread_key_t*>(&data); 38 int errorcode = pthread_key_delete(*key); 44 pthread_key_t* key = reinterpret_cast<pthread_key_t*>(&data); 45 int errorcode = pthread_setspecific(*key, d); 51 pthread_key_t* key = reinterpret_cast<pthread_key_t*>(&data); 52 return pthread_getspecific(*key);
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_getspecific/ |
H A D | 3-1.c | 10 * It shall return the thread-specific data value associated with the given 'key'. If no 11 * thread-specific data value is associated with 'key, then the value NULL shall be returned. 15 * 1. Create pthread_key_t object and do no specify a key accociated with this key 28 pthread_key_t key; local 31 if (pthread_key_create(&key, NULL) != 0) { 36 rc = pthread_getspecific(key); 44 if (pthread_key_delete(key) != 0) {
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/builder/ |
H A D | SwitchLabelElement.java | 37 public final int key; field in class:SwitchLabelElement 40 public SwitchLabelElement(int key, @Nonnull Label target) { argument 41 this.key = key;
|
/external/vboot_reference/tests/ |
H A D | rsa_padding_test.c | 17 static void TestSignatures(RSAPublicKey* key) { argument 22 TEST_EQ(RSAVerify(key, signatures[0], RSA1024NUMBYTES, 0, 28 if (RSAVerify(key, signatures[i], RSA1024NUMBYTES, 0, 40 static void TestRSAVerify(RSAPublicKey* key) { argument 43 TEST_EQ(RSAVerify(key, signatures[0], RSA1024NUMBYTES, 0, 45 TEST_EQ(RSAVerify(key, signatures[0], RSA1024NUMBYTES - 1, 0, 47 TEST_EQ(RSAVerify(key, signatures[0], RSA1024NUMBYTES, kNumAlgorithms, 49 TEST_EQ(RSAVerify(key, signatures[0], RSA1024NUMBYTES, 3, 55 TEST_EQ(RSAVerify(key, sig, RSA1024NUMBYTES, 0, test_message_sha1_hash), 0, 60 TEST_EQ(RSAVerify(key, si 67 RSAPublicKey* key; local [all...] |