Searched refs:out_value (Results 1 – 5 of 5) sorted by relevance
/system/core/libcorkscrew/ |
D | ptrace.c | 48 bool try_get_word(const memory_t* memory, uintptr_t ptr, uint32_t* out_value) { in try_get_word() argument 52 *out_value = 0xffffffffL; in try_get_word() 58 *out_value = 0xffffffffL; in try_get_word() 61 *out_value = *(uint32_t*)ptr; in try_get_word() 71 *out_value = ptrace(PTRACE_PEEKTEXT, memory->tid, (void*)ptr, NULL); in try_get_word() 72 if (*out_value == 0xffffffffL && errno) { in try_get_word() 82 bool try_get_word_ptrace(pid_t tid, uintptr_t ptr, uint32_t* out_value) { in try_get_word_ptrace() argument 85 return try_get_word(&memory, ptr, out_value); in try_get_word_ptrace()
|
/system/core/libcorkscrew/arch-x86/ |
D | backtrace-x86.c | 118 static bool try_get_byte(const memory_t* memory, uintptr_t ptr, uint8_t* out_value, uint32_t* curso… in try_get_byte() argument 130 *out_value = (uint8_t)((buf >> ((ptr & 3) * 8)) & 0xff); in try_get_byte() 136 static bool try_get_xbytes(const memory_t* memory, uintptr_t ptr, uint32_t* out_value, uint8_t byte… in try_get_xbytes() argument 149 *out_value = data; in try_get_xbytes() 154 static bool try_get_leb128(const memory_t* memory, uintptr_t ptr, uint32_t* out_value, uint32_t* cu… in try_get_leb128() argument 174 *out_value = val; in try_get_leb128() 179 static bool try_get_sleb128(const memory_t* memory, uintptr_t ptr, uint32_t* out_value, uint32_t* c… in try_get_sleb128() argument 180 return try_get_leb128(memory, ptr, out_value, cursor, true); in try_get_sleb128() 184 static bool try_get_uleb128(const memory_t* memory, uintptr_t ptr, uint32_t* out_value, uint32_t* c… in try_get_uleb128() argument 185 return try_get_leb128(memory, ptr, out_value, cursor, false); in try_get_uleb128() [all …]
|
/system/core/include/corkscrew/ |
D | ptrace.h | 97 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/libcorkscrew/arch-arm/ |
D | backtrace-arm.c | 210 static bool try_next_byte(const memory_t* memory, byte_stream_t* stream, uint8_t* out_value) { in try_next_byte() argument 215 *out_value = 0; in try_next_byte() 218 *out_value = stream->word >> 24; in try_next_byte() 222 *out_value = stream->word >> 16; in try_next_byte() 226 *out_value = stream->word >> 8; in try_next_byte() 230 *out_value = stream->word; in try_next_byte() 234 ALOGV("next_byte: ptr=0x%08x, value=0x%02x", stream->ptr, *out_value); in try_next_byte() 441 static bool try_get_half_word(const memory_t* memory, uint32_t pc, uint16_t* out_value) { in try_get_half_word() argument 444 *out_value = pc & 2 ? word >> 16 : word & 0xffff; in try_get_half_word()
|
/system/core/libcutils/ |
D | fs.c | 84 int fs_read_atomic_int(const char* path, int* out_value) { in fs_read_atomic_int() argument 96 if (sscanf(buf, "%d", out_value) != 1) { in fs_read_atomic_int() 105 *out_value = -1; in fs_read_atomic_int()
|