/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/ |
H A D | circular_raw_ostream.cpp | 18 if (BufferSize == 0) { 26 std::min(unsigned(Size), unsigned(BufferSize - (Cur - BufferArray))); 30 if (Cur == BufferArray + BufferSize) { 39 if (BufferSize != 0) {
|
H A D | FileOutputBuffer.cpp | 80 : FileOutputBuffer(Path), Buffer(Buf), BufferSize(BufSize), 86 return (uint8_t *)Buffer.base() + BufferSize; 89 size_t getBufferSize() const override { return BufferSize; } 93 llvm::outs() << StringRef((const char *)Buffer.base(), BufferSize); 105 OS << StringRef((const char *)Buffer.base(), BufferSize); 110 // Buffer may actually contain a larger memory block than BufferSize 112 size_t BufferSize; member in class:__anon1981::InMemoryBuffer
|
/freebsd-11-stable/sys/contrib/edk2/Include/Library/ |
H A D | PrintLib.h | 213 and BufferSize. 223 If BufferSize > 1 and StartOfBuffer is NULL, then ASSERT(). Also, the output buffer is 225 If BufferSize > 1 and FormatString is NULL, then ASSERT(). Also, the output buffer is 227 If PcdMaximumUnicodeStringLength is not zero, and BufferSize > 234 If BufferSize is 0 or 1, then the output buffer is unmodified and 0 is returned. 238 @param BufferSize The size, in bytes, of the output buffer specified by StartOfBuffer. 250 IN UINTN BufferSize, 260 and BufferSize. 270 If BufferSize > 1 and StartOfBuffer is NULL, then ASSERT(). Also, the output buffer is 272 If BufferSize > [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | circular_raw_ostream.h | 48 /// BufferSize - The size of the buffer in bytes. 50 size_t BufferSize; member in class:llvm::circular_raw_ostream 75 TheStream->write(Cur, BufferArray + BufferSize - Cur); 110 OwnsStream(Owns), BufferSize(BuffSize), BufferArray(nullptr), 112 if (BufferSize != 0) 113 BufferArray = new char[BufferSize];
|
H A D | FormattedStream.h | 68 if (size_t BufferSize = TheStream->GetBufferSize()) 69 SetBufferSize(BufferSize); 139 if (size_t BufferSize = GetBufferSize()) 140 TheStream->SetBufferSize(BufferSize);
|
H A D | Format.h | 46 virtual int snprint(char *Buffer, unsigned BufferSize) const = 0; 53 /// returns a length to retry with, which will be larger than BufferSize. 54 unsigned print(char *Buffer, unsigned BufferSize) const { 55 assert(BufferSize && "Invalid buffer size!"); 58 int N = snprint(Buffer, BufferSize); 62 return BufferSize * 2; 66 if (unsigned(N) >= BufferSize) 94 int snprint_tuple(char *Buffer, unsigned BufferSize, argument 97 return _snprintf(Buffer, BufferSize, Fmt, std::get<Is>(Vals)...); 99 return snprintf(Buffer, BufferSize, Fm [all...] |
/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/ |
H A D | NestedNameSpecifier.cpp | 474 static void Append(char *Start, char *End, char *&Buffer, unsigned &BufferSize, argument 479 if (BufferSize + (End - Start) > BufferCapacity) { 483 (unsigned)(BufferSize + (End - Start))); 486 memcpy(NewBuffer, Buffer, BufferSize); 493 memcpy(Buffer + BufferSize, Start, End - Start); 494 BufferSize += End - Start; 499 unsigned &BufferSize, unsigned &BufferCapacity) { 503 Buffer, BufferSize, BufferCapacity); local 507 static void SavePointer(void *Ptr, char *&Buffer, unsigned &BufferSize, argument 511 Buffer, BufferSize, BufferCapacit local 498 SaveSourceLocation(SourceLocation Loc, char *&Buffer, unsigned &BufferSize, unsigned &BufferCapacity) argument [all...] |
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/xray/ |
H A D | xray_fdr_logging.h | 28 XRayLogInitStatus fdrLoggingInit(size_t BufferSize, size_t BufferMax,
|
H A D | xray_basic_logging.h | 27 XRayLogInitStatus basicLoggingInit(size_t BufferSize, size_t BufferMax,
|
H A D | xray_buffer_queue.cpp | 79 BufferSize = BS; 82 BackingStore = allocControlBlock(BufferSize, BufferCount); 89 deallocControlBlock(BackingStore, BufferSize, BufferCount); 129 Buf.Data = &BackingStore->Data + (BufferSize * i); 130 Buf.Size = BufferSize; 147 : BufferSize(B), 198 Buf.Data > &BackingStore->Data + (BufferCount * BufferSize)) 228 decRefCount(BackingStore, BufferSize, BufferCount); 234 BufferSize = 0;
|
H A D | xray_buffer_queue.h | 135 size_t BufferSize; member in class:__xray::BufferQueue 241 size_t ConfiguredBufferSize() const { return BufferSize; }
|
H A D | xray_fdr_logging.cpp | 253 auto BufferSize = atomic_load(It->Extents, memory_order_acquire); local 254 SerializedBufferSize = BufferSize + sizeof(MetadataRecord); 264 internal_memcpy(ExtentsRecord.Data, &BufferSize, sizeof(BufferSize)); 269 internal_memcpy(AfterExtents, It->Data, BufferSize); 661 auto BufferSize = FDRFlags.buffer_size; variable 667 new (BQ) BufferQueue(BufferSize, BufferMax, Success); 673 if (BQ->init(BufferSize, BufferMax) != BufferQueue::ErrorCode::Ok) {
|
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/MCA/HardwareUnits/ |
H A D | ResourceManager.h | 185 /// A BufferSize of 1 is used by scheduler resources that force in-order 188 /// A BufferSize of 0 is used to model in-order issue/dispatch resources. 194 const int BufferSize; member in class:llvm::mca::ResourceState 220 int getBufferSize() const { return BufferSize; } 222 bool isBuffered() const { return BufferSize > 0; } 223 bool isInOrder() const { return BufferSize == 1; } 226 bool isADispatchHazard() const { return BufferSize == 0; } 268 /// It always returns true if BufferSize is set to zero. 270 if (BufferSize <= 0) 274 assert(AvailableSlots <= static_cast<unsigned>(BufferSize)); [all...] |
/freebsd-11-stable/sys/contrib/edk2/Include/Protocol/ |
H A D | DebugPort.h | 58 @param BufferSize On input, the requested number of bytes of data to write. On output, the 72 IN OUT UINTN *BufferSize, 81 @param BufferSize On input, the requested number of bytes of data to read. On output, the 96 IN OUT UINTN *BufferSize,
|
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-mca/Views/ |
H A D | TimelineView.cpp | 50 if (!BufferInfo.first || BufferInfo.second > MCDesc.BufferSize) { 52 BufferInfo.second = MCDesc.BufferSize; 108 unsigned Executions, int BufferSize) { 109 if (CumulativeCycles && BufferSize < 0) 111 unsigned Size = static_cast<unsigned>(BufferSize); 120 unsigned Executions, int BufferSize) { 124 raw_ostream::Colors Color = chooseColor(Cycles, Executions, BufferSize); 154 int BufferSize = PrintingTotals ? 0 : UsedBuffer[SourceIndex].second; local 157 BufferSize); 162 BufferSize); 107 chooseColor(unsigned CumulativeCycles, unsigned Executions, int BufferSize) argument 119 tryChangeColor(raw_ostream &OS, unsigned Cycles, unsigned Executions, int BufferSize) argument [all...] |
H A D | SchedulerStatistics.cpp | 142 if (ProcResource.BufferSize <= 0) 147 double AlmostFullThreshold = (double)(ProcResource.BufferSize * 4) / 5; 160 BU.MaxUsedSlots == static_cast<unsigned>(ProcResource.BufferSize)) 166 FOS << ProcResource.BufferSize << '\n';
|
/freebsd-11-stable/contrib/llvm-project/compiler-rt/include/xray/ |
H A D | xray_log_interface.h | 272 XRayLogInitStatus __xray_log_init(size_t BufferSize, size_t MaxBuffers, 282 /// - BufferSize = 0
|
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Demangle/ |
H A D | Utility.h | 176 size_t BufferSize; local 181 BufferSize = InitSize; 183 BufferSize = *N; 185 S.reset(Buf, BufferSize);
|
/freebsd-11-stable/stand/efi/include/ |
H A D | efiser.h | 101 IN OUT UINTN *BufferSize, 109 IN OUT UINTN *BufferSize,
|
H A D | efiprot.h | 63 IN UINTN BufferSize, 74 IN UINTN BufferSize, 132 IN UINTN BufferSize, 143 IN UINTN BufferSize, 223 IN OUT UINTN *BufferSize, 231 IN OUT UINTN *BufferSize, 254 IN OUT UINTN *BufferSize, 263 IN UINTN BufferSize, 366 IN OUT UINTN *BufferSize,
|
/freebsd-11-stable/sys/contrib/dev/acpica/components/utilities/ |
H A D | utobject.c | 357 * PARAMETERS: BufferSize - Size of buffer to be created 367 ACPI_SIZE BufferSize) 373 ACPI_FUNCTION_TRACE_U32 (UtCreateBufferObject, BufferSize); 386 if (BufferSize > 0) 390 Buffer = ACPI_ALLOCATE_ZEROED (BufferSize); 394 (UINT32) BufferSize)); 405 BufferDesc->Buffer.Length = (UINT32) BufferSize; 366 AcpiUtCreateBufferObject( ACPI_SIZE BufferSize) argument
|
/freebsd-11-stable/sys/contrib/dev/acpica/components/resources/ |
H A D | rscalc.c | 576 UINT32 BufferSize; local 806 BufferSize = AcpiGbl_ResourceStructSerialBusSizes[ 811 BufferSize = AcpiGbl_ResourceStructSizes[ResourceIndex] + 815 BufferSize = (UINT32) ACPI_ROUND_UP_TO_NATIVE_WORD (BufferSize); 816 *SizeNeeded += BufferSize; 821 AcpiUtGetDescriptorLength (AmlBuffer), BufferSize));
|
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/scudo/standalone/ |
H A D | release.h | 66 BufferSize = (roundUpTo(N, static_cast<uptr>(1U) << PackingRatioLog) >> 70 map(nullptr, BufferSize, "scudo:counters", MAP_ALLOWNOMEM)); 74 unmap(reinterpret_cast<void *>(Buffer), BufferSize); local 102 uptr getBufferSize() const { return BufferSize; } 111 uptr BufferSize; member in class:scudo::PackedCounterArray
|
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/MC/ |
H A D | MCSchedule.h | 39 // Buffered resources (BufferSize != 0) may be consumed at some indeterminate 44 // Unbuffered resources (BufferSize == 0) always consume their resource some 49 int BufferSize; member in struct:llvm::MCProcResourceDesc 58 && BufferSize == Other.BufferSize;
|
/freebsd-11-stable/sys/contrib/dev/acpica/include/ |
H A D | acparser.h | 462 UINT32 BufferSize, 468 UINT32 BufferSize,
|