Searched refs:randnum (Results 1 – 3 of 3) sorted by relevance
/external/ltp/lib/ |
D | random_range.c | 351 long randnum; in random_range() local 352 randnum = divider(min, max, 0, -1); in random_range() 353 return (long)(min + ((randnum % nmults) * mult)); in random_range() 438 long randnum; in random_rangel() local 439 randnum = divider(min, max, 0, -1); in random_rangel() 440 return (long)(min + ((randnum % nmults) * mult)); in random_rangel() 455 long long randnum; in random_rangell() local 526 randnum = divider(min, max, 0, -1); in random_rangell() 527 return (long long)(min + ((randnum % nmults) * mult)); in random_rangell()
|
/external/valgrind/VEX/switchback/ |
D | test_emfloat.c | 551 static int32 randnum(int32 lngval); 555 return(randnum((int32)0)%num); in randwc() 559 static int32 randnum(int32 lngval) in randnum() function 582 randnum((int32)13); in SetupCPUEmFloatArrays()
|
/external/toybox/toys/pending/ |
D | dhcp.c | 568 uint32_t randnum; in getxid() local 572 xreadall(fd, &randnum, sizeof(randnum)); in getxid() 574 return randnum; in getxid()
|