reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

tools/lldb/include/lldb/Utility/StringExtractor.h
   83   uint32_t GetHexMaxU32(bool little_endian, uint32_t fail_value);

References

tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
  721           m_curr_pid = response.GetHexMaxU32(false, LLDB_INVALID_PROCESS_ID);
 1118     tid = response.GetHexMaxU32(true, -1);
 2835     uint32_t exitcode = response.GetHexMaxU32(false, UINT32_MAX);
 2842     uint32_t signo = response.GetHexMaxU32(false, UINT32_MAX);
 3017     uint32_t retcode = response.GetHexMaxU32(false, UINT32_MAX);
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp
  515       auto flags = File::OpenOptions(packet.GetHexMaxU32(false, 0));
  517         mode_t mode = packet.GetHexMaxU32(false, 0600);
  798   mode_t mode = packet.GetHexMaxU32(false, UINT32_MAX);
  818       static_cast<llvm::sys::fs::perms>(packet.GetHexMaxU32(false, UINT32_MAX));
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp
 1375       packet.GetHexMaxU32(false, std::numeric_limits<uint32_t>::max());
 1533       thread_action.signal = packet.GetHexMaxU32(false, 0);
 1545       thread_action.signal = packet.GetHexMaxU32(false, 0);
 1566       thread_action.tid = packet.GetHexMaxU32(false, LLDB_INVALID_THREAD_ID);
 1673       packet.GetHexMaxU32(false, std::numeric_limits<uint32_t>::max());
 1963       packet.GetHexMaxU32(false, std::numeric_limits<uint32_t>::max());
 2043       packet.GetHexMaxU32(false, std::numeric_limits<uint32_t>::max());
 2587       packet.GetHexMaxU32(false, std::numeric_limits<uint32_t>::max());
 3063   const lldb::tid_t tid = packet.GetHexMaxU32(false, LLDB_INVALID_THREAD_ID);
tools/lldb/unittests/Utility/StringExtractorTest.cpp
  537   EXPECT_EQ(0x0ull, ex.GetHexMaxU32(true, 0));
  540   EXPECT_EQ(0x0ull, ex.GetHexMaxU32(true, 1));
  543   EXPECT_EQ(0x1ull, ex.GetHexMaxU32(true, 0));
  546   EXPECT_EQ(0x1ull, ex.GetHexMaxU32(true, 0));
  549   EXPECT_EQ(0x100ull, ex.GetHexMaxU32(true, 0));
  552   EXPECT_EQ(0x12ull, ex.GetHexMaxU32(true, 0));
  555   EXPECT_EQ(0x312ull, ex.GetHexMaxU32(true, 0));
  558   EXPECT_EQ(0x312ull, ex.GetHexMaxU32(true, 0));
  561   EXPECT_EQ(0x3412ull, ex.GetHexMaxU32(true, 0));
  564   EXPECT_EQ(0x3412ull, ex.GetHexMaxU32(true, 0));
  567   EXPECT_EQ(0x3412ull, ex.GetHexMaxU32(true, 0));
  570   EXPECT_EQ(0x70563412ull, ex.GetHexMaxU32(true, 0));
  573   EXPECT_EQ(0ull, ex.GetHexMaxU32(true, 0));
  578   EXPECT_EQ(0x0ull, ex.GetHexMaxU32(false, 0));
  581   EXPECT_EQ(0x0ull, ex.GetHexMaxU32(false, 1));
  584   EXPECT_EQ(0x1ull, ex.GetHexMaxU32(false, 0));
  587   EXPECT_EQ(0x1ull, ex.GetHexMaxU32(false, 0));
  590   EXPECT_EQ(0x1ull, ex.GetHexMaxU32(false, 0));
  593   EXPECT_EQ(0x12ull, ex.GetHexMaxU32(false, 0));
  596   EXPECT_EQ(0x123ull, ex.GetHexMaxU32(false, 0));
  599   EXPECT_EQ(0x1203ull, ex.GetHexMaxU32(false, 0));
  602   EXPECT_EQ(0x1234ull, ex.GetHexMaxU32(false, 0));
  605   EXPECT_EQ(0x12340ull, ex.GetHexMaxU32(false, 0));
  608   EXPECT_EQ(0x123400ull, ex.GetHexMaxU32(false, 0));
  611   EXPECT_EQ(0x12345670ull, ex.GetHexMaxU32(false, 0));
  614   EXPECT_EQ(0ull, ex.GetHexMaxU32(false, 0));