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"
11
12namespace v8 {
13namespace base {
14
15void PosixInitializeCommon(AbortMode abort_mode,
16 const char* const gc_fake_mmap);
17
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
30#endif
31
32} // namespace base
33} // namespace v8
34
35#endif // V8_BASE_PLATFORM_PLATFORM_POSIX_H_
double DaylightSavingsOffset(double time_ms) override
~PosixTimezoneCache() override=default
void Clear(TimeZoneDetection) override
int GetProtectionFromMemoryPermission(OS::MemoryPermission access)
void PosixInitializeCommon(AbortMode abort_mode, const char *const gc_fake_mmap)