Searched refs:context (Results 1 - 25 of 30) sorted by path

12

/system/core/debuggerd/arm/
H A Dmachine.c113 void dump_memory_and_code(const ptrace_context_t* context __attribute((unused)),
149 void dump_registers(const ptrace_context_t* context __attribute((unused)),
/system/core/debuggerd/
H A Dbacktrace.c65 static void dump_thread(log_t* log, pid_t tid, ptrace_context_t* context, bool attached, argument
94 ssize_t frames = unwind_backtrace_ptrace(tid, context, backtrace, 0, STACK_DEPTH);
99 get_backtrace_symbols_ptrace(context, backtrace, frames, backtrace_symbols);
121 ptrace_context_t* context = load_ptrace_context(tid); local
123 dump_thread(&log, tid, context, true, detach_failed, total_sleep_time_usec);
142 dump_thread(&log, new_tid, context, false, detach_failed, total_sleep_time_usec);
148 free_ptrace_context(context);
H A Dmachine.h28 void dump_memory_and_code(const ptrace_context_t* context, log_t* log, pid_t tid, bool at_fault);
29 void dump_registers(const ptrace_context_t* context, log_t* log, pid_t tid, bool at_fault);
H A Dtombstone.c204 static void dump_backtrace(const ptrace_context_t* context __attribute((unused)),
210 get_backtrace_symbols_ptrace(context, backtrace, frames, backtrace_symbols);
220 static void dump_stack_segment(const ptrace_context_t* context, log_t* log, pid_t tid, argument
230 find_symbol_ptrace(context, stack_content, &mi, &symbol);
268 static void dump_stack(const ptrace_context_t* context, log_t* log, pid_t tid, bool at_fault, argument
290 dump_stack_segment(context, log, tid, only_in_tombstone, &sp, STACK_WORDS, -1);
304 dump_stack_segment(context, log, tid, only_in_tombstone, &sp, STACK_WORDS, i);
315 dump_stack_segment(context, log, tid, only_in_tombstone, &sp, words, i);
320 static void dump_backtrace_and_stack(const ptrace_context_t* context, log_t* log, pid_t tid, argument
323 ssize_t frames = unwind_backtrace_ptrace(tid, context, backtrac
330 dump_nearby_maps(const ptrace_context_t* context, log_t* log, pid_t tid) argument
393 dump_thread(const ptrace_context_t* context, log_t* log, pid_t tid, bool at_fault, int* total_sleep_time_usec) argument
406 dump_sibling_thread_report(const ptrace_context_t* context, log_t* log, pid_t pid, pid_t tid, int* total_sleep_time_usec) argument
617 ptrace_context_t* context = load_ptrace_context(tid); local
[all...]
/system/core/debuggerd/mips/
H A Dmachine.c103 void dump_memory_and_code(const ptrace_context_t* context __attribute((unused)),
149 void dump_registers(const ptrace_context_t* context __attribute((unused)),
/system/core/debuggerd/x86/
H A Dmachine.c34 void dump_memory_and_code(const ptrace_context_t* context __attribute((unused)),
38 void dump_registers(const ptrace_context_t* context __attribute((unused)),
/system/core/include/corkscrew/
H A Dbacktrace.h75 ssize_t unwind_backtrace_ptrace(pid_t tid, const ptrace_context_t* context,
91 void get_backtrace_symbols_ptrace(const ptrace_context_t* context,
H A Dptrace.h46 /* ptrace() register context. */
69 /* ptrace() GET_REGS context. */
110 * The context can be used for any threads belonging to that process
112 * unwinding. The context can continue to be used to decode backtraces
118 * Frees a ptrace context.
120 void free_ptrace_context(ptrace_context_t* context);
127 void find_symbol_ptrace(const ptrace_context_t* context,
/system/core/include/cutils/
H A Dhashmap.h83 void* (*initialValue)(void* key, void* context), void* context);
101 bool (*callback)(void* key, void* value, void* context),
102 void* context);
/system/core/include/pixelflinger/
H A Dpixelflinger.h314 // construct / destroy the context
315 ssize_t gglInit(GGLContext** context);
316 ssize_t gglUninit(GGLContext* context);
/system/core/include/private/pixelflinger/
H A Dggl_context.h553 void ggl_init_context(context_t* context);
554 void ggl_uninit_context(context_t* context);
/system/core/include/usbhost/
H A Dusbhost.h73 void usb_host_cleanup(struct usb_host_context *context);
84 void usb_host_run(struct usb_host_context *context,
/system/core/init/
H A Dinit_parser.c323 state->context = parse_service(state, nargs, args);
324 if (state->context) {
330 state->context = parse_action(state, nargs, args);
331 if (state->context) {
643 struct service *svc = state->context;
838 struct action *act = state->context;
H A Dparser.h30 void *context; member in struct:parse_state
/system/core/libcorkscrew/arch-arm/
H A Dbacktrace-arm.c42 * an abstract machine context consisting of just the ARM core registers.
69 /* Machine context at the time a signal was raised. */
585 ssize_t unwind_backtrace_ptrace_arch(pid_t tid, const ptrace_context_t* context, argument
599 return unwind_backtrace_common(&memory, context->map_info_list, &state,
/system/core/libcorkscrew/arch-mips/
H A Dbacktrace-mips.c49 /* Machine context at the time a signal was raised. */
174 ssize_t unwind_backtrace_ptrace_arch(pid_t tid, const ptrace_context_t* context, argument
192 return unwind_backtrace_common(&memory, context->map_info_list,
/system/core/libcorkscrew/arch-x86/
H A Dbacktrace-x86.c64 /* Machine context at the time a signal was raised. */
141 ssize_t unwind_backtrace_ptrace_arch(pid_t tid, const ptrace_context_t* context, argument
155 return unwind_backtrace_common(&memory, context->map_info_list,
/system/core/libcorkscrew/
H A Dbacktrace-arch.h38 ssize_t unwind_backtrace_ptrace_arch(pid_t tid, const ptrace_context_t* context,
H A Dbacktrace.c74 static _Unwind_Reason_Code unwind_backtrace_callback(struct _Unwind_Context* context, void* arg) { argument
76 uintptr_t pc = _Unwind_GetIP(context);
228 ssize_t unwind_backtrace_ptrace(pid_t tid, const ptrace_context_t* context, argument
231 return unwind_backtrace_ptrace_arch(tid, context, backtrace, ignore_depth, max_depth);
273 void get_backtrace_symbols_ptrace(const ptrace_context_t* context, argument
283 find_symbol_ptrace(context, frame->absolute_pc, &mi, &s);
H A Dptrace.c102 ptrace_context_t* context = local
104 if (context) {
105 context->map_info_list = load_map_info_list(pid);
106 for (map_info_t* mi = context->map_info_list; mi; mi = mi->next) {
110 return context;
127 void free_ptrace_context(ptrace_context_t* context) { argument
128 for (map_info_t* mi = context->map_info_list; mi; mi = mi->next) {
131 free_map_info_list(context->map_info_list);
134 void find_symbol_ptrace(const ptrace_context_t* context, argument
136 const map_info_t* mi = find_map_info(context
[all...]
/system/core/libcutils/
H A Ddir_hash.c41 SHA1_CTX context; local
65 SHA1Init(&context);
66 SHA1Update(&context, (unsigned char *) buf, len);
67 SHA1Final(md, &context);
77 SHA1Init(&context);
80 SHA1Update(&context, (unsigned char *) buf, len);
89 SHA1Final(md, &context);
H A Dhashmap.c252 void* (*initialValue)(void* key, void* context), void* context) {
267 void* value = initialValue(key, context);
307 bool (*callback)(void* key, void* value, void* context),
308 void* context) {
314 if (!callback(entry->key, entry->value, context)) {
251 hashmapMemoize(Hashmap* map, void* key, void* (*initialValue)(void* key, void* context), void* context) argument
306 hashmapForEach(Hashmap* map, bool (*callback)(void* key, void* value, void* context), void* context) argument
H A Dmq.c117 /** Optional context. */
118 void* context; member in struct:OutgoingPacket
365 static bool peerProxyRemoveConnection(void* key, void* value, void* context) { argument
366 PeerProxy* deadPeer = (PeerProxy*) context;
1179 void (*free)(void* context);
1180 void* context; member in struct:__anon401
1186 = (SharedBytesFreer*) packet->context;
1187 sharedBytesFreer->free(sharedBytesFreer->context);
1194 * free() with context after the bytes have been sent.
1201 void (*free)(void* context), voi
1200 peerSendSharedBytes(pid_t pid, char* bytes, size_t size, void (*free)(void* context), void* context) argument
[all...]
H A Dstr_parms.c78 static bool remove_pair(void *key, void *value, void *context) argument
80 struct remove_ctxt *ctxt = context;
287 static bool combine_strings(void *key, void *value, void *context) argument
289 char **old_str = context;
321 static bool dump_entry(void *key, void *value, void *context) argument
/system/core/libpixelflinger/
H A Dpixelflinger.cpp822 ssize_t gglInit(GGLContext** context) argument
826 // always align the context on cache lines
830 *context = (GGLContext*)c;

Completed in 153 milliseconds

12