Lines Matching refs:OS
84 // Correct Mac OS X Leopard 'ceil' behavior.
96 void OS::Setup() {
128 bool OS::IsOutsideAllocatedSpace(void* address) {
133 size_t OS::AllocateAlignment() {
146 void* OS::Allocate(const size_t requested,
155 LOG(Isolate::Current(), StringEvent("OS::Allocate", "mmap failed"));
164 void OS::Free(void* address, const size_t size) {
174 void OS::Protect(void* address, size_t size) {
179 void OS::Unprotect(void* address, size_t size, bool is_executable) {
186 void OS::Sleep(int milliseconds) {
191 void OS::Abort() {
197 void OS::DebugBreak() {
202 class PosixMemoryMappedFile : public OS::MemoryMappedFile {
216 OS::MemoryMappedFile* OS::MemoryMappedFile::open(const char* name) {
229 OS::MemoryMappedFile* OS::MemoryMappedFile::create(const char* name, int size,
250 void OS::LogSharedLibraryAddresses() {
277 void OS::SignalCodeMovingGC() {
281 uint64_t OS::CpuFeaturesImpliedByPlatform() {
289 int OS::ActivationFrameAlignment() {
290 // OS X activation frames must be 16 byte-aligned; see "Mac OS X ABI
296 void OS::ReleaseStore(volatile AtomicWord* ptr, AtomicWord value) {
302 const char* OS::LocalTimezone(double time) {
311 double OS::LocalTimeOffset() {
320 int OS::StackWalk(Vector<StackFrame> frames) {
431 // Mac OS X does not expose the length limit of the name, so hardcode it.
608 Mutex* OS::CreateMutex() {
645 Semaphore* OS::CreateSemaphore(int count) {
666 // For details, consult "Mac OS X Internals" book, Section 7.3.
721 OS::Sleep(interval_);
765 #error Unsupported Mac OS X host architecture.
795 Mutex* SamplerThread::mutex_ = OS::CreateMutex();