Searched defs:key (Results 251 - 275 of 3586) sorted by relevance

<<11121314151617181920>>

/external/libese/apps/weaver/card/src/com/android/weaver/
H A DSlots.java24 * Write the key and value to the identified slot.
27 * @param key Buffer containing the key.
28 * @param keyOffset Offset of the key in the buffer.
32 void write(short slotId, byte[] key, short keyOffset, byte[] value, short valueOffset); argument
37 * This is only successful if the key matches that stored in the slot.
40 * @param key Buffer containing the key.
41 * @param keyOffset Offset of the key in the buffer.
46 byte read(short slotId, byte[] key, shor argument
[all...]
/external/libese/esed/
H A DWeaver.cpp78 Return<WeaverStatus> Weaver::write(uint32_t slotId, const hidl_vec<uint8_t>& key, argument
83 // Validate the key and value sizes
84 if (key.size() != kEseWeaverKeySize) {
85 LOG(ERROR) << "Key size must be " << kEseWeaverKeySize << ", not" << key.size() << " bytes";
102 if (ese_weaver_write(&ws, slotId, key.data(), value.data()) != ESE_APP_RESULT_OK) {
114 Return<void> Weaver::read(uint32_t slotId, const hidl_vec<uint8_t>& key, read_cb _hidl_cb) { argument
117 // Validate the key size
118 if (key.size() != kEseWeaverKeySize) {
119 LOG(ERROR) << "Key size must be " << kEseWeaverKeySize << ", not" << key.size() << " bytes";
138 const int res = ese_weaver_read(&ws, slotId, key
[all...]
/external/libmicrohttpd/doc/examples/
H A Dlogging.c18 print_out_key (void *cls, enum MHD_ValueKind kind, const char *key, argument
21 printf ("%s: %s\n", key, value);
/external/libmicrohttpd/src/microhttpd/
H A Dtsearch.h35 char *key; member in struct:node
/external/libmicrohttpd/src/testcurl/https/
H A Dtest_https_time_out.c106 gnutls_datum_t key; local
132 if (0 != setup_session (&session, &key, &cert, &xcred))
138 teardown_session (session, &key, &cert, xcred);
/external/libmojo/base/android/
H A Dapk_assets.cc36 bool RegisterApkAssetWithFileDescriptorStore(const std::string& key, argument
43 base::FileDescriptorStore::GetInstance().Set(key, base::ScopedFD(asset_fd),
/external/libmojo/mojo/public/cpp/bindings/tests/
H A Dmap_unittest.cc70 String key = kStringIntData[i].string_data; local
75 if (keys2[j] == key) {
92 const char* key = kStringIntData[i].string_data; local
95 map.insert(key, value);
99 EXPECT_TRUE(map.at(key).copied());
100 EXPECT_EQ(value_ptrs[i], map.at(key).ptr());
101 map.at(key).ResetCopied();
118 const char* key = kStringIntData[i].string_data; local
121 map.insert(key, std::move(value));
125 EXPECT_TRUE(map.at(key)
144 const char* key = kStringIntData[i].string_data; local
[all...]
/external/libnl/include/netlink/
H A Dhashtable.h20 uint32_t key; member in struct:nl_hash_node
/external/libvncserver/examples/
H A Dpnmshow24.c16 static void HandleKey(rfbBool down,rfbKeySym key,rfbClientPtr cl) argument
18 if(down && (key==XK_Escape || key=='q' || key=='Q'))
H A Drotate.c67 static void HandleKey(rfbBool down,rfbKeySym key,rfbClientPtr cl) argument
70 if (key==XK_Escape || key=='q' || key=='Q')
72 else if (key == 'r')
74 else if (key == 'R')
76 else if (key == 'f')
78 else if (key == 'F')
/external/libvncserver/libvncserver/
H A Drfbssl_none.c26 struct rfbssl_ctx *rfbssl_init_global(char *key, char *cert) argument
/external/ltp/testcases/kernel/mem/shmt/
H A Dshmt03.c61 key_t key; local
63 key = (key_t) getpid();
68 if ((shmid = shmget(key, 16 * K_1, IPC_CREAT | 0666)) < 0) {
H A Dshmt04.c58 key_t key; variable
72 key = (key_t) getpid();
88 if ((shmid = shmget(key, SIZE, IPC_CREAT | 0666)) < 0) {
155 if ((shmid = shmget(key, SIZE, 0)) < 0) {
H A Dshmt06.c59 key_t key; variable
71 key = (key_t) getpid();
87 if ((shmid = shmget(key, SIZE, IPC_CREAT | 0666)) < 0) {
153 if ((shmid = shmget(key, SIZE, 0)) < 0) {
H A Dshmt09.c76 key_t key; local
78 key = (key_t) getpid();
94 if ((shmid = shmget(key, 10 * K_1, IPC_CREAT | 0666)) < 0) {
/external/ltp/testcases/kernel/syscalls/ipc/lib/
H A Dlibmsgctl.c30 int doreader(long key, int tid, long type, int child, int nreps) argument
36 id = msgget(key, 0);
75 if (verify(buffer.data.pbytes, (key % 255), size - 1, child)) {
76 printf("Verify failed in child %d read # = %d, key = %lx\n",
77 child, (i + 1), key);
81 key++;
86 int dowriter(long key, int tid, long type, int child, int nreps) argument
92 id = msgget(key, 0);
112 fill_buffer(buffer.data.pbytes, (key % 255), size);
116 printf("msgsnd() error in child %d, write # = %d, key
[all...]
/external/ltp/testcases/kernel/syscalls/ipc/libnewipc/
H A Dlibnewipc.c42 key_t key; local
51 key = ftok(buf, id);
52 if (key == -1) {
57 return key;
/external/ltp/testcases/kernel/syscalls/ipc/msgctl/
H A Dmsgctl06.c66 key_t key; local
72 key = getipckey();
73 TEST(msgget(key, IPC_CREAT | IPC_EXCL));
/external/ltp/testcases/kernel/syscalls/ipc/semctl/
H A Dsemctl07.c37 * - Fix concurrency issue. A statically defined key was used. Leading
57 key_t key; variable
163 /* get an IPC resource key */
164 key = getipckey();
167 if ((semid = semget(key, nsems, SEM_RA | IPC_CREAT)) == -1) {
/external/ltp/testcases/kernel/syscalls/keyctl/
H A Dkeyctl02.c22 * checking the validity of a key and the key's semaphore being taken,
23 * then the key type read method will see a revoked key.
25 * This causes a problem for the user-defined key type because it
27 * in a non-revoked key and doesn't check for a NULL pointer.
53 key_serial_t key = (unsigned long)arg; local
56 keyctl(KEYCTL_READ, key, buffer, 4);
63 key_serial_t key = (unsigned long)arg; local
65 keyctl(KEYCTL_REVOKE, key);
73 key_serial_t key; local
[all...]
/external/ltp/testcases/kernel/syscalls/lgetxattr/
H A Dlgetxattr01.c45 static void set_xattr(char *path, char *key, void *value, size_t size) argument
49 res = lsetxattr(path, key, value, size, XATTR_CREATE);
56 tst_brk(TBROK | TERRNO, "lsetxattr(%s) failed", key);
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cancel/
H A D2-2.c41 pthread_key_t key; local
53 rc = pthread_key_create(&key, destructor);
59 rc = pthread_setspecific(key, &value);
65 /* Tell main that the key is created */
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_exit/
H A D3-1.c42 pthread_key_t key; local
46 rc = pthread_key_create(&key, destructor);
52 rc = pthread_setspecific(key, &value);
/external/lzma/CPP/Windows/
H A DRegistry.h22 void Attach(HKEY key) { _object = key; } argument
25 HKEY key = _object; local
27 return key;
/external/mesa3d/src/gallium/auxiliary/translate/
H A Dtranslate_cache.c73 static inline unsigned translate_hash_key_size(struct translate_key *key) argument
76 sizeof(struct translate_element) * (TRANSLATE_MAX_ATTRIBS - key->nr_elements);
80 static inline unsigned create_key(struct translate_key *key) argument
83 unsigned size = translate_hash_key_size(key);
84 /*debug_printf("key size = %d, (els = %d)\n",
85 size, key->nr_elements);*/
86 hash_key = cso_construct_key(key, size);
91 struct translate_key *key)
93 unsigned hash_key = create_key(key);
97 key, sizeo
90 translate_cache_find(struct translate_cache *cache, struct translate_key *key) argument
[all...]

Completed in 801 milliseconds

<<11121314151617181920>>