Searched refs:as (Results 1 - 25 of 67) sorted by relevance

123

/fuchsia/zircon/third_party/ulib/ngunwind/src/mi/
H A DGdestroy_addr_space.c29 unw_destroy_addr_space (unw_addr_space_t as) argument
32 memset (as, 0, sizeof (*as));
34 free (as);
H A DGset_caching_policy.c29 unw_set_caching_policy (unw_addr_space_t as, unw_caching_policy_t policy) argument
38 if (policy == as->caching_policy)
41 as->caching_policy = policy;
43 unw_flush_cache (as, 0, 0);
H A DGget_accessors.c29 unw_get_accessors (unw_addr_space_t as) argument
33 return &as->acc;
H A DGget_proc_info_by_ip.c29 unw_get_proc_info_by_ip (unw_addr_space_t as, unw_word_t ip, argument
32 unw_accessors_t *a = unw_get_accessors (as);
35 ret = unwi_find_dynamic_proc_info (as, ip, pi, 0, as_arg);
37 ret = (*a->find_proc_info) (as, ip, pi, 0, as_arg);
H A DGput_dynamic_unwind_info.c29 unwi_put_dynamic_unwind_info (unw_addr_space_t as, unw_proc_info_t *pi, argument
35 if (as != unw_local_addr_space)
36 unwi_dyn_remote_put_unwind_info (as, pi, arg);
42 tdep_put_unwind_info (as, pi, arg);
H A Dflush_cache.c29 unw_flush_cache (unw_addr_space_t as, unw_word_t lo, unw_word_t hi) argument
31 struct unw_debug_frame_list *w = as->debug_frames;
34 as->dyn_info_list_addr = 0;
42 as->debug_frames = NULL;
50 fetch_and_add1 (&as->cache_generation);
53 ++as->cache_generation;
H A DGfind_dynamic_proc_info.c29 local_find_proc_info (unw_addr_space_t as, unw_word_t ip, unw_proc_info_t *pi, argument
42 return unwi_extract_dynamic_proc_info (as, ip, pi, di, need_unwind_info,
48 remote_find_proc_info (unw_addr_space_t as, unw_word_t ip, unw_proc_info_t *pi, argument
51 return unwi_dyn_remote_find_proc_info (as, ip, pi, need_unwind_info, arg);
55 unwi_find_dynamic_proc_info (unw_addr_space_t as, unw_word_t ip, argument
59 if (as == unw_local_addr_space)
60 return local_find_proc_info (as, ip, pi, need_unwind_info, arg);
62 return remote_find_proc_info (as, ip, pi, need_unwind_info, arg);
H A DGdyn-remote.c40 intern_op (unw_addr_space_t as, unw_accessors_t *a, unw_word_t *addr, argument
45 if ((ret = fetch8 (as, a, addr, &op->tag, arg)) < 0
46 || (ret = fetch8 (as, a, addr, &op->qp, arg)) < 0
47 || (ret = fetch16 (as, a, addr, &op->reg, arg)) < 0
48 || (ret = fetch32 (as, a, addr, &op->when, arg)) < 0
49 || (ret = fetchw (as, a, addr, &op->val, arg)) < 0)
55 intern_regions (unw_addr_space_t as, unw_accessors_t *a, argument
68 if ((ret = fetchw (as, a, addr, &next_addr, arg)) < 0
69 || (ret = fetch32 (as, a, addr, (int32_t *) &insn_count, arg)) < 0
70 || (ret = fetch32 (as,
100 intern_array(unw_addr_space_t as, unw_accessors_t *a, unw_word_t *addr, unw_word_t table_len, unw_word_t **table_data, void *arg) argument
154 intern_dyn_info(unw_addr_space_t as, unw_accessors_t *a, unw_word_t *addr, unw_dyn_info_t *di, void *arg) argument
204 unwi_dyn_remote_find_proc_info(unw_addr_space_t as, unw_word_t ip, unw_proc_info_t *pi, int need_unwind_info, void *arg) argument
289 unwi_dyn_remote_put_unwind_info(unw_addr_space_t as, unw_proc_info_t *pi, void *arg) argument
304 unwi_dyn_validate_cache(unw_addr_space_t as, void *arg) argument
[all...]
H A DGget_proc_name.c30 intern_string (unw_addr_space_t as, unw_accessors_t *a, argument
38 if ((ret = fetch8 (as, a, &addr, (int8_t *) buf + i, arg)) < 0)
49 get_proc_name (unw_addr_space_t as, unw_word_t ip, argument
52 unw_accessors_t *a = unw_get_accessors (as);
58 ret = unwi_find_dynamic_proc_info (as, ip, &pi, 1, arg);
69 ret = intern_string (as, a, di->u.pi.name_ptr, buf, buf_len, arg);
83 unwi_put_dynamic_unwind_info (as, &pi, arg);
93 return (*a->get_proc_name) (as, ip, buf, buf_len, offp, arg);
H A Dcommon.c63 unwi_load_as_contents (unw_addr_space_t as, struct as_contents *contents, argument
67 unw_accessors_t *a = unw_get_accessors (as);
69 Debug(3, "(%p, %p, 0x%" PRIxPTR ", 0x%zx)\n", as, contents, offset, size);
77 ret = (*a->access_raw_mem) (as, offset, contents->data, size, 0, arg);
/fuchsia/zircon/third_party/ulib/ngunwind/src/x86_64/
H A DGcreate_addr_space.c40 unw_addr_space_t as; local
48 as = malloc (sizeof (*as));
49 if (!as)
52 memset (as, 0, sizeof (*as));
54 as->acc = *a;
55 as->big_endian = 0;
57 return as;
H A DGinit_remote.c32 unw_init_remote (unw_cursor_t *cursor, unw_addr_space_t as, void *as_arg) argument
41 c->dwarf.as = as;
42 if (as == unw_local_addr_space)
H A DGinit_local.c41 c->dwarf.as = unw_local_addr_space;
/fuchsia/zircon/third_party/ulib/ngunwind/src/aarch64/
H A DGcreate_addr_space.c34 unw_addr_space_t as; local
41 as = malloc (sizeof (*as));
42 if (!as)
45 memset (as, 0, sizeof (*as));
47 as->acc = *a;
51 as->big_endian = 0;
53 as->big_endian = 1;
55 return as;
[all...]
H A DGinit_remote.c29 unw_init_remote (unw_cursor_t *cursor, unw_addr_space_t as, void *as_arg) argument
38 c->dwarf.as = as;
39 if (as == unw_local_addr_space)
H A Dunwind_i.h41 extern int aarch64_local_resume (unw_addr_space_t as, unw_cursor_t *cursor,
H A DGinit_local.c39 c->dwarf.as = unw_local_addr_space;
/fuchsia/zircon/third_party/ulib/ngunwind/src/arm/
H A DGcreate_addr_space.c33 unw_addr_space_t as; local
42 as = malloc (sizeof (*as));
43 if (!as)
46 memset (as, 0, sizeof (*as));
48 as->acc = *a;
52 as->big_endian = 0;
54 as->big_endian = 1;
56 return as;
[all...]
H A DGinit_remote.c29 unw_init_remote (unw_cursor_t *cursor, unw_addr_space_t as, void *as_arg) argument
38 c->dwarf.as = as;
39 if (as == unw_local_addr_space)
H A Dunwind_i.h50 extern int arm_find_proc_info (unw_addr_space_t as, unw_word_t ip,
53 extern void arm_put_unwind_info (unw_addr_space_t as,
H A DGinit_local.c39 c->dwarf.as = unw_local_addr_space;
/fuchsia/zircon/third_party/ulib/ngunwind/include/ngunwind/private/
H A Ddwarf_i.h52 return (*c->as->acc.access_reg) (c->as, (unw_regnum_t) DWARF_GET_LOC (loc), val,
55 return (*c->as->acc.access_mem) (c->as, DWARF_GET_LOC (loc), val,
78 return (*c->as->acc.access_reg) (c->as, (unw_regnum_t) DWARF_GET_LOC (loc), &val,
81 return (*c->as->acc.access_mem) (c->as, DWARF_GET_LOC (loc), &val,
88 # define dwarf_addr_size(as) (sizeof (unw_word_t))
99 dwarf_readu8 (unw_addr_space_t as, unw_accessors_ argument
127 dwarf_readu16(unw_addr_space_t as, unw_accessors_t *a, unw_word_t *addr, uint16_t *val, void *arg) argument
168 dwarf_readu32(unw_addr_space_t as, unw_accessors_t *a, unw_word_t *addr, uint32_t *val, void *arg) argument
200 dwarf_readu64(unw_addr_space_t as, unw_accessors_t *a, unw_word_t *addr, uint64_t *val, void *arg) argument
233 dwarf_reads8(unw_addr_space_t as, unw_accessors_t *a, unw_word_t *addr, int8_t *val, void *arg) argument
246 dwarf_reads16(unw_addr_space_t as, unw_accessors_t *a, unw_word_t *addr, int16_t *val, void *arg) argument
259 dwarf_reads32(unw_addr_space_t as, unw_accessors_t *a, unw_word_t *addr, int32_t *val, void *arg) argument
272 dwarf_reads64(unw_addr_space_t as, unw_accessors_t *a, unw_word_t *addr, int64_t *val, void *arg) argument
285 dwarf_readw(unw_addr_space_t as, unw_accessors_t *a, unw_word_t *addr, unw_word_t *val, void *arg) argument
317 dwarf_read_uleb128(unw_addr_space_t as, unw_accessors_t *a, unw_word_t *addr, unw_word_t *valp, void *arg) argument
342 dwarf_read_sleb128(unw_addr_space_t as, unw_accessors_t *a, unw_word_t *addr, unw_word_t *valp, void *arg) argument
368 dwarf_read_encoded_pointer_inlined(unw_addr_space_t as, unw_accessors_t *a, unw_word_t *addr, unsigned char encoding, const unw_proc_info_t *pi, unw_word_t *valp, void *arg) argument
[all...]
H A Dremote.h11 fetch8 (unw_addr_space_t as, unw_accessors_t *a, argument
19 ret = (*a->access_mem) (as, aligned_addr, &val, 0, arg);
31 fetch16 (unw_addr_space_t as, unw_accessors_t *a, argument
41 ret = (*a->access_mem) (as, aligned_addr, &val, 0, arg);
53 fetch32 (unw_addr_space_t as, unw_accessors_t *a, argument
63 ret = (*a->access_mem) (as, aligned_addr, &val, 0, arg);
75 fetchw (unw_addr_space_t as, unw_accessors_t *a, argument
80 ret = (*a->access_mem) (as, *addr, valp, 0, arg);
/fuchsia/zircon/third_party/ulib/ngunwind/src/dwarf/
H A DGpe.c32 dwarf_read_encoded_pointer (unw_addr_space_t as, unw_accessors_t *a, argument
37 return dwarf_read_encoded_pointer_inlined (as, a, addr, encoding,
H A DGfde.c46 parse_cie (unw_addr_space_t as, unw_accessors_t *a, unw_word_t addr, argument
64 switch (dwarf_addr_size (as))
74 if ((ret = dwarf_readu32 (as, a, &addr, &u32val, arg)) < 0)
86 if ((ret = dwarf_readu32 (as, a, &addr, &cie_id, arg)) < 0)
102 if ((ret = dwarf_readu64 (as, a, &addr, &u64val, arg)) < 0)
106 if ((ret = dwarf_readu64 (as, a, &addr, &cie_id, arg)) < 0)
116 if ((ret = dwarf_readu8 (as, a, &addr, &version, arg)) < 0)
130 if ((ret = dwarf_readu8 (as, a, &addr, &ch, arg)) < 0)
140 if ((ret = dwarf_read_uleb128 (as, a, &addr, &dci->code_align, arg)) < 0
141 || (ret = dwarf_read_sleb128 (as,
221 dwarf_extract_proc_info_from_fde(unw_addr_space_t as, unw_accessors_t *a, unw_word_t *addrp, unw_proc_info_t *pi, unw_word_t base, int need_unwind_info, int is_debug_frame, void *arg) argument
[all...]

Completed in 175 milliseconds

123