Lines Matching refs:new_len
96 int ret, new_len; in arch_sdt_arg_parse_op() local
105 new_len = 2; /* % NULL */ in arch_sdt_arg_parse_op()
106 new_len += (int)(rm[1].rm_eo - rm[1].rm_so); in arch_sdt_arg_parse_op()
108 *new_op = zalloc(new_len); in arch_sdt_arg_parse_op()
112 scnprintf(*new_op, new_len, "%%%.*s", in arch_sdt_arg_parse_op()
116 new_len = 7; /* + ( % s p ) NULL */ in arch_sdt_arg_parse_op()
120 new_len += 1; in arch_sdt_arg_parse_op()
122 new_len += (int)(rm[2].rm_eo - rm[2].rm_so); in arch_sdt_arg_parse_op()
124 *new_op = zalloc(new_len); in arch_sdt_arg_parse_op()
129 scnprintf(*new_op, new_len, "+0(%%sp)"); in arch_sdt_arg_parse_op()
131 scnprintf(*new_op, new_len, "+%.*s(%%sp)", in arch_sdt_arg_parse_op()