Home
last modified time | relevance | path

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

/system/core/libbacktrace/
DBacktracePtrace.cpp34 static bool PtraceRead(pid_t tid, uintptr_t addr, word_t* out_value) { in PtraceRead() argument
38 *out_value = ptrace(PTRACE_PEEKTEXT, tid, reinterpret_cast<void*>(addr), nullptr); in PtraceRead()
39 if (*out_value == static_cast<word_t>(-1) && errno) { in PtraceRead()
46 bool BacktracePtrace::ReadWord(uintptr_t ptr, word_t* out_value) { in ReadWord() argument
51 if (!VerifyReadWordArgs(ptr, out_value)) { in ReadWord()
61 return PtraceRead(Tid(), ptr, out_value); in ReadWord()
DBacktraceCurrent.cpp39 bool BacktraceCurrent::ReadWord(uintptr_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(uintptr_t ptr, word_t* out_value);
DBacktrace.cpp60 bool Backtrace::VerifyReadWordArgs(uintptr_t ptr, word_t* out_value) { in VerifyReadWordArgs() argument
63 *out_value = static_cast<word_t>(-1); in VerifyReadWordArgs()
DBacktraceCurrent.h45 bool ReadWord(uintptr_t ptr, word_t* out_value) override;
DBacktraceOffline.h81 bool ReadWord(uintptr_t ptr, word_t* out_value) override;
DBacktraceOffline.cpp191 bool BacktraceOffline::ReadWord(uintptr_t ptr, word_t* out_value) { in ReadWord() argument
192 size_t bytes_read = Read(ptr, reinterpret_cast<uint8_t*>(out_value), sizeof(word_t)); in ReadWord()
/system/bt/service/example/heart_rate/
Dheart_rate_server.cpp185 std::vector<uint8_t>* out_value) { in BuildHeartRateMeasurementValue() argument
186 CHECK(out_value); // Assert that |out_value| is not nullptr. in BuildHeartRateMeasurementValue()
207 out_value->push_back(flags); in BuildHeartRateMeasurementValue()
208 out_value->push_back(heart_rate); in BuildHeartRateMeasurementValue()
210 out_value->push_back(energy_expended_); in BuildHeartRateMeasurementValue()
211 out_value->push_back(energy_expended_ >> 8); in BuildHeartRateMeasurementValue()
Dheart_rate_server.h52 void BuildHeartRateMeasurementValue(std::vector<uint8_t>* out_value);
/system/core/libcutils/
Dfs.c120 int fs_read_atomic_int(const char* path, int* out_value) { in fs_read_atomic_int() argument
132 if (sscanf(buf, "%d", out_value) != 1) { in fs_read_atomic_int()
141 *out_value = -1; in fs_read_atomic_int()
/system/core/include/backtrace/
DBacktrace.h114 virtual bool ReadWord(uintptr_t ptr, word_t* out_value) = 0;
159 virtual bool VerifyReadWordArgs(uintptr_t ptr, word_t* out_value);
/system/connectivity/shill/test-rpc-proxy/
Dproxy_dbus_client.cc114 OutValueType* out_value, in WaitForCondition() argument
124 wait_start_time, is_success, out_value, elapsed_time_milliseconds); in WaitForCondition()
149 wait_start_time, is_success, out_value, elapsed_time_milliseconds); in WaitForCondition()