Home
last modified time | relevance | path

Searched refs:pb_buf (Results 1 – 5 of 5) sorted by relevance

/freebsd/contrib/elftoolchain/libpe/
H A Dlibpe_buffer.c53 if ((sb->sb_pb.pb_buf = malloc(sz)) == NULL) { in libpe_alloc_buffer()
60 sb->sb_pb.pb_buf = NULL; in libpe_alloc_buffer()
79 free(sb->sb_pb.pb_buf); in libpe_release_buffer()
125 if (pb->pb_buf == NULL || pb->pb_size == 0) in libpe_resync_buffers()
155 if (pb->pb_buf == NULL || pb->pb_size == 0) in libpe_write_buffers()
174 if (write(pe->pe_fd, pb->pb_buf, pb->pb_size) != in libpe_write_buffers()
H A Dpe_symtab.c81 sb->sb_pb.pb_buf = symtab; in pe_update_symtab()
H A Dlibpe.h45 void *pb_buf; member
H A Dlibpe_section.c217 if (read(pe->pe_fd, sb->sb_pb.pb_buf, sh->sh_rawsize) != in libpe_load_section()
244 if (read(pe->pe_fd, sb->sb_pb.pb_buf, sz) != in libpe_load_section()
/freebsd/contrib/elftoolchain/elfcopy/
H A Dpe.c215 if ((pb->pb_buf = calloc(1, pb->pb_size)) == NULL) { in create_pe()
219 memcpy(pb->pb_buf, d->d_buf, sh.sh_size); in create_pe()