| /freebsd-12.1/contrib/llvm/include/llvm/Support/ |
| H A D | BinaryStreamArray.h | 161 Array(&Array), AbsOffset(Offset), HadError(HadError) { in VarStreamArrayIterator() 178 if (Array && R.Array) { 180 assert(Array == R.Array); 185 if (!Array && !R.Array) 232 Array = nullptr; in moveToEnd() 325 : Array(Array), Index(Index) {} in FixedStreamArrayIterator() 329 Array = Other.Array; 338 assert(Array == R.Array); 339 return (Index == R.Index) && (Array == R.Array); 354 assert(Array == R.Array); [all …]
|
| H A D | BinaryStreamWriter.h | 138 template <typename T> Error writeArray(ArrayRef<T> Array) { in writeArray() argument 139 if (Array.empty()) in writeArray() 141 if (Array.size() > UINT32_MAX / sizeof(T)) in writeArray() 146 ArrayRef<uint8_t>(reinterpret_cast<const uint8_t *>(Array.data()), in writeArray() 147 Array.size() * sizeof(T))); in writeArray() 155 Error writeArray(VarStreamArray<T, U> Array) { in writeArray() argument 156 return writeStreamRef(Array.getUnderlyingStream()); in writeArray() 163 template <typename T> Error writeArray(FixedStreamArray<T> Array) { in writeArray() argument 164 return writeStreamRef(Array.getUnderlyingStream()); in writeArray()
|
| H A D | JSON.h | 81 class Array; variable 143 json::Array *getArray(StringRef K); 152 class Array { 160 explicit Array() = default; 203 friend bool operator==(const Array &L, const Array &R) { return L.V == R.V; } 205 inline bool operator!=(const Array &L, const Array &R) { return !(L == R); } 286 Array, enumerator 384 return Array; in kind() 433 const json::Array *getAsArray() const { in getAsArray() 436 json::Array *getAsArray() { in getAsArray() [all …]
|
| H A D | BinaryStreamReader.h | 176 Error readArray(ArrayRef<T> &Array, uint32_t NumElements) { in readArray() argument 179 Array = ArrayRef<T>(); in readArray() 193 Array = ArrayRef<T>(reinterpret_cast<const T *>(Bytes.data()), NumElements); in readArray() 206 Error readArray(VarStreamArray<T, U> &Array, uint32_t Size, 211 Array.setUnderlyingStream(S, Skew); 224 Error readArray(FixedStreamArray<T> &Array, uint32_t NumItems) { in readArray() argument 226 Array = FixedStreamArray<T>(); in readArray() 238 Array = FixedStreamArray<T>(View); in readArray()
|
| /freebsd-12.1/contrib/llvm/tools/llvm-cov/ |
| H A D | CoverageExporterJson.cpp | 63 json::Array renderRegion(const coverage::CountedRegion &Region) { in renderRegion() 71 json::Array RegionArray; in renderRegions() 79 {{"filenames", json::Array(Expansion.Function.Filenames)}, in renderExpansion() 114 json::Array ExpansionArray; in renderFileExpansions() 122 json::Array SegmentArray; in renderFileSegments() 143 json::Array renderFiles(const coverage::CoverageMapping &Coverage, in renderFiles() 147 json::Array FileArray; in renderFiles() 154 json::Array renderFunctions( in renderFunctions() 156 json::Array FunctionArray; in renderFunctions() 162 {"filenames", json::Array(F.Filenames)}})); in renderFunctions() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/ |
| H A D | SarifDiagnostics.cpp | 116 {"roles", json::Array{"resultFile"}}, in createFile() 122 json::Array &Files) { in createFileLocation() 156 json::Array &Files) { in createPhysicalLocation() 210 json::Array &Files) { in createThreadFlow() 212 json::Array Locations; in createThreadFlow() 226 json::Array &Files) { in createCodeFlow() 248 {"codeFlows", json::Array{createCodeFlow(Path, Files)}}, in createResult() 250 json::Array{createLocation(createPhysicalLocation( in createResult() 295 json::Array Rules; in createRules() 316 json::Array Results, Files; in createRun() [all …]
|
| /freebsd-12.1/contrib/compiler-rt/lib/xray/ |
| H A D | xray_segmented_array.h | 34 template <class T> class Array { 297 explicit Array(AllocatorType &A) XRAY_NEVER_INSTRUMENT in Array() function 304 Array() XRAY_NEVER_INSTRUMENT : Alloc(nullptr), in Array() function 310 Array(const Array &) = delete; 311 Array &operator=(const Array &) = delete; 313 Array(Array &&O) XRAY_NEVER_INSTRUMENT : Alloc(O.Alloc), in Array() function 325 Array &operator=(Array &&O) XRAY_NEVER_INSTRUMENT { 339 ~Array() XRAY_NEVER_INSTRUMENT { in ~Array() 646 typename Array<T>::Segment Array<T>::SentinelSegment{ 647 &Array<T>::SentinelSegment, &Array<T>::SentinelSegment, {'\0'}};
|
| H A D | xray_profile_collector.cc | 68 using ThreadDataArray = Array<ThreadData>; 89 using ProfileBufferArray = Array<ProfileBuffer>; 150 using PathArray = Array<int32_t>; 163 using ProfileRecordArray = Array<ProfileRecord>; 170 using StackArray = Array<const FunctionCallTrie::Node *>; in populateRecords()
|
| H A D | xray_function_call_trie.h | 104 using NodeIdPairArray = Array<NodeIdPair>; 129 using NodeArray = Array<Node>; 130 using RootArray = Array<Node *>; 131 using ShadowStackArray = Array<ShadowStackEntry>; 490 using Stack = Array<NodeAndParent>; in deepCopyInto() 549 using Stack = Array<NodeAndTarget>; in mergeInto()
|
| /freebsd-12.1/contrib/llvm/lib/TableGen/ |
| H A D | JSONBackend.cpp | 33 json::Array listSuperclasses(const Record &R); 55 json::Array array; in translateInit() 66 json::Array array; in translateInit() 100 json::Array args; in translateInit() 102 json::Array arg; in translateInit() 134 std::map<std::string, json::Array> instance_lists; in run() 146 json::Array fields; in run() 159 json::Array superclasses; in run()
|
| /freebsd-12.1/contrib/one-true-awk/ |
| H A D | tran.c | 37 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 */ in makesymtab() 144 Array *ap; in makesymtab() 147 ap = (Array *) malloc(sizeof(Array)); in makesymtab() 160 Array *tp; in freesymtab() 165 tp = (Array *) ap->sval; in freesymtab() 187 Array *tp; in freeelem() 191 tp = (Array *) ap->sval; in freeelem() [all …]
|
| H A D | proto.h | 99 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 *);
|
| H A D | awk.h | 88 typedef struct Array { /* symbol table array */ struct 92 } Array; argument 95 extern Array *symtab;
|
| /freebsd-12.1/contrib/llvm/lib/Support/ |
| H A D | JSON.cpp | 71 const json::Array *Object::getArray(StringRef K) const { in getArray() 76 json::Array *Object::getArray(StringRef K) { in getArray() 92 Array::Array(std::initializer_list<Value> Elements) { in Array() function in llvm::json::Array 101 : Value(json::Array(Elements)) {} in Value() 122 create<json::Array>(M.as<json::Array>()); in copyFrom() 148 create<json::Array>(std::move(M.as<json::Array>())); in moveFrom() 171 as<json::Array>().~Array(); in destroy() 194 case Value::Array: in operator ==() 282 Out = Array{}; in parseValue() 283 Array &A = *Out.getAsArray(); in parseValue() [all …]
|
| H A D | SmallPtrSet.cpp | 70 const void *const *Array = CurArray; in FindBucketFor() local 76 if (LLVM_LIKELY(Array[Bucket] == getEmptyMarker())) in FindBucketFor() 77 return Tombstone ? Tombstone : Array+Bucket; in FindBucketFor() 80 if (LLVM_LIKELY(Array[Bucket] == Ptr)) in FindBucketFor() 81 return Array+Bucket; in FindBucketFor() 85 if (Array[Bucket] == getTombstoneMarker() && !Tombstone) in FindBucketFor() 86 Tombstone = Array+Bucket; // Remember the first tombstone found. in FindBucketFor()
|
| /freebsd-12.1/sys/contrib/dev/acpica/common/ |
| H A D | dmtbdump.c | 384 UINT32 *Array; in AcpiDmDumpRsdt() local 392 Array = ACPI_CAST_PTR (ACPI_TABLE_RSDT, Table)->TableOffsetEntry; in AcpiDmDumpRsdt() 402 AcpiOsPrintf ("%8.8X\n", Array[i]); in AcpiDmDumpRsdt() 424 UINT64 *Array; in AcpiDmDumpXsdt() local 432 Array = ACPI_CAST_PTR (ACPI_TABLE_XSDT, Table)->TableOffsetEntry; in AcpiDmDumpXsdt() 442 AcpiOsPrintf ("%8.8X%8.8X\n", ACPI_FORMAT_UINT64 (Array[i])); in AcpiDmDumpXsdt()
|
| /freebsd-12.1/contrib/llvm/lib/Bitcode/Reader/ |
| H A D | BitstreamReader.cpp | 57 case BitCodeAbbrevOp::Array: in readAbbreviatedField() 78 case BitCodeAbbrevOp::Array: in skipAbbreviatedField() 112 if (CodeOp.getEncoding() == BitCodeAbbrevOp::Array || in skipRecord() 123 if (Op.getEncoding() != BitCodeAbbrevOp::Array && in skipRecord() 129 if (Op.getEncoding() == BitCodeAbbrevOp::Array) { in skipRecord() 199 if (CodeOp.getEncoding() == BitCodeAbbrevOp::Array || in readRecord() 212 if (Op.getEncoding() != BitCodeAbbrevOp::Array && in readRecord() 218 if (Op.getEncoding() == BitCodeAbbrevOp::Array) { in readRecord()
|
| /freebsd-12.1/contrib/llvm/tools/lldb/include/lldb/Utility/ |
| H A D | StructuredData.h | 57 class Array; variable 66 typedef std::shared_ptr<Array> ArraySP; 89 Array *GetAsArray() { in GetAsArray() 91 ? static_cast<Array *>(this) in GetAsArray() 164 class Array : public Object { 166 Array() : Object(lldb::eStructuredDataTypeArray) {} in Array() function 168 ~Array() override = default; 263 bool GetItemAtIndexAsArray(size_t idx, Array *&result) const { in GetItemAtIndexAsArray() 368 auto object_sp = std::make_shared<Array>(); in GetKeys() 477 bool GetValueForKeyAsArray(llvm::StringRef key, Array *&result) const { in GetValueForKeyAsArray()
|
| /freebsd-12.1/contrib/bearssl/T0/ |
| H A D | CPU.cs | 110 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()
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/InstrumentationRuntime/TSan/ |
| H A D | TSanRuntime.cpp | 212 static StructuredData::Array * 215 StructuredData::Array *trace = new StructuredData::Array(); in CreateStackTrace() 230 static StructuredData::Array *ConvertToStructuredArray( in ConvertToStructuredArray() 235 StructuredData::Array *array = new StructuredData::Array(); in ConvertToStructuredArray() 352 StructuredData::Array *stacks = ConvertToStructuredArray( in RetrieveReportData() 364 StructuredData::Array *mops = ConvertToStructuredArray( in RetrieveReportData() 391 StructuredData::Array *locs = ConvertToStructuredArray( in RetrieveReportData() 425 StructuredData::Array *mutexes = ConvertToStructuredArray( in RetrieveReportData() 444 StructuredData::Array *threads = ConvertToStructuredArray( in RetrieveReportData() 472 StructuredData::Array *unique_tids = ConvertToStructuredArray( in RetrieveReportData() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | PointerArithChecker.cpp | 29 Array, enumerator 100 return AllocKind::Array; in getKindOfNewOp() 134 if (*Kind == AllocKind::Array) in getArrayRegion() 237 State = State->set<RegionState>(Region, AllocKind::Array); in checkPostStmt() 290 if (*Kind == AllocKind::Array || *Kind == AllocKind::Reinterpreted) in checkPreStmt() 293 State = State->set<RegionState>(Region, AllocKind::Array); in checkPreStmt()
|
| H A D | ObjCContainersChecker.cpp | 47 void addSizeInfo(const Expr *Array, const Expr *Size, 69 void ObjCContainersChecker::addSizeInfo(const Expr *Array, const Expr *Size, in REGISTER_MAP_WITH_PROGRAMSTATE() 78 SVal ArrayRef = C.getSVal(Array); in REGISTER_MAP_WITH_PROGRAMSTATE()
|
| /freebsd-12.1/contrib/llvm/lib/BinaryFormat/ |
| H A D | MsgPackReader.cpp | 108 Obj.Kind = Type::Array; in read() 111 Obj.Kind = Type::Array; in read() 166 if ((FB & FixBitsMask::Array) == FixBits::Array) { in read() 167 Obj.Kind = Type::Array; in read() 168 Obj.Length = FB & ~FixBitsMask::Array; in read()
|
| /freebsd-12.1/contrib/llvm/include/llvm/CodeGen/ |
| H A D | LiveIntervalUnion.h | 169 class Array { 174 Array() = default; 175 ~Array() { clear(); } in ~Array()
|
| /freebsd-12.1/contrib/llvm/include/llvm/BinaryFormat/ |
| H A D | MsgPack.def | 80 HANDLE_MP_FIX_BITS(0x90, Array) 86 HANDLE_MP_FIX_BITS_MASK(0xf0, Array) 92 HANDLE_MP_FIX_MAX(0x0f, Array)
|