Home
last modified time | relevance | path

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

123

/openbsd-src/gnu/llvm/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()
H A DDIARawSymbol.cpp553 DWORD DataSize = 0; in getDataBytes() local
554 Symbol->get_dataBytes(0, &DataSize, nullptr); in getDataBytes()
555 if (DataSize == 0) in getDataBytes()
558 bytes.resize(DataSize); in getDataBytes()
559 Symbol->get_dataBytes(DataSize, &DataSize, bytes.data()); in getDataBytes()
/openbsd-src/gnu/llvm/llvm/tools/llvm-exegesis/lib/X86/
H A DX86Counter.cpp59 size_t DataSize) { in copyDataBuffer() argument
67 if (CopySize >= DataSize) in copyDataBuffer()
77 static llvm::Error parseDataBuffer(const char *DataBuf, size_t DataSize, in parseDataBuffer() argument
81 while (DataPtr < DataBuf + DataSize) { in parseDataBuffer()
244 const size_t DataSize = DataHead - DataTail; in doReadCounter() local
245 if (DataSize > kDataBufferSize) in doReadCounter()
249 copyDataBuffer(MMappedBuffer, DataBuf.get(), DataTail, DataSize); in doReadCounter()
251 parseDataBuffer(DataBuf.get(), DataSize, From, To, &CycleArray); in doReadCounter()
/openbsd-src/gnu/llvm/llvm/include/llvm/Support/
H A DBinaryStream.h59 Error checkOffsetForRead(uint64_t Offset, uint64_t DataSize) { in checkOffsetForRead() argument
62 if (getLength() < DataSize + Offset) in checkOffsetForRead()
89 Error checkOffsetForWrite(uint64_t Offset, uint64_t DataSize) { in checkOffsetForWrite() argument
91 return checkOffsetForRead(Offset, DataSize); in checkOffsetForWrite()
H A DBinaryStreamRef.h134 Error checkOffsetForRead(uint64_t Offset, uint64_t DataSize) const { in checkOffsetForRead() argument
137 if (getLength() < DataSize + Offset) in checkOffsetForRead()
228 Error checkOffsetForWrite(uint64_t Offset, uint64_t DataSize) const { in checkOffsetForWrite() argument
230 return checkOffsetForRead(Offset, DataSize); in checkOffsetForWrite()
/openbsd-src/gnu/llvm/compiler-rt/lib/profile/
H A DInstrProfilingBuffer.c105 uint64_t DataSize, uint64_t CountersSize, uint64_t NamesSize, in __llvm_profile_get_padding_sizes_for_counters() argument
118 calculateBytesNeededToPageAlign(sizeof(__llvm_profile_header) + DataSize); in __llvm_profile_get_padding_sizes_for_counters()
130 uint64_t DataSize = __llvm_profile_get_data_size(DataBegin, DataEnd); in __llvm_profile_get_size_for_buffer_internal() local
139 DataSize, CountersSize, NamesSize, &PaddingBytesBeforeCounters, in __llvm_profile_get_size_for_buffer_internal()
143 DataSize + PaddingBytesBeforeCounters + CountersSize + in __llvm_profile_get_size_for_buffer_internal()
H A DInstrProfilingMerge.c51 SrcDataEnd = SrcDataStart + Header->DataSize; in __llvm_profile_check_compatibility()
59 Header->DataSize != in __llvm_profile_check_compatibility()
72 Header->DataSize * sizeof(__llvm_profile_data) + Header->NamesSize + in __llvm_profile_check_compatibility()
118 SrcDataEnd = SrcDataStart + Header->DataSize; in __llvm_profile_merge_from_buffer()
H A DInstrProfilingPlatformFuchsia.c121 const uint64_t DataSize = __llvm_profile_get_data_size(DataBegin, DataEnd); in __llvm_profile_initialize() local
123 sizeof(__llvm_profile_header) + __llvm_write_binary_ids(NULL) + DataSize; in __llvm_profile_initialize()
H A DInstrProfilingFile.c114 uint64_t DataSize = __llvm_profile_get_data_size(DataBegin, DataEnd); in mmapForContinuousMode() local
137 DataSize, CountersSize, NamesSize, &PaddingBytesBeforeCounters, in mmapForContinuousMode()
142 sizeof(__llvm_profile_header) + DataSize + in mmapForContinuousMode()
200 uint64_t DataSize = __llvm_profile_get_data_size(DataBegin, DataEnd); in mmapForContinuousMode() local
214 sizeof(__llvm_profile_header) + __llvm_write_binary_ids(NULL) + DataSize; in mmapForContinuousMode()
H A DInstrProfiling.h289 uint64_t DataSize, uint64_t CountersSize, uint64_t NamesSize,
/openbsd-src/gnu/llvm/llvm/lib/DebugInfo/CodeView/
H A DDebugSubsectionRecord.cpp60 uint32_t DataSize = Subsection ? Subsection->calculateSerializedSize() in calculateSerializedLength() local
64 return sizeof(DebugSubsectionHeader) + alignTo(DataSize, 4); in calculateSerializedLength()
76 uint32_t DataSize = Subsection ? Subsection->calculateSerializedSize() in commit() local
78 Header.Length = alignTo(DataSize, alignOf(Container)); in commit()
/openbsd-src/gnu/llvm/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_coverage_fuchsia.cpp126 size_t DataSize() const { return next_index_ * sizeof(uintptr_t); } in DataSize() function in __sancov::__anon9173f7b00111::TracePcGuardController
139 zx_status_t status = _zx_vmo_create(DataSize(), ZX_VMO_RESIZABLE, &vmo_); in Setup()
147 uint64_t size = DataSize(); in Setup()
181 zx_status_t status = _zx_vmo_set_size(vmo_, DataSize()); in Setup()
183 uint64_t size = DataSize(); in Setup()
/openbsd-src/gnu/llvm/llvm/lib/DebugInfo/DWARF/
H A DDWARFDebugAddr.cpp20 uint64_t DataSize = EndOffset - *OffsetPtr; in extractAddresses() local
21 assert(Data.isValidOffsetForDataOfSize(*OffsetPtr, DataSize)); in extractAddresses()
26 if (DataSize % AddrSize != 0) { in extractAddresses()
32 Offset, DataSize, AddrSize); in extractAddresses()
35 size_t Count = DataSize / AddrSize; in extractAddresses()
/openbsd-src/gnu/llvm/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyld.cpp554 uint64_t DataSize = Section.getSize(); in computeTotalAllocSize() local
573 uint64_t SectionSize = DataSize + PaddingSize + StubBufSize; in computeTotalAllocSize()
699 uint64_t DataSize = Section.getSize(); in computeSectionStubBufSize() local
704 Align EndAlignment = commonAlignment(Alignment, DataSize); in computeSectionStubBufSize()
814 uint64_t DataSize = Section.getSize(); in emitSection() local
858 Allocate = DataSize + PaddingSize + StubBufSize; in emitSection()
878 memset(Addr, 0, DataSize); in emitSection()
880 memcpy(Addr, pData, DataSize); in emitSection()
884 memset(Addr + DataSize, 0, PaddingSize); in emitSection()
886 DataSize += PaddingSize; in emitSection()
[all …]
/openbsd-src/gnu/llvm/lldb/source/Plugins/Process/minidump/
H A DMinidumpParser.cpp54 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()
443 const size_t range_size = loc_desc.DataSize; in FindMemoryRange()
445 if (loc_desc.RVA + loc_desc.DataSize > GetData().size()) in FindMemoryRange()
564 if (memory_desc.Memory.DataSize == 0) in CreateRegionsCacheFromMemoryList()
568 region.GetRange().SetByteSize(memory_desc.Memory.DataSize); in CreateRegionsCacheFromMemoryList()
/openbsd-src/gnu/llvm/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 __anon28bd2e0c0111::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()
823 void setDataSize(CharUnits NewSize) { DataSize = Context.toBits(NewSize); } in setDataSize()
824 void setDataSize(uint64_t NewSize) { DataSize = NewSize; } in setDataSize()
1061 assert(DataSize == 0 && "Vtable pointer must be at offset zero!"); in LayoutNonVirtualBases()
2596 CharUnits DataSize; member
2718 DataSize = Size = Size.alignTo(Alignment); in layout()
[all …]
/openbsd-src/sys/stand/efi/include/
H A Defiapi.h234 IN OUT UINTN *DataSize,
253 IN UINTN DataSize,
419 IN UINTN DataSize,
435 IN UINTN DataSize,
641 IN UINTN DataSize,
/openbsd-src/gnu/llvm/clang/include/clang/AST/
H A DRecordLayout.h68 CharUnits DataSize; variable
206 CharUnits getDataSize() const { return DataSize; } in getDataSize()
/openbsd-src/gnu/llvm/lldb/source/Plugins/ObjectFile/Minidump/
H A DMinidumpFileBuilder.cpp39 loc.DataSize = static_cast<llvm::support::ulittle32_t>(stream_size); in AddDirectory()
256 ld.DataSize = static_cast<llvm::support::ulittle32_t>(0u); in AddModuleList()
262 ld_cv.DataSize = static_cast<llvm::support::ulittle32_t>( in AddModuleList()
458 stack_memory.DataSize = in AddThreadList()
470 thread_context_memory_locator.DataSize = in AddThreadList()
529 thread_context_memory_locator.DataSize = in AddException()
604 memory_dump.DataSize = static_cast<llvm::support::ulittle32_t>(bytes_read); in AddMemoryList()
/openbsd-src/gnu/llvm/llvm/lib/Object/
H A DMinidump.cpp135 getDataSlice(Data, Loc.RVA, Loc.DataSize); in create()
139 if (Type == StreamType::Unused && Loc.DataSize == 0) { in create()
/openbsd-src/gnu/llvm/llvm/include/llvm/Object/
H A DMinidump.h40 return getData().slice(Stream.Location.RVA, Stream.Location.DataSize); in getRawStream()
52 return getDataSlice(getData(), Desc.RVA, Desc.DataSize); in getRawData()
/openbsd-src/gnu/llvm/llvm/include/llvm/Analysis/
H A DTargetTransformInfoImpl.h252 unsigned DataSize = DL.getTypeStoreSize(DataType); in isLegalNTStore() local
253 return Alignment >= DataSize && isPowerOf2_32(DataSize); in isLegalNTStore()
259 unsigned DataSize = DL.getTypeStoreSize(DataType); in isLegalNTLoad() local
260 return Alignment >= DataSize && isPowerOf2_32(DataSize); in isLegalNTLoad()
/openbsd-src/gnu/llvm/llvm/lib/MC/
H A DWasmObjectWriter.cpp331 void writeImportSection(ArrayRef<wasm::WasmImport> Imports, uint64_t DataSize,
848 uint64_t DataSize, in writeImportSection() argument
853 uint64_t NumPages = (DataSize + wasm::WasmPageSize - 1) / wasm::WasmPageSize; in writeImportSection()
1472 uint64_t DataSize = 0; in writeOneObject() local
1501 DataSize = alignTo(DataSize, Section.getAlign()); in writeOneObject()
1508 Segment.Offset = DataSize; in writeOneObject()
1513 DataSize += Segment.Data.size(); in writeOneObject()
1921 writeImportSection(Imports, DataSize, TableElems.size()); in writeOneObject()
/openbsd-src/gnu/llvm/llvm/include/llvm/MC/
H A DMCMachObjectWriter.h209 uint32_t DataSize);

123