v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
platform-posix.h
Go to the documentation of this file.
1
// Copyright 2017 the V8 project authors. All rights reserved.
2
// Use of this source code is governed by a BSD-style license that can be
3
// found in the LICENSE file.
4
5
#ifndef V8_BASE_PLATFORM_PLATFORM_POSIX_H_
6
#define V8_BASE_PLATFORM_PLATFORM_POSIX_H_
7
8
#include "
include/v8config.h
"
9
#include "
src/base/platform/platform.h
"
10
#include "
src/base/timezone-cache.h
"
11
12
namespace
v8
{
13
namespace
base
{
14
15
void
PosixInitializeCommon
(
AbortMode
abort_mode,
16
const
char
*
const
gc_fake_mmap);
17
18
class
PosixTimezoneCache
:
public
TimezoneCache
{
19
public
:
20
double
DaylightSavingsOffset
(
double
time_ms)
override
;
21
void
Clear
(
TimeZoneDetection
)
override
{}
22
~PosixTimezoneCache
()
override
=
default
;
23
24
protected
:
25
static
const
int
msPerSecond
= 1000;
26
};
27
28
#if !V8_OS_FUCHSIA
29
int
GetProtectionFromMemoryPermission
(
OS::MemoryPermission
access);
30
#endif
31
32
}
// namespace base
33
}
// namespace v8
34
35
#endif
// V8_BASE_PLATFORM_PLATFORM_POSIX_H_
v8::base::OS::MemoryPermission
MemoryPermission
Definition
platform.h:215
v8::base::PosixTimezoneCache
Definition
platform-posix.h:18
v8::base::PosixTimezoneCache::DaylightSavingsOffset
double DaylightSavingsOffset(double time_ms) override
Definition
platform-posix.cc:916
v8::base::PosixTimezoneCache::~PosixTimezoneCache
~PosixTimezoneCache() override=default
v8::base::PosixTimezoneCache::Clear
void Clear(TimeZoneDetection) override
Definition
platform-posix.h:21
v8::base::PosixTimezoneCache::msPerSecond
static const int msPerSecond
Definition
platform-posix.h:25
v8::base::TimezoneCache
Definition
timezone-cache.h:11
v8::base::TimezoneCache::TimeZoneDetection
TimeZoneDetection
Definition
timezone-cache.h:38
base
OpIndex base
Definition
instruction-selector-ia32.cc:65
v8::base::GetProtectionFromMemoryPermission
int GetProtectionFromMemoryPermission(OS::MemoryPermission access)
Definition
platform-posix.cc:200
v8::base::AbortMode
AbortMode
Definition
abort-mode.h:16
v8::base::PosixInitializeCommon
void PosixInitializeCommon(AbortMode abort_mode, const char *const gc_fake_mmap)
Definition
platform-posix.cc:261
v8
Definition
api-arguments-inl.h:19
platform.h
timezone-cache.h
v8config.h
src
base
platform
platform-posix.h
Generated on Sun Apr 6 2025 21:08:50 for v8 by
1.12.0