| /llvm-project-15.0.7/compiler-rt/lib/fuzzer/ |
| H A D | FuzzerMutate.cpp | 82 if (Size == 0) in Mutate_CustomCrossOver() 111 if (Size > MaxSize || Size == 0) return 0; in Mutate_ShuffleBytes() 117 return Size; in Mutate_ShuffleBytes() 166 return Size; in Mutate_ChangeByte() 174 return Size; in Mutate_ChangeBit() 202 return Size; in ApplyDictionaryEntry() 288 Size = ApplyDictionaryEntry(Data, Size, MaxSize, DE); in Mutate_AddWordFromTORC() 308 Size = ApplyDictionaryEntry(Data, Size, MaxSize, DE); in AddWordFromDictionary() 358 if (Size > MaxSize || Size == 0) return 0; in Mutate_CopyPart() 362 return CopyPartOf(Data, Size, Data, Size); in Mutate_CopyPart() [all …]
|
| H A D | FuzzerMutate.h | 35 size_t Mutate_Custom(uint8_t *Data, size_t Size, size_t MaxSize); 41 size_t Mutate_EraseBytes(uint8_t *Data, size_t Size, size_t MaxSize); 43 size_t Mutate_InsertByte(uint8_t *Data, size_t Size, size_t MaxSize); 47 size_t Mutate_ChangeByte(uint8_t *Data, size_t Size, size_t MaxSize); 49 size_t Mutate_ChangeBit(uint8_t *Data, size_t Size, size_t MaxSize); 51 size_t Mutate_CopyPart(uint8_t *Data, size_t Size, size_t MaxSize); 70 size_t Mutate_CrossOver(uint8_t *Data, size_t Size, size_t MaxSize); 74 size_t Mutate(uint8_t *Data, size_t Size, size_t MaxSize); 79 size_t MutateWithMask(uint8_t *Data, size_t Size, size_t MaxSize, 84 size_t DefaultMutate(uint8_t *Data, size_t Size, size_t MaxSize); [all …]
|
| /llvm-project-15.0.7/llvm/lib/BinaryFormat/ |
| H A D | MsgPackWriter.cpp | 102 size_t Size = s.size(); in write() local 104 if (Size <= FixMax::String) in write() 126 if (Size <= UINT8_MAX) { in write() 142 if (Size <= FixMax::Array) { in writeArraySize() 147 if (Size <= UINT16_MAX) { in writeArraySize() 154 EW.write(Size); in writeArraySize() 158 if (Size <= FixMax::Map) { in writeMapSize() 163 if (Size <= UINT16_MAX) { in writeMapSize() 170 EW.write(Size); in writeMapSize() 176 switch (Size) { in writeExt() [all …]
|
| /llvm-project-15.0.7/llvm/unittests/Object/ |
| H A D | XCOFFObjectFileTest.cpp | 98 EXPECT_EQ(Size, 25u); in TEST() 122 Size = sizeof(V); in TEST() 130 Size = sizeof(V); in TEST() 138 Size = sizeof(V); in TEST() 151 Size = sizeof(V); in TEST() 264 uint64_t Size = 6; in TEST() local 275 uint64_t Size = 9; in TEST() local 286 uint64_t Size = 14; in TEST() local 309 uint64_t Size = 19; in TEST() local 321 uint64_t Size = 21; in TEST() local [all …]
|
| /llvm-project-15.0.7/compiler-rt/include/orc/ |
| H A D | c_api.h | 72 size_t Size; member 83 R->Size = 0; in __orc_rt_CWrapperFunctionResultInit() 94 R.Size = Size; in __orc_rt_CWrapperFunctionResultAllocate() 97 if (Size > sizeof(R.Data.Value)) in __orc_rt_CWrapperFunctionResultAllocate() 108 R.Size = Size; in __orc_rt_CreateCWrapperFunctionResultFromRange() 109 if (R.Size > sizeof(R.Data.Value)) { in __orc_rt_CreateCWrapperFunctionResultFromRange() 110 char *Tmp = (char *)malloc(Size); in __orc_rt_CreateCWrapperFunctionResultFromRange() 111 memcpy(Tmp, Data, Size); in __orc_rt_CreateCWrapperFunctionResultFromRange() 114 memcpy(R.Data.Value, Data, Size); in __orc_rt_CreateCWrapperFunctionResultFromRange() 141 R.Size = 0; in __orc_rt_CreateCWrapperFunctionResultFromOutOfBandError() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/WebAssembly/Disassembler/ |
| H A D | WebAssemblyDisassembler.cpp | 77 if (Size >= Bytes.size()) in nextByte() 79 auto V = Bytes[Size]; in nextByte() 80 Size++; in nextByte() 95 Size += N; in nextLEB() 113 Bytes.data() + Size); in parseImmediate() 114 Size += sizeof(T); in parseImmediate() 127 Size = 0; in onSymbolStart() 163 Size = 0; in getInstruction() 164 int Opc = nextByte(Bytes, Size); in getInstruction() 222 uint64_t PrevSize = Size; in getInstruction() [all …]
|
| /llvm-project-15.0.7/bolt/include/bolt/Passes/ |
| H A D | ReorderUtils.h | 30 explicit AdjacencyMatrix(size_t Size) : Bits(Size, BitVector(Size, false)) {} in AdjacencyMatrix() argument 73 explicit ClusterPairCache(size_t Size) in ClusterPairCache() argument 74 : Size(Size), Cache(Size * Size), Valid(Size * Size, false) {} in ClusterPairCache() 92 Valid.reset(C->id() * Size, (C->id() + 1) * Size); in invalidate() 93 for (size_t Id = 0; Id < Size; Id++) in invalidate() 94 Valid.reset((Id * Size) + C->id()); in invalidate() 102 size_t Size; variable 115 : Size(Size), Cache(Size * Size), Valid(Size * Size, false) {} in ClusterPairCacheThreadSafe() 133 for (size_t Idx = C->id() * Size; Idx < (C->id() + 1) * Size; Idx++) in invalidate() 136 for (size_t Id = 0; Id < Size; Id++) in invalidate() [all …]
|
| /llvm-project-15.0.7/compiler-rt/lib/gwp_asan/platform_specific/ |
| H A D | guarded_pool_allocator_posix.cpp | 46 assert((Size % State.PageSize) == 0); in map() 47 void *Ptr = mmap(nullptr, Size, PROT_READ | PROT_WRITE, in map() 50 MaybeSetMappingName(Ptr, Size, Name); in map() 56 assert((Size % State.PageSize) == 0); in unmap() 57 Check(munmap(Ptr, Size) == 0, in unmap() 62 assert((Size % State.PageSize) == 0); in reserveGuardedPool() 66 MaybeSetMappingName(Ptr, Size, kGwpAsanGuardPageName); in reserveGuardedPool() 77 assert((Size % State.PageSize) == 0); in allocateInGuardedPool() 80 MaybeSetMappingName(Ptr, Size, kGwpAsanAliveSlotName); in allocateInGuardedPool() 86 assert((Size % State.PageSize) == 0); in deallocateInGuardedPool() [all …]
|
| /llvm-project-15.0.7/compiler-rt/lib/scudo/standalone/tests/ |
| H A D | combined_test.cpp | 50 Size = scudo::roundUpTo(Size, MinAlignment); in checkMemoryTaggingMaybe() 163 memset(P, 0xaa, Size); in BasicTest() 208 memset(P, 0xaa, Size); in SCUDO_TYPED_TEST() 226 memset(P, 0xaa, Size); in SCUDO_TYPED_TEST() 282 scudo::uptr Size = 16; in SCUDO_TYPED_TEST() local 285 memset(P, Marker, Size); in SCUDO_TYPED_TEST() 291 memset(reinterpret_cast<char *>(NewP) + Size, Marker, Size); in SCUDO_TYPED_TEST() 292 Size *= 2U; in SCUDO_TYPED_TEST() 308 while (Size > 1U) { in SCUDO_TYPED_TEST() 309 Size /= 2U; in SCUDO_TYPED_TEST() [all …]
|
| H A D | common_test.cpp | 21 uptr Size; in getResidentMemorySize() local 24 IFS >> Size; in getResidentMemorySize() 34 const uptr Size = 1ull << 30; in TEST() local 35 const uptr Threshold = Size >> 3; in TEST() 42 memset(P, 1, Size); in TEST() 48 memset(P, 1, Size); in TEST() 51 unmap(P, Size, 0, &Data); in TEST() 55 const uptr Size = 1ull << 20; in TEST() local 59 const ptrdiff_t N = Size / sizeof(*P); in TEST() 63 memset(P, 1, Size); in TEST() [all …]
|
| H A D | wrappers_c_test.cpp | 46 void *P = malloc(Size); in TEST() 104 for (size_t Size = 1; Size <= 0x10000; Size <<= 1) { in TEST() local 167 P = malloc(Size); in TEST() 172 P = malloc(Size); in TEST() 175 memset(P, 0x42, Size); in TEST() 195 P = malloc(Size); in TEST() 254 P = pvalloc(Size); in TEST() 400 P = malloc(Size); in TEST() 407 P = malloc(Size); in TEST() 409 memset(P, 0x42, Size); in TEST() [all …]
|
| /llvm-project-15.0.7/llvm/test/CodeGen/AMDGPU/ |
| H A D | hsa-metadata-from-llvm-ir-full.ll | 33 ; CHECK-NEXT: Size: 1 37 ; CHECK-NEXT: - Size: 8 40 ; CHECK-NEXT: - Size: 8 43 ; CHECK-NEXT: - Size: 8 46 ; CHECK-NEXT: - Size: 8 68 ; CHECK-NEXT: Size: 1 72 ; CHECK-NEXT: - Size: 8 75 ; CHECK-NEXT: - Size: 8 78 ; CHECK-NEXT: - Size: 8 81 ; CHECK-NEXT: - Size: 8 [all …]
|
| /llvm-project-15.0.7/openmp/libomptarget/plugins/common/MemoryManager/ |
| H A D | MemoryManager.h | 71 static int findBucket(size_t Size) { in findBucket() argument 97 const size_t Size; member 102 NodeTy(size_t Size, void *Ptr) : Size(Size), Ptr(Ptr) {} in NodeTy() 108 return LHS.Size < RHS.Size; in operator() 217 if (Size == 0) in allocate() 221 Size, DPxPTR(HstPtr)); in allocate() 225 if (Size > SizeThreshold) { in allocate() 228 Size, SizeThreshold); in allocate() 240 const int B = findBucket(Size); in allocate() 243 NodeTy TempNode(Size, nullptr); in allocate() [all …]
|
| /llvm-project-15.0.7/llvm/test/tools/llvm-objcopy/COFF/Inputs/ |
| H A D | i386-exe.yaml | 21 Size: 0 24 Size: 0 27 Size: 0 30 Size: 0 33 Size: 0 39 Size: 0 42 Size: 0 45 Size: 0 48 Size: 0 51 Size: 0 [all …]
|
| H A D | x86_64-exe.yaml | 21 Size: 0 24 Size: 0 27 Size: 0 30 Size: 24 33 Size: 0 36 Size: 0 39 Size: 0 42 Size: 0 45 Size: 0 48 Size: 0 [all …]
|
| /llvm-project-15.0.7/lldb/test/Shell/Minidump/Windows/Inputs/ |
| H A D | arm-fp-unwind.exe.yaml | 21 Size: 0 24 Size: 0 27 Size: 0 30 Size: 0 33 Size: 0 36 Size: 0 39 Size: 0 42 Size: 0 45 Size: 0 48 Size: 0 [all …]
|
| H A D | broken-unwind.exe.yaml | 24 Size: 90 27 Size: 0 30 Size: 0 33 Size: 12 36 Size: 0 39 Size: 0 45 Size: 0 48 Size: 0 51 Size: 0 54 Size: 0 [all …]
|
| /llvm-project-15.0.7/llvm/test/Object/Inputs/COFF/ |
| H A D | data-dir-out-of-bounds.yaml | 21 Size: 0 24 Size: 0 27 Size: 0 30 Size: 0 33 Size: 0 39 Size: 0 42 Size: 0 45 Size: 0 48 Size: 0 51 Size: 0 [all …]
|
| /llvm-project-15.0.7/compiler-rt/lib/scudo/standalone/ |
| H A D | quarantine.h | 23 uptr Size; member 27 void init(void *Ptr, uptr Size) { in init() 30 this->Size = Size + sizeof(QuarantineBatch); // Account for the Batch Size. in init() 39 this->Size += Size; in push_back() 79 B->init(Ptr, Size); in enqueue() 83 addToSize(Size); in enqueue() 95 addToSize(B->Size); in enqueueBatch() 103 subFromSize(B->Size); in dequeueBatch() 136 TotalBytes += Batch.Size; in getStats() 160 atomic_uptr Size = {}; variable [all …]
|
| H A D | vector.h | 33 DCHECK_LT(I, Size); 37 DCHECK_LT(I, Size); 42 if (Size == capacity()) { in push_back() 49 DCHECK_GT(Size, 0); in back() 50 return Data[Size - 1]; in back() 53 DCHECK_GT(Size, 0); in pop_back() 54 Size--; in pop_back() 66 if (NewSize > Size) { in resize() 68 memset(&Data[Size], 0, sizeof(T) * (NewSize - Size)); in resize() 70 Size = NewSize; in resize() [all …]
|
| /llvm-project-15.0.7/lldb/test/Shell/ObjectFile/PECOFF/ |
| H A D | invalid-export-table.yaml | 31 Size: 0 34 Size: 0 37 Size: 0 40 Size: 0 43 Size: 0 46 Size: 0 49 Size: 0 52 Size: 0 55 Size: 0 58 Size: 0 [all …]
|
| H A D | basic-info-arm64.yaml | 33 Size: 0 36 Size: 0 39 Size: 0 42 Size: 0 45 Size: 0 48 Size: 0 51 Size: 0 54 Size: 0 57 Size: 0 60 Size: 0 [all …]
|
| H A D | basic-info.yaml | 33 Size: 0 36 Size: 0 39 Size: 0 42 Size: 0 45 Size: 0 48 Size: 0 51 Size: 0 54 Size: 0 57 Size: 0 60 Size: 0 [all …]
|
| H A D | uuid.yaml | 27 Size: 90 30 Size: 0 33 Size: 0 36 Size: 12 39 Size: 0 42 Size: 0 48 Size: 0 51 Size: 0 54 Size: 0 57 Size: 0 [all …]
|
| /llvm-project-15.0.7/mlir/lib/Dialect/SPIRV/Utils/ |
| H A D | LayoutUtils.cpp | 22 Size size = 0; in decorateType() 23 Size alignment = 1; in decorateType() 39 Size structMemberOffset = 0; in decorateType() 40 Size maxMemberAlignment = 1; in decorateType() 43 Size memberSize = 0; in decorateType() 44 Size memberAlignment = 1; in decorateType() 106 Size elementSize = 0; in decorateType() 107 Size elementAlignment = 1; in decorateType() 125 Size elementSize = 0; in decorateType() 140 Size elementSize = 0; in decorateType() [all …]
|