| /openbsd-src/gnu/llvm/compiler-rt/lib/scudo/standalone/ |
| H A D | wrappers_cpp.cpp | 25 return Allocator.allocate(size, scudo::Chunk::Origin::New); in operator new() 28 return Allocator.allocate(size, scudo::Chunk::Origin::NewArray); in operator new[]() 32 return Allocator.allocate(size, scudo::Chunk::Origin::New); in operator new() 36 return Allocator.allocate(size, scudo::Chunk::Origin::NewArray); in operator new[]() 39 return Allocator.allocate(size, scudo::Chunk::Origin::New, in operator new() 43 return Allocator.allocate(size, scudo::Chunk::Origin::NewArray, in operator new[]() 48 return Allocator.allocate(size, scudo::Chunk::Origin::New, in operator new() 53 return Allocator.allocate(size, scudo::Chunk::Origin::NewArray, in operator new[]() 58 Allocator.deallocate(ptr, scudo::Chunk::Origin::New); in operator delete() 61 Allocator.deallocate(ptr, scudo::Chunk::Origin::NewArray); in operator delete[]() [all …]
|
| H A D | wrappers_c.inc | 32 Product, scudo::Chunk::Origin::Malloc, SCUDO_MALLOC_ALIGNMENT, true)); 36 SCUDO_ALLOCATOR.deallocate(ptr, scudo::Chunk::Origin::Malloc); 76 size, scudo::Chunk::Origin::Malloc, SCUDO_MALLOC_ALIGNMENT)); 105 return SCUDO_ALLOCATOR.allocate(size, scudo::Chunk::Origin::Memalign, 117 SCUDO_ALLOCATOR.allocate(size, scudo::Chunk::Origin::Memalign, alignment); 136 scudo::Chunk::Origin::Memalign, PageSize)); 142 size, scudo::Chunk::Origin::Malloc, SCUDO_MALLOC_ALIGNMENT)); 144 SCUDO_ALLOCATOR.deallocate(ptr, scudo::Chunk::Origin::Malloc); 153 size, scudo::Chunk::Origin::Memalign, scudo::getPageSizeCached())); 228 SCUDO_ALLOCATOR.allocate(size, scudo::Chunk::Origin::Malloc, alignment));
|
| /openbsd-src/gnu/llvm/compiler-rt/lib/dfsan/ |
| H A D | dfsan_origin.h | 47 class Origin { 53 bool isChainedOrigin() const { return Origin::isValidId(raw_id_); } in isChainedOrigin() 56 CHECK(Origin::isValidId(raw_id_)); in getChainedId() 64 Origin getNextChainedOrigin(StackTrace *stack) const { in getNextChainedOrigin() 65 CHECK(Origin::isValidId(raw_id_)); in getNextChainedOrigin() 70 return Origin(prev_id); in getNextChainedOrigin() 73 static Origin CreateChainedOrigin(Origin prev, StackTrace *stack) { in CreateChainedOrigin() 101 return Origin((depth << kDepthShift) | chained_id); in CreateChainedOrigin() 104 static Origin FromRawId(u32 id) { return Origin(id); } in FromRawId() 114 explicit Origin(u32 raw_id) : raw_id_(raw_id) {} in Origin() function
|
| H A D | dfsan.cpp | 225 Origin o = Origin::FromRawId(id); in ChainOrigin() 227 Origin chained = Origin::CreateChainedOrigin(o, stack); in ChainOrigin() 785 const char *Origin() const { return Magenta(); } in Origin() function in Decorator 820 bool PrintOriginTraceFramesToStr(Origin o, InternalScopedString *out) { in PrintOriginTraceFramesToStr() 831 d.Origin(), origin_id, d.Default()); in PrintOriginTraceFramesToStr() 834 d.Origin(), origin_id, d.Default()); in PrintOriginTraceFramesToStr() 856 d.Origin(), label, addr, description ? description : "", in PrintOriginTraceToStr() 859 Origin o = Origin::FromRawId(origin); in PrintOriginTraceToStr() 926 Origin o = Origin::FromRawId(origin); in dfsan_print_origin_id_trace() 946 Origin o = Origin::FromRawId(origin); in dfsan_sprint_origin_id_trace() [all …]
|
| /openbsd-src/gnu/llvm/compiler-rt/lib/msan/ |
| H A D | msan_origin.h | 54 class Origin { 85 Origin getNextChainedOrigin(StackTrace *stack) const { in getNextChainedOrigin() 90 return Origin(prev_id); in getNextChainedOrigin() 97 static Origin CreateStackOrigin(u32 id) { in CreateStackOrigin() 99 return Origin((1 << kHeapShift) | id); in CreateStackOrigin() 102 static Origin CreateHeapOrigin(StackTrace *stack) { in CreateHeapOrigin() 106 return Origin(stack_id); in CreateHeapOrigin() 109 static Origin CreateChainedOrigin(Origin prev, StackTrace *stack) { in CreateChainedOrigin() 137 return Origin((1 << kHeapShift) | (depth << kDepthShift) | chained_id); in CreateChainedOrigin() 140 static Origin FromRawId(u32 id) { in FromRawId() [all …]
|
| H A D | msan_report.cpp | 33 const char *Origin() const { return Magenta(); } in Origin() function in __msan::Decorator 39 Printf("%s", d.Origin()); in DescribeStackOrigin() 44 d.Origin(), d.Name(), so, d.Origin(), d.Default()); in DescribeStackOrigin() 47 d.Origin(), d.Default()); in DescribeStackOrigin() 57 Origin o = Origin::FromRawId(id); in DescribeOrigin() 61 Printf(" %sUninitialized value was stored to memory at%s\n", d.Origin(), in DescribeOrigin() 74 d.Origin(), d.Default()); in DescribeOrigin() 78 d.Origin(), d.Default()); in DescribeOrigin() 81 Printf(" %sMemory was marked as uninitialized%s\n", d.Origin(), in DescribeOrigin() 85 Printf(" %sMember fields were destroyed%s\n", d.Origin(), d.Default()); in DescribeOrigin() [all …]
|
| H A D | msan.cpp | 208 f->origin_history_size > Origin::kMaxDepth) { in InitializeFlags() 212 f->origin_history_size, Origin::kMaxDepth); in InitializeFlags() 241 (__msan_get_track_origins() && Origin::isValidId(origin)) ? origin : 0; in PrintWarningWithOrigin() 244 if (__msan_get_track_origins() && !Origin::isValidId(origin)) { in PrintWarningWithOrigin() 296 Origin o = Origin::FromRawId(id); in ChainOrigin() 298 Origin chained = Origin::CreateChainedOrigin(o, stack); in ChainOrigin() 318 id = Origin::CreateStackOrigin(idx).raw_id(); in SetAllocaOrigin() 640 Origin o = Origin::FromRawId(this_id); in __msan_origin_is_descendant_or_same()
|
| /openbsd-src/gnu/llvm/compiler-rt/lib/scudo/standalone/tests/ |
| H A D | combined_test.cpp | 24 static constexpr scudo::Chunk::Origin Origin = scudo::Chunk::Origin::Malloc; variable 159 void *P = Allocator->allocate(Size, Origin, Align); in BasicTest() 166 Allocator->deallocate(P, Origin, Size); in BasicTest() 205 void *P = Allocator->allocate(Size, Origin, 1U << MinAlignLog, true); in SCUDO_TYPED_TEST() 210 Allocator->deallocate(P, Origin, Size); in SCUDO_TYPED_TEST() 223 void *P = Allocator->allocate(Size, Origin, 1U << MinAlignLog, false); in SCUDO_TYPED_TEST() 228 Allocator->deallocate(P, Origin, Size); in SCUDO_TYPED_TEST() 243 void *P = Allocator->allocate(Size, Origin, 1U << MinAlignLog, false); in SCUDO_TYPED_TEST() 255 Allocator->deallocate(P, Origin, Size); in SCUDO_TYPED_TEST() 265 void *NeedleP = Allocator->allocate(NeedleSize, Origin); in SCUDO_TYPED_TEST() [all …]
|
| /openbsd-src/regress/usr.sbin/bgpd/integrationtests/ |
| H A D | ixp.rdomain1.ok | 5 Origin IGP, metric 0, localpref 100, weight 0, ovs valid, avs unknown, external, valid, best 11 Origin IGP, metric 0, localpref 1, weight 0, ovs invalid, avs unknown, external, valid, best 18 Origin IGP, metric 0, localpref 100, weight 0, ovs not-found, avs unknown, external, valid, best 24 Origin IGP, metric 0, localpref 1, weight 0, ovs not-found, avs unknown, external, valid, best 31 Origin IGP, metric 0, localpref 1, weight 0, ovs not-found, avs unknown, external, valid, best 38 Origin IGP, metric 0, localpref 1, weight 0, ovs not-found, avs unknown, external, valid, best 45 Origin IGP, metric 0, localpref 100, weight 0, ovs not-found, avs unknown, external, valid, best 53 Origin IGP, metric 0, localpref 100, weight 0, ovs not-found, avs unknown, external, valid, best 61 Origin IGP, metric 0, localpref 100, weight 0, ovs not-found, avs unknown, external, valid, best 69 Origin IGP, metric 0, localpref 1, weight 0, ovs not-found, avs unknown, external, valid, best [all …]
|
| H A D | ixp.rdomain2.ok | 5 Origin IGP, metric 0, localpref 100, weight 0, ovs not-found, avs unknown, external, valid, best 10 Origin IGP, metric 0, localpref 100, weight 0, ovs not-found, avs unknown, external, valid, best 15 Origin IGP, metric 0, localpref 100, weight 0, ovs not-found, avs unknown, external, valid, best 22 Origin IGP, metric 0, localpref 100, weight 0, ovs not-found, avs unknown, external, valid, best 29 Origin IGP, metric 0, localpref 100, weight 0, ovs not-found, avs unknown, external, valid, best 36 Origin IGP, metric 0, localpref 100, weight 0, ovs not-found, avs unknown, external, valid, best 41 Origin IGP, metric 0, localpref 100, weight 0, ovs not-found, avs unknown, external, valid, best 47 Origin IGP, metric 0, localpref 100, weight 0, ovs not-found, avs unknown, external, valid, best 53 Origin IGP, metric 0, localpref 100, weight 0, ovs not-found, avs unknown, external, valid, best 58 Origin IGP, metric 0, localpref 100, weight 0, ovs not-found, avs unknown, external, valid, best [all …]
|
| H A D | mrt-table-mp.ok | 5 Origin EGP, metric 42, localpref 15, weight 0, ovs not-found, avs unknown, external 9 Origin IGP, metric 0, localpref 100, weight 0, ovs not-found, avs unknown, external 16 Origin IGP, metric 0, localpref 100, weight 0, ovs not-found, avs unknown, external 21 Origin EGP, metric 42, localpref 15, weight 0, ovs not-found, avs unknown, external 25 Origin IGP, metric 0, localpref 100, weight 0, ovs not-found, avs unknown, external 32 Origin IGP, metric 0, localpref 100, weight 0, ovs not-found, avs unknown, external 37 Origin EGP, metric 42, localpref 15, weight 0, ovs not-found, avs unknown, external 42 Origin IGP, metric 0, localpref 100, weight 0, ovs not-found, avs unknown, external 49 Origin IGP, metric 0, localpref 100, weight 0, ovs not-found, avs unknown, external 55 Origin EGP, metric 42, localpref 15, weight 0, ovs not-found, avs unknown, external [all …]
|
| H A D | mrt-table-v2.ok | 5 Origin EGP, metric 42, localpref 15, weight 0, ovs not-found, avs unknown, external 9 Origin IGP, metric 0, localpref 100, weight 0, ovs not-found, avs unknown, external 16 Origin IGP, metric 0, localpref 100, weight 0, ovs not-found, avs unknown, external 21 Origin EGP, metric 42, localpref 15, weight 0, ovs not-found, avs unknown, external 25 Origin IGP, metric 0, localpref 100, weight 0, ovs not-found, avs unknown, external 32 Origin IGP, metric 0, localpref 100, weight 0, ovs not-found, avs unknown, external 37 Origin EGP, metric 42, localpref 15, weight 0, ovs not-found, avs unknown, external 42 Origin IGP, metric 0, localpref 100, weight 0, ovs not-found, avs unknown, external 49 Origin IGP, metric 0, localpref 100, weight 0, ovs not-found, avs unknown, external 55 Origin EGP, metric 42, localpref 15, weight 0, ovs not-found, avs unknown, external [all …]
|
| H A D | eval_all.test4.ok | 5 Origin IGP, metric 0, localpref 100, weight 0, ovs not-found, avs unknown, external, valid 10 Origin IGP, metric 0, localpref 100, weight 0, ovs not-found, avs unknown, external, valid 15 Origin IGP, metric 0, localpref 100, weight 0, ovs not-found, avs unknown, external, valid 20 Origin IGP, metric 0, localpref 100, weight 0, ovs not-found, avs unknown, external, valid 25 Origin IGP, metric 0, localpref 100, weight 0, ovs not-found, avs unknown, external, valid 30 Origin IGP, metric 0, localpref 100, weight 0, ovs not-found, avs unknown, external, valid
|
| H A D | mrt-table.ok | 5 Origin EGP, metric 42, localpref 15, weight 0, ovs not-found, avs unknown, external 9 Origin IGP, metric 0, localpref 100, weight 0, ovs not-found, avs unknown, external 16 Origin IGP, metric 0, localpref 100, weight 0, ovs not-found, avs unknown, external 21 Origin EGP, metric 42, localpref 15, weight 0, ovs not-found, avs unknown, external 25 Origin IGP, metric 0, localpref 100, weight 0, ovs not-found, avs unknown, external 32 Origin IGP, metric 0, localpref 100, weight 0, ovs not-found, avs unknown, external
|
| H A D | eval_all.test1.ok | 5 Origin IGP, metric 0, localpref 100, weight 0, ovs not-found, avs unknown, external, valid 10 Origin IGP, metric 0, localpref 100, weight 0, ovs not-found, avs unknown, external, valid 15 Origin IGP, metric 0, localpref 100, weight 0, ovs not-found, avs unknown, external, valid 20 Origin IGP, metric 0, localpref 100, weight 0, ovs not-found, avs unknown, external, valid
|
| H A D | eval_all.test2.ok | 5 Origin IGP, metric 0, localpref 100, weight 0, ovs not-found, avs unknown, external, valid 10 Origin IGP, metric 0, localpref 100, weight 0, ovs not-found, avs unknown, external, valid
|
| /openbsd-src/gnu/llvm/clang/lib/AST/ |
| H A D | ExternalASTMerger.cpp | 283 ExternalASTMerger::DCOrigin Origin = Origins[DC]; in ForEachMatchingDC() local 284 LazyASTImporter &Importer = LazyImporterForOrigin(*this, *Origin.AST); in ForEachMatchingDC() 285 Callback(Importer, Importer.GetReverse(), Origin.DC); in ForEachMatchingDC() 370 DCOrigin Origin) { in MaybeRecordOrigin() argument 371 LazyASTImporter &Importer = LazyImporterForOrigin(*this, *Origin.AST); in MaybeRecordOrigin() 374 LookupSameContext(Origin.AST->getTranslationUnitDecl(), ToDC, Reverse); in MaybeRecordOrigin() 375 const bool DoRecord = !FoundFromDC || !IsSameDC(FoundFromDC.get(), Origin.DC); in MaybeRecordOrigin() 377 RecordOriginImpl(ToDC, Origin, Importer); in MaybeRecordOrigin() 381 << " to record origin (DeclContext*)" << (void*)Origin.DC in MaybeRecordOrigin() 382 << ", (ASTContext*)" << (void*)&Origin.AST in MaybeRecordOrigin() [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/Object/ |
| H A D | WindowsResource.cpp | 301 " in " + InputFilenames[FirstNode->Origin] + " and " + Twine(LastLang) + in cleanUpManifests() 302 " in " + InputFilenames[LastNode->Origin]) in cleanUpManifests() 346 uint32_t Origin = InputFilenames.size(); in parse() local 352 bool IsNewNode = Root.addEntry(Entry, Origin, Data, StringTable, Node); in parse() 356 Entry, InputFilenames[Node->Origin], WR->getFileName())); in parse() 368 uint32_t Origin = InputFilenames.size(); in parse() local 371 return addChildren(Root, RSR, BaseTable, Origin, Context, Duplicates); in parse() 380 const ResourceEntryRef &Entry, uint32_t Origin, in addEntry() argument 385 return NameNode.addLanguageNode(Entry, Origin, Data, Result); in addEntry() 391 uint32_t Origin, in addChildren() argument [all …]
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/Object/ |
| H A D | WindowsResource.h | 194 uint32_t Origin, 199 uint32_t Characteristics, uint32_t Origin, uint32_t DataIndex); 201 bool addEntry(const ResourceEntryRef &Entry, uint32_t Origin, 209 bool addLanguageNode(const ResourceEntryRef &Entry, uint32_t Origin, 213 uint32_t Characteristics, uint32_t Origin, 231 uint32_t Origin; variable 245 const coff_resource_dir_table &Table, uint32_t Origin,
|
| /openbsd-src/gnu/llvm/compiler-rt/lib/scudo/standalone/benchmarks/ |
| H A D | malloc_benchmark.cpp | 37 void *Ptr = Allocator->allocate(NBytes, scudo::Chunk::Origin::Malloc); in BM_malloc_free() 42 Allocator->deallocate(Ptr, scudo::Chunk::Origin::Malloc); in BM_malloc_free() 80 Ptr = Allocator->allocate(1 << SizeLog2, scudo::Chunk::Origin::Malloc); in BM_malloc_free_loop() 88 Allocator->deallocate(Ptr, scudo::Chunk::Origin::Malloc); in BM_malloc_free_loop()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Instrumentation/ |
| H A D | DataFlowSanitizer.cpp | 632 void setOrigin(Instruction *I, Value *Origin); 669 Value *Origin, Instruction *Pos); 739 Value *updateOriginIfTainted(Value *Shadow, Value *Origin, IRBuilder<> &IRB); 743 Value *originToIntptr(IRBuilder<> &IRB, Value *Origin); 747 void paintOrigin(IRBuilder<> &IRB, Value *Origin, Value *StoreOriginAddr, 756 Value *Origin, Value *StoreOriginAddr, Align InstAlignment); 1698 if (Instruction *Origin = in runImpl() local 1701 Instruction *OriginNext = Origin->getNextNode(); in runImpl() 1802 Value *&Origin = ValOriginMap[V]; in getOrigin() local 1803 if (!Origin) { in getOrigin() [all …]
|
| H A D | MemorySanitizer.cpp | 1100 Value *Origin; member 1104 : Shadow(S), Origin(O), OrigIns(I) {} in ShadowOriginAndInsertPoint() 1169 Value *originToIntptr(IRBuilder<> &IRB, Value *Origin) { in originToIntptr() 1173 return Origin; in originToIntptr() 1175 Origin = IRB.CreateIntCast(Origin, MS.IntptrTy, /* isSigned */ false); in originToIntptr() 1176 return IRB.CreateOr(Origin, IRB.CreateShl(Origin, kOriginSize * 8)); in originToIntptr() 1180 void paintOrigin(IRBuilder<> &IRB, Value *Origin, Value *OriginPtr, in paintOrigin() 1191 Value *IntptrOrigin = originToIntptr(IRB, Origin); in paintOrigin() 1206 IRB.CreateAlignedStore(Origin, GEP, CurrentAlignment); in paintOrigin() 1211 void storeOrigin(IRBuilder<> &IRB, Value *Addr, Value *Shadow, Value *Origin, in storeOrigin() [all …]
|
| /openbsd-src/gnu/llvm/clang/include/clang/AST/ |
| H A D | ExternalASTMerger.h | 163 void MaybeRecordOrigin(const DeclContext *ToDC, DCOrigin Origin); 166 void ForceRecordOrigin(const DeclContext *ToDC, DCOrigin Origin); 185 void RecordOriginImpl(const DeclContext *ToDC, DCOrigin Origin,
|
| H A D | CXXInheritance.h | 121 const CXXRecordDecl *Origin = nullptr; variable 217 const CXXRecordDecl *getOrigin() const { return Origin; } in getOrigin() 218 void setOrigin(const CXXRecordDecl *Rec) { Origin = Rec; } in setOrigin()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUPreLegalizerCombiner.cpp | 49 Register Origin; member 98 m_GSMax(m_Reg(MatchInfo.Origin), m_ICst(MatchInfo.Cmp2)))) { in matchClampI64ToI16() 106 m_GSMin(m_Reg(MatchInfo.Origin), m_ICst(MatchInfo.Cmp2)))) { in matchClampI64ToI16() 124 Register Src = MatchInfo.Origin; in applyClampI64ToI16()
|