MCPcopy Create free account
hub / github.com/coreboot/coreboot / bputs

Function bputs

util/cbfstool/xdr.c:20–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18}
19
20size_t bputs(struct buffer *b, const void *data, size_t len)
21{
22 memmove(&b->data[b->size], data, len);
23 b->size += len;
24 return len;
25}
26
27/* The assumption in all this code is that we're given a pointer to enough data.
28 * Hence, we do not check for underflow.

Callers 2

parse_elf_to_xip_stageFunction · 0.85
elf_writer_serializeFunction · 0.85

Calls 1

memmoveFunction · 0.50

Tested by

no test coverage detected