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()
54 struct ins_operands *ops, in s390_mov__parse() argument
58 char *s = strchr(ops->raw, ','), *target, *endptr; in s390_mov__parse()
64 ops->source.raw = strdup(ops->raw); in s390_mov__parse()
67 if (ops->source.raw == NULL) in s390_mov__parse()
71 ops->target.raw = strdup(target); in s390_mov__parse()
72 if (ops->target.raw == NULL) in s390_mov__parse()
75 ops->target.addr = strtoull(target, &endptr, 16); in s390_mov__parse()
87 ops->target.name = strdup(s + 1); in s390_mov__parse()
89 if (ops->target.name == NULL) in s390_mov__parse()
95 zfree(&ops->target.raw); in s390_mov__parse()
97 zfree(&ops->source.raw); in s390_mov__parse()
109 struct ins_ops *ops = NULL; in s390__associate_ins_ops() local
115 ops = &jump_ops; in s390__associate_ins_ops()
120 ops = &s390_call_ops; in s390__associate_ins_ops()
122 ops = &ret_ops; in s390__associate_ins_ops()
130 ops = &s390_mov_ops; in s390__associate_ins_ops()
132 if (ops) in s390__associate_ins_ops()
133 arch__associate_ins_ops(arch, name, ops); in s390__associate_ins_ops()
134 return ops; in s390__associate_ins_ops()