Home
last modified time | relevance | path

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

/external/libcups/filter/
Drasterbench.c277 for (x = CUPS_RAND() & 127, count = (CUPS_RAND() & 15) + 1; in write_test()
283 x += (CUPS_RAND() & 15) + 1; in write_test()
284 count = (CUPS_RAND() & 15) + 1; in write_test()
290 data[y][x] = (unsigned char)CUPS_RAND(); in write_test()
/external/libcups/cups/
Dtestfile.c378 …for (num_records = (pass + 1) * 256, count = (pass + 1) * 256, record = ((int)CUPS_RAND() & 65535)… in random_tests()
380 count --, record = (record + ((int)CUPS_RAND() & 31) - 16 + num_records) % num_records) in random_tests()
477 writebuf[i] = (unsigned char)CUPS_RAND(); in read_write_tests()
Dhttp-support.c517 (unsigned)CUPS_RAND() & 0xffff, (unsigned)CUPS_RAND() & 0xffff); in httpAssembleUUID()
1361 cnonce[i] = "0123456789ABCDEF"[CUPS_RAND() & 15]; in _httpSetDigestAuthString()
/external/libcups/
Dconfig.h59 #define CUPS_RAND() random() macro