Home
last modified time | relevance | path

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

123

/netbsd/external/bsd/elftosb/dist/common/
H A DAESKey.h55 typedef uint8_t key_t[S/8]; typedef
67 AESKey(const key_t & key) in AESKey()
73 AESKey(const key_t * key) in AESKey()
119 inline const key_t & getKey() const { return m_key; } in getKey()
120 inline void getKey(key_t * key) const { memcpy(key, m_key, sizeof(m_key)); } in getKey()
122 inline void setKey(const key_t & key) { memcpy(m_key, &key, sizeof(m_key)); } in setKey()
123 inline void setKey(const key_t * key) { memcpy(m_key, key, sizeof(m_key)); } in setKey()
130 const AESKey<S> & operator = (const key_t & key) { setKey(key); return *this; }
133 operator const key_t & () const { return m_key; }
134 operator const key_t * () const { return m_key; }
[all …]
/netbsd/external/gpl3/gcc/dist/gcc/analyzer/
H A Dsvalue.h197 struct key_t struct
367 struct key_t
474 struct key_t
593 struct key_t
678 struct key_t
772 struct key_t
851 struct key_t
939 struct key_t
1114 struct key_t
1232 struct key_t
[all …]
H A Dregion.h262 struct key_t struct
279 bool operator== (const key_t &other) const argument
569 struct key_t
585 bool operator== (const key_t &other) const
694 struct key_t
696 key_t (const region *parent, tree field)
767 struct key_t
852 struct key_t
936 struct key_t
1028 struct key_t
[all …]
H A Dregion-model-manager.cc330 setjmp_svalue::key_t key (r, type); in get_or_create_setjmp_svalue()
346 poisoned_svalue::key_t key (kind, type); in get_or_create_poisoned_svalue()
367 region_svalue::key_t key (ptr_type, pointee); in get_ptr_svalue()
490 unaryop_svalue::key_t key (type, op, arg); in get_or_create_unaryop()
779 binop_svalue::key_t key (type, op, arg0, arg1); in get_or_create_binop()
1193 compound_svalue::key_t tmp_key (type, &map); in get_or_create_compound_svalue()
1226 conjured_svalue::key_t key (type, stmt, id_reg); in get_or_create_conjured_svalue()
1423 field_region::key_t key (parent, field); in get_field_region()
1544 cast_region::key_t key (original_region, type); in get_cast_region()
1563 frame_region::key_t key (calling_frame, fun); in get_frame_region()
[all …]
H A Danalyzer.h357 typedef typename T::key_t key_t; typedef
359 typedef hash_map<key_t, instance_t *> inner_map_t;
373 T *get (const key_t &k) const in get()
382 void put (const key_t &k, T *instance) in put()
H A Dregion-model.h396 typedef hash_map<poisoned_svalue::key_t,
400 typedef hash_map<setjmp_svalue::key_t,
410 typedef hash_map<unaryop_svalue::key_t,
417 typedef hash_map<sub_svalue::key_t, sub_svalue *> sub_values_map_t;
420 typedef hash_map<repeated_svalue::key_t,
424 typedef hash_map<bits_within_svalue::key_t,
432 typedef hash_map<widening_svalue::key_t,
438 typedef hash_map<compound_svalue::key_t,
442 typedef hash_map<conjured_svalue::key_t,
446 typedef hash_map<asm_output_svalue::key_t,
[all …]
H A Dexploded-graph.h739 class key_t
742 key_t (const worklist &w, exploded_node *enode) in key_t() function
746 bool operator< (const key_t &other) const
751 bool operator== (const key_t &other) const
756 bool operator> (const key_t &other) const
762 static int cmp (const key_t &ka, const key_t &kb);
783 typedef fibonacci_heap<key_t, exploded_node> queue_t;
H A Dconstraint-manager.h117 typedef bounded_ranges key_t; typedef
153 template <> struct default_hash_traits<bounded_ranges::key_t>
154 : public member_function_hash_traits<bounded_ranges::key_t>
H A Ddiagnostic-manager.cc223 : m_queue (key_t (*this, NULL)), in feasible_worklist()
232 m_queue.insert (key_t (*this, fnode), fnode); in add_node()
236 struct key_t struct in ana::feasible_worklist
238 key_t (const feasible_worklist &w, feasible_node *fnode) in key_t() argument
242 bool operator< (const key_t &other) const in operator <() argument
247 bool operator== (const key_t &other) const in operator ==() argument
252 bool operator> (const key_t &other) const in operator >() argument
258 static int cmp (const key_t &ka, const key_t &kb) in cmp() argument
294 typedef fibonacci_heap<key_t, feasible_node> queue_t;
/netbsd/external/gpl3/gdb/dist/gdb/testsuite/gdb.python/
H A Dpy-nested-maps.c23 struct key_t struct
40 struct key_t *keys; argument
69 add_map_element (struct map_t *m, struct key_t k, struct value_t v) in add_map_element()
73 m->keys = malloc (sizeof (struct key_t) * FIXED_MAP_SIZE); in add_map_element()
106 struct key_t k1 = {3, 4}; in main()
107 struct key_t k2 = {4, 5}; in main()
108 struct key_t k3 = {5, 6}; in main()
109 struct key_t k4 = {6, 7}; in main()
110 struct key_t k5 = {7, 8}; in main()
111 struct key_t k6 = {8, 9}; in main()
/netbsd/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.python/
H A Dpy-nested-maps.c23 struct key_t struct
40 struct key_t *keys; argument
69 add_map_element (struct map_t *m, struct key_t k, struct value_t v) in add_map_element()
73 m->keys = malloc (sizeof (struct key_t) * FIXED_MAP_SIZE); in add_map_element()
106 struct key_t k1 = {3, 4}; in main()
107 struct key_t k2 = {4, 5}; in main()
108 struct key_t k3 = {5, 6}; in main()
109 struct key_t k4 = {6, 7}; in main()
110 struct key_t k5 = {7, 8}; in main()
111 struct key_t k6 = {8, 9}; in main()
/netbsd/usr.bin/ipcrm/
H A Dipcrm.c56 static int msgrm(key_t, int);
57 static int shmrm(key_t, int);
58 static int semrm(key_t, int);
74 msgrm(key_t key, int id) in msgrm()
85 shmrm(key_t key, int id) in shmrm()
96 semrm(key_t key, int id) in semrm()
134 result -= msgrm((key_t)0, in msgrmall()
167 result -= shmrm((key_t)0, in shmrmall()
201 result -= semrm((key_t)0, in semrmall()
219 key_t target_key; in main()
[all …]
/netbsd/lib/libc/gen/
H A Dftok.c45 key_t in __weak_alias()
53 return (key_t)-1; in __weak_alias()
55 return (key_t) in __weak_alias()
/netbsd/sys/sys/
H A Dipc.h67 key_t _key; /* user specified msg/sem/shm key */
94 #define IPC_PRIVATE (key_t)0 /* private key */
146 key_t ftok(const char *, int);
/netbsd/tests/kernel/
H A Dt_sysv.c60 key_t get_ftok(int);
91 key_t msgkey, semkey, shmkey;
139 key_t get_ftok(int id) in get_ftok()
144 key_t key; in get_ftok()
160 return (key_t)-1; in get_ftok()
166 ATF_REQUIRE_MSG(key != (key_t)-1, "ftok() failed"); in get_ftok()
204 ATF_REQUIRE_MSG(msgkey != (key_t)-1, "get_ftok failed"); in ATF_TC_BODY()
425 ATF_REQUIRE_MSG(semkey != (key_t)-1, "get_ftok failed"); in ATF_TC_BODY()
631 ATF_REQUIRE_MSG(shmkey != (key_t)-1, "get_ftok failed"); in ATF_TC_BODY()
/netbsd/external/gpl3/gcc.old/dist/gcc/analyzer/
H A Dexploded-graph.h667 class key_t
670 key_t (const worklist &w, exploded_node *enode) in key_t() function
674 bool operator< (const key_t &other) const
679 bool operator== (const key_t &other) const
684 bool operator> (const key_t &other) const
690 static int cmp (const key_t &ka, const key_t &kb);
711 typedef fibonacci_heap<key_t, exploded_node> queue_t;
/netbsd/external/gpl3/gdb/dist/sim/ppc/
H A Dhw_shm.c91 key_t key;
107 shm->key = (key_t) device_find_integer_property(me, "key"); in hw_shm_init_data()
H A Dhw_sem.c96 key_t key;
129 sem->key = (key_t) device_find_integer_property(me, "key"); in hw_sem_init_data()
/netbsd/external/gpl3/gdb.old/dist/sim/ppc/
H A Dhw_shm.c91 key_t key;
107 shm->key = (key_t) device_find_integer_property(me, "key"); in hw_shm_init_data()
H A Dhw_sem.c96 key_t key;
129 sem->key = (key_t) device_find_integer_property(me, "key"); in hw_sem_init_data()
/netbsd/sys/compat/netbsd32/
H A Dnetbsd32_ipc.c192 NETBSD32TOX_UAP(key, key_t); in netbsd32_semget()
270 NETBSD32TOX_UAP(key, key_t); in netbsd32_msgget()
408 NETBSD32TOX_UAP(key, key_t); in netbsd32_shmget()
/netbsd/sys/compat/linux/common/
H A Dlinux_ipccall.c194 SCARG(&bsa, key) = (key_t)SCARG(uap, a1); in linux_semget()
242 SCARG(&bma, key) = (key_t)SCARG(uap, a1); in linux_msgget()
H A Dlinux_shm.h122 syscallarg(key_t) key;
/netbsd/sys/compat/sys/
H A Dipc.h68 key_t key; /* user specified msg/sem/shm key */
/netbsd/tests/lib/libc/gen/
H A Dt_ftok.c65 key_t k1, k2, k3; in ATF_TC_BODY()

123