Lines Matching refs:ops
13 static int s390_call__parse(const struct arch *arch, struct ins_operands *ops, in s390_call__parse() argument
21 tok = strchr(ops->raw, ','); in s390_call__parse()
25 ops->target.addr = strtoull(tok + 1, &endptr, 16); in s390_call__parse()
42 ops->target.name = strdup(name); in s390_call__parse()
45 if (ops->target.name == NULL) in s390_call__parse()
50 .addr = map__objdump_2mem(map, ops->target.addr), in s390_call__parse()
54 map__rip_2objdump(target.ms.map, map__map_ip(target.ms.map, target.addr)) == ops->target.addr) in s390_call__parse()
55 ops->target.sym = target.ms.sym; in s390_call__parse()
68 struct ins_operands *ops, in s390_mov__parse() argument
72 char *s = strchr(ops->raw, ','), *target, *endptr; in s390_mov__parse()
78 ops->source.raw = strdup(ops->raw); in s390_mov__parse()
81 if (ops->source.raw == NULL) in s390_mov__parse()
85 ops->target.raw = strdup(target); in s390_mov__parse()
86 if (ops->target.raw == NULL) in s390_mov__parse()
89 ops->target.addr = strtoull(target, &endptr, 16); in s390_mov__parse()
101 ops->target.name = strdup(s + 1); in s390_mov__parse()
103 if (ops->target.name == NULL) in s390_mov__parse()
109 zfree(&ops->target.raw); in s390_mov__parse()
111 zfree(&ops->source.raw); in s390_mov__parse()
123 const struct ins_ops *ops = NULL; in s390__associate_ins_ops() local
129 ops = &jump_ops; in s390__associate_ins_ops()
134 ops = &s390_call_ops; in s390__associate_ins_ops()
136 ops = &ret_ops; in s390__associate_ins_ops()
144 ops = &s390_mov_ops; in s390__associate_ins_ops()
146 if (ops) in s390__associate_ins_ops()
147 arch__associate_ins_ops(arch, name, ops); in s390__associate_ins_ops()
148 return ops; in s390__associate_ins_ops()