Home | History | Annotate | Download | only in src

Lines Matching refs:OS

94 void OS::SetUp() {
106 void OS::PostSetUp() {
113 uint64_t OS::CpuFeaturesImpliedByPlatform() {
118 int OS::ActivationFrameAlignment() {
124 void OS::ReleaseStore(volatile AtomicWord* ptr, AtomicWord value) {
130 const char* OS::LocalTimezone(double time) {
139 double OS::LocalTimeOffset() {
169 bool OS::IsOutsideAllocatedSpace(void* address) {
174 size_t OS::AllocateAlignment() {
179 void* OS::Allocate(const size_t requested,
187 LOG(ISOLATE, StringEvent("OS::Allocate", "mmap failed"));
196 void OS::Free(void* address, const size_t size) {
204 void OS::Sleep(int milliseconds) {
210 void OS::Abort() {
216 void OS::DebugBreak() {
221 class PosixMemoryMappedFile : public OS::MemoryMappedFile {
235 OS::MemoryMappedFile* OS::MemoryMappedFile::open(const char* name) {
248 OS::MemoryMappedFile* OS::MemoryMappedFile::create(const char* name, int size,
269 void OS::LogSharedLibraryAddresses() {
273 void OS::SignalCodeMovingGC() {
278 Vector<OS::StackFrame>& frames;
292 walker->frames[i].text[OS::kStackWalkMaxTextLen - 1] = '\0';
295 OS::kStackWalkMaxTextLen);
298 OS::SNPrintF(text, "[0x%p]", pc);
301 OS::SNPrintF(text, "%s'%s+0x%x", info.dli_fname, info.dli_sname, pc);
304 OS::SNPrintF(text,
315 int OS::StackWalk(Vector<OS::StackFrame> frames) {
344 ASSERT(IsAligned(alignment, static_cast<intptr_t>(OS::AllocateAlignment())));
346 static_cast<intptr_t>(OS::AllocateAlignment()));
347 void* reservation = mmap(OS::GetRandomMmapAddr(),
362 OS::Free(base, prefix_size);
366 size_t aligned_size = RoundUp(size, OS::AllocateAlignment());
371 OS::Free(aligned_base + aligned_size, suffix_size);
413 OS::Guard(address, OS::CommitPageSize());
419 void* result = mmap(OS::GetRandomMmapAddr(),
583 Mutex* OS::CreateMutex() {
661 Semaphore* OS::CreateSemaphore(int count) {