Home
last modified time | relevance | path

Searched refs:Array (Results 1 – 25 of 256) sorted by relevance

1234567891011

/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DBinaryStreamArray.h163 VarStreamArrayIterator(const ArrayType &Array, const Extractor &E, in VarStreamArrayIterator() argument
165 : IterRef(Array.Stream.drop_front(Offset)), Extract(E), in VarStreamArrayIterator()
166 Array(&Array), AbsOffset(Offset), HadError(HadError) { in VarStreamArrayIterator()
183 if (Array && R.Array) {
185 assert(Array == R.Array);
190 if (!Array && !R.Array)
198 assert(Array && !HasError);
232 Array = nullptr; in moveToEnd()
245 const ArrayType *Array{nullptr};
325 FixedStreamArrayIterator(const FixedStreamArray<T> &Array, uint32_t Index) in FixedStreamArrayIterator() argument
[all …]
H A DJSON.h91 class Array; variable
154 const json::Array *getArray(StringRef K) const;
155 json::Array *getArray(StringRef K);
164 class Array {
172 Array() = default;
173 explicit Array(std::initializer_list<Value> Elements);
174 template <typename Collection> explicit Array(const Collection &C) { in Array() function
207 friend bool operator==(const Array &L, const Array &R);
209 inline bool operator!=(const Array &L, const Array &R) { return !(L == R); }
297 Array, enumerator
[all …]
H A DBinaryStreamWriter.h144 template <typename T> Error writeArray(ArrayRef<T> Array) {
145 if (Array.empty()) in writeArray() argument
147 if (Array.size() > UINT32_MAX / sizeof(T)) in writeArray()
152 ArrayRef<uint8_t>(reinterpret_cast<const uint8_t *>(Array.data()), in writeArray()
153 Array.size() * sizeof(T))); in writeArray()
156 /// Writes all data from the array \p Array to the underlying stream.
161 Error writeArray(VarStreamArray<T, U> Array) {
162 return writeStreamRef(Array.getUnderlyingStream()); in writeArray() argument
165 /// Writes all elements from the array \p Array to the underlying stream.
169 template <typename T> Error writeArray(FixedStreamArray<T> Array) {
170 writeArray(FixedStreamArray<T> Array) writeArray() argument
[all...]
H A DBinaryStreamReader.h178 Error readArray(ArrayRef<T> &Array, uint32_t NumElements) {
181 Array = ArrayRef<T>(); in readArray()
195 Array = ArrayRef<T>(reinterpret_cast<const T *>(Bytes.data()), NumElements); in readArray()
200 /// \p Array. Updates the stream's offset to point after the newly read
208 Error readArray(VarStreamArray<T, U> &Array, uint32_t Size,
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) {
228 Array = FixedStreamArray<T>(); in readArray() argument
240 Array in readArray()
180 readArray(ArrayRef<T> & Array,uint32_t NumElements) readArray() argument
[all...]
/freebsd/contrib/llvm-project/llvm/tools/llvm-cov/
H A DCoverageExporterJson.cpp83 json::Array renderSegment(const coverage::CoverageSegment &Segment) { in renderSegment()
84 return json::Array({Segment.Line, Segment.Col, in renderSegment()
89 json::Array renderRegion(const coverage::CountedRegion &Region) { in renderRegion()
90 return json::Array({Region.LineStart, Region.ColumnStart, Region.LineEnd, in renderRegion()
96 json::Array renderBranch(const coverage::CountedRegion &Region) { in renderBranch()
97 return json::Array( in renderBranch()
104 json::Array gatherConditions(const coverage::MCDCRecord &Record) { in gatherConditions()
105 json::Array Conditions; in gatherConditions()
111 json::Array renderMCDCRecord(const coverage::MCDCRecord &Record) { in renderMCDCRecord()
113 return json::Array({CMR.LineStart, CMR.ColumnStart, CMR.LineEnd, in renderMCDCRecord()
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dallocator_common.h22 void setFromArray(CompactPtrT *Array, u16 N) { in setFromArray()
25 memcpy(Batch, Array, sizeof(Batch[0]) * Count); in setFromArray()
27 void appendFromArray(CompactPtrT *Array, u16 N) { in appendFromArray()
29 memcpy(Batch + Count, Array, sizeof(Batch[0]) * N); in appendFromArray()
48 void moveToArray(CompactPtrT *Array) { in moveToArray()
49 memcpy(Array, Batch, sizeof(Batch[0]) * Count); in moveToArray()
53 void moveNToArray(CompactPtrT *Array, u16 N) { in moveNToArray()
55 memcpy(Array, Batch + Count - N, sizeof(Batch[0]) * N); in moveNToArray()
H A Dprimary32.h215 void pushBlocks(CacheT *C, uptr ClassId, CompactPtrT *Array, u32 Size) { in pushBlocks() argument
222 pushBatchClassBlocks(Sci, Array, Size); in pushBlocks()
233 if (compactPtrGroupBase(Array[I - 1]) != compactPtrGroupBase(Array[I])) in pushBlocks()
235 CompactPtrT Cur = Array[I]; in pushBlocks()
238 compactPtrGroupBase(Cur) < compactPtrGroupBase(Array[J - 1])) { in pushBlocks()
239 Array[J] = Array[J - 1]; in pushBlocks()
242 Array[J] = Cur; in pushBlocks()
246 pushBlocksImpl(C, ClassId, Sci, Array, Size, SameGroup); in pushBlocks()
477 void pushBatchClassBlocks(SizeClassInfo *Sci, CompactPtrT *Array, u32 Size) in pushBatchClassBlocks() argument
522 decompactPtr(SizeClassMap::BatchClassId, Array[Size - 1])); in pushBatchClassBlocks()
[all …]
H A Dprimary64.h273 void pushBlocks(CacheT *C, uptr ClassId, CompactPtrT *Array, u32 Size) { in pushBlocks() argument
280 pushBatchClassBlocks(Region, Array, Size); in pushBlocks()
294 if (compactPtrGroup(Array[I - 1]) != compactPtrGroup(Array[I])) in pushBlocks()
296 CompactPtrT Cur = Array[I]; in pushBlocks()
298 while (J > 0 && compactPtrGroup(Cur) < compactPtrGroup(Array[J - 1])) { in pushBlocks()
299 Array[J] = Array[J - 1]; in pushBlocks()
302 Array[J] = Cur; in pushBlocks()
308 pushBlocksImpl(C, ClassId, Region, Array, Size, SameGroup); in pushBlocks()
630 void pushBatchClassBlocks(RegionInfo *Region, CompactPtrT *Array, u32 Size) in pushBatchClassBlocks() argument
675 decompactPtr(SizeClassMap::BatchClassId, Array[Size - 1])); in pushBatchClassBlocks()
[all …]
H A Dlocal_cache.h
H A Dchunk.h23 inline u16 computeChecksum(u32 Seed, uptr Value, uptr *Array, uptr ArraySize) { in computeChecksum() argument
31 Crc = static_cast<u32>(CRC32_INTRINSIC(Crc, Array[I])); in computeChecksum()
37 Crc = computeHardwareCRC32(Crc, Array[I]); in computeChecksum()
42 Checksum = computeBSDChecksum(Checksum, Array[I]); in computeChecksum()
/freebsd/contrib/llvm-project/compiler-rt/lib/xray/
H A Dxray_segmented_array.h33 template <class T> class Array {
295 explicit Array(AllocatorType &A) XRAY_NEVER_INSTRUMENT in Array() function
302 Array() XRAY_NEVER_INSTRUMENT : Alloc(nullptr), in Array() function
308 Array(const Array &) = delete;
309 Array &operator=(const Array &) = delete;
311 Array(Array &&O) XRAY_NEVER_INSTRUMENT : Alloc(O.Alloc), in Array() function
323 Array &operator=(Array &&O) XRAY_NEVER_INSTRUMENT {
337 ~Array() XRAY_NEVER_INSTRUMENT { in ~Array()
644 typename Array<T>::Segment Array<T>::SentinelSegment{
645 &Array<T>::SentinelSegment, &Array<T>::SentinelSegment, {'\0'}};
/freebsd/contrib/llvm-project/llvm/lib/TextAPI/
H A DTextStubV5.cpp274 const Array *Targets = Section->getArray(Keys[TBDKey::TargetInfo]); in getTargetsSection()
367 const Array *Section = File->getArray(Keys[TBDKey::InstallName]); in getNameSection()
383 const Array *Section = File->getArray(Keys[Key]); in getSymbolSection()
505 const Array *Versions = File->getArray(Keys[TBDKey::SwiftABI]); in getSwiftVersion()
523 const Array *Versions = File->getArray(Keys[Key]); in getPackedVersion()
550 const Array *Section = File->getArray(Keys[TBDKey::Flags]); in getFlags()
691 const Array *Files = File->getArray(Keys[TBDKey::Documents]); in getInlinedLibs()
739 template <typename ContainerT = Array>
767 Array serializeTargetInfo(const TargetList &ActiveTargets) { in serializeTargetInfo()
768 Array Targets; in serializeTargetInfo()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/TableGen/
H A DJSONBackend.cpp53 json::Array array; in translateInit()
62 json::Array array; in translateInit()
96 json::Array args; in translateInit()
98 json::Array arg; in translateInit()
130 std::map<std::string, json::Array> instance_lists; in run()
142 json::Array fields; in run()
155 json::Array superclasses; in run()
163 json::Array locs; in run()
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DJSON.cpp77 const json::Array *Object::getArray(StringRef K) const { in getArray()
82 json::Array *Object::getArray(StringRef K) { in getArray()
98 Array::Array(std::initializer_list<Value> Elements) { in Array() function in llvm::json::Array
107 : Value(json::Array(Elements)) {} in Value()
129 create<json::Array>(M.as<json::Array>()); in copyFrom()
156 create<json::Array>(std::move(M.as<json::Array>())); in moveFrom()
180 as<json::Array>().~Array(); in destroy()
203 case Value::Array: in operator ==()
261 case Value::Array: in abbreviate()
287 case Value::Array: in abbreviateChildren()
[all …]
H A DSmallPtrSet.cpp69 const void *const *Array = CurArray; in FindBucketFor() local
75 if (LLVM_LIKELY(Array[Bucket] == getEmptyMarker())) in FindBucketFor()
76 return Tombstone ? Tombstone : Array+Bucket; in FindBucketFor()
79 if (LLVM_LIKELY(Array[Bucket] == Ptr)) in FindBucketFor()
80 return Array+Bucket; in FindBucketFor()
84 if (Array[Bucket] == getTombstoneMarker() && !Tombstone) in FindBucketFor()
85 Tombstone = Array+Bucket; // Remember the first tombstone found. in FindBucketFor()
/freebsd/contrib/llvm-project/llvm/include/llvm/BinaryFormat/
H A DMsgPackDocument.h60 ArrayTy *Array; member
71 bool isArray() const { return getKind() == Type::Array; } in isArray()
135 if (getKind() != Type::Array) {
258 ArrayDocNode(DocNode &N) : DocNode(N) { assert(getKind() == Type::Array); } in ArrayDocNode()
261 size_t size() const { return Array->size(); } in size()
263 DocNode &back() const { return Array->back(); } in back()
264 ArrayTy::iterator begin() { return Array->begin(); } in begin()
265 ArrayTy::iterator end() { return Array->end(); } in end()
268 Array->push_back(N); in push_back()
398 auto N = DocNode(&KindAndDocs[size_t(Type::Array)]); in getArrayNode()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Basic/
H A DSarif.cpp274 json::Array Rules; in endRun()
294 json::Array *Artifacts = Run.getArray("artifacts"); in endRun()
309 Artifact["roles"] = json::Array(A.Roles); in endRun()
324 json::Array
326 json::Object Ret{{"locations", json::Array{}}}; in createThreadFlows()
327 json::Array Locs; in createThreadFlows()
335 return json::Array{std::move(Ret)}; in createThreadFlows()
396 json::Array Locs; in appendResult()
403 Ret["codeFlows"] = json::Array{createCodeFlow(Result.ThreadFlows)}; in appendResult()
409 json::Array *Results = Run.getArray("results"); in appendResult()
[all …]
/freebsd/contrib/llvm-project/clang/lib/ExtractAPI/Serialization/
H A DSymbolGraphSerializer.cpp48 std::optional<Array> &&Array) { in serializeArray() argument
49 if (Array) in serializeArray()
50 Paren[Key] = std::move(*Array); in serializeArray()
57 Paren[Key] = Array(C); in serializeArray()
162 std::optional<Array> serializeAvailability(const AvailabilityInfo &Avail) { in serializeAvailability()
166 Array AvailabilityArray; in serializeAvailability()
258 Array LinesArray; in serializeDocComment()
306 std::optional<Array>
311 Array Fragments; in serializeDeclarationFragments()
536 Array Parameters; in serializeFunctionSignatureMixin()
[all …]
/freebsd/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()); in operator []()
71 return (*Array)[Index]; in operator []()
186 case Type::Array: in readFromBlob()
197 else if (Stack.back().Node.getKind() == Type::Array) { in readFromBlob()
199 auto &Array = Stack.back().Node.getArray(); in readFromBlob()
200 DestNode = &Array[Stack.back().Index++]; in readFromBlob()
232 case msgpack::Type::Array: in readFromBlob()
268 case Type::Array: in writeToBlob()
193 auto &Array = Stack.back().Node.getArray(); readFromBlob() local
/freebsd/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)
91 function poly_eval(coeffs::Array{BigFloat}, x::BigFloat)
112 function ratfn_eval(ncoeffs::Array{BigFloat}, dcoeffs::Array{BigFloat},
134 function poly_to_string(coeffs::Array{BigFloat})
155 function ratfn_to_string(ncoeffs::Array{BigFloat}, dcoeffs::Array{BigFloat})
171 function format_xylist(xys::Array{Tuple{BigFloat,BigFloat}})
202 function \(matrix_in :: Array{BigFloat,2},
[all …]
/freebsd/sys/contrib/dev/acpica/common/
H A Ddmtbdump.c431 UINT32 *Array; in AcpiDmDumpRsdt() local
439 Array = ACPI_CAST_PTR (ACPI_TABLE_RSDT, Table)->TableOffsetEntry; in AcpiDmDumpRsdt()
449 AcpiOsPrintf ("%8.8X\n", Array[i]); in AcpiDmDumpRsdt()
471 UINT64 *Array; in AcpiDmDumpXsdt() local
479 Array = ACPI_CAST_PTR (ACPI_TABLE_XSDT, Table)->TableOffsetEntry; in AcpiDmDumpXsdt()
489 AcpiOsPrintf ("%8.8X%8.8X\n", ACPI_FORMAT_UINT64 (Array[i])); in AcpiDmDumpXsdt()
/freebsd/contrib/one-true-awk/
H A Dtran.c36 Array *symtab; /* main symbol table */
109 Array *ap; in arginit()
134 Array *ap; in envinit()
158 Array *makesymtab(int n) /* make a new symbol table */ in makesymtab()
160 Array *ap; in makesymtab()
163 ap = (Array *) malloc(sizeof(*ap)); in makesymtab()
176 Array *tp; in freesymtab()
181 tp = (Array *) ap->sval; in freesymtab()
203 Array *tp; in freeelem()
207 tp = (Array *) ap->sval; in freeelem()
[all …]
/freebsd/sys/contrib/device-tree/Bindings/powerpc/opal/
H A Dpower-mgt.txt38 Array of strings containing the names of the idle states.
41 Array of unsigned 32-bit values containing the values of the
61 Array of unsigned 32-bit values containing the values of the
66 Array of unsigned 32-bit values containing the values of the
74 Array of unsigned 64-bit values containing the values for the
79 Array of unsigned 64-bit values containing the masks
107 Array of unsigned 64-bit values containing the pmicr values
115 Array of unsigned 64-bit values containing the mask indicating
/freebsd/contrib/llvm-project/lldb/source/Utility/
H A DStructuredData.cpp23 static StructuredData::ObjectSP ParseJSONArray(json::Array *array);
62 if (json::Array *A = value.getAsArray()) in ParseJSONValue()
97 static StructuredData::ObjectSP ParseJSONArray(json::Array *array) { in ParseJSONArray()
98 auto array_up = std::make_unique<StructuredData::Array>(); in ParseJSONArray()
143 void StructuredData::Array::Serialize(json::OStream &s) const { in Serialize()
203 void StructuredData::Array::GetDescription(lldb_private::Stream &s) const { in GetDescription()
/freebsd/contrib/bearssl/T0/
H A DCPU.cs110 Array.Copy(stackBuf, 0, nbuf, 0, len); in Push()
132 Array.Copy(stackBuf, stackPtr - (depth - 1), in Rot()
144 Array.Copy(stackBuf, stackPtr - depth, in NRot()

1234567891011