Home
last modified time | relevance | path

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

/u-boot/tools/
A Dsunxi-spl-image-builder.c114 FILE *src, FILE *rnd, FILE *dst, in write_page() argument
161 ret = fread(buffer + offs, 1, cnt, rnd); in write_page()
162 if (!ret && !feof(rnd)) { in write_page()
203 ret = fread(buffer + cnt, 1, pad, rnd); in write_page()
204 if (!ret && !feof(rnd)) { in write_page()
242 FILE *src, *dst, *rnd; in create_image() local
272 rnd = fopen("/dev/urandom", "r"); in create_image()
273 if (!rnd) { in create_image()
281 ret = write_page(info, buffer, src, rnd, dst, bch, page++); in create_image()

Completed in 3 milliseconds