Home
last modified time | relevance | path

Searched refs:m_index (Results 1 – 20 of 20) sorted by relevance

/freebsd/contrib/llvm-project/lldb/source/Utility/
H A DStringExtractor.cpp44 if (m_index < m_packet.size()) { in GetChar()
45 char ch = m_packet[m_index]; in GetChar()
46 ++m_index; in GetChar()
49 m_index = UINT64_MAX; in GetChar()
63 const int hi_nibble = xdigit_to_sint(m_packet[m_index]); in DecodeHexU8()
64 const int lo_nibble = xdigit_to_sint(m_packet[m_index + 1]); in DecodeHexU8()
68 m_index += 2; in DecodeHexU8()
84 if (set_eof_on_fail || m_index >= m_packet.size()) in GetHexU8Ex()
85 m_index = UINT64_MAX; in GetHexU8Ex()
94 if (m_index < m_packe in GetU32()
[all...]
H A DStringExtractorGDBRemote.cpp523 str.assign(m_packet, m_index, bytes_left); in GetEscapedBinaryData()
524 m_index += bytes_left; in GetEscapedBinaryData()
643 llvm::StringRef view = llvm::StringRef(m_packet).substr(m_index); in GetPidTid()
655 m_index = UINT64_MAX; in GetPidTid()
662 m_index += initial_length - view.size(); in GetPidTid()
674 m_index = UINT64_MAX; in GetPidTid()
679 m_index += initial_length - view.size(); in GetPidTid()
/freebsd/contrib/llvm-project/lldb/include/lldb/Utility/
H A DStringExtractor.h30 m_index = 0; in Reset()
35 bool IsGood() const { return m_index != UINT64_MAX; } in IsGood()
37 uint64_t GetFilePos() const { return m_index; } in GetFilePos()
39 void SetFilePos(uint32_t idx) { m_index = idx; } in SetFilePos()
43 m_index = 0; in Clear()
53 if (m_index < m_packet.size()) in GetBytesLeft()
54 return m_packet.size() - m_index; in GetBytesLeft()
101 if (m_index < m_packet.size()) in Peek()
102 return m_packet.c_str() + m_index; in Peek()
108 m_index = UINT64_MAX; in fail()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/
H A DSymbolFileNativePDB.cpp314 if (!m_index) { in CalculateAbilities()
333 m_index = std::move(*expected_index); in CalculateAbilities()
335 if (!m_index) in CalculateAbilities()
342 if (m_index->dbi().isStripped()) in CalculateAbilities()
352 m_index->SetLoadAddress(m_obj_load_address); in InitializeObject()
353 m_index->ParseSectionContribs(); in InitializeObject()
368 const DbiModuleList &modules = m_index->dbi().modules(); in CalculateNumCompileUnits()
383 CompilandIndexItem *cii = m_index->compilands().GetCompiland(block_id.modi); in CreateBlock()
423 m_index->MakeVirtualAddress(block.Segment, block.CodeOffset); in CreateBlock()
478 m_index->compilands().GetCompiland(func_id.modi); in CreateFunction()
[all …]
H A DCompileUnitIndex.cpp140 const DbiModuleList &modules = m_index.dbi().modules(); in GetOrCreateCompiland()
144 m_index.pdb().createIndexedStream(stream); in GetOrCreateCompiland()
162 ParseExtendedInfo(m_index, *cci); in GetOrCreateCompiland()
165 auto strings = m_index.pdb().getStringTable(); in GetOrCreateCompiland()
228 LazyRandomTypeCollection &types = m_index.ipi().typeCollection(); in GetMainSourceFile()
H A DUdtRecordCompleter.cpp45 m_ast_builder(ast_builder), m_index(index), in UdtRecordCompleter()
47 CVType cvt = m_index.tpi().getType(m_id.index); in UdtRecordCompleter()
77 CVType udt_cvt = m_index.tpi().getType(ti); in AddBaseClassForTypeIndex()
175 m_index.globals().findRecordsByName(qual_name, m_index.symrecords()); in visitKnownMember()
248 CVType cvt = m_index.tpi().getType(ti); in visitKnownMember()
264 bitfield_width ? bitfield_width : GetSizeOfType(ti, m_index.tpi()) * 8; in visitKnownMember()
284 CVType method_list_type = m_index.tpi().getType(method_list_idx); in visitKnownMember()
H A DCompileUnitIndex.h91 PdbIndex &m_index; variable
95 explicit CompileUnitIndex(PdbIndex &index) : m_index(index) {} in CompileUnitIndex()
H A DSymbolFileNativePDB.h155 llvm::pdb::PDBFile &GetPDBFile() { return m_index->pdb(); } in GetPDBFile()
156 const llvm::pdb::PDBFile &GetPDBFile() const { return m_index->pdb(); } in GetPDBFile()
158 PdbIndex &GetIndex() { return *m_index; }; in GetIndex()
270 std::unique_ptr<PdbIndex> m_index; variable
H A DUdtRecordCompleter.h55 PdbIndex &m_index; variable
H A DPdbAstBuilder.cpp37 CreateMethodDecl(PdbIndex &m_index, TypeSystemClang &m_clang, in CreateMethodDecl()
42 : m_index(m_index), m_clang(m_clang), func_type_index(func_type_index), in CreateMethodDecl()
45 PdbIndex &m_index; member
57 CVType method_list_type = m_index.tpi().getType(method_list_idx); in visitKnownMember()
/freebsd/contrib/llvm-project/lldb/include/lldb/Target/
H A DThreadSpec.h45 void SetIndex(uint32_t index) { m_index = index; } in SetIndex()
55 uint32_t GetIndex() const { return m_index; } in GetIndex()
73 if (m_index == UINT32_MAX || index == UINT32_MAX) in IndexMatches()
76 return index == m_index; in IndexMatches()
123 uint32_t m_index = UINT32_MAX; variable
/freebsd/contrib/llvm-project/lldb/source/Target/
H A DThreadSpec.cpp56 if (m_index != UINT32_MAX) in SerializeToStructuredData()
57 data_dict_sp->AddIntegerItem(GetKey(OptionNames::ThreadIndex), m_index); in SerializeToStructuredData()
85 if (m_index == UINT32_MAX) in IndexMatches()
127 return (m_index != UINT32_MAX || m_tid != LLDB_INVALID_THREAD_ID || in HasSpecification()
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFIndex.cpp88 : m_index(index), in DIERefCallbackImpl()
96 m_index.ReportInvalidDIERef(ref, m_name); in operator ()()
H A DSymbolFileDWARF.cpp529 m_index = AppleDWARFIndex::Create( in InitializeObject()
533 if (m_index) in InitializeObject()
546 m_index = std::move(*index_or); in InitializeObject()
554 m_index = in InitializeObject()
1723 m_index->GetObjCMethods(class_name, callback); in GetObjCMethods()
2325 m_index->Preload(); in PreloadSymbols()
2400 m_index->GetGlobalVariables(ConstString(basename), [&](DWARFDIE die) { in FindGlobalVariables()
2472 m_index->GetGlobalVariables(regex, [&](DWARFDIE die) { in FindGlobalVariables()
2600 m_index->GetFunctions(lookup_info, *this, parent_decl_ctx, [&](DWARFDIE die) { in FindFunctions()
2616 m_index->GetFunctions(no_tp_lookup_info, *this, parent_decl_ctx, in FindFunctions()
[all …]
H A DDWARFIndex.h100 const DWARFIndex &m_index;
H A DSymbolFileDWARF.h371 DWARFIndex *getIndex() { return m_index.get(); } in getIndex()
527 std::unique_ptr<DWARFIndex> m_index; variable
/freebsd/sys/geom/
H A Dgeom_slice.c220 u_int m_index; in g_slice_start() local
242 for (m_index = 0; m_index < gsp->nhotspot; m_index++) { in g_slice_start()
243 ghp = &gsp->hotspot[m_index]; in g_slice_start()
/freebsd/contrib/llvm-project/lldb/source/Plugins/ABI/PowerPC/
H A DABISysV_ppc64.cpp413 : m_index(index), m_offs(offs % sizeof(uint64_t)), in Register()
426 uint32_t Index() const { return m_index; } in Index()
435 if (m_index > 7) { in IsValid()
445 return ("r" + llvm::Twine(m_index + 3)).str(); in GetName()
447 return ("f" + llvm::Twine(m_index + 1)).str(); in GetName()
477 uint32_t m_index; member in __anon31ea58350111::ReturnValueExtractor::Register
/freebsd/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/
H A DAppleObjCRuntimeV2.cpp1342 : m_parent(parent), m_index(index) { in const_iterator()
1347 : m_parent(rhs.m_parent), m_index(rhs.m_index) { in const_iterator()
1354 m_index = rhs.m_index; in operator =()
1361 if (m_index != rhs.m_index) in operator ==()
1377 if (m_index == -1) { in operator *()
1384 lldb::addr_t pair_ptr = pairs_ptr + (m_index * map_pair_size); in operator *()
1409 if (m_index == -1) in AdvanceToValidIndex()
1417 while (m_index--) { in AdvanceToValidIndex()
1418 lldb::addr_t pair_ptr = pairs_ptr + (m_index * map_pair_size); in AdvanceToValidIndex()
1423 m_index = -1; in AdvanceToValidIndex()
[all …]
/freebsd/contrib/bsnmp/tests/
H A Dcatch.hpp1418 std::size_t m_index; member in Catch::ReusableStringStream
13541 : m_index( Singleton<StringStreams>::getMutable().add() ), in ReusableStringStream()
13542 m_oss( Singleton<StringStreams>::getMutable().m_streams[m_index].get() ) in ReusableStringStream()
13548 Singleton<StringStreams>::getMutable().release( m_index ); in ~ReusableStringStream()