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

123

/bionic/tests/
H A Dsys_sem_test.cpp44 key_t key = ftok(dir.dirname, 1); local
45 int id = semget(key, 1, IPC_CREAT|0666);
H A Dsys_shm_test.cpp44 key_t key = ftok(dir.dirname, 1); local
45 int id = shmget(key, 1234, IPC_CREAT|0666);
H A Dsys_msg_test.cpp44 key_t key = ftok(dir.dirname, 1); local
45 int id = msgget(key, IPC_CREAT|0666);
/bionic/libc/upstream-netbsd/lib/libc/stdlib/
H A Dbsearch.c62 bsearch(const void *key, const void *base0, size_t nmemb, size_t size, argument
70 _DIAGASSERT(key != NULL);
76 cmp = (*compar)(key, p);
79 if (cmp > 0) { /* key > p: move right */
/bionic/libc/upstream-openbsd/lib/libc/stdlib/
H A Dtfind.c18 char *key; member in struct:node_t
27 char *key = (char *)vkey; local
34 if ((r = (*compar)(key, (*rootp)->key)) == 0) /* T2: */
35 return (*rootp); /* key found */
H A Dlsearch.c44 lsearch(const void *key, void *base, size_t *nelp, size_t width, argument
48 return(linear_base(key, base, nelp, width, compar, 1));
52 lfind(const void *key, const void *base, size_t *nelp, size_t width, argument
55 return(linear_base(key, base, nelp, width, compar, 0));
59 linear_base(const void *key, const void *base, size_t *nelp, size_t width, argument
66 if (!compar(key, element)) /* key found */
69 if (!add_flag) /* key not found */
82 memcpy((void *)end, key, width);
H A Dtsearch.c19 char *key; member in struct:node_t
29 char *key = (char *)vkey; local
37 if ((r = (*compar)(key, (*rootp)->key)) == 0) /* T2: */
43 q = (node *) malloc(sizeof(node)); /* T5: key not found */
46 q->key = key; /* initialize new node */
52 /* delete node with given key */
58 char *key = (char *)vkey; local
66 while ((cmp = (*compar)(key, (*root
[all...]
/bionic/libc/bionic/
H A Dsys_msg.cpp47 int msgget(key_t key, int flags) { argument
49 return syscall(SYS_msgget, key, flags);
51 return syscall(SYS_ipc, MSGGET, key, flags, 0, 0, 0);
H A Dsys_sem.cpp52 int semget(key_t key, int n, int flags) { argument
54 return syscall(SYS_semget, key, n, flags);
56 return syscall(SYS_ipc, SEMGET, key, n, flags, 0, 0);
H A Dsys_shm.cpp68 int shmget(key_t key, size_t size, int flags) { argument
70 return syscall(SYS_shmget, key, size, flags);
72 return syscall(SYS_ipc, SHMGET, key, size, flags, 0, 0);
/bionic/libc/include/
H A Dsearch.h24 char* key; member in struct:node
/bionic/libc/kernel/uapi/asm-generic/
H A Dipcbuf.h22 __kernel_key_t key; member in struct:ipc64_perm
/bionic/libc/upstream-netbsd/lib/libc/resolv/
H A Dmtctxres.c15 static pthread_key_t key; variable
30 * Initialize the TSD key. By doing this at library load time, we're
38 pthread_keycreate_ret = pthread_key_create(&key, __res_destroy_ctx);
67 if (pthread_getspecific(key) != 0) {
79 if ((ret = pthread_setspecific(key, mt)) != 0) {
122 if (((mt = pthread_getspecific(key)) != 0) ||
124 (mt = pthread_getspecific(key)) != 0)) {
/bionic/libc/versioner-dependencies/common/kernel_uapi/asm-generic/
H A Dipcbuf.h22 __kernel_key_t key; member in struct:ipc64_perm
/bionic/tools/versioner/current/
H A Dsearch.h24 char* key; member in struct:node
/bionic/libc/kernel/uapi/linux/netfilter/
H A Dnf_conntrack_tuple_common.h54 __be16 key; member in struct:nf_conntrack_man_proto::__anon638
/bionic/libc/kernel/uapi/rdma/
H A Dcxgb3-abi.h29 __u64 key; member in struct:iwch_create_cq_resp_v0
35 __u64 key; member in struct:iwch_create_cq_resp
44 __u64 key; member in struct:iwch_create_qp_resp
H A Dcxgb4-abi.h25 __u64 key; member in struct:c4iw_create_cq_resp
/bionic/libc/versioner-dependencies/common/kernel_uapi/linux/netfilter/
H A Dnf_conntrack_tuple_common.h54 __be16 key; member in struct:nf_conntrack_man_proto::__anon1711
/bionic/libc/versioner-dependencies/common/kernel_uapi/rdma/
H A Dcxgb3-abi.h29 __u64 key; member in struct:iwch_create_cq_resp_v0
35 __u64 key; member in struct:iwch_create_cq_resp
44 __u64 key; member in struct:iwch_create_qp_resp
H A Dcxgb4-abi.h25 __u64 key; member in struct:c4iw_create_cq_resp
/bionic/benchmarks/
H A Dpthread_benchmark.cpp32 pthread_key_t key; local
33 pthread_key_create(&key, NULL);
36 pthread_getspecific(key);
39 pthread_key_delete(key);
44 pthread_key_t key; local
45 pthread_key_create(&key, NULL);
48 pthread_setspecific(key, NULL);
51 pthread_key_delete(key);
173 pthread_key_t key; local
174 pthread_key_create(&key, NUL
186 pthread_key_t key; local
[all...]
/bionic/libc/kernel/uapi/linux/
H A Dpr.h32 __u64 key; member in struct:pr_reservation
54 __u64 key; member in struct:pr_clear
/bionic/libc/malloc_debug/
H A DRecordData.h161 pthread_key_t key() { return key_; } function in class:RecordData
/bionic/libc/versioner-dependencies/common/kernel_uapi/linux/
H A Dpr.h32 __u64 key; member in struct:pr_reservation
54 __u64 key; member in struct:pr_clear

Completed in 587 milliseconds

123