/bionic/tests/ |
H A D | sys_sem_test.cpp | 44 key_t key = ftok(dir.dirname, 1); local 45 int id = semget(key, 1, IPC_CREAT|0666);
|
H A D | sys_shm_test.cpp | 44 key_t key = ftok(dir.dirname, 1); local 45 int id = shmget(key, 1234, IPC_CREAT|0666);
|
H A D | sys_msg_test.cpp | 44 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 D | bsearch.c | 62 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 D | tfind.c | 18 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 D | lsearch.c | 44 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 D | tsearch.c | 19 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 D | sys_msg.cpp | 47 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 D | sys_sem.cpp | 52 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 D | sys_shm.cpp | 68 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 D | search.h | 24 char* key; member in struct:node
|
/bionic/libc/kernel/uapi/asm-generic/ |
H A D | ipcbuf.h | 22 __kernel_key_t key; member in struct:ipc64_perm
|
/bionic/libc/upstream-netbsd/lib/libc/resolv/ |
H A D | mtctxres.c | 15 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 D | ipcbuf.h | 22 __kernel_key_t key; member in struct:ipc64_perm
|
/bionic/tools/versioner/current/ |
H A D | search.h | 24 char* key; member in struct:node
|
/bionic/libc/kernel/uapi/linux/netfilter/ |
H A D | nf_conntrack_tuple_common.h | 54 __be16 key; member in struct:nf_conntrack_man_proto::__anon638
|
/bionic/libc/kernel/uapi/rdma/ |
H A D | cxgb3-abi.h | 29 __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 D | cxgb4-abi.h | 25 __u64 key; member in struct:c4iw_create_cq_resp
|
/bionic/libc/versioner-dependencies/common/kernel_uapi/linux/netfilter/ |
H A D | nf_conntrack_tuple_common.h | 54 __be16 key; member in struct:nf_conntrack_man_proto::__anon1711
|
/bionic/libc/versioner-dependencies/common/kernel_uapi/rdma/ |
H A D | cxgb3-abi.h | 29 __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 D | cxgb4-abi.h | 25 __u64 key; member in struct:c4iw_create_cq_resp
|
/bionic/benchmarks/ |
H A D | pthread_benchmark.cpp | 32 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 D | pr.h | 32 __u64 key; member in struct:pr_reservation 54 __u64 key; member in struct:pr_clear
|
/bionic/libc/malloc_debug/ |
H A D | RecordData.h | 161 pthread_key_t key() { return key_; } function in class:RecordData
|
/bionic/libc/versioner-dependencies/common/kernel_uapi/linux/ |
H A D | pr.h | 32 __u64 key; member in struct:pr_reservation 54 __u64 key; member in struct:pr_clear
|