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

123456

/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Support/
H A DBinaryStreamArray.h1 //===- BinaryStreamArray.h - Array backed by an arbitrary stream *- C++ -*-===//
158 VarStreamArrayIterator(const ArrayType &Array, const Extractor &E, argument
160 : IterRef(Array.Stream.drop_front(Offset)), Extract(E),
161 Array(&Array), AbsOffset(Offset), HadError(HadError) {
178 if (Array && R.Array) {
180 assert(Array == R.Array);
185 if (!Array
368 FixedStreamArray<T> Array; member in class:llvm::FixedStreamArray
[all...]
H A DBinaryStreamWriter.h151 template <typename T> Error writeArray(ArrayRef<T> Array) { argument
152 if (Array.empty())
154 if (Array.size() > UINT32_MAX / sizeof(T))
159 ArrayRef<uint8_t>(reinterpret_cast<const uint8_t *>(Array.data()),
160 Array.size() * sizeof(T)));
163 /// Writes all data from the array \p Array to the underlying stream.
168 Error writeArray(VarStreamArray<T, U> Array) { argument
169 return writeStreamRef(Array.getUnderlyingStream());
172 /// Writes all elements from the array \p Array to the underlying stream.
176 template <typename T> Error writeArray(FixedStreamArray<T> Array) { argument
[all...]
H A DBinaryStreamReader.h188 Error readArray(ArrayRef<T> &Array, uint32_t NumElements) { argument
191 Array = ArrayRef<T>();
205 Array = ArrayRef<T>(reinterpret_cast<const T *>(Bytes.data()), NumElements);
210 /// \p Array. Updates the stream's offset to point after the newly read
218 Error readArray(VarStreamArray<T, U> &Array, uint32_t Size, argument
223 Array.setUnderlyingStream(S, Skew);
228 /// \p Array. Updates the stream's offset to point after the newly read
236 Error readArray(FixedStreamArray<T> &Array, uint32_t NumItems) { argument
238 Array = FixedStreamArray<T>();
250 Array
[all...]
H A DJSON.h16 /// See json::Value, and the related types json::Object and json::Array.
83 class Array;
146 const json::Array *getArray(StringRef K) const;
147 json::Array *getArray(StringRef K);
154 /// An Array is a JSON array, which contains heterogeneous JSON values.
156 class Array { class in namespace:llvm::json
164 Array() = default;
165 explicit Array(std::initializer_list<Value> Elements);
166 template <typename Collection> explicit Array(const Collection &C) { function in class:llvm::json::Array
208 friend bool operator==(const Array
291 Array, enumerator in enum:llvm::json::Value::Kind
833 Array, enumerator in enum:llvm::json::OStream::Context
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-cov/
H A DCoverageExporterJson.cpp74 json::Array renderSegment(const coverage::CoverageSegment &Segment) {
75 return json::Array({Segment.Line, Segment.Col,
80 json::Array renderRegion(const coverage::CountedRegion &Region) {
81 return json::Array({Region.LineStart, Region.ColumnStart, Region.LineEnd,
87 json::Array renderRegions(ArrayRef<coverage::CountedRegion> Regions) {
88 json::Array RegionArray;
96 {{"filenames", json::Array(Expansion.Function.Filenames)},
129 json::Array renderFileExpansions(const coverage::CoverageData &FileCoverage,
131 json::Array ExpansionArray;
137 json::Array renderFileSegment
[all...]
/freebsd-13-stable/contrib/llvm-project/lldb/tools/argdumper/
H A Dargdumper.cpp14 json::Array Arguments;
/freebsd-13-stable/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-13-stable/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-13-stable/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];
173 case Type::Array:
184 else if (Stack.back().Node.getKind() == Type::Array) {
186 auto &Array = Stack.back().Node.getArray(); local
187 DestNode = &Array[Stack.back().Index++];
219 case msgpack::Type::Array:
255 case Type::Array:
H A DMsgPackReader.cpp107 Obj.Kind = Type::Array;
110 Obj.Kind = Type::Array;
165 if ((FB & FixBitsMask::Array) == FixBits::Array) {
166 Obj.Kind = Type::Array;
167 Obj.Length = FB & ~FixBitsMask::Array;
214 "Invalid Map/Array with invalid length",
/freebsd-13-stable/contrib/llvm-project/llvm/lib/TableGen/
H A DJSONBackend.cpp32 json::Array listSuperclasses(const Record &R);
54 json::Array array;
65 json::Array array;
99 json::Array args;
101 json::Array arg;
133 std::map<std::string, json::Array> instance_lists;
145 json::Array fields;
158 json::Array superclasses;
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DSarifDiagnostics.cpp125 {"roles", json::Array{"resultFile"}},
131 json::Array &Artifacts) {
201 json::Array &Artifacts) {
258 json::Array &Artifacts) {
260 json::Array Locations;
276 json::Array &Artifacts) {
278 {"threadFlows", json::Array{createThreadFlow(LO, Pieces, Artifacts)}}};
283 json::Array &Artifacts,
293 {"codeFlows", json::Array{createCodeFlow(LO, Path, Artifacts)}},
295 json::Array{createLocatio
[all...]
/freebsd-13-stable/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.
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
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-13-stable/contrib/ntp/sntp/unity/auto/
H A Dcolour_reporter.rb15 message = message.join('\n') if (message.class == Array)
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/BinaryFormat/
H A DMsgPackDocument.h60 ArrayTy *Array; member in union:llvm::msgpack::DocNode::__anon3136
71 bool isArray() const { return getKind() == Type::Array; }
130 if (getKind() != Type::Array) {
252 ArrayDocNode(DocNode &N) : DocNode(N) { assert(getKind() == Type::Array); }
254 // Array access methods.
255 size_t size() const { return Array->size(); }
257 DocNode &back() const { return Array->back(); }
258 ArrayTy::iterator begin() { return Array->begin(); }
259 ArrayTy::iterator end() { return Array->end(); }
262 Array
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Bitstream/
H A DBitCodes.h103 Array = 3, // A sequence of fields, next field species elt encoding. enumerator in enum:llvm::BitCodeAbbrevOp::Encoding
131 case Array:
/freebsd-13-stable/sys/contrib/dev/acpica/common/
H A Ddmtbdump.c384 UINT32 *Array; local
392 Array = ACPI_CAST_PTR (ACPI_TABLE_RSDT, Table)->TableOffsetEntry;
402 AcpiOsPrintf ("%8.8X\n", Array[i]);
424 UINT64 *Array; local
432 Array = ACPI_CAST_PTR (ACPI_TABLE_XSDT, Table)->TableOffsetEntry;
442 AcpiOsPrintf ("%8.8X%8.8X\n", ACPI_FORMAT_UINT64 (Array[i]));
/freebsd-13-stable/contrib/one-true-awk/
H A Dtran.c37 Array *symtab; /* main symbol table */
61 Array *ARGVtab; /* symbol table containing ARGV[...] */
62 Array *ENVtab; /* symbol table containing ENVIRON[...] */
162 Array *makesymtab(int n) /* make a new symbol table */
164 Array *ap;
167 ap = (Array *) malloc(sizeof(Array));
180 Array *tp;
185 tp = (Array *) ap->sval;
207 Array *t
[all...]
H A Dawk.h89 typedef struct Array { /* symbol table array */ struct
93 } Array; typedef in typeref:struct:Array
96 extern Array *symtab;
H A Dproto.h99 extern Array *makesymtab(int);
102 extern Cell *setsymtab(const char *, const char *, double, unsigned int, Array *);
104 extern void rehash(Array *);
105 extern Cell *lookup(const char *, Array *);
/freebsd-13-stable/contrib/llvm-project/lldb/source/Utility/
H A DStructuredData.cpp22 static StructuredData::ObjectSP ParseJSONArray(json::Array *array);
51 if (json::Array *A = value.getAsArray())
84 static StructuredData::ObjectSP ParseJSONArray(json::Array *array) {
85 auto array_up = std::make_unique<StructuredData::Array>();
132 void StructuredData::Array::Serialize(json::OStream &s) const {
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DLiveIntervalUnion.h168 // Array of LiveIntervalUnions.
169 class Array { class in class:llvm::LiveIntervalUnion
174 Array() = default;
175 ~Array() { clear(); }
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DObjCContainersChecker.cpp46 void addSizeInfo(const Expr *Array, const Expr *Size,
68 void ObjCContainersChecker::addSizeInfo(const Expr *Array, const Expr *Size, argument
77 SVal ArrayRef = C.getSVal(Array);
H A DPointerArithChecker.cpp28 Array, member in class:__anon2288::AllocKind
99 return AllocKind::Array;
133 if (*Kind == AllocKind::Array)
236 State = State->set<RegionState>(Region, AllocKind::Array);
289 if (*Kind == AllocKind::Array || *Kind == AllocKind::Reinterpreted)
292 State = State->set<RegionState>(Region, AllocKind::Array);

Completed in 228 milliseconds

123456