Searched refs:aos_rand (Results 1 – 15 of 15) sorted by relevance
70 int32_t aos_rand(void) in aos_rand() function
107 #define LWIP_RAND() ((uint32_t)aos_rand())
250 #define LWIP_RAND() ((u32_t)aos_rand())
225 aos_srand((unsigned int)(time.tv_sec * 1000 + time.tv_usec / 1000) + aos_rand()); in httpclient_random()228 *(output + rngoffset) = (uint8_t)aos_rand(); in httpclient_random()
1023 int32_t aos_rand(void);
236 return ((unsigned int)aos_rand() << 16) + aos_rand(); in _avRandom()
233 uint16_t port = aos_rand() % 16384 + 49152; in tftp_client_get()
236 return mp_obj_new_int(aos_rand()); in machine_rng()
95 r = aos_rand(); // returns 32-bit random number in os_urandom()
214 return mp_obj_new_int(aos_rand()); in machine_rng()
93 r = aos_rand(); // returns 32-bit random number in os_urandom()
605 int32_t aos_rand(void) in aos_rand() function
1186 aos_srand((unsigned int)(time.tv_sec * 1000 + time.tv_usec / 1000) + aos_rand()); in core_sysdep_rand()1194 rand_num = aos_rand(); in core_sysdep_rand()
Completed in 23 milliseconds