Home | History | Annotate | Download | only in src

Lines Matching full:static_cast

100   uint64_t seed = static_cast<uint64_t>(TimeCurrentMillis());
101 srandom(static_cast<unsigned int>(seed));
132 time_t tv = static_cast<time_t>(floor(time/msPerSecond));
145 return static_cast<double>((mktime(loc) - utc) * msPerSecond);
175 return static_cast<size_t>(getpagesize());
205 useconds_t ms = static_cast<useconds_t>(milliseconds);
284 struct StackWalker* walker = static_cast<struct StackWalker*>(data);
344 ASSERT(IsAligned(alignment, static_cast<intptr_t>(OS::AllocateAlignment())));
346 static_cast<intptr_t>(OS::AllocateAlignment()));
355 Address base = static_cast<Address>(reservation);
361 size_t prefix_size = static_cast<size_t>(aligned_base - base);
377 address_ = static_cast<void*>(aligned_base);
506 pthread_attr_setstacksize(&attr, static_cast<size_t>(stack_size_));
524 return static_cast<LocalStorageKey>(key);
529 pthread_key_t pthread_key = static_cast<pthread_key_t>(key);
537 pthread_key_t pthread_key = static_cast<pthread_key_t>(key);
543 pthread_key_t pthread_key = static_cast<pthread_key_t>(key);