Searched defs:randbuf (Results 1 - 6 of 6) sorted by relevance

/dovecot/src/lib/
H A Dsafe-mkstemp.c21 unsigned char randbuf[8]; local
28 random_fill(randbuf, sizeof(randbuf));
31 binary_to_hex(randbuf, sizeof(randbuf)));
H A Dtest-ostream-buffer.c16 char buf[MAX_BUFSIZE*4], randbuf[MAX_BUFSIZE]; local
27 random_fill(randbuf, size);
28 memcpy(buf, randbuf, size);
34 random_fill(randbuf, size);
35 memcpy(buf + offset, randbuf, size);
36 test_assert(o_stream_pwrite(output, randbuf, size, offset) == 0);
H A Dtest-ostream-file.c20 char buf[MAX_BUFSIZE*4], buf2[MAX_BUFSIZE*4], randbuf[MAX_BUFSIZE]; local
34 random_fill(randbuf, size);
35 memcpy(buf, randbuf, size);
41 random_fill(randbuf, size);
42 memcpy(buf + offset, randbuf, size);
43 test_assert(o_stream_pwrite(output, randbuf, size, offset) == 0);
/dovecot/src/lib-storage/list/
H A Dmailbox-list-delete.c39 unsigned char randbuf[8]; local
41 random_fill(randbuf, sizeof(randbuf));
43 binary_to_hex(randbuf, sizeof(randbuf)));
/dovecot/src/doveadm/
H A Ddoveadm-sis.c99 unsigned char randbuf[8]; local
106 random_fill(randbuf, sizeof(randbuf));
109 binary_to_hex(randbuf, sizeof(randbuf)));
/dovecot/src/lib-storage/index/mbox/
H A Dmbox-save.c349 void *randbuf; local
356 randbuf = buffer_append_space_unsafe(buf, MBOX_DELIVERY_ID_RAND_BYTES);
357 random_fill(randbuf, MBOX_DELIVERY_ID_RAND_BYTES);

Completed in 14 milliseconds