v8
3.14.5(node0.10.28)
V8 is Google's open source JavaScript engine
|
#include <platform.h>
Data Structures | |
class | MemoryMappedFile |
struct | StackFrame |
Static Public Member Functions | |
static void | SetUp () |
static void | PostSetUp () |
static void | TearDown () |
static int | GetUserTime (uint32_t *secs, uint32_t *usecs) |
static int64_t | Ticks () |
static double | TimeCurrentMillis () |
static const char * | LocalTimezone (double time) |
static double | LocalTimeOffset () |
static double | DaylightSavingsOffset (double time) |
static int | GetLastError () |
static FILE * | FOpen (const char *path, const char *mode) |
static bool | Remove (const char *path) |
static FILE * | OpenTemporaryFile () |
static void | Print (const char *format,...) |
static void | VPrint (const char *format, va_list args) |
static void | FPrint (FILE *out, const char *format,...) |
static void | VFPrint (FILE *out, const char *format, va_list args) |
static void | PrintError (const char *format,...) |
static void | VPrintError (const char *format, va_list args) |
static void * | Allocate (const size_t requested, size_t *allocated, bool is_executable) |
static void | Free (void *address, const size_t size) |
static intptr_t | CommitPageSize () |
static void | ProtectCode (void *address, const size_t size) |
static void | Guard (void *address, const size_t size) |
static void * | GetRandomMmapAddr () |
static size_t | AllocateAlignment () |
static bool | IsOutsideAllocatedSpace (void *pointer) |
static void | Sleep (const int milliseconds) |
static void | Abort () |
static void | DebugBreak () |
static int | StackWalk (Vector< StackFrame > frames) |
static Mutex * | CreateMutex () |
static Semaphore * | CreateSemaphore (int count) |
static Socket * | CreateSocket () |
static int | SNPrintF (Vector< char > str, const char *format,...) |
static int | VSNPrintF (Vector< char > str, const char *format, va_list args) |
static char * | StrChr (char *str, int c) |
static void | StrNCpy (Vector< char > dest, const char *src, size_t n) |
static void | LogSharedLibraryAddresses () |
static void | SignalCodeMovingGC () |
static uint64_t | CpuFeaturesImpliedByPlatform () |
static intptr_t | MaxVirtualMemory () |
static double | nan_value () |
static CpuImplementer | GetCpuImplementer () |
static bool | ArmCpuHasFeature (CpuFeature feature) |
static bool | ArmUsingHardFloat () |
static bool | MipsCpuHasFeature (CpuFeature feature) |
static int | ActivationFrameAlignment () |
static void | ReleaseStore (volatile AtomicWord *ptr, AtomicWord value) |
static void | MemCopy (void *dest, const void *src, size_t size) |
static int | GetCurrentProcessId () |
Static Public Attributes | |
static const char *const | LogFileOpenMode = "w" |
static const int | kStackWalkError = -1 |
static const int | kStackWalkMaxNameLen = 256 |
static const int | kStackWalkMaxTextLen = 256 |
static const int | kMinComplexMemCopy = 256 |
Definition at line 139 of file platform.h.
|
static |
Definition at line 180 of file platform-cygwin.cc.
Referenced by API_Fatal(), MemoryMappedExternalResource::EnsureIsAscii(), v8::internal::RUNTIME_FUNCTION(), Isolate::StackTraceString(), and V8_Fatal().
|
static |
Definition at line 74 of file platform-cygwin.cc.
|
static |
Definition at line 138 of file platform-cygwin.cc.
References ISOLATE, LOG, v8::internal::NULL, and v8::internal::RoundUp().
|
static |
Definition at line 133 of file platform-cygwin.cc.
Referenced by SemiSpace::GrowTo(), SemiSpace::ShrinkTo(), and VirtualMemory::VirtualMemory().
|
static |
Definition at line 223 of file platform-nullos.cc.
References UNIMPLEMENTED.
|
static |
Definition at line 228 of file platform-nullos.cc.
References UNIMPLEMENTED.
|
static |
Definition at line 76 of file platform-posix.cc.
Referenced by MemoryAllocator::AllocateChunk(), MemoryAllocator::CodePageAreaEndOffset(), MemoryAllocator::CodePageGuardSize(), MemoryAllocator::CodePageGuardStartOffset(), VirtualMemory::Guard(), and StoreBuffer::SetUp().
|
static |
Definition at line 69 of file platform-cygwin.cc.
|
static |
Definition at line 513 of file platform-cygwin.cc.
Referenced by CreateMutexTrait::Create(), Log::Initialize(), OS::SetUp(), Heap::SetUp(), SamplerRegistry::SetUp(), SamplerThread::SetUp(), and SignalSender::SetUp().
|
static |
Definition at line 578 of file platform-cygwin.cc.
Referenced by CreateSemaphoreTrait< InitialValue >::Create(), RegExpInterruptTest::RunTest(), ApplyInterruptTest::RunTest(), ThreadInterruptTest::RunTest(), and TEST().
|
static |
Definition at line 545 of file platform-posix.cc.
|
static |
Definition at line 132 of file platform-nullos.cc.
References UNIMPLEMENTED.
Referenced by DateCache::GetDaylightSavingsOffsetFromOS().
|
static |
Definition at line 186 of file platform-cygwin.cc.
|
static |
Definition at line 210 of file platform-posix.cc.
References v8::internal::NULL.
Referenced by v8::internal::AppendChars(), CppByteSink::CppByteSink(), FileByteSink::FileByteSink(), main(), v8::internal::ReadCharsFromFile(), v8::internal::WriteChars(), and FileByteSink::WriteSpaceUsed().
|
static |
Definition at line 165 of file platform-nullos.cc.
References OS::VFPrint().
|
static |
Definition at line 154 of file platform-cygwin.cc.
References ASSERT, and v8::internal::USE().
Referenced by VirtualMemory::VirtualMemory().
|
static |
Definition at line 218 of file platform-nullos.cc.
References UNIMPLEMENTED.
|
static |
Definition at line 156 of file platform-posix.cc.
Referenced by v8::internal::PrintPID().
|
static |
Definition at line 138 of file platform-nullos.cc.
References UNIMPLEMENTED.
Referenced by Heap::RecordStats().
|
static |
Definition at line 96 of file platform-posix.cc.
References v8::internal::NULL, and V8::RandomPrivate().
Referenced by VirtualMemory::ReserveRegion(), and VirtualMemory::VirtualMemory().
|
static |
Definition at line 100 of file platform-nullos.cc.
References UNIMPLEMENTED.
Referenced by Logger::ResourceEvent().
|
static |
Definition at line 168 of file platform-cygwin.cc.
References v8::internal::DWORD().
|
static |
Definition at line 128 of file platform-cygwin.cc.
Referenced by Heap::Contains(), and Heap::InSpace().
|
static |
Definition at line 96 of file platform-cygwin.cc.
References ASSERT, and v8::internal::NULL.
Referenced by DateCache::GetLocalOffsetFromOS().
|
static |
Definition at line 87 of file platform-cygwin.cc.
References isnan(), and v8::internal::NULL.
Referenced by DateCache::LocalTimezone(), and v8::internal::RUNTIME_FUNCTION().
|
static |
Definition at line 239 of file platform-cygwin.cc.
References v8::internal::fp, ISOLATE, LOG, v8::internal::NULL, and V8PRIxPTR.
Referenced by Profiler::Engage().
|
static |
Definition at line 68 of file platform-posix.cc.
|
inlinestatic |
Definition at line 339 of file platform.h.
Referenced by v8::internal::CopyChars(), ScriptData::New(), and TestMemCopy().
|
static |
|
static |
Definition at line 212 of file platform-nullos.cc.
References UNIMPLEMENTED.
Referenced by FixedDoubleArray::canonical_not_the_hole_nan_as_double(), Number::New(), Date::New(), Value::NumberValue(), v8::internal::power_double_double(), v8::internal::RUNTIME_FUNCTION(), ExternalFloatArray::SetValue(), ExternalDoubleArray::SetValue(), TEST(), and THREADED_TEST().
|
static |
Definition at line 227 of file platform-posix.cc.
|
static |
Definition at line 65 of file platform-cygwin.cc.
References v8::internal::POSIXPostSetUp().
|
static |
Definition at line 153 of file platform-nullos.cc.
References UNIMPLEMENTED.
Referenced by CallCompletedCallback1(), CallCompletedCallback2(), ProfileNode::Print(), CpuProfile::Print(), v8::internal::PrintPID(), RecursiveCall(), ProfileTree::ShortPrint(), CpuProfile::ShortPrint(), TEST(), and TestParserSync().
|
static |
Definition at line 179 of file platform-nullos.cc.
References OS::VPrintError().
Referenced by API_Fatal(), v8::internal::AppendChars(), Isolate::DoThrow(), Isolate::PrintStack(), v8::internal::ReadCharsFromFile(), v8::internal::RUNTIME_FUNCTION(), Isolate::StackTraceString(), V8_Fatal(), and v8::internal::WriteChars().
|
static |
Definition at line 162 of file platform-cygwin.cc.
References v8::internal::DWORD().
|
static |
Definition at line 81 of file platform-cygwin.cc.
|
static |
Definition at line 222 of file platform-posix.cc.
Referenced by MemoryMappedExternalResource::~MemoryMappedExternalResource().
|
static |
Definition at line 736 of file platform-cygwin.cc.
References OS::CreateMutex(), seed, SamplerThread::SetUp(), and OS::TimeCurrentMillis().
Referenced by TEST().
|
static |
Definition at line 299 of file platform-cygwin.cc.
Referenced by Logger::CodeMovingGCEvent().
|
static |
Definition at line 174 of file platform-cygwin.cc.
Referenced by SamplerThread::Run(), and TEST().
|
static |
Definition at line 195 of file platform-nullos.cc.
References UNIMPLEMENTED.
Referenced by StringStream::Add(), Logger::NameBuffer::AppendInt(), DEPENDENT_TEST(), v8::internal::GetGVNFlagsString(), Version::GetSONAME(), Version::GetString(), HeapNumber::HeapNumberPrint(), RecursiveCall(), TEST(), THREADED_TEST(), and FileByteSink::WriteSpaceUsed().
|
static |
Definition at line 304 of file platform-cygwin.cc.
|
static |
Definition at line 342 of file platform-posix.cc.
|
static |
Definition at line 347 of file platform-posix.cc.
References Vector< T >::start().
Referenced by Factory::EmergencyNewError(), StringsStorage::GetCopy(), and PreallocatedMemoryThread::Run().
|
static |
Definition at line 749 of file platform-cygwin.cc.
References SamplerThread::TearDown().
Referenced by V8::TearDown().
|
static |
Definition at line 117 of file platform-nullos.cc.
References UNIMPLEMENTED.
Referenced by Parser::ParseLazy(), Parser::ParseProgram(), and OptimizingCompilerThread::Run().
|
static |
Definition at line 110 of file platform-nullos.cc.
References UNIMPLEMENTED.
Referenced by Logger::DebugEvent(), Logger::HeapSampleBeginEvent(), IncrementalMarking::Hurry(), Log::Initialize(), Logger::ResourceEvent(), v8::internal::RUNTIME_FUNCTION(), OS::SetUp(), IncrementalMarking::Step(), SampleRateCalculator::Tick(), Isolate::time_millis_since_init(), and HTracer::TraceCompilation().
|
static |
Definition at line 173 of file platform-nullos.cc.
Referenced by OS::FPrint(), and v8::internal::PrintF().
|
static |
Definition at line 159 of file platform-nullos.cc.
Referenced by v8::internal::PrintF(), v8::internal::PrintPID(), and v8::internal::TraceGVN().
|
static |
Definition at line 189 of file platform-nullos.cc.
Referenced by API_Fatal(), OS::PrintError(), and V8_Fatal().
|
static |
Definition at line 201 of file platform-nullos.cc.
References UNIMPLEMENTED.
Referenced by StringBuilder::AddFormattedList(), and StringsStorage::GetVFormatted().
|
static |
Definition at line 342 of file platform.h.
Referenced by v8::internal::CopyChars(), TEST(), and TestMemCopy().
|
static |
Definition at line 245 of file platform.h.
|
static |
Definition at line 246 of file platform.h.
|
static |
Definition at line 247 of file platform.h.
|
static |
Definition at line 186 of file platform.h.