Home
last modified time | relevance | path

Searched refs:new_fmt (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/compiler-rt/lib/dfsan/
H A Ddfsan_custom.cpp2203 char *new_fmt = (char *)malloc(fmt_size + 1); in build_format_string() local
2204 assert(new_fmt); in build_format_string()
2205 internal_memcpy(new_fmt, fmt_start, fmt_size); in build_format_string()
2206 new_fmt[fmt_size] = '\0'; in build_format_string()
2207 return new_fmt; in build_format_string()
2487 char *new_fmt = (char *)malloc(fmt_size + 2 + 1); in build_format_string_with_n() local
2488 assert(new_fmt); in build_format_string_with_n()
2489 internal_memcpy(new_fmt, fmt_start, fmt_size); in build_format_string_with_n()
2490 new_fmt[fmt_size] = '%'; in build_format_string_with_n()
2491 new_fmt[fmt_size + 1] = 'n'; in build_format_string_with_n()
[all …]
/freebsd/contrib/libxo/libxo/
H A Dlibxo.c6182 char *new_fmt = xo_strndup(gtfmt, -1); in xo_gettext_build_format() local
6183 if (new_fmt == NULL) in xo_gettext_build_format()
6188 *new_fmtp = new_fmt; in xo_gettext_build_format()
6189 return new_fmt; in xo_gettext_build_format()
6300 char *new_fmt = NULL; in xo_do_emit_fields() local
6395 if (new_fmt) { in xo_do_emit_fields()
6396 xo_free(new_fmt); in xo_do_emit_fields()
6397 new_fmt = NULL; in xo_do_emit_fields()
6401 xfip->xfi_next, &new_fmt); in xo_do_emit_fields()
6402 if (new_fmt) { in xo_do_emit_fields()
[all …]