Lines Matching refs:new_len
89 int ret, new_len; in arch_sdt_arg_parse_op() local
98 new_len = 2; /* % NULL */ in arch_sdt_arg_parse_op()
99 new_len += (int)(rm[1].rm_eo - rm[1].rm_so); in arch_sdt_arg_parse_op()
101 *new_op = zalloc(new_len); in arch_sdt_arg_parse_op()
105 scnprintf(*new_op, new_len, "%%%.*s", in arch_sdt_arg_parse_op()
109 new_len = 7; /* + ( % s p ) NULL */ in arch_sdt_arg_parse_op()
113 new_len += 1; in arch_sdt_arg_parse_op()
115 new_len += (int)(rm[2].rm_eo - rm[2].rm_so); in arch_sdt_arg_parse_op()
117 *new_op = zalloc(new_len); in arch_sdt_arg_parse_op()
122 scnprintf(*new_op, new_len, "+0(%%sp)"); in arch_sdt_arg_parse_op()
124 scnprintf(*new_op, new_len, "+%.*s(%%sp)", in arch_sdt_arg_parse_op()