/external/python/cpython3/Include/ |
H A D | sysmodule.h | 13 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 D | RTCPair.h | 30 // 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 D | use_tls_pthread_specific_static.cc | 17 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 D | use_tls_pthread_specific_dynamic.cc | 24 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 D | test_obj_id.c | 29 __u32 key = 0; local 32 value = bpf_map_lookup_elem(&test_map_id, &key);
|
/external/ltp/testcases/kernel/syscalls/keyctl/ |
H A D | keyctl01.c | 21 * 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 D | keyctl03.c | 39 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 D | request_key01.c | 24 * 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 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/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_key_create/ |
H A D | 2-1.c | 10 * 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 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/libchrome/crypto/ |
H A D | ec_private_key.h | 22 // 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 D | rsa_private_key.h | 21 // 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 D | base_paths.cc | 13 bool PathProvider(int key, FilePath* result) { argument 16 switch (key) {
|
/external/syslinux/gpxe/src/hci/ |
H A D | shell_banner.c | 42 int key; local 49 /* Wait for key */ 52 key = getchar(); 53 if ( key == CTRL_B )
|
/external/wpa_supplicant_8/hostapd/src/crypto/ |
H A D | aes-encblock.c | 18 * @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 D | aes-encblock.c | 18 * @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 D | aes-encblock.c | 18 * @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 D | MultiMap.java | 34 /** 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 D | 2007-02-04-AddrLValue.c | 6 char *key; member in struct:__anon2395
|
/external/clang/test/PCH/ |
H A D | objc_container.h | 9 - (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 D | KeyVariableNamer.java | 38 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 D | MissingBindingSuggestions.java | 23 * 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 D | bpf_shared.c | 32 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 D | variant_dictionary.h | 18 // 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
|