Searched refs:CUPS_RAND (Results 1 – 13 of 13) sorted by relevance
/external/libcups/cups/ |
D | rasterbench.c | 271 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()
|
D | testfile.c | 373 …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()
|
D | http-support.c | 513 (unsigned)CUPS_RAND() & 0xffff, (unsigned)CUPS_RAND() & 0xffff); in httpAssembleUUID() 1356 cnonce[i] = "0123456789ABCDEF"[CUPS_RAND() & 15]; in _httpSetDigestAuthString()
|
/external/libcups/vcnet/ |
D | config.h | 684 # 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/ |
D | config.h | 617 # 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/ |
D | var.c | 1222 (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/ |
D | config.h | 59 #define CUPS_RAND() random() macro
|
D | config.h.in | 602 # 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/ |
D | file.c | 365 buffer[i] = CUPS_RAND(); in cupsdRemoveFile()
|
D | cert.c | 65 cert->certificate[i] = hex[CUPS_RAND() & 15]; in cupsdAddCert()
|
D | ipp.c | 9536 for (i = (CUPS_RAND() % 1024); i >= 0; i --) in save_auth_info()
|
/external/libcups/tools/ |
D | ipptool.c | 2151 data->request_id = (CUPS_RAND() % 1000) * 137 + 1; in init_data() 3158 data->request_id = (CUPS_RAND() % 1000) * 137 + 1; in token_cb()
|
D | ippeveprinter.c | 6640 sleep((unsigned)(5 + (CUPS_RAND() % 11))); in process_job()
|