Searched refs:word_t (Results 1 – 8 of 8) sorted by relevance
/system/unwinding/libbacktrace/ |
D | BacktracePtrace.cpp | 33 static bool PtraceRead(pid_t tid, uint64_t addr, word_t* out_value) { in PtraceRead() 38 if (*out_value == static_cast<word_t>(-1) && errno) { in PtraceRead() 45 bool BacktracePtrace::ReadWord(uint64_t ptr, word_t* out_value) { in ReadWord() 77 word_t data_word; in Read() 78 size_t align_bytes = addr & (sizeof(word_t) - 1); in Read() 80 if (!PtraceRead(Tid(), addr & ~(sizeof(word_t) - 1), &data_word)) { in Read() 83 size_t copy_bytes = MIN(sizeof(word_t) - align_bytes, bytes); in Read() 91 size_t num_words = bytes / sizeof(word_t); in Read() 96 memcpy(buffer, &data_word, sizeof(word_t)); in Read() 97 buffer += sizeof(word_t); in Read() [all …]
|
D | Backtrace.cpp | 76 bool Backtrace::VerifyReadWordArgs(uint64_t ptr, word_t* out_value) { in VerifyReadWordArgs() 77 if (ptr & (sizeof(word_t)-1)) { in VerifyReadWordArgs() 79 *out_value = static_cast<word_t>(-1); in VerifyReadWordArgs()
|
D | BacktraceCurrent.cpp | 39 bool BacktraceCurrent::ReadWord(uint64_t ptr, word_t* out_value) { in ReadWord() 53 *out_value = *reinterpret_cast<word_t*>(ptr); in ReadWord() 57 *out_value = static_cast<word_t>(-1); in ReadWord()
|
D | BacktracePtrace.h | 34 bool ReadWord(uint64_t ptr, word_t* out_value) override;
|
D | BacktraceCurrent.h | 44 bool ReadWord(uint64_t ptr, word_t* out_value) override;
|
D | backtrace_test.cpp | 1068 for (size_t i = 1; i < sizeof(word_t); i++) { in RunReadTest() 1069 bytes_read = backtrace->Read(read_addr + i, data, 2 * sizeof(word_t)); in RunReadTest() 1070 ASSERT_EQ(2 * sizeof(word_t), bytes_read); in RunReadTest() 1071 ASSERT_TRUE(memcmp(data, &expected[i], 2 * sizeof(word_t)) == 0) in RunReadTest() 1076 for (size_t i = 1; i < sizeof(word_t); i++) { in RunReadTest() 1077 for (size_t j = 1; j < sizeof(word_t); j++) { in RunReadTest()
|
/system/unwinding/libbacktrace/include/backtrace/ |
D | Backtrace.h | 31 typedef uint64_t word_t; typedef 34 typedef uint32_t word_t; typedef 148 virtual bool ReadWord(uint64_t ptr, word_t* out_value) = 0; 196 virtual bool VerifyReadWordArgs(uint64_t ptr, word_t* out_value);
|
/system/core/debuggerd/libdebuggerd/include/libdebuggerd/ |
D | utility.h | 67 typedef uint64_t word_t; typedef 70 typedef uint32_t word_t; typedef
|