/third_party/iowow/src/utils/ |
D | kbtree.h | 55 #define __KB_INIT(name, key_t) \ argument 60 b->t = ((size - 4 - sizeof(void*)) / (sizeof(void*) + sizeof(key_t)) + 1) >> 1; \ 65 b->off_ptr = 4 + b->n * sizeof(key_t); \ 66 b->ilen = (4 + sizeof(void*) + b->n * (sizeof(void*) + sizeof(key_t)) + 3) >> 2 << 2; \ 97 #define __kb_get_first(key_t, b, ret) do { \ argument 101 (ret) = __KB_KEY(key_t, __x)[0]; \ 104 #define __KB_GET_AUX0(name, key_t, __cmp) \ argument 105 …static inline int __kb_get_aux_##name(const kbnode_t * __restrict x, const key_t * __restrict k, i… 109 if (__cmp(*k, __KB_KEY(key_t, x)[n]) < 0) { \ 114 while (n >= begin && (*rr = __cmp(*k, __KB_KEY(key_t, x)[n])) < 0) --n; \ [all …]
|
/third_party/boost/boost/interprocess/ |
D | xsi_key.hpp | 63 explicit xsi_key(key_t key) in xsi_key() 72 key_t key; in xsi_key() 75 if(((key_t)-1) == key){ in xsi_key() 87 key_t get_key() const in get_key() 92 key_t m_key;
|
/third_party/mindspore/mindspore/core/utils/ |
D | ordered_map.h | 42 using key_t = KeyT; 44 using pair_type = std::pair<key_t, value_t>; 139 std::pair<iterator, bool> add(const key_t &key) { return insert(pair_type{key, ValueT{}}); } in add() 141 ValueT &operator[](const key_t &key) { 155 const ValueT &at(const key_t &key) const { in at() 160 size_type count(const key_t &key) const { in count() 165 iterator find(const key_t &key) { in find() 170 const_iterator find(const key_t &key) const { in find() 194 size_type erase(const key_t &key) { in erase() 213 using key_t = std::shared_ptr<T>; variable [all …]
|
/third_party/boost/boost/sort/common/ |
D | scheduler.hpp | 60 typedef std::thread::id key_t; typedef 61 typedef std::hash <key_t> hash_t; 62 typedef std::equal_to <key_t> equal_t; 64 typedef std::unordered_map <key_t, deque_t, hash_t, 138 key_t th_id = std::this_thread::get_id(); in insert() 162 key_t th_id = std::this_thread::get_id(); in emplace() 197 key_t th_id = std::this_thread::get_id(); in insert_range() 225 key_t th_id = std::this_thread::get_id(); in extract()
|
/third_party/boost/boost/range/ |
D | mfc.hpp | 541 typedef void *key_t; typedef 544 typedef mfc_map_iterator<X, key_t, mapped_t> mutable_iterator; 557 typedef void *key_t; typedef 560 typedef mfc_map_iterator<X, key_t, mapped_t> mutable_iterator; 573 typedef ::CString key_t; typedef 576 typedef mfc_map_iterator<X, key_t, mapped_t> mutable_iterator; 589 typedef ::CString key_t; typedef 592 typedef mfc_map_iterator<X, key_t, mapped_t> mutable_iterator; 615 typedef ::CString key_t; 618 typedef mfc_map_iterator<X, key_t, mapped_t> mutable_iterator; [all …]
|
/third_party/ltp/include/ |
D | ipcmsg.h | 54 key_t msgkey; /* the ftok() generated message key */ 56 extern key_t msgkey; /* the ftok() generated message key */ 62 key_t getipckey();
|
D | ipcsem.h | 45 key_t semkey; /* an IPC key generated by ftok() */ 47 extern key_t semkey; /* an IPC key generated by ftok() */
|
D | tst_safe_sysv_ipc.h | 14 int safe_msgget(const char *file, const int lineno, key_t key, int msgflg); 35 int safe_shmget(const char *file, const int lineno, key_t key, size_t size, 55 int safe_semget(const char *file, const int lineno, key_t key, int nsems,
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/gnn/ |
D | graph_shared_memory.h | 34 explicit GraphSharedMemory(int64_t memory_size, key_t memory_key); 53 key_t memory_key() { return memory_key_; } in memory_key() 62 key_t memory_key_;
|
/third_party/ltp/testcases/kernel/mem/shmt/ |
D | shmt05.c | 52 key_t key[2]; 65 key[0] = (key_t) lrand48(); in main() 66 key[1] = (key_t) lrand48(); in main()
|
/third_party/ltp/libs/libltpnewipc/ |
D | libnewipc.c | 29 key_t getipckey(const char *file, const int lineno) in getipckey() 32 key_t key; in getipckey() 75 key_t probe_key = 0; in probe_free_addr()
|
/third_party/musl/libc-test/src/api/ |
D | sys_shm.c | 28 {int(*p)(key_t,size_t,int) = shmget;} in f() 33 T(key_t) in f() 49 {key_t(*p)(const char*,int) = ftok;} in f()
|
D | sys_sem.c | 32 {int(*p)(key_t,int,int) = semget;} in f() 38 T(key_t) in f() 54 {key_t(*p)(const char*,int) = ftok;} in f()
|
D | sys_ipc.c | 10 T(key_t) in f() 26 {key_t(*p)(const char*,int) = ftok;} in f()
|
/third_party/musl/libc-test/src/functionalext/supplement/ipc/ |
D | ftok.c | 26 key_t result = ftok("/data/tests/libc-test/src/functionalext/supplement/ipc/ftok", 1); in ftok_0100() 37 key_t result = ftok("./test", 1); in ftok_0200()
|
/third_party/ltp/testcases/kernel/syscalls/ipc/msgstress/ |
D | msgstress01.c | 54 static key_t keyarray[MAXNPROCS]; 64 static int dotest(key_t key, int child_process); 133 keyarray[i] = (key_t) rand(); in main() 202 static int dotest(key_t key, int child_process) in dotest()
|
D | msgstress03.c | 51 static key_t keyarray[MAXNPROCS]; 61 static int dotest(key_t key, int child_process); 138 keyarray[i] = (key_t) rand(); in main() 207 static int dotest(key_t key, int child_process) in dotest()
|
D | msgstress04.c | 56 static key_t keyarray[MAXNPROCS]; 69 static int dotest(key_t, int); 149 keyarray[i] = (key_t) lrand48(); in main() 194 key_t key; in dotest_iteration() 261 static int dotest(key_t key, int child_process) in dotest()
|
/third_party/musl/porting/liteos_a_newlib/kernel/include/sys/ |
D | ipc.h | 31 #define IPC_PRIVATE ((key_t) 0) 33 key_t ftok (const char *, int);
|
/third_party/musl/ndk_musl_include/sys/ |
D | ipc.h | 35 #define IPC_PRIVATE ((key_t) 0) 37 key_t ftok (const char *, int);
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/ |
D | ipc.h | 35 #define IPC_PRIVATE ((key_t) 0) 37 key_t ftok (const char *, int);
|
/third_party/musl/porting/uniproton/kernel/include/sys/ |
D | ipc.h | 35 #define IPC_PRIVATE ((key_t) 0) 37 key_t ftok (const char *, int);
|
/third_party/musl/include/sys/ |
D | ipc.h | 35 #define IPC_PRIVATE ((key_t) 0) 37 key_t ftok (const char *, int);
|
/third_party/musl/porting/liteos_m/kernel/include/sys/ |
D | ipc.h | 35 #define IPC_PRIVATE ((key_t) 0) 37 key_t ftok (const char *, int);
|
/third_party/musl/porting/liteos_a/kernel/include/sys/ |
D | ipc.h | 37 #define IPC_PRIVATE ((key_t) 0) 39 key_t ftok (const char *, int);
|