Home
last modified time | relevance | path

Searched refs:elem (Results 1 – 16 of 16) sorted by relevance

/openssl/include/internal/
H A Dlist.h75 ossl_list_##name##_init_elem(type *elem) \
77 memset(&elem->ossl_list_ ## name, 0, \
78 sizeof(elem->ossl_list_ ## name)); \
105 ossl_list_##name##_next(const type *elem) \
107 assert(elem->ossl_list_ ## name.next == NULL \
108 || elem->ossl_list_ ## name.next \
109 ->ossl_list_ ## name.prev == elem); \
110 return elem->ossl_list_ ## name.next; \
113 ossl_list_##name##_prev(const type *elem) \
115 assert(elem->ossl_list_ ## name.prev == NULL \
[all …]
H A Dpriority_queue.h50 ctype *data, size_t *elem) \
52 return ossl_pqueue_push((OSSL_PQUEUE *)pq, (void *)data, elem); \
66 size_t elem) \
68 return (type *)ossl_pqueue_remove((OSSL_PQUEUE *)pq, elem); \
83 int ossl_pqueue_push(OSSL_PQUEUE *pq, void *data, size_t *elem);
86 void *ossl_pqueue_remove(OSSL_PQUEUE *pq, size_t elem);
/openssl/test/
H A Dlist_test.c35 TESTL elem[20]; in test_fizzbuzz() local
36 const int nelem = OSSL_NELEM(elem); in test_fizzbuzz()
48 elem[i].n = i; in test_fizzbuzz()
99 INTL elem[20]; in test_insert() local
106 elem[i].n = i; in test_insert()
112 ossl_list_int_insert_before(&l, elem + 6, elem + 5); /* 3 5 6 */ in test_insert()
113 ossl_list_int_insert_before(&l, elem + 3, elem + 1); /* 1 3 5 6 */ in test_insert()
114 ossl_list_int_insert_after(&l, elem + 1, elem + 2); /* 1 2 3 5 6 */ in test_insert()
115 ossl_list_int_insert_after(&l, elem + 6, elem + 7); /* 1 2 3 5 6 7 */ in test_insert()
116 ossl_list_int_insert_after(&l, elem + 3, elem + 4); /* 1 2 3 4 5 6 7 */ in test_insert()
[all …]
/openssl/crypto/property/
H A Ddefn_cache.c45 static void property_defn_free(PROPERTY_DEFN_ELEM *elem) in property_defn_free() argument
47 ossl_property_free(elem->defn); in property_defn_free()
48 OPENSSL_free(elem); in property_defn_free()
68 PROPERTY_DEFN_ELEM elem, *r; in ossl_prop_defn_get() local
76 elem.prop = prop; in ossl_prop_defn_get()
77 r = lh_PROPERTY_DEFN_ELEM_retrieve(property_defns, &elem); in ossl_prop_defn_get()
92 PROPERTY_DEFN_ELEM elem, *old, *p = NULL; in ossl_prop_defn_set() local
107 elem.prop = prop; in ossl_prop_defn_set()
109 lh_PROPERTY_DEFN_ELEM_delete(property_defns, &elem); in ossl_prop_defn_set()
113 if ((p = lh_PROPERTY_DEFN_ELEM_retrieve(property_defns, &elem)) != NULL) { in ossl_prop_defn_set()
H A Dproperty.c211 static void impl_cache_free(QUERY *elem) in impl_cache_free() argument
213 if (elem != NULL) { in impl_cache_free()
214 ossl_method_free(&elem->method); in impl_cache_free()
215 OPENSSL_free(elem); in impl_cache_free()
839 QUERY elem, *r; in ossl_method_store_cache_get() local
851 elem.query = prop_query; in ossl_method_store_cache_get()
852 elem.provider = prov; in ossl_method_store_cache_get()
853 r = lh_QUERY_retrieve(alg->cache, &elem); in ossl_method_store_cache_get()
870 QUERY elem, *old, *p = NULL; in ossl_method_store_cache_set() local
890 elem.query = prop_query; in ossl_method_store_cache_set()
[all …]
/openssl/ssl/
H A Dpriority_queue.c72 assert(pq->elements[elem].used)
75 # define ASSERT_ELEM_USED(pq, elem) argument
216 if (elem != NULL) in ossl_pqueue_push()
217 *elem = m; in ossl_pqueue_push()
233 size_t elem; in ossl_pqueue_pop() local
240 elem = pq->heap->index; in ossl_pqueue_pop()
248 pq->freelist = elem; in ossl_pqueue_pop()
250 pq->elements[elem].used = 0; in ossl_pqueue_pop()
262 ASSERT_ELEM_USED(pq, elem); in ossl_pqueue_remove()
263 n = pq->elements[elem].posn; in ossl_pqueue_remove()
[all …]
H A Dssl_conf.c160 static int ssl_set_option_list(const char *elem, int len, void *usr) in ssl_set_option_list() argument
170 if (elem == NULL) in ssl_set_option_list()
173 if (*elem == '+') { in ssl_set_option_list()
174 elem++; in ssl_set_option_list()
177 } else if (*elem == '-') { in ssl_set_option_list()
178 elem++; in ssl_set_option_list()
184 if (ssl_match_option(cctx, tbl, elem, len, onoff)) in ssl_set_option_list()
H A Dt1_lib.c1054 if (elem == NULL) in gid_cb()
1057 while (((elem[0] == '-' && !remove_group) || (elem[0] == '?' && !ignore_unknown)) in gid_cb()
1059 if (elem[0] == '-') { in gid_cb()
1061 ++elem; in gid_cb()
1064 if (elem[0] == '?') { in gid_cb()
1066 ++elem; in gid_cb()
1116 memcpy(etmp, elem, len); in gid_cb()
3030 if (elem == NULL) in sig_cb()
3032 if (elem[0] == '?') { in sig_cb()
3034 ++elem; in sig_cb()
[all …]
H A Dssl_ciph.c1279 static int ciphersuite_cb(const char *elem, int len, void *arg) in ciphersuite_cb() argument
1290 memcpy(name, elem, len); in ciphersuite_cb()
/openssl/doc/internal/man3/
H A DDEFINE_LIST_OF.pod25 void ossl_list_TYPE_init_elem(type *elem);
32 type *ossl_list_TYPE_next(const type *elem);
33 type *ossl_list_TYPE_prev(const type *elem);
35 void ossl_list_TYPE_remove(OSSL_LIST(name) *list, type *elem);
36 void ossl_list_TYPE_insert_head(OSSL_LIST(name) *list, type *elem);
37 void ossl_list_TYPE_insert_tail(OSSL_LIST(name) *list, type *elem);
39 type *elem);
63 to by I<elem> to zero which allows it to be used in lists.
79 B<ossl_list_I<TYPE>_insert_head>() inserts the element I<elem>, which
85 B<ossl_list_I<TYPE>_insert_before>() inserts the element I<elem>,
[all …]
H A DDEFINE_PRIORITY_QUEUE_OF.pod31 size_t *elem);
34 type *ossl_pqueue_TYPE_remove(const PRIORITY_QUEUE_OF(type) *pq, size_t elem);
74 in B<*elem> which can be used to identify the element when calling
84 I<elem> from I<pq>. The index I<elem> must have been obtained from
86 argument. The index I<elem> is invalidated by this function. It is undefined
/openssl/crypto/asn1/
H A Dasn1_gen.c251 if (elem == NULL) in asn1_cb()
254 for (i = 0, p = elem; i < len; p++, i++) { in asn1_cb()
258 vlen = len - (vstart - elem); in asn1_cb()
259 len = p - elem; in asn1_cb()
264 utype = asn1_str2tag(elem, len); in asn1_cb()
276 if (!vstart && elem[len]) { in asn1_cb()
747 if (!elem) in bitstr_cb()
749 bitnum = strtoul(elem, &eptr, 10); in bitstr_cb()
750 if (eptr && *eptr && (eptr != elem + len)) in bitstr_cb()
767 if (elem == NULL) in mask_cb()
[all …]
/openssl/crypto/x509/
H A Dv3_utl.c35 static int ipv6_cb(const char *elem, int len, void *usr);
1314 static int ipv6_cb(const char *elem, int len, void *usr) in ipv6_cb() argument
1336 if (elem[len]) in ipv6_cb()
1338 if (!ipv4_from_asc(s->tmp + s->total, elem)) in ipv6_cb()
1342 if (!ipv6_hex(s->tmp + s->total, elem, len)) in ipv6_cb()
/openssl/crypto/chacha/asm/
H A Dchacha-armv8-sve.pl41 my @elem=(0,4,8,12,1,5,9,13,2,6,10,14,3,7,11,15);
43 my @mx=map("z$_",@elem);
44 my @vx=map("v$_",@elem);
/openssl/include/openssl/
H A Dconf.h.in168 int (*list_cb) (const char *elem, int len, void *usr),
/openssl/crypto/conf/
H A Dconf_mod.c728 int (*list_cb) (const char *elem, int len, void *usr), in CONF_parse_list()

Completed in 174 milliseconds