/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/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 t [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 …]
|
H A D | xmmintrin.h | 49 /// A 128-bit vector of [4 x float] containing one of the source operands. 52 /// A 128-bit vector of [4 x float] containing one of the source operands. 54 /// \returns A 128-bit vector of [4 x float] whose lower 32 bits contain the sum 72 /// A 128-bit vector of [4 x float] containing one of the source operands. 74 /// A 128-bit vector of [4 x float] containing one of the source operands. 75 /// \returns A 128-bit vector of [4 x float] containing the sums of both 91 /// A 128-bit vector of [4 x float] containing the minuend. The lower 32 bits 94 /// A 128-bit vector of [4 x float] containing the subtrahend. The lower 32 96 /// \returns A 128-bit vector of [4 x float] whose lower 32 bits contain the 115 /// A 128-bit vector of [4 x float] containing the minuend. [all …]
|
H A D | smmintrin.h | 41 /// Rounds up each element of the 128-bit vector of [4 x float] to an 42 /// integer and returns the rounded values in a 128-bit vector of 54 /// A 128-bit vector of [4 x float] values to be rounded up. 55 /// \returns A 128-bit vector of [4 x float] containing the rounded values. 58 /// Rounds up each element of the 128-bit vector of [2 x double] to an 59 /// integer and returns the rounded values in a 128-bit vector of 71 /// A 128-bit vector of [2 x double] values to be rounded up. 72 /// \returns A 128-bit vector of [2 x double] containing the rounded values. 75 /// Copies three upper elements of the first 128-bit vector operand to 76 /// the corresponding three upper elements of the 128-bit result vector of [all …]
|
H A D | tmmintrin.h | 37 /// A 64-bit vector of [8 x i8]. 38 /// \returns A 64-bit integer vector containing the absolute values of the 55 /// A 128-bit vector of [16 x i8]. 56 /// \returns A 128-bit integer vector containing the absolute values of the 73 /// A 64-bit vector of [4 x i16]. 74 /// \returns A 64-bit integer vector containing the absolute values of the 91 /// A 128-bit vector of [8 x i16]. 92 /// \returns A 128-bit integer vector containing the absolute values of the 109 /// A 64-bit vector of [2 x i32]. 110 /// \returns A 64-bit integer vector containing the absolute values of the [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 …]
|
H A D | RISCVInstrInfoVVLPatterns.td | 10 /// support code generation for the standard 'V' (Vector) extension, version 39 // Input: (vector, vector/scalar, merge, mask, roundmode, vl) 876 vti.Vector, vti.Vector, vti.Vector, vti.Mask, 880 vti.Vector, vti.Vector, vti.Vector, vti.Mask, 893 vti.Vector, vti.Vector, vti.Vector, vti.Mask, 907 wti.Vector, vti.Vector, vti.Vector, vti.Mask, 911 wti.Vector, vti.Vector, vti.Vector, vti.Mask, 927 wti.Vector, vti.Vector, vti.Log2SEW, 930 wti.Vector, vti.Vector, wti.Mask, 934 wti.Vector, wti.Vector, vti.Vector, vti.Mask, [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/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...] |
H A D | UniqueVector.h | 15 #include <vector> 21 /// unique entry that is added. T is the type of entries in the vector. This 26 using VectorType = typename std::vector<T>; 34 // Vector - ID ordered vector of entries. Entries can be indexed by ID - 1. 35 VectorType Vector; variable 38 /// insert - Append entry to the vector if it doesn't already exist. Returns 48 Val = static_cast<unsigned>(Vector.size()) + 1; in insert() 50 // Insert in vector. in insert() 51 Vector.push_back(Entry); in insert() 71 return Vector[ID - 1]; [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 …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | SIMachineScheduler.h | 22 #include <vector> 62 std::vector<SUnit*> SUnits; 64 std::vector<SUnit*> TopReadySUs; 65 std::vector<SUnit*> ScheduledSUnits; 75 std::vector<unsigned> InternalAdditionalPressure; 77 std::vector<unsigned> LiveInPressure; 78 std::vector<unsigned> LiveOutPressure; 90 std::vector<unsigned> HasLowLatencyNonWaitedParent; 95 std::vector<SIScheduleBlock*> Preds; // All blocks predecessors. 97 std::vector<std::pair<SIScheduleBlock*, SIScheduleBlockLinkKind>> Succs; [all …]
|