Lines Matching refs:ops
4 static int s390_call__parse(struct arch *arch, struct ins_operands *ops, in s390_call__parse() argument
13 tok = strchr(ops->raw, ','); in s390_call__parse()
17 ops->target.addr = strtoull(tok + 1, &endptr, 16); in s390_call__parse()
34 ops->target.name = strdup(name); in s390_call__parse()
37 if (ops->target.name == NULL) in s390_call__parse()
39 target.addr = map__objdump_2mem(map, ops->target.addr); in s390_call__parse()
42 map__rip_2objdump(target.ms.map, map->map_ip(target.ms.map, target.addr)) == ops->target.addr) in s390_call__parse()
43 ops->target.sym = target.ms.sym; in s390_call__parse()
49 struct ins_operands *ops, int max_ins_name);
57 struct ins_operands *ops, in s390_mov__parse() argument
60 char *s = strchr(ops->raw, ','), *target, *endptr; in s390_mov__parse()
66 ops->source.raw = strdup(ops->raw); in s390_mov__parse()
69 if (ops->source.raw == NULL) in s390_mov__parse()
73 ops->target.raw = strdup(target); in s390_mov__parse()
74 if (ops->target.raw == NULL) in s390_mov__parse()
77 ops->target.addr = strtoull(target, &endptr, 16); in s390_mov__parse()
89 ops->target.name = strdup(s + 1); in s390_mov__parse()
91 if (ops->target.name == NULL) in s390_mov__parse()
97 zfree(&ops->target.raw); in s390_mov__parse()
99 zfree(&ops->source.raw); in s390_mov__parse()
111 struct ins_ops *ops = NULL; in s390__associate_ins_ops() local
117 ops = &jump_ops; in s390__associate_ins_ops()
122 ops = &s390_call_ops; in s390__associate_ins_ops()
124 ops = &ret_ops; in s390__associate_ins_ops()
132 ops = &s390_mov_ops; in s390__associate_ins_ops()
134 if (ops) in s390__associate_ins_ops()
135 arch__associate_ins_ops(arch, name, ops); in s390__associate_ins_ops()
136 return ops; in s390__associate_ins_ops()