Home
last modified time | relevance | path

Searched full:item (Results 1 – 25 of 1624) sorted by relevance

12345678910>>...65

/freebsd/contrib/libcbor/src/cbor/
H A Dints.c10 cbor_int_width cbor_int_get_width(const cbor_item_t *item) { in cbor_int_get_width() argument
11 CBOR_ASSERT(cbor_is_int(item)); in cbor_int_get_width()
12 return item->metadata.int_metadata.width; in cbor_int_get_width()
15 uint8_t cbor_get_uint8(const cbor_item_t *item) { in cbor_get_uint8() argument
16 CBOR_ASSERT(cbor_is_int(item)); in cbor_get_uint8()
17 CBOR_ASSERT(cbor_int_get_width(item) == CBOR_INT_8); in cbor_get_uint8()
18 return *item->data; in cbor_get_uint8()
21 uint16_t cbor_get_uint16(const cbor_item_t *item) { in cbor_get_uint16() argument
22 CBOR_ASSERT(cbor_is_int(item)); in cbor_get_uint16()
23 CBOR_ASSERT(cbor_int_get_width(item) == CBOR_INT_16); in cbor_get_uint16()
[all …]
H A Dfloats_ctrls.c12 cbor_float_width cbor_float_get_width(const cbor_item_t *item) { in cbor_float_get_width() argument
13 CBOR_ASSERT(cbor_isa_float_ctrl(item)); in cbor_float_get_width()
14 return item->metadata.float_ctrl_metadata.width; in cbor_float_get_width()
17 uint8_t cbor_ctrl_value(const cbor_item_t *item) { in cbor_ctrl_value() argument
18 CBOR_ASSERT(cbor_isa_float_ctrl(item)); in cbor_ctrl_value()
19 CBOR_ASSERT(cbor_float_get_width(item) == CBOR_FLOAT_0); in cbor_ctrl_value()
20 return item->metadata.float_ctrl_metadata.ctrl; in cbor_ctrl_value()
23 bool cbor_float_ctrl_is_ctrl(const cbor_item_t *item) { in cbor_float_ctrl_is_ctrl() argument
24 CBOR_ASSERT(cbor_isa_float_ctrl(item)); in cbor_float_ctrl_is_ctrl()
25 return cbor_float_get_width(item) == CBOR_FLOAT_0; in cbor_float_ctrl_is_ctrl()
[all …]
H A Dcommon.c22 bool cbor_isa_uint(const cbor_item_t *item) { in cbor_isa_uint() argument
23 return item->type == CBOR_TYPE_UINT; in cbor_isa_uint()
26 bool cbor_isa_negint(const cbor_item_t *item) { in cbor_isa_negint() argument
27 return item->type == CBOR_TYPE_NEGINT; in cbor_isa_negint()
30 bool cbor_isa_bytestring(const cbor_item_t *item) { in cbor_isa_bytestring() argument
31 return item->type == CBOR_TYPE_BYTESTRING; in cbor_isa_bytestring()
34 bool cbor_isa_string(const cbor_item_t *item) { in cbor_isa_string() argument
35 return item->type == CBOR_TYPE_STRING; in cbor_isa_string()
38 bool cbor_isa_array(const cbor_item_t *item) { in cbor_isa_array() argument
39 return item->type == CBOR_TYPE_ARRAY; in cbor_isa_array()
[all …]
H A Dcommon.h151 /** Get the type of the item
153 * @param item
158 const cbor_item_t *item); /* Will be inlined iff link-time opt is enabled */
160 /* Standard CBOR Major item types */
162 /** Does the item have the appropriate major type?
163 * @param item the item
164 * @return Is the item an #CBOR_TYPE_UINT?
167 CBOR_EXPORT bool cbor_isa_uint(const cbor_item_t *item);
169 /** Does the item hav
[all...]
H A Dserialization.c20 size_t cbor_serialize(const cbor_item_t *item, unsigned char *buffer, in cbor_serialize() argument
23 switch (cbor_typeof(item)) { in cbor_serialize()
25 return cbor_serialize_uint(item, buffer, buffer_size); in cbor_serialize()
27 return cbor_serialize_negint(item, buffer, buffer_size); in cbor_serialize()
29 return cbor_serialize_bytestring(item, buffer, buffer_size); in cbor_serialize()
31 return cbor_serialize_string(item, buffer, buffer_size); in cbor_serialize()
33 return cbor_serialize_array(item, buffer, buffer_size); in cbor_serialize()
35 return cbor_serialize_map(item, buffer, buffer_size); in cbor_serialize()
37 return cbor_serialize_tag(item, buffer, buffer_size); in cbor_serialize()
39 return cbor_serialize_float_ctrl(item, buffer, buffer_size); in cbor_serialize()
[all …]
H A Dfloats_ctrls.h26 * @param item A float or ctrl item
30 const cbor_item_t *item);
34 * @param item A float or ctrl item
38 cbor_float_get_width(const cbor_item_t *item);
42 * The item must have the corresponding width
44 * @param item A half precision float
48 const cbor_item_t *item);
52 * The item must have the corresponding width
54 * @param item A single precision float
58 const cbor_item_t *item);
[all …]
H A Dstrings.c14 cbor_item_t *item = _cbor_malloc(sizeof(cbor_item_t)); in cbor_new_definite_string()
15 _CBOR_NOTNULL(item); in cbor_new_definite_string()
16 *item = (cbor_item_t){ in cbor_new_definite_string()
20 return item; in cbor_new_definite_string()
24 cbor_item_t *item = _cbor_malloc(sizeof(cbor_item_t)); in cbor_new_indefinite_string()
25 _CBOR_NOTNULL(item); in cbor_new_indefinite_string()
26 *item = (cbor_item_t){ in cbor_new_indefinite_string()
32 _CBOR_DEPENDENT_NOTNULL(item, item->data); in cbor_new_indefinite_string()
33 *((struct cbor_indefinite_string_data *)item in cbor_new_indefinite_string()
13 cbor_item_t *item = _cbor_malloc(sizeof(cbor_item_t)); cbor_new_definite_string() local
23 cbor_item_t *item = _cbor_malloc(sizeof(cbor_item_t)); cbor_new_indefinite_string() local
42 cbor_item_t *item = cbor_new_definite_string(); cbor_build_string() local
53 cbor_item_t *item = cbor_new_definite_string(); cbor_build_stringn() local
62 cbor_string_set_handle(cbor_item_t * item,cbor_mutable_data CBOR_RESTRICT_POINTER data,size_t length) cbor_string_set_handle() argument
71 cbor_string_chunks_handle(const cbor_item_t * item) cbor_string_chunks_handle() argument
77 cbor_string_chunk_count(const cbor_item_t * item) cbor_string_chunk_count() argument
83 cbor_string_add_chunk(cbor_item_t * item,cbor_item_t * chunk) cbor_string_add_chunk() argument
110 cbor_string_length(const cbor_item_t * item) cbor_string_length() argument
115 cbor_string_handle(const cbor_item_t * item) cbor_string_handle() argument
120 cbor_string_codepoint_count(const cbor_item_t * item) cbor_string_codepoint_count() argument
125 cbor_string_is_definite(const cbor_item_t * item) cbor_string_is_definite() argument
130 cbor_string_is_indefinite(const cbor_item_t * item) cbor_string_is_indefinite() argument
[all...]
H A Dbytestrings.c12 size_t cbor_bytestring_length(const cbor_item_t *item) { in cbor_bytestring_length() argument
13 CBOR_ASSERT(cbor_isa_bytestring(item)); in cbor_bytestring_length()
14 return item->metadata.bytestring_metadata.length; in cbor_bytestring_length()
17 unsigned char *cbor_bytestring_handle(const cbor_item_t *item) { in cbor_bytestring_handle() argument
18 CBOR_ASSERT(cbor_isa_bytestring(item)); in cbor_bytestring_handle()
19 return item->data; in cbor_bytestring_handle()
22 bool cbor_bytestring_is_definite(const cbor_item_t *item) { in cbor_bytestring_is_definite() argument
23 CBOR_ASSERT(cbor_isa_bytestring(item)); in cbor_bytestring_is_definite()
24 return item->metadata.bytestring_metadata.type == _CBOR_METADATA_DEFINITE; in cbor_bytestring_is_definite()
27 bool cbor_bytestring_is_indefinite(const cbor_item_t *item) { in cbor_bytestring_is_indefinite() argument
[all …]
H A Dmaps.c11 size_t cbor_map_size(const cbor_item_t *item) { in cbor_map_size() argument
12 CBOR_ASSERT(cbor_isa_map(item)); in cbor_map_size()
13 return item->metadata.map_metadata.end_ptr; in cbor_map_size()
16 size_t cbor_map_allocated(const cbor_item_t *item) { in cbor_map_allocated() argument
17 CBOR_ASSERT(cbor_isa_map(item)); in cbor_map_allocated()
18 return item->metadata.map_metadata.allocated; in cbor_map_allocated()
22 cbor_item_t *item = _cbor_malloc(sizeof(cbor_item_t)); in cbor_new_definite_map() local
23 _CBOR_NOTNULL(item); in cbor_new_definite_map()
25 *item = (cbor_item_t){ in cbor_new_definite_map()
32 _CBOR_DEPENDENT_NOTNULL(item, ite in cbor_new_definite_map()
38 cbor_item_t *item = _cbor_malloc(sizeof(cbor_item_t)); cbor_new_indefinite_map() local
52 _cbor_map_add_key(cbor_item_t * item,cbor_item_t * key) _cbor_map_add_key() argument
95 _cbor_map_add_value(cbor_item_t * item,cbor_item_t * value) _cbor_map_add_value() argument
98 cbor_map_handle(item)[ _cbor_map_add_value() local
106 cbor_map_add(cbor_item_t * item,struct cbor_pair pair) cbor_map_add() argument
112 cbor_map_is_definite(const cbor_item_t * item) cbor_map_is_definite() argument
117 cbor_map_is_indefinite(const cbor_item_t * item) cbor_map_is_indefinite() argument
121 cbor_map_handle(const cbor_item_t * item) cbor_map_handle() argument
[all...]
/freebsd/crypto/heimdal/doc/
H A Dack.texi39 @item Alexander Boström
40 @item Allan McRae
41 @item Andrew Bartlett
42 @item Andrew Cobaugh
43 @item Andrew Tridge
44 @item Anton Lundin
45 @item Asanka Herath
46 @item Björn Grönvall
47 @item Björn Sandell
48 @item Björn Schlögl
[all …]
/freebsd/contrib/libcbor/test/
H A Dcopy_test.c12 cbor_item_t *item, *copy, *tmp; variable
15 item = cbor_build_uint8(10); in test_uints()
16 assert_uint8(copy = cbor_copy(item), 10); in test_uints()
17 cbor_decref(&item); in test_uints()
20 item = cbor_build_uint16(10); in test_uints()
21 assert_uint16(copy = cbor_copy(item), 10); in test_uints()
22 cbor_decref(&item); in test_uints()
25 item = cbor_build_uint32(10); in test_uints()
26 assert_uint32(copy = cbor_copy(item), 10); in test_uints()
27 cbor_decref(&item); in test_uints()
[all …]
H A Dcbor_serialize_test.c28 cbor_item_t *item = cbor_new_int8(); in test_serialize_uint8_embed() local
29 cbor_set_uint8(item, 0); in test_serialize_uint8_embed()
30 assert_size_equal(1, cbor_serialize(item, buffer, 512)); in test_serialize_uint8_embed()
32 assert_size_equal(cbor_serialized_size(item), 1); in test_serialize_uint8_embed()
33 cbor_decref(&item); in test_serialize_uint8_embed()
37 cbor_item_t *item = cbor_new_int8(); in test_serialize_uint8() local
38 cbor_set_uint8(item, 42); in test_serialize_uint8()
39 assert_size_equal(2, cbor_serialize(item, buffer, 512)); in test_serialize_uint8()
41 assert_size_equal(cbor_serialized_size(item), 2); in test_serialize_uint8()
42 cbor_decref(&item); in test_serialize_uint8()
46 cbor_item_t *item = cbor_new_int16(); test_serialize_uint16() local
55 cbor_item_t *item = cbor_new_int32(); test_serialize_uint32() local
65 cbor_item_t *item = cbor_new_int64(); test_serialize_uint64() local
77 cbor_item_t *item = cbor_new_int8(); test_serialize_negint8_embed() local
87 cbor_item_t *item = cbor_new_int8(); test_serialize_negint8() local
97 cbor_item_t *item = cbor_new_int16(); test_serialize_negint16() local
107 cbor_item_t *item = cbor_new_int32(); test_serialize_negint32() local
118 cbor_item_t *item = cbor_new_int64(); test_serialize_negint64() local
131 cbor_item_t *item = cbor_new_definite_bytestring(); test_serialize_definite_bytestring() local
143 cbor_item_t *item = cbor_new_indefinite_bytestring(); test_serialize_indefinite_bytestring() local
163 cbor_item_t *item = cbor_new_definite_bytestring(); test_serialize_bytestring_size_overflow() local
176 cbor_item_t *item = cbor_new_definite_bytestring(); test_serialize_bytestring_no_space() local
187 cbor_item_t *item = cbor_new_indefinite_bytestring(); test_serialize_indefinite_bytestring_no_space() local
207 cbor_item_t *item = cbor_new_definite_string(); test_serialize_definite_string() local
222 cbor_item_t *item = cbor_new_indefinite_string(); test_serialize_indefinite_string() local
243 cbor_item_t *item = cbor_new_definite_string(); test_serialize_string_no_space() local
254 cbor_item_t *item = cbor_new_indefinite_string(); test_serialize_indefinite_string_no_space() local
274 cbor_item_t *item = cbor_new_definite_array(2); test_serialize_definite_array() local
291 cbor_item_t *item = cbor_new_indefinite_array(); test_serialize_array_no_space() local
310 cbor_item_t *item = cbor_new_indefinite_array(); test_serialize_indefinite_array() local
326 cbor_item_t *item = cbor_new_definite_map(2); test_serialize_definite_map() local
343 cbor_item_t *item = cbor_new_indefinite_map(); test_serialize_indefinite_map() local
360 cbor_item_t *item = cbor_new_indefinite_map(); test_serialize_map_no_space() local
384 cbor_item_t *item = cbor_new_tag(21); test_serialize_tags() local
396 cbor_item_t *item = cbor_new_tag(21); test_serialize_tags_no_space() local
412 cbor_item_t *item = cbor_new_float2(); test_serialize_half() local
422 cbor_item_t *item = cbor_new_float4(); test_serialize_single() local
433 cbor_item_t *item = cbor_new_float8(); test_serialize_double() local
446 cbor_item_t *item = cbor_new_undef(); test_serialize_ctrl() local
455 cbor_item_t *item = cbor_new_ctrl(); test_serialize_long_ctrl() local
465 cbor_item_t *item = cbor_new_definite_array(4); test_auto_serialize() local
481 cbor_item_t *item = cbor_build_uint8(1); test_auto_serialize_no_size() local
492 cbor_item_t *item = cbor_new_indefinite_string(); test_auto_serialize_too_large() local
512 cbor_item_t *item = cbor_build_uint8(42); test_auto_serialize_alloc_fail() local
527 cbor_item_t *item = cbor_build_bytestring((cbor_data) "", 0); test_auto_serialize_zero_len_bytestring() local
538 cbor_item_t *item = cbor_build_string(""); test_auto_serialize_zero_len_string() local
550 cbor_item_t *item = cbor_new_indefinite_bytestring(); test_auto_serialize_zero_len_bytestring_chunk() local
565 cbor_item_t *item = cbor_new_indefinite_string(); test_auto_serialize_zero_len_string_chunk() local
578 cbor_item_t *item = cbor_new_definite_array(0); test_auto_serialize_zero_len_array() local
590 cbor_item_t *item = cbor_new_indefinite_array(); test_auto_serialize_zero_len_indef_array() local
601 cbor_item_t *item = cbor_new_definite_map(0); test_auto_serialize_zero_len_map() local
613 cbor_item_t *item = cbor_new_indefinite_map(); test_auto_serialize_zero_len_indef_map() local
[all...]
/freebsd/crypto/openssl/doc/man7/
H A DOSSL_PROVIDER-default.pod31 =item "provider=default"
54 =item SHA1, see L<EVP_MD-SHA1(7)>
56 =item SHA2, see L<EVP_MD-SHA2(7)>
58 =item SHA3, see L<EVP_MD-SHA3(7)>
60 =item KECCAK-KMAC, see L<EVP_MD-KECCAK-KMAC(7)>
62 =item SHAKE, see L<EVP_MD-SHAKE(7)>
64 =item BLAKE2, see L<EVP_MD-BLAKE2(7)>
66 =item SM3, see L<EVP_MD-SM3(7)>
68 =item MD5, see L<EVP_MD-MD5(7)>
70 =item MD5-SHA1, see L<EVP_MD-MD5-SHA1(7)>
[all …]
H A DOSSL_PROVIDER-FIPS.pod21 =item "provider=fips"
23 =item "fips=yes"
49 =item SHA1, see L<EVP_MD-SHA1(7)>
51 =item SHA2, see L<EVP_MD-SHA2(7)>
53 =item SHA3, see L<EVP_MD-SHA3(7)>
55 =item KECCAK-KMAC, see L<EVP_MD-KECCAK-KMAC(7)>
63 =item AES, see L<EVP_CIPHER-AES(7)>
65 =item DES-EDE3 (TripleDES), see L<EVP_CIPHER-DES(7)>
73 =item CMAC, see L<EVP_MAC-CMAC(7)>
75 =item GMAC, see L<EVP_MAC-GMAC(7)>
[all …]
/freebsd/contrib/bsddialog/lib/
H A Dformbox.c87 int sel; /* selected item in pritem, can be -1 */
88 bool hasbottomdesc; /* some item has bottomdesc */
99 struct privateitem *item; in build_privateform() local
105 RETURN_FMTERROR("item %u [0-%u] fieldlen = 0", in build_privateform()
108 RETURN_FMTERROR("item %u [0-%u] maxvaluelen = 0", in build_privateform()
134 item = &f->pritems[i]; in build_privateform()
135 item->label = CHECK_STR(items[i].label); in build_privateform()
136 item->ylabel = items[i].ylabel; in build_privateform()
137 item->xlabel = items[i].xlabel; in build_privateform()
138 item in build_privateform()
214 fieldctl(struct privateitem * item,enum field_action act) fieldctl() argument
317 insertch(struct privateitem * item,wchar_t wch,wchar_t securewch) insertch() argument
465 struct privateitem *item; drawitem() local
548 curriteminview(struct privateform * f,struct privateitem * item) curriteminview() argument
683 struct privateitem *item; bsddialog_form() local
[all...]
/freebsd/contrib/libcbor/src/
H A Dcbor.c87 /* Reserved/malformed item */ in cbor_load()
109 // result->error.position); cbor_describe(stack.top->item, stdout); in cbor_load()
112 cbor_decref(&stack.top->item); in cbor_load()
118 static cbor_item_t *_cbor_copy_int(cbor_item_t *item, bool negative) { in _cbor_copy_int()
120 switch (cbor_int_get_width(item)) { in _cbor_copy_int()
122 res = cbor_build_uint8(cbor_get_uint8(item)); in _cbor_copy_int()
125 res = cbor_build_uint16(cbor_get_uint16(item)); in _cbor_copy_int()
128 res = cbor_build_uint32(cbor_get_uint32(item)); in _cbor_copy_int()
131 res = cbor_build_uint64(cbor_get_uint64(item)); in _cbor_copy_int()
140 static cbor_item_t *_cbor_copy_float_ctrl(cbor_item_t *item) { in _cbor_copy_float_ctrl()
117 _cbor_copy_int(cbor_item_t * item,bool negative) _cbor_copy_int() argument
139 _cbor_copy_float_ctrl(cbor_item_t * item) _cbor_copy_float_ctrl() argument
153 cbor_copy(cbor_item_t * item) cbor_copy() argument
304 _cbor_nested_describe(cbor_item_t * item,FILE * out,int indent) _cbor_nested_describe() argument
405 cbor_describe(cbor_item_t * item,FILE * out) cbor_describe() argument
[all...]
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DRecordSerialization.h57 Error consume(BinaryStreamReader &Reader, uint32_t &Item);
58 Error consume(BinaryStreamReader &Reader, int32_t &Item);
61 Error consume(BinaryStreamReader &Reader, StringRef &Item);
64 Error consume(StringRef &Data, uint32_t &Item);
68 template <typename T> Error consume(BinaryStreamReader &Reader, T *&Item) { in consume() argument
69 return Reader.readObject(Item); in consume()
73 serialize_conditional_impl(T &Item, U Func) : Item(Item), Func(Func) {} in serialize_conditional_impl()
78 return consume(Reader, Item); in deserialize()
81 T &Item; member
86 serialize_conditional_impl<T, U> serialize_conditional(T &Item, U Func) { in serialize_conditional() argument
[all …]
/freebsd/secure/lib/libcrypto/man/man7/
H A DOSSL_PROVIDER-FIPS.7153 .IX Item "provider=fips"
157 .IX Item "fips=yes"
179 .IX Item "SHA1, see EVP_MD-SHA1"
182 .IX Item "SHA2, see EVP_MD-SHA2"
184 .IX Item "SHA3, see EVP_MD-SHA3"
186 .IX Item "KECCAK-KMAC, see EVP_MD-KECCAK-KMAC"
191 .IX Item "AES, see EVP_CIPHER-AES"
194 .IX Item "DES-EDE3 (TripleDES), see EVP_CIPHER-DES"
199 .IX Item "CMAC, see EVP_MAC-CMAC"
202 .IX Item "GMAC, see EVP_MAC-GMAC"
[all …]
H A DOSSL_PROVIDER-default.7163 .IX Item "provider=default"
181 .IX Item "SHA1, see EVP_MD-SHA1"
184 .IX Item "SHA2, see EVP_MD-SHA2"
186 .IX Item "SHA3, see EVP_MD-SHA3"
188 .IX Item "KECCAK-KMAC, see EVP_MD-KECCAK-KMAC"
190 .IX Item "SHAKE, see EVP_MD-SHAKE"
192 .IX Item "BLAKE2, see EVP_MD-BLAKE2"
194 .IX Item "SM3, see EVP_MD-SM3"
196 .IX Item "MD5, see EVP_MD-MD5"
198 .IX Item "MD5-SHA1, see EVP_MD-MD5-SHA1"
[all …]
/freebsd/contrib/wpa/src/utils/
H A Dlist.h28 static inline void dl_list_add(struct dl_list *list, struct dl_list *item) in dl_list_add() argument
30 item->next = list->next; in dl_list_add()
31 item->prev = list; in dl_list_add()
32 list->next->prev = item; in dl_list_add()
33 list->next = item; in dl_list_add()
36 static inline void dl_list_add_tail(struct dl_list *list, struct dl_list *item) in dl_list_add_tail() argument
38 dl_list_add(list->prev, item); in dl_list_add_tail()
41 static inline void dl_list_del(struct dl_list *item) in dl_list_del() argument
43 item->next->prev = item->prev; in dl_list_del()
44 item->prev->next = item->next; in dl_list_del()
[all …]
/freebsd/contrib/ntp/ntpq/
H A Dntpq.texi79 @item configuration file
83 @item frequency file
87 @item leapseconds file
91 @item process ID file
95 @item log file
99 @item include file
103 @item statistics path
107 @item keys path
121 @item @anchor{help} @code{? [}@kbd{command_keyword}@code{]}
125 @item @anchor{addvars} >@code{addvars @kbd{name} [ = @kbd{value}] [...]}
[all …]
/freebsd/crypto/openssl/doc/man1/
H A Dopenssl.pod75 =item B<asn1parse>
79 =item B<ca>
83 =item B<ciphers>
87 =item B<cms>
91 =item B<crl>
95 =item B<crl2pkcs7>
99 =item B<dgst>
104 =item B<dhparam>
109 =item B<dsa>
113 =item B<dsaparam>
[all …]
/freebsd/secure/usr.bin/openssl/man/
H A Dopenssl.1206 .IX Item "asn1parse"
209 .IX Item "ca"
212 .IX Item "ciphers"
215 .IX Item "cms"
218 .IX Item "crl"
221 .IX Item "crl2pkcs7"
224 .IX Item "dgst"
228 .IX Item "dhparam"
232 .IX Item "dsa"
235 .IX Item "dsaparam"
[all …]
/freebsd/contrib/libxo/tests/core/saved/
H A Dtest_08.X.out1item><name key="key">gum</name><count>1412</count></item><item><name key="key">rope</name><count>8…
H A Dtest_08.XP.out4 <item>
7 </item>
8 <item>
11 </item>
12 <item>
15 </item>
16 <item>
19 </item>
20 <item>
23 </item>
[all …]

12345678910>>...65