Searched defs:key (Results 1 - 25 of 3586) sorted by relevance

1234567891011>>

/external/python/cpython3/Include/
H A Dsysmodule.h13 PyAPI_FUNC(PyObject *) _PySys_GetObjectId(_Py_Identifier *key); variable
14 PyAPI_FUNC(int) _PySys_SetObjectId(_Py_Identifier *key, PyObject *);
/external/webrtc/talk/app/webrtc/objc/public/
H A DRTCPair.h30 // A class to hold a key and value.
33 @property(nonatomic, strong, readonly) NSString *key; variable
36 // Initialize a RTCPair object with a key and value.
37 - (id)initWithKey:(NSString *)key value:(NSString *)value;
/external/compiler-rt/test/lsan/TestCases/
H A Duse_tls_pthread_specific_static.cc17 pthread_key_t key; local
19 res = pthread_key_create(&key, NULL);
21 assert(key < PTHREAD_KEY_2NDLEVEL_SIZE);
23 res = pthread_setspecific(key, p);
H A Duse_tls_pthread_specific_dynamic.cc24 pthread_key_t key; local
25 res = pthread_key_create(&key, NULL);
26 assert(key >= PTHREAD_KEY_2NDLEVEL_SIZE);
29 res = pthread_setspecific(key, p);
/external/linux-kselftest/tools/testing/selftests/bpf/
H A Dtest_obj_id.c29 __u32 key = 0; local
32 value = bpf_map_lookup_elem(&test_map_id, &key);
/external/ltp/testcases/kernel/syscalls/keyctl/
H A Dkeyctl01.c21 * Manipulate the kernel's key management facility
35 key_serial_t key; local
43 for (key = INT32_MAX; key > INT32_MIN; key--) {
44 TEST(keyctl(KEYCTL_READ, key));
49 TEST(keyctl(KEYCTL_REVOKE, key));
H A Dkeyctl03.c39 key_serial_t key; local
41 key = add_key("user", "ltptestkey", "a", 1, KEY_SPEC_SESSION_KEYRING);
42 if (key == -1)
43 tst_brk(TBROK, "Failed to add key");
47 TEST(keyctl(KEYCTL_UNLINK, key, KEY_SPEC_SESSION_KEYRING));
/external/ltp/testcases/kernel/syscalls/request_key/
H A Drequest_key01.c24 * request_key(2) asks the kernel to find a key which matches the
35 static int key; variable
46 if (TEST_RETURN != key)
54 key = add_key("keyring", "ltp", NULL, 0, KEY_SPEC_THREAD_KEYRING);
55 if (key == -1)
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_getspecific/
H A D3-1.c10 * 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/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_key_create/
H A D2-1.c10 * Upon key creation, the value NULL shall be associated with the new key in all active threads.
15 * 1. Create a key
28 pthread_key_t key; local
31 /* Verify that the value associated with "key" in a new thread is NULL */
32 rc = pthread_getspecific(key);
38 if (pthread_key_create(&key, NULL) != 0) {
42 /* Verify that the value associated with "key" after it is newly created is
44 rc = pthread_getspecific(key);
/external/syslinux/com32/samples/
H A Dkeytest.c16 * 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/libchrome/crypto/
H A Dec_private_key.h22 // Encapsulates an elliptic curve (EC) private key. Can be used to generate new
23 // keys, export keys to other formats, or to extract a public key.
25 // (The difference in types of key() and public_key() make this a little
32 // The created key will use the NIST P-256 curve.
36 // Create a new instance by importing an existing private key. The format is
42 // Creates a new instance by importing an existing key pair.
43 // The key pair is given as an ASN.1-encoded PKCS #8 EncryptedPrivateKeyInfo
56 EVP_PKEY* key() { return key_.get(); } function in class:crypto::ECPrivateKey
58 // Exports the private key to a PKCS #8 PrivateKeyInfo block.
61 // Exports the private key a
[all...]
H A Drsa_private_key.h21 // Encapsulates an RSA private key. Can be used to generate new keys, export
22 // keys to other formats, or to extract a public key.
31 // Create a new instance by importing an existing private key. The format is
38 // reference to it. |key| must be an RSA key. Returns NULL on
40 static std::unique_ptr<RSAPrivateKey> CreateFromKey(EVP_PKEY* key);
42 EVP_PKEY* key() { return key_.get(); } function in class:crypto::RSAPrivateKey
47 // Exports the private key to a PKCS #8 PrivateKeyInfo block.
50 // Exports the public key to an X509 SubjectPublicKeyInfo block.
/external/libmojo/base/
H A Dbase_paths.cc13 bool PathProvider(int key, FilePath* result) { argument
16 switch (key) {
/external/syslinux/gpxe/src/hci/
H A Dshell_banner.c42 int key; local
49 /* Wait for key */
52 key = getchar();
53 if ( key == CTRL_B )
/external/wpa_supplicant_8/hostapd/src/crypto/
H A Daes-encblock.c18 * @key: Key for AES
23 int aes_128_encrypt_block(const u8 *key, const u8 *in, u8 *out) argument
26 ctx = aes_encrypt_init(key, 16);
/external/wpa_supplicant_8/src/crypto/
H A Daes-encblock.c18 * @key: Key for AES
23 int aes_128_encrypt_block(const u8 *key, const u8 *in, u8 *out) argument
26 ctx = aes_encrypt_init(key, 16);
/external/wpa_supplicant_8/wpa_supplicant/src/crypto/
H A Daes-encblock.c18 * @key: Key for AES
23 int aes_128_encrypt_block(const u8 *key, const u8 *in, u8 *out) argument
26 ctx = aes_encrypt_init(key, 16);
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/misc/
H A DMultiMap.java34 /** A hash table that maps a key to a list of elements not just a single. */
36 public void map(K key, V value) { argument
37 List<V> elementsForKey = get(key);
40 super.put(key, elementsForKey);
/external/clang/test/CodeGen/
H A D2007-02-04-AddrLValue.c6 char *key; member in struct:__anon2395
/external/clang/test/PCH/
H A Dobjc_container.h9 - (id)objectForKeyedSubscript:(id)key;
10 - (void)setObject:(id)object forKeyedSubscript:(id)key;
20 id key; local
22 oldObject = dictionary[key];
24 dictionary[key] = newObject;
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/
H A DKeyVariableNamer.java38 public String apply(Key key) { argument
41 if (key.qualifier().isPresent()) {
43 builder.append(key.qualifier().get().getAnnotationType().asElement().getSimpleName());
46 key.type().accept(new SimpleTypeVisitor6<Void, StringBuilder>() {
H A DMissingBindingSuggestions.java23 * Utility code that looks for bindings matching a key in all subcomponents in a binding graph so
25 * subgraph. If a binding matching a key exists in a sub- or sibling component, that is often what
31 * {@code key}.
33 static ImmutableList<String> forKey(BindingGraph topLevelGraph, BindingKey key) { argument
40 ResolvedBindings bindings = graph.resolvedBindings().get(key);
44 resolutions.add("A binding with matching key exists in component: "
/external/iproute2/examples/bpf/
H A Dbpf_shared.c32 int key = 0, *val; local
34 val = map_lookup_elem(&map_sh, &key);
44 int key = 0, *val; local
46 val = map_lookup_elem(&map_sh, &key);
/external/libbrillo/brillo/
H A Dvariant_dictionary.h18 // GetVariantValueOrDefault tries to retrieve the named key from the dictionary
23 const std::string& key) {
24 VariantDictionary::const_iterator it = dictionary.find(key);
22 GetVariantValueOrDefault(const VariantDictionary& dictionary, const std::string& key) argument

Completed in 536 milliseconds

1234567891011>>