/dports/devel/libsimdpp/libsimdpp-2.1-400-g9dac213d/simdpp/detail/ |
H A D | get_expr.h | 217 static const unsigned type_tag = (V::type_tag == SIMDPP_TAG_MASK_FLOAT) ? SIMDPP_TAG_FLOAT : 218 … (V::type_tag == SIMDPP_TAG_MASK_INT) ? SIMDPP_TAG_UINT : V::type_tag; 226 … static const unsigned type_tag = (V::type_tag == SIMDPP_TAG_INT) ? SIMDPP_TAG_UINT : V::type_tag; 234 static const unsigned type_tag = (V::type_tag == SIMDPP_TAG_MASK_FLOAT) ? SIMDPP_TAG_FLOAT : 236 … (V::type_tag == SIMDPP_TAG_MASK_INT) ? SIMDPP_TAG_UINT : V::type_tag; 254 …static const bool is_mask_op = (V1::type_tag == SIMDPP_TAG_MASK_FLOAT || V1::type_tag == SIMDPP_TA… 255 … (V2::type_tag == SIMDPP_TAG_MASK_FLOAT || V2::type_tag == SIMDPP_TAG_MASK_INT); 258 … (V1::type_tag > V2::type_tag ? V1::type_tag : V2::type_tag); 269 static const unsigned type_tag_t1 = V1::type_tag > V2::type_tag ? V1::type_tag : V2::type_tag; 282 static const unsigned type_tag_t1 = V1::type_tag > V2::type_tag ? V1::type_tag : V2::type_tag; [all …]
|
/dports/editors/encryptpad/EncryptPad-0.5.0.1/deps/botan/src/lib/asn1/ |
H A D | asn1_print.cpp | 82 const ASN1_Tag type_tag = obj.type(); in decode() local 145 else if(type_tag == OBJECT_ID) in decode() 162 else if(type_tag == INTEGER || type_tag == ENUMERATED) in decode() 166 if(type_tag == INTEGER) in decode() 170 else if(type_tag == ENUMERATED) in decode() 181 else if(type_tag == BOOLEAN) in decode() 187 else if(type_tag == NULL_TAG) in decode() 191 else if(type_tag == OCTET_STRING || type_tag == BIT_STRING) in decode() 227 else if(type_tag == UTC_TIME || type_tag == GENERALIZED_TIME) in decode() 250 if(class_tag == CONSTRUCTED && (type_tag == SEQUENCE || type_tag == SET)) in format_type() [all …]
|
H A D | ber_dec.h | 208 ASN1_Tag type_tag, 212 ASN1_Tag type_tag, 216 ASN1_Tag type_tag, 221 ASN1_Tag type_tag, 226 ASN1_Tag type_tag, 265 ASN1_Tag type_tag, 302 if(obj.is_a(type_tag, class_tag)) 344 if(obj.is_a(type_tag, class_tag)) in decode_optional() 353 decode(out, type_tag, class_tag); in decode_optional() 371 ASN1_Tag type_tag, in decode_optional_implicit() argument [all …]
|
H A D | der_enc.cpp | 23 ASN1_Tag type_tag, ASN1_Tag class_tag) in encode_tag() argument 29 if(type_tag <= 30) in encode_tag() 43 encoded_tag.push_back(type_tag & 0x7F); in encode_tag() 211 if(type_tag == SET) in start_explicit() 214 return start_cons(type_tag, CONTEXT_SPECIFIC); in start_explicit() 253 encode_tag(hdr, type_tag, class_tag); in add_object() 322 return add_object(type_tag, class_tag, &val, 1); in encode() 331 return encode(BigInt(n), type_tag, class_tag); in encode() 341 return add_object(type_tag, class_tag, 0); in encode() 355 return add_object(type_tag, class_tag, contents); in encode() [all …]
|
H A D | ber_dec.cpp | 32 class_tag = type_tag = NO_OBJECT; in decode_tag() 38 type_tag = ASN1_Tag(b & 0x1F); in decode_tag() 57 type_tag = ASN1_Tag(tag_buf); in decode_tag() 129 ASN1_Tag type_tag, class_tag; in find_eoc() local 131 if(type_tag == NO_OBJECT) in find_eoc() 249 ASN1_Tag type_tag, class_tag; in get_next_object() local 400 obj.assert_is_a(type_tag, class_tag); in decode() 417 decode(integer, type_tag, class_tag); in decode() 443 decode(integer, type_tag, class_tag); in decode_constrained_integer() 463 obj.assert_is_a(type_tag, class_tag); in decode() [all …]
|
/dports/mail/thunderbird/thunderbird-91.8.0/comm/third_party/botan/src/lib/asn1/ |
H A D | asn1_print.cpp | 82 const ASN1_Tag type_tag = obj.type(); in decode() local 145 else if(type_tag == OBJECT_ID) in decode() 162 else if(type_tag == INTEGER || type_tag == ENUMERATED) in decode() 166 if(type_tag == INTEGER) in decode() 170 else if(type_tag == ENUMERATED) in decode() 181 else if(type_tag == BOOLEAN) in decode() 187 else if(type_tag == NULL_TAG) in decode() 191 else if(type_tag == OCTET_STRING || type_tag == BIT_STRING) in decode() 227 else if(type_tag == UTC_TIME || type_tag == GENERALIZED_TIME) in decode() 250 if(class_tag == CONSTRUCTED && (type_tag == SEQUENCE || type_tag == SET)) in format_type() [all …]
|
H A D | ber_dec.h | 208 ASN1_Tag type_tag, 212 ASN1_Tag type_tag, 216 ASN1_Tag type_tag, 221 ASN1_Tag type_tag, 226 ASN1_Tag type_tag, 265 ASN1_Tag type_tag, 302 if(obj.is_a(type_tag, class_tag)) 344 if(obj.is_a(type_tag, class_tag)) in decode_optional() 353 decode(out, type_tag, class_tag); in decode_optional() 371 ASN1_Tag type_tag, in decode_optional_implicit() argument [all …]
|
H A D | der_enc.cpp | 23 ASN1_Tag type_tag, ASN1_Tag class_tag) in encode_tag() argument 29 if(type_tag <= 30) in encode_tag() 43 encoded_tag.push_back(type_tag & 0x7F); in encode_tag() 211 if(type_tag == SET) in start_explicit() 214 return start_cons(type_tag, CONTEXT_SPECIFIC); in start_explicit() 253 encode_tag(hdr, type_tag, class_tag); in add_object() 322 return add_object(type_tag, class_tag, &val, 1); in encode() 331 return encode(BigInt(n), type_tag, class_tag); in encode() 341 return add_object(type_tag, class_tag, 0); in encode() 355 return add_object(type_tag, class_tag, contents); in encode() [all …]
|
H A D | ber_dec.cpp | 32 class_tag = type_tag = NO_OBJECT; in decode_tag() 38 type_tag = ASN1_Tag(b & 0x1F); in decode_tag() 57 type_tag = ASN1_Tag(tag_buf); in decode_tag() 129 ASN1_Tag type_tag, class_tag; in find_eoc() local 131 if(type_tag == NO_OBJECT) in find_eoc() 249 ASN1_Tag type_tag, class_tag; in get_next_object() local 400 obj.assert_is_a(type_tag, class_tag); in decode() 417 decode(integer, type_tag, class_tag); in decode() 443 decode(integer, type_tag, class_tag); in decode_constrained_integer() 463 obj.assert_is_a(type_tag, class_tag); in decode() [all …]
|
/dports/security/botan2/Botan-2.18.2/src/lib/asn1/ |
H A D | asn1_print.cpp | 82 const ASN1_Tag type_tag = obj.type(); in decode() local 145 else if(type_tag == OBJECT_ID) in decode() 162 else if(type_tag == INTEGER || type_tag == ENUMERATED) in decode() 166 if(type_tag == INTEGER) in decode() 170 else if(type_tag == ENUMERATED) in decode() 181 else if(type_tag == BOOLEAN) in decode() 187 else if(type_tag == NULL_TAG) in decode() 191 else if(type_tag == OCTET_STRING || type_tag == BIT_STRING) in decode() 227 else if(type_tag == UTC_TIME || type_tag == GENERALIZED_TIME) in decode() 250 if(class_tag == CONSTRUCTED && (type_tag == SEQUENCE || type_tag == SET)) in format_type() [all …]
|
H A D | ber_dec.h | 208 ASN1_Tag type_tag, 212 ASN1_Tag type_tag, 216 ASN1_Tag type_tag, 221 ASN1_Tag type_tag, 226 ASN1_Tag type_tag, 265 ASN1_Tag type_tag, 302 if(obj.is_a(type_tag, class_tag)) 344 if(obj.is_a(type_tag, class_tag)) in decode_optional() 353 decode(out, type_tag, class_tag); in decode_optional() 371 ASN1_Tag type_tag, in decode_optional_implicit() argument [all …]
|
H A D | der_enc.cpp | 23 ASN1_Tag type_tag, ASN1_Tag class_tag) in encode_tag() argument 29 if(type_tag <= 30) in encode_tag() 43 encoded_tag.push_back(type_tag & 0x7F); in encode_tag() 211 if(type_tag == SET) in start_explicit() 214 return start_cons(type_tag, CONTEXT_SPECIFIC); in start_explicit() 253 encode_tag(hdr, type_tag, class_tag); in add_object() 322 return add_object(type_tag, class_tag, &val, 1); in encode() 331 return encode(BigInt(n), type_tag, class_tag); in encode() 341 return add_object(type_tag, class_tag, 0); in encode() 355 return add_object(type_tag, class_tag, contents); in encode() [all …]
|
/dports/security/botan110/Botan-1.10.17/doc/examples/ |
H A D | asn1.cpp | 66 while(obj.type_tag != NO_OBJECT) in decode() 68 const ASN1_Tag type_tag = obj.type_tag; in decode() local 83 if(type_tag == SEQUENCE) in decode() 88 else if(type_tag == SET) in decode() 130 else if(type_tag == OBJECT_ID) in decode() 141 else if(type_tag == INTEGER) in decode() 160 else if(type_tag == BOOLEAN) in decode() 164 emit(type_name(type_tag), in decode() 167 else if(type_tag == NULL_TAG) in decode() 174 data.decode(bits, type_tag); in decode() [all …]
|
/dports/security/botan110/Botan-1.10.17/src/asn1/ |
H A D | der_enc.cpp | 30 if(type_tag <= 30) in encode_tag() 34 size_t blocks = high_bit(type_tag) + 6; in encode_tag() 40 encoded_tag.push_back(type_tag & 0x7F); in encode_tag() 75 if(type_tag == SET) in get_contents() 84 result += encode_tag(type_tag, real_class_tag); in get_contents() 97 if(type_tag == SET) in add_bytes() 108 return ASN1_Tag(type_tag | class_tag); in tag_of() 115 type_tag(t1), class_tag(t2) in DER_Sequence() 163 if(type_tag == SET) in start_explicit() 275 return add_object(type_tag, class_tag, 0); in encode() [all …]
|
H A D | ber_dec.cpp | 25 class_tag = type_tag = NO_OBJECT; in decode_tag() 31 type_tag = ASN1_Tag(b & 0x1F); in decode_tag() 50 type_tag = ASN1_Tag(tag_buf); in decode_tag() 120 ASN1_Tag type_tag, class_tag; in find_eoc() local 122 if(type_tag == NO_OBJECT) in find_eoc() 146 if(this->type_tag != type_tag || this->class_tag != class_tag) in assert_is_a() 200 if(pushed.type_tag != NO_OBJECT) in get_next_object() 208 if(next.type_tag == NO_OBJECT) in get_next_object() 230 if(pushed.type_tag != NO_OBJECT) in push_back() 380 obj.assert_is_a(type_tag, class_tag); in decode() [all …]
|
/dports/net/arataga/oess-2.2.3/dev/oess_2/stdsn/h/ |
H A D | serializable.hpp | 154 const oess_2::stdsn::type_tag::type_tag_t * const type_tag ); 156 const oess_2::stdsn::type_tag::type_tag_t * const type_tag, 361 virtual const oess_2::stdsn::type_tag::type_tag_t & 401 virtual const oess_2::stdsn::type_tag::type_tag_t & 474 virtual const oess_2::stdsn::type_tag::type_tag_t & 487 oess_2::stdsn::type_tag::type_tag_t && item ); 542 type_tag(); 634 static oess_2::stdsn::type_tag::type_tag_t & 773 const oess_2::stdsn::type_tag::type_tag_t & type_tag ) const; 784 const oess_2::stdsn::type_tag::type_tag_t & type_tag ); [all …]
|
H A D | ent_std.hpp | 94 const oess_2::stdsn::type_tag::type_tag_t * m_type_tag; 111 const oess_2::stdsn::type_tag::type_tag_t * type_tag ); 117 const oess_2::stdsn::type_tag::type_tag_t * type_tag ); 206 const oess_2::stdsn::type_tag::type_tag_t * type_tag, 212 const oess_2::stdsn::type_tag::type_tag_t * type_tag ); 214 virtual oess_2::stdsn::type_tag::type_tag_t 258 const oess_2::stdsn::type_tag::type_tag_t & type_tag_to_create, 259 const oess_2::stdsn::type_tag::type_tag_t & type_tag_to_cast, 308 const oess_2::stdsn::type_tag::type_tag_t * type_tag, 314 const oess_2::stdsn::type_tag::type_tag_t * type_tag ); [all …]
|
/dports/net/arataga/oess-2.2.3/dev/oess_2/stdsn/ |
H A D | serializable.cpp | 128 const oess_2::stdsn::type_tag::type_tag_t * const type_tag ) in extension_info_t() argument 129 : m_type_tag( type_tag ) in extension_info_t() 134 const oess_2::stdsn::type_tag::type_tag_t * const type_tag, in extension_info_t() argument 136 : m_type_tag( type_tag ) in extension_info_t() 204 const oess_2::stdsn::type_tag::type_tag_t * const type_tag ) in add_extension_for_type() argument 215 const oess_2::stdsn::type_tag::type_tag_t * const type_tag ) const in find_extension_for_type() 219 if( c->m_type_tag == type_tag) in find_extension_for_type() 307 const oess_2::stdsn::type_tag::type_tag_t * const type_tag ) const in get_readonly_extension() 322 const oess_2::stdsn::type_tag::type_tag_t * const type_tag ) in get_writeable_extension() argument 654 const oess_2::stdsn::type_tag::type_tag_t & type_tag ) const in oess_lo_unknown_extension() [all …]
|
H A D | ent_std.cpp | 93 const oess_2::stdsn::type_tag::type_tag_t * type_tag ) in insert() argument 115 const oess_2::stdsn::type_tag::type_tag_t * type_tag ) in erase() argument 225 const oess_2::stdsn::type_tag::type_tag_t * type_tag, in obj_start() argument 234 const oess_2::stdsn::type_tag::type_tag_t * type_tag ) in obj_complete() argument 236 m_history.erase( object, type_tag ); in obj_complete() 239 oess_2::stdsn::type_tag::type_tag_t 393 const oess_2::stdsn::type_tag::type_tag_t * type_tag, in obj_start() argument 402 const oess_2::stdsn::type_tag::type_tag_t * type_tag ) in obj_complete() argument 404 m_history.erase( object, type_tag ); in obj_complete() 409 const oess_2::stdsn::type_tag::type_tag_t & type_tag ) in pack_type_tag() argument [all …]
|
/dports/devel/libsimdpp/libsimdpp-2.1-400-g9dac213d/simdpp/core/detail/ |
H A D | get_expr_bitwise.h | 74 static const unsigned type_tag = (is_mask_op1 && tags::v1_size_tag != tags::v2_size_tag) member 78 static const unsigned v1_type_tag = type_tag == SIMDPP_TAG_INT ? SIMDPP_TAG_UINT : type_tag; 83 static const bool is_v1_float = type_tag == SIMDPP_TAG_FLOAT || 84 type_tag == SIMDPP_TAG_MASK_FLOAT; 102 using type = typename type_of_tag<impl::type_tag + impl::size_tag, 143 static const unsigned type_tag_t1 = V1::type_tag > V2::type_tag ? V1::type_tag : V2::type_tag; 146 static const unsigned type_tag = (is_mask_op1 && V1::size_tag != V2::size_tag) variable 150 static const unsigned v12_type_tag = type_tag == SIMDPP_TAG_INT ? SIMDPP_TAG_UINT : type_tag; 159 using type = typename type_of_tag<type_tag + size_tag, V1::length_bytes,
|
H A D | get_expr_uint.h | 36 static const unsigned v1_type_tag = V1::type_tag; 38 static const unsigned v2_type_tag = V2::type_tag; 47 static const unsigned v2_type_tag = V2::type_tag; 56 static const unsigned v2_type_tag = V2::type_tag; 65 static const unsigned v2_type_tag = V2::type_tag; 74 static const unsigned v2_type_tag = V2::type_tag; 83 static const unsigned v2_type_tag = V2::type_tag; 92 static const unsigned v2_type_tag = V2::type_tag; 101 static const unsigned v2_type_tag = V2::type_tag; 110 static const unsigned v2_type_tag = V2::type_tag; [all …]
|
/dports/math/cado-nfs/cado-nfs-f4284e2391121b2bfb97bc4880b6273c7250dc2f/utils/ |
H A D | mpi_proxies.hpp | 18 template<typename T> struct type_tag {}; struct 32 template<> struct type_tag<int> { static const int value = MPI_INT; }; argument 34 template<> struct type_tag<long> { static const int value = MPI_LONG; }; argument 40 template<> struct type_tag<int32_t> { static const int value = INT32_T; }; argument 43 template<> struct type_tag<int64_t> { static const int value = INT64_T; }; struct 63 int mpi_type_tag = type_tag<T>::value; in recv() 79 int mpi_type_tag = type_tag<T>::value; in recv() 97 type_tag<T>::value, in send() 107 type_tag<T>::value, in send() 118 MPI_Allgather(in.data(), in.size(), type_tag<T>::value, in allgather() [all …]
|
/dports/math/universal/universal-3.48/tests/cfloat/arithmetic/ |
H A D | increment.cpp | 62 …VerifyCfloatIncrement < cfloat<8, 2, uint8_t, false, false, false> >(reportTestCases), type_tag(cf… in main() 64 …VerifyCfloatIncrement < cfloat<9, 2, uint8_t, false, false, false> >(reportTestCases), type_tag(cf… in main() 69 …VerifyCfloatIncrement < cfloat<8, 2, uint8_t, true, false, false> >(reportTestCases), type_tag(cfl… in main() 71 …VerifyCfloatIncrement < cfloat<9, 2, uint8_t, true, false, false> >(reportTestCases), type_tag(cfl… in main() 76 …VerifyCfloatIncrement < cfloat<8, 2, uint8_t, false, true, false> >(reportTestCases), type_tag(cfl… in main() 78 …VerifyCfloatIncrement < cfloat<9, 2, uint8_t, false, true, false> >(reportTestCases), type_tag(cfl… in main() 84 …VerifyCfloatIncrement< cfloat<4, 1, uint8_t, true, true, false> >(reportTestCases), type_tag(cfloa… in main() 86 …VerifyCfloatIncrement < cfloat<8, 2, uint8_t, true, true, false> >(reportTestCases), type_tag(cflo… in main() 88 …VerifyCfloatIncrement < cfloat<9, 2, uint8_t, true, true, false> >(reportTestCases), type_tag(cflo… in main() 90 …VerifyCfloatIncrement < cfloat<10, 3, uint8_t, true, true, false> >(reportTestCases), type_tag(cfl… in main() [all …]
|
/dports/math/universal/universal-3.48/applications/numeric/ |
H A D | constants.cpp | 41 std::string type_tag(Float v) { in type_tag() function 49 std::cout << std::setw(20) << type_tag(s) << " : " << s << '\n'; in Sqrt() 91 std::cout << sqrt(Longd(f)) << " : " << type_tag(Longd()) << '\n'; in main() 92 std::cout << sqrt(Fixed(f)) << " : " << type_tag(Fixed()) << '\n'; in main() 93 std::cout << sqrt(Posit(f)) << " : " << type_tag(Posit()) << '\n'; in main() 99 std::cout << sqrt(Longd(f)) << " : " << type_tag(Longd()) << '\n'; in main() 100 std::cout << sqrt(Fixed(f)) << " : " << type_tag(Fixed()) << '\n'; in main() 101 std::cout << sqrt(Posit(f)) << " : " << type_tag(Posit()) << '\n'; in main() 107 std::cout << sqrt(Longd(f)) << " : " << type_tag(Longd()) << '\n'; in main() 108 std::cout << sqrt(Fixed(f)) << " : " << type_tag(Fixed()) << '\n'; in main() [all …]
|
/dports/devel/libsimdpp/libsimdpp-2.1-400-g9dac213d/simdpp/core/ |
H A D | blend.h | 75 static const unsigned type_tag_t1 = V1::type_tag > V2::type_tag ? V1::type_tag : V2::type_tag; 85 static const unsigned type_tag_t3 = type_tag_t2 > V3::type_tag ? type_tag_t2 : V3::type_tag; 88 static const unsigned type_tag = (is_mask_op2 && V3::size_tag != size_tag_t1) variable 92 static const unsigned v12_type_tag = type_tag == SIMDPP_TAG_INT ? SIMDPP_TAG_UINT : type_tag; 95 static const bool is_v3_mask = V3::type_tag == SIMDPP_TAG_MASK_INT || 96 V3::type_tag == SIMDPP_TAG_MASK_FLOAT; 118 using type = typename type_of_tag<type_tag + size_tag, V1::length_bytes,
|