Home
last modified time | relevance | path

Searched refs:out_value (Results 1 – 9 of 9) sorted by relevance

/system/unwinding/libbacktrace/
DBacktracePtrace.cpp33 static bool PtraceRead(pid_t tid, uint64_t addr, word_t* out_value) { in PtraceRead() argument
37 *out_value = ptrace(PTRACE_PEEKTEXT, tid, reinterpret_cast<void*>(addr), nullptr); 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() argument
50 if (!VerifyReadWordArgs(ptr, out_value)) { in ReadWord()
60 return PtraceRead(Tid(), ptr, out_value); in ReadWord()
DBacktraceCurrent.cpp39 bool BacktraceCurrent::ReadWord(uint64_t ptr, word_t* out_value) { in ReadWord() argument
46 if (!VerifyReadWordArgs(ptr, out_value)) { in ReadWord()
53 *out_value = *reinterpret_cast<word_t*>(ptr); in ReadWord()
57 *out_value = static_cast<word_t>(-1); in ReadWord()
DBacktracePtrace.h34 bool ReadWord(uint64_t ptr, word_t* out_value) override;
DBacktraceCurrent.h44 bool ReadWord(uint64_t ptr, word_t* out_value) override;
DBacktrace.cpp76 bool Backtrace::VerifyReadWordArgs(uint64_t ptr, word_t* out_value) { in VerifyReadWordArgs() argument
79 *out_value = static_cast<word_t>(-1); in VerifyReadWordArgs()
/system/bt/service/example/heart_rate/
Dheart_rate_server.cc197 std::vector<uint8_t>* out_value) { in BuildHeartRateMeasurementValue() argument
198 CHECK(out_value); // Assert that |out_value| is not nullptr. in BuildHeartRateMeasurementValue()
219 out_value->push_back(flags); in BuildHeartRateMeasurementValue()
220 out_value->push_back(heart_rate); in BuildHeartRateMeasurementValue()
222 out_value->push_back(energy_expended_); in BuildHeartRateMeasurementValue()
223 out_value->push_back(energy_expended_ >> 8); in BuildHeartRateMeasurementValue()
Dheart_rate_server.h55 void BuildHeartRateMeasurementValue(std::vector<uint8_t>* out_value);
/system/core/libcutils/
Dfs.cpp127 int fs_read_atomic_int(const char* path, int* out_value) { in fs_read_atomic_int() argument
139 if (sscanf(buf, "%d", out_value) != 1) { in fs_read_atomic_int()
148 *out_value = -1; in fs_read_atomic_int()
/system/unwinding/libbacktrace/include/backtrace/
DBacktrace.h148 virtual bool ReadWord(uint64_t ptr, word_t* out_value) = 0;
196 virtual bool VerifyReadWordArgs(uint64_t ptr, word_t* out_value);