Home
last modified time | relevance | path

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

/system/core/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
40 if (!VerifyReadWordArgs(ptr, out_value)) { in ReadWord()
47 *out_value = *reinterpret_cast<word_t*>(ptr); in ReadWord()
51 *out_value = static_cast<word_t>(-1); in ReadWord()
DBacktracePtrace.h34 bool ReadWord(uint64_t ptr, word_t* out_value) override;
DBacktrace.cpp69 bool Backtrace::VerifyReadWordArgs(uint64_t ptr, word_t* out_value) { in VerifyReadWordArgs() argument
72 *out_value = static_cast<word_t>(-1); in VerifyReadWordArgs()
DBacktraceCurrent.h44 bool ReadWord(uint64_t ptr, word_t* out_value) override;
DUnwindStack.h65 bool ReadWord(uint64_t ptr, word_t* out_value) override;
/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/core/libbacktrace/include/backtrace/
DBacktrace.h171 virtual bool ReadWord(uint64_t ptr, word_t* out_value) = 0;
219 virtual bool VerifyReadWordArgs(uint64_t ptr, word_t* out_value);