Home
last modified time | relevance | path

Searched refs:key_t (Results 1 – 25 of 151) sorted by relevance

1234567

/third_party/iowow/src/utils/
Dkbtree.h55 #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/
Dxsi_key.hpp63 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/
Dordered_map.h42 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/
Dscheduler.hpp60 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/
Dmfc.hpp541 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/
Dipcmsg.h54 key_t msgkey; /* the ftok() generated message key */
56 extern key_t msgkey; /* the ftok() generated message key */
62 key_t getipckey();
Dipcsem.h45 key_t semkey; /* an IPC key generated by ftok() */
47 extern key_t semkey; /* an IPC key generated by ftok() */
Dtst_safe_sysv_ipc.h14 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/
Dgraph_shared_memory.h34 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/
Dshmt05.c52 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/
Dlibnewipc.c29 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/
Dsys_shm.c28 {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()
Dsys_sem.c32 {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()
Dsys_ipc.c10 T(key_t) in f()
26 {key_t(*p)(const char*,int) = ftok;} in f()
/third_party/musl/libc-test/src/functionalext/supplement/ipc/
Dftok.c26 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/
Dmsgstress01.c54 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()
Dmsgstress03.c51 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()
Dmsgstress04.c56 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/
Dipc.h31 #define IPC_PRIVATE ((key_t) 0)
33 key_t ftok (const char *, int);
/third_party/musl/ndk_musl_include/sys/
Dipc.h35 #define IPC_PRIVATE ((key_t) 0)
37 key_t ftok (const char *, int);
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/
Dipc.h35 #define IPC_PRIVATE ((key_t) 0)
37 key_t ftok (const char *, int);
/third_party/musl/porting/uniproton/kernel/include/sys/
Dipc.h35 #define IPC_PRIVATE ((key_t) 0)
37 key_t ftok (const char *, int);
/third_party/musl/include/sys/
Dipc.h35 #define IPC_PRIVATE ((key_t) 0)
37 key_t ftok (const char *, int);
/third_party/musl/porting/liteos_m/kernel/include/sys/
Dipc.h35 #define IPC_PRIVATE ((key_t) 0)
37 key_t ftok (const char *, int);
/third_party/musl/porting/liteos_a/kernel/include/sys/
Dipc.h37 #define IPC_PRIVATE ((key_t) 0)
39 key_t ftok (const char *, int);

1234567