Home
last modified time | relevance | path

Searched refs:new_sz (Results 1 – 6 of 6) sorted by relevance

/external/libaom/stats/
Daomstats.c95 size_t new_sz = AOMMAX((3 * stats->buf_alloc_sz) / 2, stats->buf.sz + len); in stats_write() local
96 char *new_ptr = realloc(stats->buf.buf, new_sz); in stats_write()
101 stats->buf_alloc_sz = new_sz; in stats_write()
/external/libvpx/
Dvpxstats.c87 size_t new_sz = stats->buf_alloc_sz + 64 * 1024; in stats_write() local
88 char *new_ptr = realloc(stats->buf.buf, new_sz); in stats_write()
93 stats->buf_alloc_sz = new_sz; in stats_write()
/external/libbpf/src/
Drelo_core.c799 __u32 new_sz; member
823 res->orig_sz = res->new_sz = 0; in bpf_core_calc_relo()
831 &res->new_val, &res->new_sz, in bpf_core_calc_relo()
840 if (res->orig_sz != res->new_sz) { in bpf_core_calc_relo()
1019 if (res->new_sz != res->orig_sz) { in bpf_core_patch_insn()
1029 insn_bpf_sz = insn_bytes_to_bpf_size(res->new_sz); in bpf_core_patch_insn()
1032 prog_name, relo_idx, insn_idx, res->new_sz); in bpf_core_patch_insn()
1038 prog_name, relo_idx, insn_idx, res->orig_sz, res->new_sz); in bpf_core_patch_insn()
Dlibbpf.c5802 size_t old_sz, new_sz; in adjust_prog_btf_ext_info() local
5833 new_sz = old_sz + (copy_end - copy_start); in adjust_prog_btf_ext_info()
5834 new_prog_info = realloc(*prog_info, new_sz); in adjust_prog_btf_ext_info()
5838 *prog_rec_cnt = new_sz / ext_info->rec_size; in adjust_prog_btf_ext_info()
5849 rec_end = new_prog_info + new_sz; in adjust_prog_btf_ext_info()
6339 int i, j, nrels, new_sz; in bpf_object__collect_map_relos() local
6454 new_sz = moff + 1; in bpf_object__collect_map_relos()
6455 tmp = libbpf_reallocarray(map->init_slots, new_sz, host_ptr_sz); in bpf_object__collect_map_relos()
6460 (new_sz - map->init_slots_sz) * host_ptr_sz); in bpf_object__collect_map_relos()
6461 map->init_slots_sz = new_sz; in bpf_object__collect_map_relos()
/external/dtc/
Dfdtput.c121 int new_sz = fdt_totalsize(fdt) + delta; in realloc_fdt() local
122 fdt = xrealloc(fdt, new_sz); in realloc_fdt()
123 fdt_open_into(fdt, fdt, new_sz); in realloc_fdt()
/external/libbpf/.github/actions/build-selftests/
Dvmlinux.h39258 __u32 new_sz; member