/freebsd/contrib/pam-krb5/pam-util/ |
H A D | vector.c | 2 * Vector handling (counted lists of char *'s). 4 * A vector is a table for handling a list of strings with less overhead than 9 * This is based on the util/vector.c library, but that library uses xmalloc 11 * modified version of the vector library that instead returns false on 17 * Only the portions of the vector library used by PAM modules are 39 #include <pam-util/vector.h> 43 * Allocate a new, empty vector. Returns NULL if memory allocation fails. 45 struct vector * 48 struct vector *vector; in vector_new() local 50 vector = calloc(1, sizeof(struct vector)); in vector_new() [all …]
|
H A D | vector.h | 2 * Prototypes for vector handling. 4 * A vector is a list of strings, with dynamic resizing of the list as new 11 * This is based on the util/vector.c library, but that library uses xmalloc 13 * modified version of the vector library that instead returns false on 16 * Only the portions of the vector library used by PAM modules are 43 struct vector { struct 54 /* Create a new, empty vector. Returns NULL on memory allocation failure. */ argument 55 struct vector *vector_new(void) __attribute__((__malloc__)); 58 * Create a new vector that's a copy of an existing vector. Returns NULL on 61 struct vector *vector_copy(const struct vector *) [all …]
|
/freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
H A D | arm_mve.td | 10 // functions wrapping the MVE vector instruction set and scalar shift 32 def "": Intrinsic<Vector, (args Vector:$a, Vector:$b), 33 (bitcast (bitop (bitcast $a, UVector), (bitcast $b, UVector)), Vector)>; 37 def "": Intrinsic<Vector, (args Vector:$a, Vector:$b), 38 (bitcast (bitop (bitcast $a, UVector), (not (bitcast $b, UVector))), Vector)>; 42 def vqaddq: Intrinsic<Vector, (args Vector:$a, Vector:$b), 43 (IRIntBase<"sadd_sat", [Vector]> $a, $b)>; 44 def vqsubq: Intrinsic<Vector, (args Vector:$a, Vector:$b), 45 (IRIntBase<"ssub_sat", [Vector]> $a, $b)>; 47 def vqaddq_n: Intrinsic<Vector, (args Vector:$a, unpromoted<Scalar>:$b), [all …]
|
/freebsd/contrib/pam-krb5/tests/pam-util/ |
H A D | vector-t.c | 2 * PAM utility vector library test suite. 25 #include <pam-util/vector.h> 33 struct vector *vector, *ovector, *copy; in main() local 42 vector = vector_new(); in main() 43 ok(vector != NULL, "vector_new returns non-NULL"); in main() 44 if (vector == NULL) in main() 46 ok(vector_add(vector, cstring), "vector_add succeeds"); in main() 47 is_int(1, vector->count, "vector_add increases count"); in main() 48 ok(vector->strings[0] != cstring, "...and allocated new memory"); in main() 49 ok(vector_resize(vector, 4), "vector_resize succeeds"); in main() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | ValueTypes.td | 82 def v1i1 : VTVec<1, i1, 17>; // 1 x i1 vector value 83 def v2i1 : VTVec<2, i1, 18>; // 2 x i1 vector value 84 def v3i1 : VTVec<3, i1, 19>; // 3 x i1 vector value 85 def v4i1 : VTVec<4, i1, 20>; // 4 x i1 vector value 86 def v8i1 : VTVec<8, i1, 21>; // 8 x i1 vector value 87 def v16i1 : VTVec<16, i1, 22>; // 16 x i1 vector value 88 def v32i1 : VTVec<32, i1, 23>; // 32 x i1 vector value 89 def v64i1 : VTVec<64, i1, 24>; // 64 x i1 vector value 90 def v128i1 : VTVec<128, i1, 25>; // 128 x i1 vector value 91 def v256i1 : VTVec<256, i1, 26>; // 256 x i1 vector value [all …]
|
/freebsd/crypto/openssl/test/recipes/30-test_evp_data/ |
H A D | evppkey_ml_kem_512_decap.txt | 12 # Official test vector 0, seed: "061550234d158c5ec95595fe04ef7a25767f2e24cc2bc479d09d86dc9abcfde705… 19 # Official test vector 1, seed: "d81c4d8d734fcbfbeade3d3f8a039faa2a2c9957e835ad55b22e75bf57bb556ac8… 26 # Official test vector 2, seed: "64335bf29e5de62842c941766ba129b0643b5e7121ca26cfc190ec7dc354383055… 33 # Official test vector 3, seed: "225d5ce2ceac61930a07503fb59f7c2f936a3e075481da3ca299a80f8c5df9223a… 40 # Official test vector 4, seed: "edc76e7c1523e3862552133fea4d2ab05c69fb54a9354f0846456a2a407e071df4… 47 # Official test vector 5, seed: "aa93649193c2c5985acf8f9e6ac50c36ae16a2526d7c684f7a3bb4abcd7b6ff790… 54 # Official test vector 6, seed: "2e014dc7c2696b9f6d4af555cba4b931b34863ff60e2341d4fdfe472fef2fe2c33… 61 # Official test vector 7, seed: "aefb28fdd34e0ab403a703b535296e3a545ca479c1d8148e2d501b3c8dd8b1034b… 68 # Official test vector 8, seed: "cbe5161e8de02dda7de204aeb0fbb4ca81344ba8c30fe357a4664e5d2988a03b64… 75 # Official test vector 9, seed: "b4663a7a9883386a2ae4cbd93787e247bf26087e3826d1b8dbeb679e49c0bb286e… [all …]
|
H A D | evppkey_ml_kem_512_encap.txt | 12 # Official test vector 0, seed: "061550234d158c5ec95595fe04ef7a25767f2e24cc2bc479d09d86dc9abcfde705… 20 # Official test vector 1, seed: "d81c4d8d734fcbfbeade3d3f8a039faa2a2c9957e835ad55b22e75bf57bb556ac8… 28 # Official test vector 2, seed: "64335bf29e5de62842c941766ba129b0643b5e7121ca26cfc190ec7dc354383055… 36 # Official test vector 3, seed: "225d5ce2ceac61930a07503fb59f7c2f936a3e075481da3ca299a80f8c5df9223a… 44 # Official test vector 4, seed: "edc76e7c1523e3862552133fea4d2ab05c69fb54a9354f0846456a2a407e071df4… 52 # Official test vector 5, seed: "aa93649193c2c5985acf8f9e6ac50c36ae16a2526d7c684f7a3bb4abcd7b6ff790… 60 # Official test vector 6, seed: "2e014dc7c2696b9f6d4af555cba4b931b34863ff60e2341d4fdfe472fef2fe2c33… 68 # Official test vector 7, seed: "aefb28fdd34e0ab403a703b535296e3a545ca479c1d8148e2d501b3c8dd8b1034b… 76 # Official test vector 8, seed: "cbe5161e8de02dda7de204aeb0fbb4ca81344ba8c30fe357a4664e5d2988a03b64… 84 # Official test vector 9, seed: "b4663a7a9883386a2ae4cbd93787e247bf26087e3826d1b8dbeb679e49c0bb286e… [all …]
|
H A D | evppkey_ml_kem_512_keygen.txt | 12 # Official test vector 0, seed: "061550234d158c5ec95595fe04ef7a25767f2e24cc2bc479d09d86dc9abcfde705… 19 # Official test vector 1, seed: "d81c4d8d734fcbfbeade3d3f8a039faa2a2c9957e835ad55b22e75bf57bb556ac8… 26 # Official test vector 2, seed: "64335bf29e5de62842c941766ba129b0643b5e7121ca26cfc190ec7dc354383055… 33 # Official test vector 3, seed: "225d5ce2ceac61930a07503fb59f7c2f936a3e075481da3ca299a80f8c5df9223a… 40 # Official test vector 4, seed: "edc76e7c1523e3862552133fea4d2ab05c69fb54a9354f0846456a2a407e071df4… 47 # Official test vector 5, seed: "aa93649193c2c5985acf8f9e6ac50c36ae16a2526d7c684f7a3bb4abcd7b6ff790… 54 # Official test vector 6, seed: "2e014dc7c2696b9f6d4af555cba4b931b34863ff60e2341d4fdfe472fef2fe2c33… 61 # Official test vector 7, seed: "aefb28fdd34e0ab403a703b535296e3a545ca479c1d8148e2d501b3c8dd8b1034b… 68 # Official test vector 8, seed: "cbe5161e8de02dda7de204aeb0fbb4ca81344ba8c30fe357a4664e5d2988a03b64… 75 # Official test vector 9, seed: "b4663a7a9883386a2ae4cbd93787e247bf26087e3826d1b8dbeb679e49c0bb286e… [all …]
|
H A D | evppkey_ml_kem_1024_keygen.txt | 13 # Official test vector 0, seed: "061550234d158c5ec95595fe04ef7a25767f2e24cc2bc479d09d86dc9abcfde705… 20 # Official test vector 1, seed: "d81c4d8d734fcbfbeade3d3f8a039faa2a2c9957e835ad55b22e75bf57bb556ac8… 27 # Official test vector 2, seed: "64335bf29e5de62842c941766ba129b0643b5e7121ca26cfc190ec7dc354383055… 34 # Official test vector 3, seed: "225d5ce2ceac61930a07503fb59f7c2f936a3e075481da3ca299a80f8c5df9223a… 41 # Official test vector 4, seed: "edc76e7c1523e3862552133fea4d2ab05c69fb54a9354f0846456a2a407e071df4… 48 # Official test vector 5, seed: "aa93649193c2c5985acf8f9e6ac50c36ae16a2526d7c684f7a3bb4abcd7b6ff790… 55 # Official test vector 6, seed: "2e014dc7c2696b9f6d4af555cba4b931b34863ff60e2341d4fdfe472fef2fe2c33… 62 # Official test vector 7, seed: "aefb28fdd34e0ab403a703b535296e3a545ca479c1d8148e2d501b3c8dd8b1034b… 69 # Official test vector 8, seed: "cbe5161e8de02dda7de204aeb0fbb4ca81344ba8c30fe357a4664e5d2988a03b64… 76 # Official test vector 9, seed: "b4663a7a9883386a2ae4cbd93787e247bf26087e3826d1b8dbeb679e49c0bb286e… [all …]
|
H A D | evppkey_ml_kem_768_keygen.txt | 13 # Official test vector 0, seed: "061550234d158c5ec95595fe04ef7a25767f2e24cc2bc479d09d86dc9abcfde705… 20 # Official test vector 1, seed: "d81c4d8d734fcbfbeade3d3f8a039faa2a2c9957e835ad55b22e75bf57bb556ac8… 27 # Official test vector 2, seed: "64335bf29e5de62842c941766ba129b0643b5e7121ca26cfc190ec7dc354383055… 34 # Official test vector 3, seed: "225d5ce2ceac61930a07503fb59f7c2f936a3e075481da3ca299a80f8c5df9223a… 41 # Official test vector 4, seed: "edc76e7c1523e3862552133fea4d2ab05c69fb54a9354f0846456a2a407e071df4… 48 # Official test vector 5, seed: "aa93649193c2c5985acf8f9e6ac50c36ae16a2526d7c684f7a3bb4abcd7b6ff790… 55 # Official test vector 6, seed: "2e014dc7c2696b9f6d4af555cba4b931b34863ff60e2341d4fdfe472fef2fe2c33… 62 # Official test vector 7, seed: "aefb28fdd34e0ab403a703b535296e3a545ca479c1d8148e2d501b3c8dd8b1034b… 69 # Official test vector 8, seed: "cbe5161e8de02dda7de204aeb0fbb4ca81344ba8c30fe357a4664e5d2988a03b64… 76 # Official test vector 9, seed: "b4663a7a9883386a2ae4cbd93787e247bf26087e3826d1b8dbeb679e49c0bb286e… [all …]
|
/freebsd/contrib/ofed/opensm/include/complib/ |
H A D | cl_vector.h | 38 * This file contains vector definitions. Vector provides dynmically 39 * resizable array functionality. Objects in a Vector are not relocated 57 /****h* Component Library/Vector 59 * Vector 62 * The Vector is a self-sizing array. Like a traditonal array, a vector 64 * A vector grows transparently as the user adds elements to the array. 66 * As the vector grows in size, it does not relocate existing elements in 67 * memory. This allows using pointers to elements stored in a Vector. 69 * Users can supply an initializer functions that allow a vector to ensure 70 * that new items added to the vector are properly initialized. A vector [all …]
|
H A D | cl_ptr_vector.h | 38 * This file contains pointer vector definitions. Pointer Vector provides 56 /****h* Component Library/Pointer Vector 58 * Pointer Vector 61 * The Pointer Vector is a self-sizing array of pointers. Like a traditonal 62 * array, a pointer vector allows efficient constant time access to elements 63 * with a specified index. A pointer vector grows transparently as the 91 /****d* Component Library: Pointer Vector/cl_pfn_ptr_vec_apply_t 97 * functions used to iterate elements in a pointer vector. 110 * [in] Pointer to an element at the specified index in the pointer vector. 124 * Pointer Vector, cl_ptr_vector_apply_func [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Headers/hlsl/ |
H A D | hlsl_basic_types.h | 15 /// \typedef template<typename Ty, int Size> using vector = Ty 18 /// \tparam Ty The base type of the vector may be any builtin integral or 20 /// \tparam Size The size of the vector may be any value between 1 and 4. 35 // built-in vector data types: 38 typedef vector<int16_t, 2> int16_t2; 39 typedef vector<int16_t, 3> int16_t3; 40 typedef vector<int16_t, 4> int16_t4; 41 typedef vector<uint16_t, 2> uint16_t2; 42 typedef vector<uint16_t, 3> uint16_t3; 43 typedef vector<uint16_t, 4> uint16_t4; [all …]
|
/freebsd/contrib/bc/include/ |
H A D | vector.h | 64 /// An integer to shrink the size of a vector by using these instead of size_t. 69 /// An integer to shrink the size of a vector by using these instead of size_t. 80 /// Vector destructor. 119 /// The actual vector struct. 122 /// The vector array itself. This uses a char* because it is compatible with 126 /// The length of the vector, which is how many items actually exist. 129 /// The capacity of the vector, which is how many items can fit in the 133 /// The size of the items in the vector, as returned by sizeof(). 142 * Initializes a vector. 143 * @param v The vector to initialize. [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Headers/ |
H A D | mmintrin.h | 42 /// Constructs a 64-bit integer vector, setting the lower 32 bits to the 51 /// \returns A 64-bit integer vector. The lower 32 bits contain the value of the 59 /// Returns the lower 32 bits of a 64-bit integer vector as a 32-bit 67 /// A 64-bit integer vector. 76 /// Casts a 64-bit signed integer value into a 64-bit integer vector. 84 /// \returns A 64-bit integer vector containing the same bitwise pattern as the 92 /// Casts a 64-bit integer vector into a 64-bit signed integer value. 99 /// A 64-bit integer vector. 109 /// vector parameters of [4 x i16] into 8-bit signed integer values, and 110 /// constructs a 64-bit integer vector of [8 x i8] as the result. [all …]
|
H A D | avxintrin.h | 68 /// A 256-bit vector of [4 x double] containing one of the source operands. 70 /// A 256-bit vector of [4 x double] containing one of the source operands. 71 /// \returns A 256-bit vector of [4 x double] containing the sums of both 86 /// A 256-bit vector of [8 x float] containing one of the source operands. 88 /// A 256-bit vector of [8 x float] containing one of the source operands. 89 /// \returns A 256-bit vector of [8 x float] containing the sums of both 104 /// A 256-bit vector of [4 x double] containing the minuend. 106 /// A 256-bit vector of [4 x double] containing the subtrahend. 107 /// \returns A 256-bit vector of [4 x double] containing the differences between 122 /// A 256-bit vector of [8 x float] containing the minuend. [all …]
|
H A D | emmintrin.h | 68 /// A 128-bit vector of [2 x double] containing one of the source operands. 70 /// A 128-bit vector of [2 x double] containing one of the source operands. 71 /// \returns A 128-bit vector of [2 x double] whose lower 64 bits contain the 87 /// A 128-bit vector of [2 x double] containing one of the source operands. 89 /// A 128-bit vector of [2 x double] containing one of the source operands. 90 /// \returns A 128-bit vector of [2 x double] containing the sums of both 108 /// A 128-bit vector of [2 x double] containing the minuend. 110 /// A 128-bit vector of [2 x double] containing the subtrahend. 111 /// \returns A 128-bit vector of [2 x double] whose lower 64 bits contain the 127 /// A 128-bit vector of [2 x double] containing the minuend. [all …]
|
H A D | fmaintrin.h | 29 /// A 128-bit vector of [4 x float] containing the multiplicand. 31 /// A 128-bit vector of [4 x float] containing the multiplier. 33 /// A 128-bit vector of [4 x float] containing the addend. 34 /// \returns A 128-bit vector of [4 x float] containing the result. 49 /// A 128-bit vector of [2 x double] containing the multiplicand. 51 /// A 128-bit vector of [2 x double] containing the multiplier. 53 /// A 128-bit vector of [2 x double] containing the addend. 54 /// \returns A 128-bit [2 x double] vector containing the result. 74 /// A 128-bit vector of [4 x float] containing the multiplicand in the low 77 /// A 128-bit vector of [4 x float] containing the multiplier in the low [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
H A D | RISCVInstrInfoVSDPatterns.td | 10 /// support code generation for the standard 'V' (Vector) extension, version 149 vti.Vector, vti.Vector, vti.Log2SEW, 152 vti.Vector, vti.Vector, vti.Log2SEW, 165 vti.Vector, vti.Vector, vti.Log2SEW, 224 vti.Vector, vti.Vector, vti.Log2SEW, 227 vti.Vector, vti.Vector, vti.Scalar, 239 vti.Vector, vti.Vector, vti.Log2SEW, 242 vti.Vector, vti.Vector, vti.Scalar, 253 def : Pat<(fvti.Vector (vop (fvti.Vector (SplatFPOp fvti.Scalar:$rs2)), 254 (fvti.Vector fvti.RegClass:$rs1))), [all …]
|
H A D | RISCVScheduleV.td | 280 // 3.6 Vector Byte Length vlenb 288 // 7. Vector Loads and Stores 289 // 7.4. Vector Unit-Stride Instructions 292 // 7.4.1. Vector Unit-Strided Mask 295 // 7.5. Vector Strided Instructions 304 // 7.6. Vector Indexed Instructions 321 // 7.7. Vector Unit-stride Fault-Only-First Loads 323 // 7.8. Vector Segment Instructions 337 // 7.9. Vector Whole Register Instructions 347 // 11. Vector Integer Arithmetic Instructions [all …]
|
/freebsd/contrib/llvm-project/libcxx/include/ |
H A D | vector | 16 vector synopsis 22 class vector 38 vector() 40 explicit vector(const allocator_type&); 41 explicit vector(size_type n); 42 explicit vector(size_type n, const allocator_type&); // C++14 43 vector(size_type n, const value_type& value, const allocator_type& = allocator_type()); 45 vector(InputIterator first, InputIterator last, const allocator_type& = allocator_type()); 47 constexpr vector(from_range_t, R&& rg, const Allocator& = Allocator()); // C++23 48 vector(const vector& x); [all …]
|
/freebsd/crypto/openssl/crypto/ml_dsa/ |
H A D | ml_dsa_vector.h | 19 * @brief Initialize a Vector object. 21 * @param v The vector to initialize. 27 void vector_init(VECTOR *v, POLY *polys, size_t num_polys) in vector_init() 34 int vector_alloc(VECTOR *v, size_t num_polys) in vector_alloc() 44 void vector_free(VECTOR *v) in vector_free() 53 void vector_zero(VECTOR *va) in vector_zero() 60 * @brief copy a vector 64 vector_copy(VECTOR *dst, const VECTOR *src) in vector_copy() 72 vector_equal(const VECTOR *a, const VECTOR *b) in vector_equal() 87 vector_add(const VECTOR *lhs, const VECTOR *rhs, VECTOR *out) in vector_add() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/ |
H A D | MapVector.h | 32 /// mapping is done with DenseMap from Keys to indexes in that vector. 38 VectorType Vector; variable 54 /// Clear the MapVector and return the underlying vector. 57 return std::move(Vector); in takeVector() 60 size_type size() const { return Vector.size(); } in size() 66 Vector.reserve(NumEntries); in reserve() 69 iterator begin() { return Vector.begin(); } in begin() 70 const_iterator begin() const { return Vector.begin(); } in begin() 71 iterator end() { return Vector.end(); } in end() 72 const_iterator end() const { return Vector in end() [all...] |
/freebsd/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/ |
H A D | BlotMapVector.h | 16 #include <vector> 23 /// Map keys to indices in Vector. 28 using VectorTy = std::vector<std::pair<KeyT, ValueT>>; 29 VectorTy Vector; variable 34 assert(Vector.size() >= Map.size()); // May differ due to blotting. in ~BlotMapVector() 37 assert(I->second < Vector.size()); in ~BlotMapVector() 38 assert(Vector[I->second].first == I->first); in ~BlotMapVector() 40 for (typename VectorTy::const_iterator I = Vector.begin(), E = Vector.end(); in ~BlotMapVector() 43 Map[I->first] == size_t(I - Vector.begin()))); in ~BlotMapVector() 50 iterator begin() { return Vector.begin(); } in begin() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/PBQP/ |
H A D | Math.h | 1 //===- Math.h - PBQP Vector and Matrix classes ------------------*- C++ -*-===// 24 /// PBQP Vector class. 25 class Vector { 26 friend hash_code hash_value(const Vector &); 29 /// Construct a PBQP vector of the given size. 30 explicit Vector(unsigned Length) in Vector() function 33 /// Construct a PBQP vector with initializer. 34 Vector(unsigned Length, PBQPNum InitVal) in Vector() function 39 /// Copy construct a PBQP vector. 40 Vector(const Vector &V) in Vector() function [all …]
|