Home
last modified time | relevance | path

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

/openbsd/src/gnu/llvm/lldb/tools/debugserver/source/
DStdStringExtractor.cpp24 StdStringExtractor::StdStringExtractor() : m_packet(), m_index(0) {} in StdStringExtractor()
27 : m_packet(), m_index(0) { in StdStringExtractor()
36 if (m_index < m_packet.size()) { in GetChar()
37 char ch = m_packet[m_index]; in GetChar()
38 ++m_index; in GetChar()
41 m_index = UINT64_MAX; in GetChar()
56 const int hi_nibble = xdigit_to_sint(m_packet[m_index]); in DecodeHexU8()
57 const int lo_nibble = xdigit_to_sint(m_packet[m_index + 1]); in DecodeHexU8()
61 m_index += 2; in DecodeHexU8()
77 if (set_eof_on_fail || m_index >= m_packet.size()) in GetHexU8Ex()
[all …]
DStdStringExtractor.h28 bool IsGood() const { return m_index != UINT64_MAX; } in IsGood()
30 uint64_t GetFilePos() const { return m_index; } in GetFilePos()
32 void SetFilePos(uint32_t idx) { m_index = idx; } in SetFilePos()
36 m_index = 0; in Clear()
46 if (m_index < m_packet.size()) in GetBytesLeft()
47 return m_packet.size() - m_index; in GetBytesLeft()
91 if (m_index < m_packet.size()) in Peek()
92 return m_packet.c_str() + m_index; in Peek()
99 uint64_t m_index; // When extracting data from a packet, this index variable
DJSON.cpp232 const uint64_t start_index = m_index; in GetToken()
342 ++m_index; // Skip this character in GetToken()
352 ++m_index; // Skip this character in GetToken()
364 exp_index = m_index; in GetToken()
365 ++m_index; // Skip this character in GetToken()
372 if (exp_index == m_index - 1) { in GetToken()
373 ++m_index; // Skip the exponent sign character in GetToken()
388 if (m_index > start_index) { in GetToken()
389 value = m_packet.substr(start_index, m_index - start_index); in GetToken()
/openbsd/src/gnu/llvm/lldb/source/Utility/
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_packet.size()) { in GetU32()
[all …]
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()
/openbsd/src/gnu/llvm/lldb/include/lldb/Utility/
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 …]
/openbsd/src/gnu/llvm/lldb/include/lldb/Target/
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
/openbsd/src/gnu/llvm/lldb/source/Plugins/SymbolFile/NativePDB/
DSymbolFileNativePDB.cpp311 if (!m_index) { in CalculateAbilities()
330 m_index = std::move(*expected_index); in CalculateAbilities()
332 if (!m_index) in CalculateAbilities()
339 if (m_index->dbi().isStripped()) in CalculateAbilities()
349 m_index->SetLoadAddress(m_obj_load_address); in InitializeObject()
350 m_index->ParseSectionContribs(); in InitializeObject()
365 const DbiModuleList &modules = m_index->dbi().modules(); in CalculateNumCompileUnits()
380 CompilandIndexItem *cii = m_index->compilands().GetCompiland(block_id.modi); in CreateBlock()
420 m_index->MakeVirtualAddress(block.Segment, block.CodeOffset); in CreateBlock()
475 m_index->compilands().GetCompiland(func_id.modi); in CreateFunction()
[all …]
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()
166 PDBStringTable &strings = cantFail(m_index.pdb().getStringTable()); in GetOrCreateCompiland()
224 LazyRandomTypeCollection &types = m_index.ipi().typeCollection(); in GetMainSourceFile()
DUdtRecordCompleter.cpp45 m_ast_builder(ast_builder), m_index(index), in UdtRecordCompleter()
47 CVType cvt = m_index.tpi().getType(m_id.index); in UdtRecordCompleter()
74 CVType udt_cvt = m_index.tpi().getType(ti); in AddBaseClassForTypeIndex()
172 m_index.globals().findRecordsByName(qual_name, m_index.symrecords()); in visitKnownMember()
245 CVType cvt = m_index.tpi().getType(ti); in visitKnownMember()
261 bitfield_width ? bitfield_width : GetSizeOfType(ti, m_index.tpi()) * 8; in visitKnownMember()
281 CVType method_list_type = m_index.tpi().getType(method_list_idx); in visitKnownMember()
DCompileUnitIndex.h90 PdbIndex &m_index; variable
94 explicit CompileUnitIndex(PdbIndex &index) : m_index(index) {} in CompileUnitIndex()
DSymbolFileNativePDB.h161 llvm::pdb::PDBFile &GetPDBFile() { return m_index->pdb(); } in GetPDBFile()
162 const llvm::pdb::PDBFile &GetPDBFile() const { return m_index->pdb(); } in GetPDBFile()
164 PdbIndex &GetIndex() { return *m_index; }; in GetIndex()
276 std::unique_ptr<PdbIndex> m_index; variable
DUdtRecordCompleter.h55 PdbIndex &m_index; variable
DPdbAstBuilder.cpp36 CreateMethodDecl(PdbIndex &m_index, TypeSystemClang &m_clang, in CreateMethodDecl()
41 : m_index(m_index), m_clang(m_clang), func_type_index(func_type_index), in CreateMethodDecl()
44 PdbIndex &m_index; member
56 CVType method_list_type = m_index.tpi().getType(method_list_idx); in visitKnownMember()
/openbsd/src/gnu/llvm/lldb/source/Target/
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()
/openbsd/src/gnu/llvm/lldb/source/Plugins/SymbolFile/DWARF/
DDWARFIndex.cpp90 : m_index(index), in DIERefCallbackImpl()
98 m_index.ReportInvalidDIERef(ref, m_name); in operator ()()
DSymbolFileDWARF.cpp467 m_index = AppleDWARFIndex::Create( in InitializeObject()
471 if (m_index) in InitializeObject()
485 m_index = std::move(*index_or); in InitializeObject()
493 m_index = in InitializeObject()
1661 m_index->GetObjCMethods(class_name, callback); in GetObjCMethods()
2133 m_index->Preload(); in PreloadSymbols()
2208 m_index->GetGlobalVariables(ConstString(basename), [&](DWARFDIE die) { in FindGlobalVariables()
2274 m_index->GetGlobalVariables(regex, [&](DWARFDIE die) { in FindGlobalVariables()
2395 m_index->GetFunctions(lookup_info, *this, parent_decl_ctx, [&](DWARFDIE die) { in FindFunctions()
2411 m_index->GetFunctions(no_tp_lookup_info, *this, parent_decl_ctx, [&](DWARFDIE die) { in FindFunctions()
[all …]
DDWARFIndex.h90 const DWARFIndex &m_index;
DSymbolFileDWARF.h558 std::unique_ptr<lldb_private::DWARFIndex> m_index; variable
/openbsd/src/gnu/llvm/lldb/source/Plugins/ABI/PowerPC/
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 __anon6d8839b10111::ReturnValueExtractor::Register
/openbsd/src/gnu/llvm/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/
DAppleObjCRuntimeV2.cpp1354 : m_parent(parent), m_index(index) { in const_iterator()
1359 : m_parent(rhs.m_parent), m_index(rhs.m_index) { in const_iterator()
1366 m_index = rhs.m_index; in operator =()
1373 if (m_index != rhs.m_index) in operator ==()
1389 if (m_index == -1) { in operator *()
1396 lldb::addr_t pair_ptr = pairs_ptr + (m_index * map_pair_size); in operator *()
1421 if (m_index == -1) in AdvanceToValidIndex()
1429 while (m_index--) { in AdvanceToValidIndex()
1430 lldb::addr_t pair_ptr = pairs_ptr + (m_index * map_pair_size); in AdvanceToValidIndex()
1435 m_index = -1; in AdvanceToValidIndex()
[all …]
/openbsd/src/gnu/usr.bin/binutils/gdb/
Dlinespec.c1473 int m_index, f_index; in collect_methods() local
1475 if (get_destructor_fn_field (t, &m_index, &f_index)) in collect_methods()
1477 struct fn_field *f = TYPE_FN_FIELDLIST1 (t, m_index); in collect_methods()
Dvalops.c1663 int m_index, f_index; in value_struct_elt() local
1666 if (get_destructor_fn_field (t, &m_index, &f_index)) in value_struct_elt()
1668 v = value_fn_field (NULL, TYPE_FN_FIELDLIST1 (t, m_index), in value_struct_elt()
2305 int m_index, f_index; in check_field_in() local
2307 return get_destructor_fn_field (type, &m_index, &f_index); in check_field_in()