V8 API Reference, 7.2.502.16 (for Deno 0.2.4)
v8::base::OS Class Reference

Classes

class  MemoryMappedFile
 
struct  SharedLibraryAddress
 
struct  StackFrame
 

Public Types

enum  MemoryPermission {
  kNoAccess, kRead, kReadWrite, kReadWriteExecute,
  kReadExecute
}
 

Static Public Member Functions

static void Initialize (bool hard_abort, const char *const gc_fake_mmap)
 
static int GetUserTime (uint32_t *secs, uint32_t *usecs)
 
static double TimeCurrentMillis ()
 
static TimezoneCacheCreateTimezoneCache ()
 
static int GetLastError ()
 
static FILE * FOpen (const char *path, const char *mode)
 
static bool Remove (const char *path)
 
static char DirectorySeparator ()
 
static bool isDirectorySeparator (const char ch)
 
static FILE * OpenTemporaryFile ()
 
static PRINTF_FORMAT (1, 2) void Print(const char *format
 
static static PRINTF_FORMAT (1, 0) void VPrint(const char *format
 
static PRINTF_FORMAT (2, 3) void FPrint(FILE *out
 
static const char static PRINTF_FORMAT (2, 0) void VFPrint(FILE *out
 
static PRINTF_FORMAT (1, 2) void PrintError(const char *format
 
static static PRINTF_FORMAT (1, 0) void VPrintError(const char *format
 
static bool HasLazyCommits ()
 
static void Sleep (TimeDelta interval)
 
static void Abort ()
 
static void DebugBreak ()
 
static PRINTF_FORMAT (3, 4) int SNPrintF(char *str
 
static int const char static PRINTF_FORMAT (3, 0) int VSNPrintF(char *str
 
static charStrChr (char *str, int c)
 
static void StrNCpy (char *dest, int length, const char *src, size_t n)
 
static std::vector< SharedLibraryAddressGetSharedLibraryAddresses ()
 
static void SignalCodeMovingGC ()
 
static bool ArmUsingHardFloat ()
 
static int ActivationFrameAlignment ()
 
static int GetCurrentProcessId ()
 
static int GetCurrentThreadId ()
 
static void ExitProcess (int exit_code)
 

Public Attributes

static static va_list args
 
static const charformat
 
static const char static const charformat
 
static const char static const char va_list args
 
static int length
 
static int const charformat
 
static int const char static int length
 
static int const char static int const charformat
 
static int const char static int const char va_list args
 

Static Public Attributes

static const char *const LogFileOpenMode = "w"
 
static const int kStackWalkError = -1
 
static const int kStackWalkMaxNameLen = 256
 
static const int kStackWalkMaxTextLen = 256
 

Friends

class MemoryMappedFile
 
class PosixMemoryMappedFile
 
class v8::base::PageAllocator
 

Detailed Description

Definition at line 107 of file platform.h.


The documentation for this class was generated from the following files: