Home
last modified time | relevance | path

Searched refs:DataSize (Results 1 – 25 of 56) sorted by relevance

123

/freebsd-13.1/contrib/llvm-project/llvm/lib/DebugInfo/PDB/DIA/
H A DDIAInjectedSource.cpp52 DWORD DataSize; in getCode() local
53 if (S_OK != SourceFile->get_source(0, &DataSize, nullptr)) in getCode()
56 std::vector<uint8_t> Buffer(DataSize); in getCode()
57 if (S_OK != SourceFile->get_source(DataSize, &DataSize, Buffer.data())) in getCode()
59 assert(Buffer.size() == DataSize); in getCode()
/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/profile/
H A DInstrProfilingMerge.c28 uint64_t DataSize = __llvm_profile_get_data_size(__llvm_profile_begin_data(), in lprofGetLoadModuleSignature() local
36 return (NamesSize << 40) + (CounterSize << 30) + (DataSize << 20) + in lprofGetLoadModuleSignature()
37 (NumVnodes << 10) + (DataSize > 0 ? FirstD->NameRef : 0) + Version; in lprofGetLoadModuleSignature()
50 SrcDataEnd = SrcDataStart + Header->DataSize; in __llvm_profile_check_compatibility()
58 Header->DataSize != in __llvm_profile_check_compatibility()
69 Header->DataSize * sizeof(__llvm_profile_data) + in __llvm_profile_check_compatibility()
98 SrcDataEnd = SrcDataStart + Header->DataSize; in __llvm_profile_merge_from_buffer()
H A DInstrProfilingBuffer.c80 uint64_t DataSize, uint64_t CountersSize, uint64_t NamesSize, in __llvm_profile_get_padding_sizes_for_counters() argument
92 uint64_t DataSizeInBytes = DataSize * sizeof(__llvm_profile_data); in __llvm_profile_get_padding_sizes_for_counters()
108 uint64_t DataSize = __llvm_profile_get_data_size(DataBegin, DataEnd); in __llvm_profile_get_size_for_buffer_internal() local
116 DataSize, CountersSize, NamesSize, &PaddingBytesBeforeCounters, in __llvm_profile_get_size_for_buffer_internal()
120 (DataSize * sizeof(__llvm_profile_data)) + PaddingBytesBeforeCounters + in __llvm_profile_get_size_for_buffer_internal()
H A DInstrProfilingWriter.c264 const uint64_t DataSize = __llvm_profile_get_data_size(DataBegin, DataEnd); in lprofWriteDataImpl() local
271 if (!DataSize) in lprofWriteDataImpl()
279 DataSize, CountersSize, NamesSize, &PaddingBytesBeforeCounters, in lprofWriteDataImpl()
297 {DataBegin, sizeof(__llvm_profile_data), DataSize, 0}, in lprofWriteDataImpl()
H A DInstrProfilingPlatformFuchsia.c121 const uint64_t DataSize = __llvm_profile_get_data_size(DataBegin, DataEnd); in __llvm_profile_initialize() local
124 (DataSize * sizeof(__llvm_profile_data)); in __llvm_profile_initialize()
H A DInstrProfilingFile.c470 uint64_t DataSize = __llvm_profile_get_data_size(DataBegin, DataEnd); in initializeProfileForContinuousMode() local
560 DataSize, CountersSize, NamesSize, &PaddingBytesBeforeCounters, in initializeProfileForContinuousMode()
567 (DataSize * sizeof(__llvm_profile_data)) + PaddingBytesBeforeCounters; in initializeProfileForContinuousMode()
659 uint64_t DataSize = __llvm_profile_get_data_size(DataBegin, DataEnd); in initializeProfileForContinuousMode() local
662 (DataSize * sizeof(__llvm_profile_data)); in initializeProfileForContinuousMode()
H A DInstrProfiling.h280 uint64_t DataSize, uint64_t CountersSize, uint64_t NamesSize,
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Support/
H A DBinaryStream.h59 Error checkOffsetForRead(uint32_t Offset, uint32_t DataSize) { in checkOffsetForRead() argument
62 if (getLength() < DataSize + Offset) in checkOffsetForRead()
89 Error checkOffsetForWrite(uint32_t Offset, uint32_t DataSize) { in checkOffsetForWrite() argument
91 return checkOffsetForRead(Offset, DataSize); in checkOffsetForWrite()
H A DBinaryStreamRef.h135 Error checkOffsetForRead(uint32_t Offset, uint32_t DataSize) const { in checkOffsetForRead() argument
138 if (getLength() < DataSize + Offset) in checkOffsetForRead()
230 Error checkOffsetForWrite(uint32_t Offset, uint32_t DataSize) const { in checkOffsetForWrite() argument
232 return checkOffsetForRead(Offset, DataSize); in checkOffsetForWrite()
/freebsd-13.1/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/
H A DDebugSubsectionRecord.cpp61 uint32_t DataSize = Subsection ? Subsection->calculateSerializedSize() in calculateSerializedLength() local
65 return sizeof(DebugSubsectionHeader) + alignTo(DataSize, 4); in calculateSerializedLength()
77 uint32_t DataSize = Subsection ? Subsection->calculateSerializedSize() in commit() local
79 Header.Length = alignTo(DataSize, alignOf(Container)); in commit()
/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_coverage_fuchsia.cpp123 size_t DataSize() const { return next_index_ * sizeof(uintptr_t); } in DataSize() function in __sancov::__anonf43d118d0111::TracePcGuardController
136 zx_status_t status = _zx_vmo_create(DataSize(), ZX_VMO_RESIZABLE, &vmo_); in Setup()
144 uint64_t size = DataSize(); in Setup()
178 zx_status_t status = _zx_vmo_set_size(vmo_, DataSize()); in Setup()
180 uint64_t size = DataSize(); in Setup()
/freebsd-13.1/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/
H A DDWARFDebugAddr.cpp19 uint64_t DataSize = EndOffset - *OffsetPtr; in extractAddresses() local
20 assert(Data.isValidOffsetForDataOfSize(*OffsetPtr, DataSize)); in extractAddresses()
27 if (DataSize % AddrSize != 0) { in extractAddresses()
33 Offset, DataSize, AddrSize); in extractAddresses()
36 size_t Count = DataSize / AddrSize; in extractAddresses()
/freebsd-13.1/stand/efi/include/Protocol/
H A DIp4Config2.h213 IN UINTN DataSize,
255 IN OUT UINTN *DataSize,
/freebsd-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyld.cpp547 uint64_t DataSize = Section.getSize(); in computeTotalAllocSize() local
566 uint64_t SectionSize = DataSize + PaddingSize + StubBufSize; in computeTotalAllocSize()
687 uint64_t DataSize = Section.getSize(); in computeSectionStubBufSize() local
693 unsigned EndAlignment = (DataSize | Alignment) & -(DataSize | Alignment); in computeSectionStubBufSize()
803 uint64_t DataSize = Section.getSize(); in emitSection() local
851 Allocate = DataSize + PaddingSize + StubBufSize; in emitSection()
863 memset(Addr, 0, DataSize); in emitSection()
865 memcpy(Addr, pData, DataSize); in emitSection()
869 memset(Addr + DataSize, 0, PaddingSize); in emitSection()
871 DataSize += PaddingSize; in emitSection()
[all …]
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/Process/minidump/
H A DMinidumpParser.cpp53 GetData().slice(module->CvRecord.RVA, module->CvRecord.DataSize); in GetModuleUUID()
95 if (location.RVA + location.DataSize > GetData().size()) in GetThreadContext()
97 return GetData().slice(location.RVA, location.DataSize); in GetThreadContext()
447 const size_t range_size = loc_desc.DataSize; in FindMemoryRange()
449 if (loc_desc.RVA + loc_desc.DataSize > GetData().size()) in FindMemoryRange()
568 if (memory_desc.Memory.DataSize == 0) in CreateRegionsCacheFromMemoryList()
572 region.GetRange().SetByteSize(memory_desc.Memory.DataSize); in CreateRegionsCacheFromMemoryList()
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DRecordLayout.cpp37 : Size(size), DataSize(datasize), Alignment(alignment), in ASTRecordLayout()
56 : Size(size), DataSize(datasize), Alignment(alignment), in ASTRecordLayout()
H A DRecordLayoutBuilder.cpp637 uint64_t DataSize; member in __anon146c45a90111::ItaniumRecordLayoutBuilder
702 DataSize(0), NonVirtualSize(CharUnits::Zero()), in ItaniumRecordLayoutBuilder()
818 assert(DataSize % Context.getCharWidth() == 0); in getDataSize()
819 return Context.toCharUnitsFromBits(DataSize); in getDataSize()
821 uint64_t getDataSizeInBits() const { return DataSize; } in getDataSizeInBits()
824 void setDataSize(uint64_t NewSize) { DataSize = NewSize; } in setDataSize()
2545 CharUnits DataSize; member
2667 DataSize = Size = Size.alignTo(Alignment); in layout()
3108 DataSize = Size; in finalizeLayout()
3280 CharUnits DataSize = in getASTRecordLayout() local
[all …]
/freebsd-13.1/sys/contrib/edk2/Include/Uefi/
H A DUefiSpec.h673 IN OUT UINTN *DataSize,
751 IN UINTN DataSize,
1025 IN UINTN DataSize,
1049 IN UINTN DataSize,
1104 IN UINTN DataSize,
/freebsd-13.1/stand/efi/include/
H A Defiapi.h238 IN OUT UINTN *DataSize,
257 IN UINTN DataSize,
423 IN UINTN DataSize,
439 IN UINTN DataSize,
646 IN UINTN DataSize,
/freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/
H A DRecordLayout.h68 CharUnits DataSize; variable
206 CharUnits getDataSize() const { return DataSize; } in getDataSize()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Object/
H A DMinidump.cpp134 getDataSlice(Data, Loc.RVA, Loc.DataSize); in create()
138 if (Type == StreamType::Unused && Loc.DataSize == 0) { in create()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Object/
H A DMinidump.h40 return getData().slice(Stream.Location.RVA, Stream.Location.DataSize); in getRawStream()
51 return getDataSlice(getData(), Desc.RVA, Desc.DataSize); in getRawData()
/freebsd-13.1/usr.sbin/mpsutil/
H A Dmps_cmd.c231 uint32_t DataSize; member
689 pass.DataSize = datain_len; in mps_pass_command()
698 pass.DataSize = datain_len; in mps_pass_command()
706 pass.DataSize = dataout_len; in mps_pass_command()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTargetTransformInfoImpl.h242 unsigned DataSize = DL.getTypeStoreSize(DataType); in isLegalNTStore() local
243 return Alignment >= DataSize && isPowerOf2_32(DataSize); in isLegalNTStore()
249 unsigned DataSize = DL.getTypeStoreSize(DataType); in isLegalNTLoad() local
250 return Alignment >= DataSize && isPowerOf2_32(DataSize); in isLegalNTLoad()
/freebsd-13.1/contrib/llvm-project/llvm/lib/MC/
H A DWasmObjectWriter.cpp310 void writeImportSection(ArrayRef<wasm::WasmImport> Imports, uint64_t DataSize,
794 uint64_t DataSize, in writeImportSection() argument
799 uint64_t NumPages = (DataSize + wasm::WasmPageSize - 1) / wasm::WasmPageSize; in writeImportSection()
1418 uint64_t DataSize = 0; in writeOneObject() local
1447 DataSize = alignTo(DataSize, Section.getAlignment()); in writeOneObject()
1454 Segment.Offset = DataSize; in writeOneObject()
1459 DataSize += Segment.Data.size(); in writeOneObject()
1868 writeImportSection(Imports, DataSize, TableElems.size()); in writeOneObject()

123