Home
last modified time | relevance | path

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

12

/freebsd-12.1/contrib/llvm/lib/DebugInfo/PDB/DIA/
H A DDIAInjectedSource.cpp53 DWORD DataSize; in getCode() local
54 if (S_OK != SourceFile->get_source(0, &DataSize, nullptr)) in getCode()
57 std::vector<uint8_t> Buffer(DataSize); in getCode()
58 if (S_OK != SourceFile->get_source(DataSize, &DataSize, Buffer.data())) in getCode()
60 assert(Buffer.size() == DataSize); in getCode()
H A DDIARawSymbol.cpp554 DWORD DataSize = 0; in getDataBytes() local
555 Symbol->get_dataBytes(0, &DataSize, nullptr); in getDataBytes()
556 if (DataSize == 0) in getDataBytes()
559 bytes.resize(DataSize); in getDataBytes()
560 Symbol->get_dataBytes(DataSize, &DataSize, bytes.data()); in getDataBytes()
/freebsd-12.1/contrib/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); in lprofGetLoadModuleSignature()
49 SrcDataEnd = SrcDataStart + Header->DataSize; in __llvm_profile_check_compatibility()
57 Header->DataSize != in __llvm_profile_check_compatibility()
68 Header->DataSize * sizeof(__llvm_profile_data) + in __llvm_profile_check_compatibility()
96 SrcDataEnd = SrcDataStart + Header->DataSize; in __llvm_profile_merge_from_buffer()
H A DInstrProfilingWriter.c258 const uint64_t DataSize = __llvm_profile_get_data_size(DataBegin, DataEnd); in lprofWriteDataImpl() local
269 if (!DataSize) in lprofWriteDataImpl()
279 {DataBegin, sizeof(__llvm_profile_data), DataSize}, in lprofWriteDataImpl()
/freebsd-12.1/contrib/llvm/lib/DebugInfo/DWARF/
H A DDWARFDebugAddr.cpp76 DataSize = getDataSize(); in extract()
82 DataSize = Data.size(); in extract()
124 if (DataSize % HeaderData.AddrSize != 0) { in extract()
130 HeaderOffset, DataSize, HeaderData.AddrSize); in extract()
133 uint32_t AddrCount = DataSize / HeaderData.AddrSize; in extract()
193 if (DataSize != 0) in getDataSize()
194 return DataSize; in getDataSize()
/freebsd-12.1/contrib/llvm/include/llvm/Support/
H A DBinaryStream.h60 Error checkOffsetForRead(uint32_t Offset, uint32_t DataSize) { in checkOffsetForRead() argument
63 if (getLength() < DataSize + Offset) in checkOffsetForRead()
90 Error checkOffsetForWrite(uint32_t Offset, uint32_t DataSize) { in checkOffsetForWrite() argument
92 return checkOffsetForRead(Offset, DataSize); in checkOffsetForWrite()
H A DBinaryStreamRef.h136 Error checkOffsetForRead(uint32_t Offset, uint32_t DataSize) const { in checkOffsetForRead() argument
139 if (getLength() < DataSize + Offset) in checkOffsetForRead()
231 Error checkOffsetForWrite(uint32_t Offset, uint32_t DataSize) const { in checkOffsetForWrite() argument
233 return checkOffsetForRead(Offset, DataSize); in checkOffsetForWrite()
/freebsd-12.1/contrib/llvm/lib/DebugInfo/CodeView/
H A DDebugSubsectionRecord.cpp65 uint32_t DataSize = Subsection ? Subsection->calculateSerializedSize() in calculateSerializedLength() local
69 return sizeof(DebugSubsectionHeader) + alignTo(DataSize, 4); in calculateSerializedLength()
80 uint32_t DataSize = Subsection ? Subsection->calculateSerializedSize() in commit() local
82 Header.Length = alignTo(DataSize, alignOf(Container)); in commit()
/freebsd-12.1/contrib/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyld.cpp489 uint64_t DataSize = Section.getSize(); in computeTotalAllocSize() local
500 uint64_t SectionSize = DataSize + StubBufSize; in computeTotalAllocSize()
609 uint64_t DataSize = Section.getSize(); in computeSectionStubBufSize() local
615 unsigned EndAlignment = (DataSize | Alignment) & -(DataSize | Alignment); in computeSectionStubBufSize()
726 uint64_t DataSize = Section.getSize(); in emitSection() local
767 Allocate = DataSize + PaddingSize + StubBufSize; in emitSection()
779 memset(Addr, 0, DataSize); in emitSection()
781 memcpy(Addr, pData, DataSize); in emitSection()
785 memset(Addr + DataSize, 0, PaddingSize); in emitSection()
787 DataSize += PaddingSize; in emitSection()
[all …]
/freebsd-12.1/contrib/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_coverage_fuchsia.cc123 size_t DataSize() const { return next_index_ * sizeof(uintptr_t); } in DataSize() function in __sancov::__anon35f334010111::TracePcGuardController
136 zx_status_t status = _zx_vmo_create(DataSize(), 0, &vmo_); in Setup()
174 zx_status_t status = _zx_vmo_set_size(vmo_, DataSize()); in Setup()
/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DRecordLayout.cpp37 : Size(size), DataSize(datasize), Alignment(alignment), in ASTRecordLayout()
62 : Size(size), DataSize(datasize), Alignment(alignment), in ASTRecordLayout()
H A DAPValue.cpp79 (DataSize - sizeof(LVBase)) / sizeof(LValuePathEntry);
120 (DataSize - sizeof(MemberPointerBase)) / sizeof(const CXXRecordDecl*);
294 char TmpData[DataSize]; in swap()
295 memcpy(TmpData, Data.buffer, DataSize); in swap()
296 memcpy(Data.buffer, RHS.Data.buffer, DataSize); in swap()
297 memcpy(RHS.Data.buffer, TmpData, DataSize); in swap()
711 static_assert(sizeof(LV) <= DataSize, "LV too big"); in MakeLValue()
H A DRecordLayoutBuilder.cpp621 uint64_t DataSize; member in __anon2b6abd440111::ItaniumRecordLayoutBuilder
672 MaxFieldAlignment(CharUnits::Zero()), DataSize(0), in ItaniumRecordLayoutBuilder()
782 assert(DataSize % Context.getCharWidth() == 0); in getDataSize()
783 return Context.toCharUnitsFromBits(DataSize); in getDataSize()
785 uint64_t getDataSizeInBits() const { return DataSize; } in getDataSizeInBits()
788 void setDataSize(uint64_t NewSize) { DataSize = NewSize; } in setDataSize()
2313 CharUnits DataSize; member
2435 DataSize = Size = Size.alignTo(Alignment); in layout()
2850 DataSize = Size; in finalizeLayout()
3021 CharUnits DataSize = in getASTRecordLayout() local
[all …]
/freebsd-12.1/stand/efi/include/
H A Defiapi.h234 IN OUT UINTN *DataSize,
253 IN UINTN DataSize,
419 IN UINTN DataSize,
435 IN UINTN DataSize,
642 IN UINTN DataSize,
/freebsd-12.1/sys/contrib/edk2/Include/Uefi/
H A DUefiSpec.h650 IN OUT UINTN *DataSize,
724 IN UINTN DataSize,
998 IN UINTN DataSize,
1022 IN UINTN DataSize,
1077 IN UINTN DataSize,
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DRecordLayout.h69 CharUnits DataSize; variable
198 return DataSize; in getDataSize()
/freebsd-12.1/usr.sbin/mpsutil/
H A Dmps_cmd.c234 uint32_t DataSize; member
662 pass.DataSize = datain_len; in mps_pass_command()
671 pass.DataSize = datain_len; in mps_pass_command()
679 pass.DataSize = dataout_len; in mps_pass_command()
H A Dmpr_ioctl.h193 uint32_t DataSize; member
H A Dmps_ioctl.h194 uint32_t DataSize; member
/freebsd-12.1/contrib/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFDebugAddr.h51 uint32_t DataSize = 0; variable
/freebsd-12.1/contrib/llvm/lib/MC/
H A DWasmObjectWriter.cpp298 void writeImportSection(ArrayRef<wasm::WasmImport> Imports, uint32_t DataSize,
733 uint32_t DataSize, in writeImportSection() argument
738 uint32_t NumPages = (DataSize + wasm::WasmPageSize - 1) / wasm::WasmPageSize; in writeImportSection()
1164 uint32_t DataSize = 0; in writeObject() local
1259 DataSize = alignTo(DataSize, Section.getAlignment()); in writeObject()
1263 Segment.Offset = DataSize; in writeObject()
1268 DataSize += Segment.Data.size(); in writeObject()
1572 writeImportSection(Imports, DataSize, TableElems.size()); in writeObject()
/freebsd-12.1/contrib/llvm/lib/ProfileData/Coverage/
H A DCoverageMappingReader.cpp505 uint32_t DataSize = CFR->template getDataSize<Endian>(); in readFunctionRecords() local
508 if (CovBuf + DataSize > CovEnd) in readFunctionRecords()
510 auto Mapping = StringRef(CovBuf, DataSize); in readFunctionRecords()
511 CovBuf += DataSize; in readFunctionRecords()
/freebsd-12.1/contrib/llvm/lib/ProfileData/
H A DInstrProfReader.cpp362 auto DataSize = swap(Header.DataSize); in readHeader() local
367 auto DataSizeInBytes = DataSize * sizeof(RawInstrProf::ProfileData<IntPtrT>); in readHeader()
381 DataEnd = Data + DataSize; in readHeader()
/freebsd-12.1/sys/dev/mpr/
H A Dmpr_user.c783 if (((data->DataSize == 0) && in mpr_user_pass_thru()
785 ((data->DataSize != 0) && in mpr_user_pass_thru()
802 data->ReplySize, data->PtrData, data->DataSize, in mpr_user_pass_thru()
911 cm->cm_length = MAX(data->DataSize, data->DataOutSize); in mpr_user_pass_thru()
926 cm->cm_data, data->DataSize); in mpr_user_pass_thru()
978 data->DataSize, data->DataOutSize); in mpr_user_pass_thru()
1079 PTRIN(data->PtrData), data->DataSize); in mpr_user_pass_thru()
/freebsd-12.1/sys/dev/mps/
H A Dmps_ioctl.h197 uint32_t DataSize; member

12