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

123456

/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Support/
H A DBinaryStreamArray.h1 //===- BinaryStreamArray.h - Array backed by an arbitrary stream *- C++ -*-===//
157 VarStreamArrayIterator(const ArrayType &Array, const Extractor &E, argument
159 : IterRef(Array.Stream.drop_front(Offset)), Extract(E),
160 Array(&Array), AbsOffset(Offset), HadError(HadError) {
177 if (Array && R.Array) {
179 assert(Array == R.Array);
184 if (!Array
367 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.h187 Error readArray(ArrayRef<T> &Array, uint32_t NumElements) { argument
190 Array = ArrayRef<T>();
204 Array = ArrayRef<T>(reinterpret_cast<const T *>(Bytes.data()), NumElements);
209 /// \p Array. Updates the stream's offset to point after the newly read
217 Error readArray(VarStreamArray<T, U> &Array, uint32_t Size, argument
222 Array.setUnderlyingStream(S, Skew);
227 /// \p Array. Updates the stream's offset to point after the newly read
235 Error readArray(FixedStreamArray<T> &Array, uint32_t NumItems) { argument
237 Array = FixedStreamArray<T>();
249 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
830 Array, enumerator in enum:llvm::json::OStream::Context
[all...]
/freebsd-11-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, clamp_uint64_to_int64(Segment.Count),
79 json::Array renderRegion(const coverage::CountedRegion &Region) {
80 return json::Array({Region.LineStart, Region.ColumnStart, Region.LineEnd,
86 json::Array renderRegions(ArrayRef<coverage::CountedRegion> Regions) {
87 json::Array RegionArray;
95 {{"filenames", json::Array(Expansion.Function.Filenames)},
128 json::Array renderFileExpansions(const coverage::CoverageData &FileCoverage,
130 json::Array ExpansionArray;
136 json::Array renderFileSegment
[all...]
/freebsd-11-stable/contrib/llvm-project/lldb/tools/argdumper/
H A Dargdumper.cpp14 json::Array Arguments;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/BinaryFormat/
H A DMsgPackDocument.cpp52 /// Array element access. This extends the array if necessary.
56 Array->resize(Index + 1, getDocument()->getNode());
58 return (*Array)[Index];
119 case Type::Array:
129 else if (Stack.back().Node.getKind() == Type::Array) {
131 auto &Array = Stack.back().Node.getArray(); local
132 Array.push_back(Node);
147 case msgpack::Type::Array:
157 if (Stack.back().Node.getKind() == msgpack::Type::Array) {
187 case Type::Array
[all...]
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-11-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-11-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-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DSarifDiagnostics.cpp118 {"roles", json::Array{"resultFile"}},
124 json::Array &Artifacts) {
194 json::Array &Artifacts) {
251 json::Array &Artifacts) {
253 json::Array Locations;
269 json::Array &Artifacts) {
271 {"threadFlows", json::Array{createThreadFlow(LO, Pieces, Artifacts)}}};
276 json::Array &Artifacts,
286 {"codeFlows", json::Array{createCodeFlow(LO, Path, Artifacts)}},
288 json::Array{createLocatio
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/BinaryFormat/
H A DMsgPackDocument.h60 ArrayTy *Array; member in union:llvm::msgpack::DocNode::__anon1746
69 bool isArray() const { return getKind() == Type::Array; }
126 if (getKind() != Type::Array) {
220 ArrayDocNode(DocNode &N) : DocNode(N) { assert(getKind() == Type::Array); }
222 // Array access methods.
223 size_t size() const { return Array->size(); }
225 ArrayTy::iterator begin() { return Array->begin(); }
226 ArrayTy::iterator end() { return Array->end(); }
229 Array->push_back(N);
340 /// Create an empty Array nod
[all...]
/freebsd-11-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.
H A DJSON.cpp70 const json::Array *Object::getArray(StringRef K) const {
75 json::Array *Object::getArray(StringRef K) {
91 Array::Array(std::initializer_list<Value> Elements) { function in class:llvm::json::Array
100 : Value(json::Array(Elements)) {}
121 create<json::Array>(M.as<json::Array>());
147 create<json::Array>(std::move(M.as<json::Array>()));
170 as<json::Array>()
[all...]
/freebsd-11-stable/contrib/ntp/sntp/unity/auto/
H A Dcolour_reporter.rb15 message = message.join('\n') if (message.class == Array)
/freebsd-11-stable/contrib/llvm-project/clang/lib/Tooling/DependencyScanning/
H A DDependencyScanningTool.cpp13 static llvm::json::Array toJSONSorted(const llvm::StringSet<> &Set) {
18 return llvm::json::Array(Strings);
104 Array Imports;
111 Array Mods;
/freebsd-11-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-11-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-11-stable/contrib/one-true-awk/
H A Dtran.c37 Array *symtab; /* main symbol table */
58 Array *ARGVtab; /* symbol table containing ARGV[...] */
59 Array *ENVtab; /* symbol table containing ENVIRON[...] */
142 Array *makesymtab(int n) /* make a new symbol table */
144 Array *ap;
147 ap = (Array *) malloc(sizeof(Array));
160 Array *tp;
165 tp = (Array *) ap->sval;
187 Array *t
[all...]
H A Dawk.h88 typedef struct Array { /* symbol table array */ struct
92 } Array; typedef in typeref:struct:Array
95 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-11-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-11-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-11-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:__anon839::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 137 milliseconds

123456