Searched refs:out_value (Results 1 - 5 of 5) sorted by relevance

/system/core/libcorkscrew/
H A Dptrace.c48 bool try_get_word(const memory_t* memory, uintptr_t ptr, uint32_t* out_value) { argument
52 *out_value = 0xffffffffL;
58 *out_value = 0xffffffffL;
61 *out_value = *(uint32_t*)ptr;
71 *out_value = ptrace(PTRACE_PEEKTEXT, memory->tid, (void*)ptr, NULL);
72 if (*out_value == 0xffffffffL && errno) {
82 bool try_get_word_ptrace(pid_t tid, uintptr_t ptr, uint32_t* out_value) { argument
85 return try_get_word(&memory, ptr, out_value);
/system/core/include/corkscrew/
H A Dptrace.h97 bool try_get_word(const memory_t* memory, uintptr_t ptr, uint32_t* out_value);
103 bool try_get_word_ptrace(pid_t tid, uintptr_t ptr, uint32_t* out_value);
/system/core/libcutils/
H A Dfs.c84 int fs_read_atomic_int(const char* path, int* out_value) { argument
96 if (sscanf(buf, "%d", out_value) != 1) {
105 *out_value = -1;
/system/core/libcorkscrew/arch-x86/
H A Dbacktrace-x86.c118 static bool try_get_byte(const memory_t* memory, uintptr_t ptr, uint8_t* out_value, uint32_t* cursor) { argument
130 *out_value = (uint8_t)((buf >> ((ptr & 3) * 8)) & 0xff);
136 static bool try_get_xbytes(const memory_t* memory, uintptr_t ptr, uint32_t* out_value, uint8_t bytes, uint32_t* cursor) { argument
149 *out_value = data;
154 static bool try_get_leb128(const memory_t* memory, uintptr_t ptr, uint32_t* out_value, uint32_t* cursor, bool sign_extend) { argument
174 *out_value = val;
179 static bool try_get_sleb128(const memory_t* memory, uintptr_t ptr, uint32_t* out_value, uint32_t* cursor) { argument
180 return try_get_leb128(memory, ptr, out_value, cursor, true);
184 static bool try_get_uleb128(const memory_t* memory, uintptr_t ptr, uint32_t* out_value, uint32_t* cursor) { argument
185 return try_get_leb128(memory, ptr, out_value, curso
189 read_dwarf(const memory_t* memory, uintptr_t ptr, uint32_t* out_value, uint8_t encoding, uint32_t* cursor) argument
[all...]
/system/core/libcorkscrew/arch-arm/
H A Dbacktrace-arm.c210 static bool try_next_byte(const memory_t* memory, byte_stream_t* stream, uint8_t* out_value) { argument
215 *out_value = 0;
218 *out_value = stream->word >> 24;
222 *out_value = stream->word >> 16;
226 *out_value = stream->word >> 8;
230 *out_value = stream->word;
234 ALOGV("next_byte: ptr=0x%08x, value=0x%02x", stream->ptr, *out_value);
441 static bool try_get_half_word(const memory_t* memory, uint32_t pc, uint16_t* out_value) { argument
444 *out_value = pc & 2 ? word >> 16 : word & 0xffff;

Completed in 145 milliseconds