/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/ |
H A D | LEB128.cpp | 20 unsigned Size = 0; local 23 Size += sizeof(int8_t); 25 return Size; 30 unsigned Size = 0; local 38 Size += sizeof(int8_t); 40 return Size;
|
H A D | raw_os_ostream.cpp | 25 void raw_os_ostream::write_impl(const char *Ptr, size_t Size) { argument 26 OS.write(Ptr, Size);
|
H A D | circular_raw_ostream.cpp | 17 void circular_raw_ostream::write_impl(const char *Ptr, size_t Size) { argument 19 TheStream->write(Ptr, Size); 24 while (Size != 0) { 26 std::min(unsigned(Size), unsigned(BufferSize - (Cur - BufferArray))); 28 Size -= Bytes;
|
H A D | FormattedStream.cpp | 23 static void UpdatePosition(std::pair<unsigned, unsigned> &Position, const char *Ptr, size_t Size) { argument 29 for (const char *End = Ptr + Size; Ptr != End; ++Ptr) { 48 void formatted_raw_ostream::ComputePosition(const char *Ptr, size_t Size) { argument 52 if (Ptr <= Scanned && Scanned <= Ptr + Size) 55 UpdatePosition(Position, Scanned, Size - (Scanned - Ptr)); 57 UpdatePosition(Position, Ptr, Size); 60 Scanned = Ptr + Size; 76 void formatted_raw_ostream::write_impl(const char *Ptr, size_t Size) { argument 78 ComputePosition(Ptr, Size); 82 TheStream->write(Ptr, Size); [all...] |
H A D | Allocator.cpp | 31 void PrintRecyclerStats(size_t Size, argument 34 errs() << "Recycler element size: " << Size << '\n'
|
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/scudo/standalone/ |
H A D | wrappers_c_checks.h | 33 inline bool checkAlignedAllocAlignmentAndSize(uptr Alignment, uptr Size) { argument 35 !isAligned(Size, Alignment); 45 // Returns true if calloc(Size, N) overflows on Size*N calculation. Use a 48 inline bool checkForCallocOverflow(uptr Size, uptr N, uptr *Product) { argument 50 return __builtin_umull_overflow(Size, N, Product); 52 *Product = Size * N; 53 if (!Size) 55 return (*Product / Size) != N; 61 inline bool checkForPvallocOverflow(uptr Size, upt argument [all...] |
H A D | vector.h | 24 Size = 0; 33 DCHECK_LT(I, Size); 37 DCHECK_LT(I, Size); 41 DCHECK_LE(Size, capacity()); 42 if (Size == capacity()) { 43 const uptr NewCapacity = roundUpToPowerOfTwo(Size + 1); 46 memcpy(&Data[Size++], &Element, sizeof(T)); 49 DCHECK_GT(Size, 0); 50 return Data[Size - 1]; 53 DCHECK_GT(Size, 99 uptr Size; member in class:scudo::VectorNoCtor [all...] |
/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/Interp/ |
H A D | InterpStack.cpp | 29 void *InterpStack::grow(size_t Size) { argument 30 assert(Size < ChunkSize - sizeof(StackChunk) && "Object too large"); 32 if (!Chunk || sizeof(StackChunk) + Chunk->size() + Size > ChunkSize) { 44 Chunk->End += Size; 45 StackSize += Size; 49 void *InterpStack::peek(size_t Size) { argument 53 while (Size > Ptr->size()) { 54 Size -= Ptr->size(); 59 return reinterpret_cast<void *>(Ptr->End - Size); 62 void InterpStack::shrink(size_t Size) { argument [all...] |
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/scudo/ |
H A D | scudo_errors.cpp | 19 void NORETURN reportCallocOverflow(uptr Count, uptr Size) { argument 21 "be represented with type size_t\n", Count, Size); 24 void NORETURN reportPvallocOverflow(uptr Size) { argument 26 "page size 0x%zx cannot be represented in type size_t\n", Size, 48 void NORETURN reportInvalidAlignedAllocAlignment(uptr Size, uptr Alignment) { argument 52 "of alignment\n", Alignment, Size); 56 Size);
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/BinaryFormat/ |
H A D | MsgPackWriter.cpp | 102 size_t Size = s.size(); local 104 if (Size <= FixMax::String) 105 EW.write(static_cast<uint8_t>(FixBits::String | Size)); 106 else if (!Compatible && Size <= UINT8_MAX) { 108 EW.write(static_cast<uint8_t>(Size)); 109 } else if (Size <= UINT16_MAX) { 111 EW.write(static_cast<uint16_t>(Size)); 113 assert(Size <= UINT32_MAX && "String object too long to be encoded"); 115 EW.write(static_cast<uint32_t>(Size)); 124 size_t Size local 141 writeArraySize(uint32_t Size) argument 157 writeMapSize(uint32_t Size) argument 174 size_t Size = Buffer.getBufferSize(); local [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
H A D | HexagonTargetStreamer.h | 20 virtual void emitFAlign(unsigned Size, unsigned MaxBytesToEmit){}; argument 21 virtual void EmitCommonSymbolSorted(MCSymbol *Symbol, uint64_t Size, argument 24 virtual void EmitLocalCommonSymbolSorted(MCSymbol *Symbol, uint64_t Size, argument
|
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/fuzzer/ |
H A D | FuzzerMain.cpp | 15 int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size);
|
H A D | FuzzerDictionary.h | 31 Size = S; 35 return Size == w.Size && 0 == memcmp(Data, w.Data, Size); 40 uint8_t size() const { return Size; } 43 uint8_t Size = 0; member in class:fuzzer::FixedWord 90 const DictionaryEntry *end() const { return begin() + Size; } 92 assert(Idx < Size); 96 if (Size < kMaxDictSize) 97 this->DE[Size [all...] |
H A D | FuzzerMutate.cpp | 68 size_t MutationDispatcher::Mutate_Custom(uint8_t *Data, size_t Size, argument 70 return EF->LLVMFuzzerCustomMutator(Data, Size, MaxSize, Rand.Rand()); 73 size_t MutationDispatcher::Mutate_CustomCrossOver(uint8_t *Data, size_t Size, argument 75 if (Size == 0) 84 Data, Size, Other.data(), Other.size(), U.data(), U.size(), Rand.Rand()); 92 size_t MutationDispatcher::Mutate_ShuffleBytes(uint8_t *Data, size_t Size, argument 94 if (Size > MaxSize || Size == 0) return 0; 96 Rand(std::min(Size, (size_t)8)) + 1; // [1,8] and <= Size 103 Mutate_EraseBytes(uint8_t *Data, size_t Size, size_t MaxSize) argument 125 Mutate_InsertRepeatedBytes(uint8_t *Data, size_t Size, size_t MaxSize) argument 143 Mutate_ChangeByte(uint8_t *Data, size_t Size, size_t MaxSize) argument 151 Mutate_ChangeBit(uint8_t *Data, size_t Size, size_t MaxSize) argument 159 Mutate_AddWordFromManualDictionary(uint8_t *Data, size_t Size, size_t MaxSize) argument 165 ApplyDictionaryEntry(uint8_t *Data, size_t Size, size_t MaxSize, DictionaryEntry &DE) argument 192 MakeDictionaryEntryFromCMP( const void *Arg1, const void *Arg2, const void *Arg1Mutation, const void *Arg2Mutation, size_t ArgSize, const uint8_t *Data, size_t Size) argument 225 MakeDictionaryEntryFromCMP( T Arg1, T Arg2, const uint8_t *Data, size_t Size) argument 235 MakeDictionaryEntryFromCMP( const Word &Arg1, const Word &Arg2, const uint8_t *Data, size_t Size) argument 241 Mutate_AddWordFromTORC( uint8_t *Data, size_t Size, size_t MaxSize) argument 279 Mutate_AddWordFromPersistentAutoDictionary( uint8_t *Data, size_t Size, size_t MaxSize) argument 284 AddWordFromDictionary(Dictionary &D, uint8_t *Data, size_t Size, size_t MaxSize) argument 337 Mutate_CopyPart(uint8_t *Data, size_t Size, size_t MaxSize) argument 348 Mutate_ChangeASCIIInteger(uint8_t *Data, size_t Size, size_t MaxSize) argument [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/utils/TableGen/ |
H A D | Types.h | 21 const char *getMinimalTypeForEnumBitfield(uint64_t Size);
|
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_procmaps_bsd.cpp | 69 uptr Size = 0; local 70 int Err = internal_sysctl(Mib, ARRAY_SIZE(Mib), NULL, &Size, NULL, 0); 72 CHECK_GT(Size, 0); 75 size_t MmapedSize = Size * 4 / 3; 77 Size = MmapedSize; 78 Err = internal_sysctl(Mib, ARRAY_SIZE(Mib), VmMap, &Size, NULL, 0); 83 size_t MmapedSize = Size; 86 Size = 2 * Size + 10 * sizeof(struct kinfo_vmentry); 87 if (Size > [all...] |
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Basic/ |
H A D | AllDiagnostics.h | 34 enum { Size = SizeOfStr }; enumerator in enum:clang::StringSizerHelper::__anon129 39 fieldTy>::Size
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Lanai/ |
H A D | LanaiSelectionDAGInfo.cpp | 23 SDValue /*Dst*/, SDValue /*Src*/, SDValue Size, unsigned /*Align*/, 27 ConstantSDNode *ConstantSize = dyn_cast<ConstantSDNode>(Size); 21 EmitTargetCodeForMemcpy( SelectionDAG & , const SDLoc & , SDValue , SDValue , SDValue , SDValue Size, unsigned , bool , bool , MachinePointerInfo , MachinePointerInfo ) const argument
|
/freebsd-11-stable/contrib/llvm-project/lldb/source/Utility/ |
H A D | StreamCallback.cpp | 18 void StreamCallback::write_impl(const char *Ptr, size_t Size) { argument 19 m_callback(std::string(Ptr, Size).c_str(), m_baton);
|
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/ |
H A D | RuntimeDyldChecker.h | 82 : ContentPtr(Content.data()), Size(Content.size()), 86 MemoryRegionInfo(uint64_t Size, JITTargetAddress TargetAddress) argument 87 : Size(Size), TargetAddress(TargetAddress) {} 91 assert(Size && "setContent/setZeroFill must be called first"); 97 assert(!ContentPtr && !Size && "Content/zero-fill already set"); 99 Size = Content.size(); 103 void setZeroFill(uint64_t Size) { argument 104 assert(!ContentPtr && !this->Size && "Content/zero-fill already set"); 105 this->Size 131 uint64_t Size = 0; member in class:llvm::RuntimeDyldChecker::MemoryRegionInfo [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AVR/Disassembler/ |
H A D | AVRDisassembler.cpp | 41 DecodeStatus getInstruction(MCInst &Instr, uint64_t &Size, 78 uint64_t &Size, uint32_t &Insn) { 80 Size = 0; 84 Size = 2; 91 uint64_t &Size, uint32_t &Insn) { 94 Size = 0; 98 Size = 4; 104 static const uint8_t *getDecoderTable(uint64_t Size) { argument 106 switch (Size) { 113 DecodeStatus AVRDisassembler::getInstruction(MCInst &Instr, uint64_t &Size, argument 77 readInstruction16(ArrayRef<uint8_t> Bytes, uint64_t Address, uint64_t &Size, uint32_t &Insn) argument 90 readInstruction32(ArrayRef<uint8_t> Bytes, uint64_t Address, uint64_t &Size, uint32_t &Insn) argument [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/WebAssembly/Disassembler/ |
H A D | WebAssemblyDisassembler.cpp | 46 DecodeStatus getInstruction(MCInst &Instr, uint64_t &Size, 49 DecodeStatus onSymbolStart(StringRef Name, uint64_t &Size, 76 static int nextByte(ArrayRef<uint8_t> Bytes, uint64_t &Size) { argument 77 if (Size >= Bytes.size()) 79 auto V = Bytes[Size]; 80 Size++; 84 static bool nextLEB(int64_t &Val, ArrayRef<uint8_t> Bytes, uint64_t &Size, argument 88 Val = Signed ? decodeSLEB128(Bytes.data() + Size, &N, 90 : static_cast<int64_t>(decodeULEB128(Bytes.data() + Size, &N, 95 Size 99 parseLEBImmediate(MCInst &MI, uint64_t &Size, ArrayRef<uint8_t> Bytes, bool Signed) argument 109 parseImmediate(MCInst &MI, uint64_t &Size, ArrayRef<uint8_t> Bytes) argument 123 onSymbolStart( StringRef Name, uint64_t &Size, ArrayRef<uint8_t> Bytes, uint64_t Address, raw_ostream &CStream) const argument 158 getInstruction( MCInst &MI, uint64_t &Size, ArrayRef<uint8_t> Bytes, uint64_t , raw_ostream &CS) const argument [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/ADT/ |
H A D | EnumeratedArray.h | 22 IndexType Size = 1 + static_cast<IndexType>(LargestEnum)> 27 for (IndexType IX = 0; IX < Size; ++IX) { 33 assert(IX >= 0 && IX < Size && "Index is out of bounds."); 39 IndexType, Size> &>(*this)[Index]); 43 ValueType Underlying[Size];
|
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | Recycler.h | 27 void PrintRecyclerStats(size_t Size, size_t Align, size_t FreeListSize); 33 template <class T, size_t Size = sizeof(T), size_t Align = alignof(T)> 44 __asan_unpoison_memory_region(Val, Size); 46 __msan_allocated_memory(Val, Size); 53 __asan_poison_memory_region(N, Size); 86 static_assert(sizeof(SubClass) <= Size, 89 : static_cast<SubClass *>(Allocator.Allocate(Size, Align)); 105 template <class T, size_t Size, size_t Align> 106 void Recycler<T, Size, Align>::PrintStats() { 110 PrintRecyclerStats(Size, Alig [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | ASanStackFrameLayout.cpp | 39 // The larger the variable Size the larger is the redzone. 41 static size_t VarAndRedzoneSize(size_t Size, size_t Granularity, argument 44 if (Size <= 4) Res = 16; 45 else if (Size <= 16) Res = 32; 46 else if (Size <= 128) Res = Size + 32; 47 else if (Size <= 512) Res = Size + 64; 48 else if (Size <= 4096) Res = Size 77 size_t Size = Vars[i].Size; local [all...] |