Home
last modified time | relevance | path

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

/external/libcups/cups/
Drasterbench.c271 for (x = CUPS_RAND() & 127, count = (CUPS_RAND() & 15) + 1; in write_test()
277 x += (CUPS_RAND() & 15) + 1; in write_test()
278 count = (CUPS_RAND() & 15) + 1; in write_test()
284 data[y][x] = (unsigned char)CUPS_RAND(); in write_test()
Dtestfile.c373 …for (num_records = (pass + 1) * 256, count = (pass + 1) * 256, record = ((int)CUPS_RAND() & 65535)… in random_tests()
375 count --, record = (record + ((int)CUPS_RAND() & 31) - 16 + num_records) % num_records) in random_tests()
472 writebuf[i] = (unsigned char)CUPS_RAND(); in read_write_tests()
Dhttp-support.c513 (unsigned)CUPS_RAND() & 0xffff, (unsigned)CUPS_RAND() & 0xffff); in httpAssembleUUID()
1356 cnonce[i] = "0123456789ABCDEF"[CUPS_RAND() & 15]; in _httpSetDigestAuthString()
/external/libcups/vcnet/
Dconfig.h684 # define CUPS_RAND() arc4random() macro
687 # define CUPS_RAND() random() macro
690 # define CUPS_RAND() lrand48() macro
693 # define CUPS_RAND() rand() macro
/external/libcups/xcode/
Dconfig.h617 # define CUPS_RAND() arc4random() macro
620 # define CUPS_RAND() random() macro
623 # define CUPS_RAND() lrand48() macro
626 # define CUPS_RAND() rand() macro
/external/libcups/cgi-bin/
Dvar.c1222 (unsigned)CUPS_RAND() & 255, (unsigned)CUPS_RAND() & 255, in cgi_set_sid()
1223 (unsigned)CUPS_RAND() & 255, (unsigned)CUPS_RAND() & 255, in cgi_set_sid()
1224 (unsigned)CUPS_RAND() & 255, (unsigned)CUPS_RAND() & 255, in cgi_set_sid()
1225 (unsigned)CUPS_RAND() & 255, (unsigned)CUPS_RAND() & 255); in cgi_set_sid()
/external/libcups/
Dconfig.h59 #define CUPS_RAND() random() macro
Dconfig.h.in602 # define CUPS_RAND() arc4random() macro
605 # define CUPS_RAND() random() macro
608 # define CUPS_RAND() lrand48() macro
611 # define CUPS_RAND() rand() macro
/external/libcups/scheduler/
Dfile.c365 buffer[i] = CUPS_RAND(); in cupsdRemoveFile()
Dcert.c65 cert->certificate[i] = hex[CUPS_RAND() & 15]; in cupsdAddCert()
Dipp.c9536 for (i = (CUPS_RAND() % 1024); i >= 0; i --) in save_auth_info()
/external/libcups/tools/
Dipptool.c2151 data->request_id = (CUPS_RAND() % 1000) * 137 + 1; in init_data()
3158 data->request_id = (CUPS_RAND() % 1000) * 137 + 1; in token_cb()
Dippeveprinter.c6640 sleep((unsigned)(5 + (CUPS_RAND() % 11))); in process_job()