HomeSort by relevance Sort by last modified time
    Searched refs:retp (Results 1 - 25 of 28) sorted by null

1 2

  /external/ltrace/
ltrace-elf.h 147 * OFFSET, and store it in *RETP. Returns 0 on success or a negative
149 int elf_read_u8(Elf_Data *data, GElf_Xword offset, uint8_t *retp);
150 int elf_read_u16(Elf_Data *data, GElf_Xword offset, uint16_t *retp);
151 int elf_read_u32(Elf_Data *data, GElf_Xword offset, uint32_t *retp);
152 int elf_read_u64(Elf_Data *data, GElf_Xword offset, uint64_t *retp);
156 int elf_read_uleb128(Elf_Data *data, GElf_Xword offset, uint64_t *retp);
160 int elf_read_next_u8(Elf_Data *data, GElf_Xword *offset, uint8_t *retp);
161 int elf_read_next_u16(Elf_Data *data, GElf_Xword *offset, uint16_t *retp);
162 int elf_read_next_u32(Elf_Data *data, GElf_Xword *offset, uint32_t *retp);
163 int elf_read_next_u64(Elf_Data *data, GElf_Xword *offset, uint64_t *retp);
    [all...]
library.c 47 os_library_clone(struct library *retp, struct library *lib)
66 arch_library_clone(struct library *retp, struct library *lib)
85 os_library_symbol_clone(struct library_symbol *retp,
105 arch_library_symbol_clone(struct library_symbol *retp,
135 strdup_if(const char **retp, const char *str, int whether)
143 *retp = str;
205 library_symbol_clone(struct library_symbol *retp, struct library_symbol *libsym)
213 private_library_symbol_init(retp, libsym->enter_addr,
217 if (os_library_symbol_clone(retp, libsym) < 0) {
219 private_library_symbol_destroy(retp);
    [all...]
backend.h 239 int os_breakpoint_clone(struct breakpoint *retp, struct breakpoint *sbp);
248 int arch_breakpoint_clone(struct breakpoint *retp, struct breakpoint *sbp);
256 int os_library_clone(struct library *retp, struct library *lib);
264 int arch_library_clone(struct library *retp, struct library *lib);
273 int os_library_symbol_clone(struct library_symbol *retp,
283 int arch_library_symbol_clone(struct library_symbol *retp,
292 int os_process_clone(struct process *retp, struct process *proc);
303 int arch_process_clone(struct process *retp, struct process *proc);
393 * loading config files. The callback sets *RETP to a pointer to the
395 * legitimate to set *RETP to NULL to indicate there are n
    [all...]
value.c 189 value_clone(struct value *retp, const struct value *val)
191 *retp = *val;
194 retp->type = malloc(sizeof(struct arg_type_info));
195 if (type_clone (retp->type, val->type) < 0) {
196 free(retp->type);
206 if (retp->own_type) {
207 type_destroy(retp->type);
208 free(retp->type);
213 retp->u.address = malloc(size);
214 if (retp->u.address == NULL
    [all...]
proc.c 53 os_process_clone(struct process *retp, struct process *proc)
78 arch_process_clone(struct process *retp, struct process *proc)
358 process_clone(struct process *retp, struct process *proc, pid_t pid)
360 if (process_bare_init(retp, proc->filename, pid, 0) < 0) {
367 retp->tracesysgood = proc->tracesysgood;
368 retp->e_machine = proc->e_machine;
369 retp->e_class = proc->e_class;
372 if (retp->leader != retp)
378 struct library **nlibp = &retp->libraries
    [all...]
value.h 128 /* Copy value VAL into the area pointed-to by RETP. Return 0 on
130 int value_clone(struct value *retp, const struct value *val);
140 int value_extract_word(struct value *val, long *retp,
breakpoints.c 139 os_breakpoint_clone(struct breakpoint *retp, struct breakpoint *sbp)
158 arch_breakpoint_clone(struct breakpoint *retp, struct breakpoint *sbp)
211 breakpoint_clone(struct breakpoint *retp, struct process *new_proc,
220 breakpoint_init_base(retp, bp->addr, libsym);
221 memcpy(retp->orig_value, bp->orig_value, sizeof(bp->orig_value));
222 retp->enabled = bp->enabled;
223 if (os_breakpoint_clone(retp, bp) < 0)
225 if (arch_breakpoint_clone(retp, bp) < 0) {
226 os_breakpoint_destroy(retp);
229 breakpoint_set_callbacks(retp, bp->cbs)
    [all...]
prototype.c 365 const char *key, struct protolib **retp)
378 *retp = data.result;
384 const char *key, int private, struct protolib **retp)
394 *retp = plib;
548 struct protolib **retp)
550 if (DICT_FIND_VAL(&cache->protolibs, &key, retp) == 0)
559 *retp = NULL;
560 if (load_dash_F_dirs(cache, key, retp) < 0
561 || (*retp == NULL && allow_private
562 && load_config(cache, key, 1, retp) < 0
    [all...]
read_config_file.c 85 char **str, struct arg_type_info **retp, int *ownp);
557 char **str, struct arg_type_info **retp, int *ownp)
656 *retp = info;
713 char **str, struct arg_type_info **retp, int *ownp,
723 return parse_string(plib, loc, str, retp, ownp);
731 if (parse_string(plib, loc, str, retp, ownp) < 0)
738 return parse_enum(plib, loc, str, retp, ownp);
741 *retp = NULL;
789 struct arg_type_info **retp, int *ownp)
796 *retp = parse_nonpointer_type(plib, loc, str, NULL, 0, ownp, 0)
    [all...]
expr.c 189 expr_clone(struct expr_node *retp, const struct expr_node *node)
191 *retp = *node;
202 return value_clone(&retp->u.value, &node->u.value);
206 && (retp->u.name.s = strdup(node->u.name.s)) == NULL)
223 retp->lhs = nlhs;
224 retp->u.node.n = nrhs;
231 retp->u.call.rhs = nrhs;
245 retp->lhs = nlhs;
library.h 83 /* Copy library symbol SYM into the area pointed-to by RETP. Return 0
85 int library_symbol_clone(struct library_symbol *retp,
178 /* Initialize RETP to a library identical to LIB. Symbols are not
181 int library_clone(struct library *retp, struct library *lib);
type.c 283 struct arg_type_info *retp = data; local
292 if (type_struct_add(retp, info, field->own_info) < 0) {
302 type_clone(struct arg_type_info *retp, const struct arg_type_info *info)
306 type_init_struct(retp);
308 clone_struct_add_field, retp) != NULL) {
309 type_destroy(retp);
321 type_init_array(retp, elt_type, info->u.array_info.own_info,
331 type_init_pointer(retp, ninfo, info->u.ptr_info.own_info);
344 *retp = *info;
349 retp->lens = info->lens
    [all...]
breakpoint.h 107 * RETP. Symbols of cloned breakpoint are looked up in NEW_PROC.
109 int breakpoint_clone(struct breakpoint *retp, struct process *new_proc,
expr.h 128 /* Copy expression NODE into the area pointed to by RETP. Return 0 on
130 int expr_clone(struct expr_node *retp, const struct expr_node *node);
type.h 114 /* Copy type INFO into the area pointed to by RETP. Return 0 on
116 int type_clone(struct arg_type_info *retp, const struct arg_type_info *info);
glob.c 101 glob_to_regex(const char *glob, char **retp)
175 *retp = buf;
ltrace-elf.c 283 NAME(Elf_Data *data, GElf_Xword offset, uint##SIZE##_t *retp) \
289 *retp = 0; \
298 *retp = u.dst; \
311 NAME(Elf_Data *data, GElf_Xword *offset, uint##SIZE##_t *retp) \
313 int rc = elf_read_u##SIZE(data, *offset, retp); \
328 elf_read_next_uleb128(Elf_Data *data, GElf_Xword *offset, uint64_t *retp)
348 if (retp != NULL)
349 *retp = result;
354 elf_read_uleb128(Elf_Data *data, GElf_Xword offset, uint64_t *retp)
356 return elf_read_next_uleb128(data, &offset, retp);
    [all...]
proc.h 173 /* Clone the contents of PROC into the memory referenced by RETP.
175 int process_clone(struct process *retp, struct process *proc, pid_t pid);
options.c 410 parse_filter_chain(const char *expr, struct filter **retp)
422 *slist_chase_end(retp) = recursive_parse_chain(expr, str, 1);
  /external/ltrace/sysdeps/linux-gnu/
hooks.c 76 os_get_config_dirs(int private, const char ***retp)
90 if (retp != NULL) {
92 *retp = VECT_ELEMENT(&dirs, const char *, 0);
94 *retp = VECT_ELEMENT(&dirs, const char *,
178 os_get_ltrace_conf_filenames(struct vect *retp)
208 if (VECT_PUSHBACK(retp, &homepath) < 0
209 || VECT_PUSHBACK(retp, &syspath) < 0)
proc.c 736 os_process_clone(struct process *retp, struct process *proc)
738 retp->os = proc->os;
  /external/ltrace/sysdeps/linux-gnu/arm/
breakpoint.c 111 arch_breakpoint_clone(struct breakpoint *retp, struct breakpoint *sbp)
113 retp->arch.thumb_mode = sbp->arch.thumb_mode;
plt.c 249 arch_library_clone(struct library *retp, struct library *lib)
251 retp->arch = lib->arch;
  /external/ltrace/sysdeps/linux-gnu/ppc/
plt.c     [all...]
  /external/ltrace/sysdeps/linux-gnu/mips/
plt.c 418 arch_library_symbol_clone(struct library_symbol *retp,
421 retp->arch = libsym->arch;

Completed in 569 milliseconds

1 2