Searched refs:Array (Results 1 - 25 of 181) sorted by relevance

12345678

/freebsd-current/contrib/llvm-project/llvm/include/llvm/Support/
H A DBinaryStreamArray.h1 //===- BinaryStreamArray.h - Array backed by an arbitrary stream *- C++ -*-===//
163 VarStreamArrayIterator(const ArrayType &Array, const Extractor &E, argument
165 : IterRef(Array.Stream.drop_front(Offset)), Extract(E),
166 Array(&Array), AbsOffset(Offset), HadError(HadError) {
183 if (Array && R.Array) {
185 assert(Array == R.Array);
190 if (!Array
368 FixedStreamArray<T> Array; member in class:llvm::FixedStreamArray
[all...]
H A DBinaryStreamWriter.h144 template <typename T> Error writeArray(ArrayRef<T> Array) { argument
145 if (Array.empty())
147 if (Array.size() > UINT32_MAX / sizeof(T))
152 ArrayRef<uint8_t>(reinterpret_cast<const uint8_t *>(Array.data()),
153 Array.size() * sizeof(T)));
156 /// Writes all data from the array \p Array to the underlying stream.
161 Error writeArray(VarStreamArray<T, U> Array) { argument
162 return writeStreamRef(Array.getUnderlyingStream());
165 /// Writes all elements from the array \p Array to the underlying stream.
169 template <typename T> Error writeArray(FixedStreamArray<T> Array) { argument
[all...]
H A DJSON.h16 /// See json::Value, and the related types json::Object and json::Array.
91 class Array;
154 const json::Array *getArray(StringRef K) const;
155 json::Array *getArray(StringRef K);
162 /// An Array is a JSON array, which contains heterogeneous JSON values.
164 class Array { class in namespace:llvm::json
172 Array() = default;
173 explicit Array(std::initializer_list<Value> Elements);
174 template <typename Collection> explicit Array(const Collection &C) { function in class:llvm::json::Array
207 friend bool operator==(const Array
297 Array, enumerator in enum:llvm::json::Value::Kind
1069 Array, enumerator in enum:llvm::json::OStream::Context
[all...]
H A DBinaryStreamReader.h178 Error readArray(ArrayRef<T> &Array, uint32_t NumElements) { argument
181 Array = ArrayRef<T>();
195 Array = ArrayRef<T>(reinterpret_cast<const T *>(Bytes.data()), NumElements);
200 /// \p Array. Updates the stream's offset to point after the newly read
208 Error readArray(VarStreamArray<T, U> &Array, uint32_t Size, argument
213 Array.setUnderlyingStream(S, Skew);
218 /// \p Array. Updates the stream's offset to point after the newly read
226 Error readArray(FixedStreamArray<T> &Array, uint32_t NumItems) { argument
228 Array = FixedStreamArray<T>();
240 Array
[all...]
/freebsd-current/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dallocator_common.h22 void setFromArray(CompactPtrT *Array, u16 N) { argument
25 memcpy(Batch, Array, sizeof(Batch[0]) * Count);
27 void appendFromArray(CompactPtrT *Array, u16 N) { argument
29 memcpy(Batch + Count, Array, sizeof(Batch[0]) * N);
47 void moveToArray(CompactPtrT *Array) { argument
48 memcpy(Array, Batch, sizeof(Batch[0]) * Count);
H A Dprimary32.h229 void pushBlocks(CacheT *C, uptr ClassId, CompactPtrT *Array, u32 Size) { argument
236 pushBatchClassBlocks(Sci, Array, Size);
247 if (compactPtrGroupBase(Array[I - 1]) != compactPtrGroupBase(Array[I]))
249 CompactPtrT Cur = Array[I];
252 compactPtrGroupBase(Cur) < compactPtrGroupBase(Array[J - 1])) {
253 Array[J] = Array[J - 1];
256 Array[J] = Cur;
260 pushBlocksImpl(C, ClassId, Sci, Array, Siz
[all...]
H A Dchunk.h23 inline u16 computeChecksum(u32 Seed, uptr Value, uptr *Array, uptr ArraySize) { argument
31 Crc = static_cast<u32>(CRC32_INTRINSIC(Crc, Array[I]));
37 Crc = computeHardwareCRC32(Crc, Array[I]);
42 Checksum = computeBSDChecksum(Checksum, Array[I]);
/freebsd-current/contrib/llvm-project/llvm/tools/llvm-cov/
H A DCoverageExporterJson.cpp83 json::Array renderSegment(const coverage::CoverageSegment &Segment) {
84 return json::Array({Segment.Line, Segment.Col,
89 json::Array renderRegion(const coverage::CountedRegion &Region) {
90 return json::Array({Region.LineStart, Region.ColumnStart, Region.LineEnd,
96 json::Array renderBranch(const coverage::CountedRegion &Region) {
97 return json::Array(
104 json::Array gatherConditions(const coverage::MCDCRecord &Record) {
105 json::Array Conditions;
111 json::Array renderMCDCRecord(const coverage::MCDCRecord &Record) {
113 return json::Array({CM
[all...]
/freebsd-current/contrib/llvm-project/lldb/tools/argdumper/
H A Dargdumper.cpp14 json::Array Arguments;
/freebsd-current/contrib/llvm-project/llvm/tools/llvm-mca/Views/
H A DInstructionView.cpp34 json::Array SourceInfo;
/freebsd-current/contrib/bearssl/T0/
H A DCPU.cs110 Array.Copy(stackBuf, 0, nbuf, 0, len);
132 Array.Copy(stackBuf, stackPtr - (depth - 1),
144 Array.Copy(stackBuf, stackPtr - depth,
/freebsd-current/contrib/llvm-project/compiler-rt/lib/xray/
H A Dxray_segmented_array.h27 /// The Array type provides an interface similar to std::vector<...> but does
31 /// is destroyed. When an Array is destroyed, it will destroy elements in the
33 template <class T> class Array { class in namespace:__xray
296 explicit Array(AllocatorType &A) XRAY_NEVER_INSTRUMENT
303 Array() XRAY_NEVER_INSTRUMENT : Alloc(nullptr),
309 Array(const Array &) = delete;
310 Array &operator=(const Array &) = delete;
312 Array(Arra
[all...]
/freebsd-current/contrib/llvm-project/llvm/lib/Support/
H A DSmallPtrSet.cpp69 const void *const *Array = CurArray;
75 if (LLVM_LIKELY(Array[Bucket] == getEmptyMarker()))
76 return Tombstone ? Tombstone : Array+Bucket;
79 if (LLVM_LIKELY(Array[Bucket] == Ptr))
80 return Array+Bucket;
84 if (Array[Bucket] == getTombstoneMarker() && !Tombstone)
85 Tombstone = Array+Bucket; // Remember the first tombstone found.
H A DJSON.cpp77 const json::Array *Object::getArray(StringRef K) const {
82 json::Array *Object::getArray(StringRef K) {
98 Array::Array(std::initializer_list<Value> Elements) { function in class:llvm::json::Array
107 : Value(json::Array(Elements)) {}
129 create<json::Array>(M.as<json::Array>());
156 create<json::Array>(std::move(M.as<json::Array>()));
180 as<json::Array>()
[all...]
/freebsd-current/contrib/llvm-project/llvm/lib/TableGen/
H A DJSONBackend.cpp52 json::Array array;
61 json::Array array;
95 json::Array args;
97 json::Array arg;
129 std::map<std::string, json::Array> instance_lists;
141 json::Array fields;
154 json::Array superclasses;
/freebsd-current/contrib/llvm-project/llvm/tools/llvm-mca/
H A DPipelinePrinter.cpp81 json::Array Resources;
110 JO.try_emplace("CodeRegions", json::Array());
113 json::Array *Regions = JO.getArray("CodeRegions");
/freebsd-current/contrib/llvm-project/llvm/lib/TextAPI/
H A DTextStubV5.cpp64 "libraries": [ # Optional: Array of inlined libraries
274 const Array *Targets = Section->getArray(Keys[TBDKey::TargetInfo]);
367 const Array *Section = File->getArray(Keys[TBDKey::InstallName]);
383 const Array *Section = File->getArray(Keys[Key]);
505 const Array *Versions = File->getArray(Keys[TBDKey::SwiftABI]);
523 const Array *Versions = File->getArray(Keys[Key]);
550 const Array *Section = File->getArray(Keys[TBDKey::Flags]);
691 const Array *Files = File->getArray(Keys[TBDKey::Documents]);
739 template <typename ContainerT = Array>
767 Array serializeTargetInf
[all...]
/freebsd-current/contrib/ntp/sntp/unity/auto/
H A Dcolour_reporter.rb15 message = message.join('\n') if (message.class == Array)
/freebsd-current/contrib/llvm-project/llvm/include/llvm/BinaryFormat/
H A DMsgPackDocument.h60 ArrayTy *Array; member in union:llvm::msgpack::DocNode::__anon1520
71 bool isArray() const { return getKind() == Type::Array; }
135 if (getKind() != Type::Array) {
258 ArrayDocNode(DocNode &N) : DocNode(N) { assert(getKind() == Type::Array); }
260 // Array access methods.
261 size_t size() const { return Array->size(); }
263 DocNode &back() const { return Array->back(); }
264 ArrayTy::iterator begin() { return Array->begin(); }
265 ArrayTy::iterator end() { return Array->end(); }
268 Array
[all...]
/freebsd-current/contrib/llvm-project/clang/lib/Basic/
H A DSarif.cpp275 json::Array Rules;
295 json::Array *Artifacts = Run.getArray("artifacts");
310 Artifact["roles"] = json::Array(A.Roles);
325 json::Array
327 json::Object Ret{{"locations", json::Array{}}};
328 json::Array Locs;
336 return json::Array{std::move(Ret)};
397 json::Array Locs;
404 Ret["codeFlows"] = json::Array{createCodeFlow(Result.ThreadFlows)};
410 json::Array *Result
[all...]
/freebsd-current/contrib/llvm-project/llvm/include/llvm/Bitstream/
H A DBitCodes.h41 Array = 3, // A sequence of fields, next field species elt encoding. enumerator in enum:llvm::BitCodeAbbrevOp::Encoding
73 case Array:
/freebsd-current/contrib/llvm-project/llvm/lib/BinaryFormat/
H A DMsgPackDocument.cpp65 /// Array element access. This extends the array if necessary.
69 Array->resize(Index + 1, getDocument()->getEmptyNode());
71 return (*Array)[Index];
186 case Type::Array:
197 else if (Stack.back().Node.getKind() == Type::Array) {
199 auto &Array = Stack.back().Node.getArray(); local
200 DestNode = &Array[Stack.back().Index++];
232 case msgpack::Type::Array:
268 case Type::Array:
/freebsd-current/sys/contrib/dev/acpica/common/
H A Ddmtbdump.c438 UINT32 *Array; local
446 Array = ACPI_CAST_PTR (ACPI_TABLE_RSDT, Table)->TableOffsetEntry;
456 AcpiOsPrintf ("%8.8X\n", Array[i]);
478 UINT64 *Array; local
486 Array = ACPI_CAST_PTR (ACPI_TABLE_XSDT, Table)->TableOffsetEntry;
496 AcpiOsPrintf ("%8.8X%8.8X\n", ACPI_FORMAT_UINT64 (Array[i]));
/freebsd-current/contrib/one-true-awk/
H A Dtran.c36 Array *symtab; /* main symbol table */
60 Array *ARGVtab; /* symbol table containing ARGV[...] */
61 Array *ENVtab; /* symbol table containing ENVIRON[...] */
156 Array *makesymtab(int n) /* make a new symbol table */
158 Array *ap;
161 ap = (Array *) malloc(sizeof(*ap));
174 Array *tp;
179 tp = (Array *) ap->sval;
201 Array *tp;
205 tp = (Array *) a
[all...]
/freebsd-current/contrib/arm-optimized-routines/math/tools/
H A Dremez.jl14 array1d(T, d) = Array{T, 1}(undef, d)
15 array2d(T, d1, d2) = Array{T, 2}(undef, d1, d2)
17 array1d(T, d) = Array(T, d)
18 array2d(T, d1, d2) = Array(T, d1, d2)
85 # coeffs Array of BigFloats giving the coefficients of the polynomial.
91 function poly_eval(coeffs::Array{BigFloat}, x::BigFloat)
105 # ncoeffs Array of BigFloats giving the coefficients of the numerator.
107 # dcoeffs Array of BigFloats giving the coefficients of the denominator.
112 function ratfn_eval(ncoeffs::Array{BigFloat}, dcoeffs::Array{BigFloa
[all...]

Completed in 156 milliseconds

12345678