Flutter Engine
The Flutter Engine
|
#include <arpa/inet.h>
#include <unistd.h>
#include <float.h>
#include <inttypes.h>
#include <limits.h>
#include <math.h>
#include <stdarg.h>
#include <stddef.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <cassert>
#include "platform/floating_point.h"
Go to the source code of this file.
Classes | |
struct | dart::simd128_value_t |
Namespaces | |
namespace | dart |
Macros | |
#define | FALL_THROUGH ((void)0) |
#define | NDEBUG |
#define | __STDC_FORMAT_MACROS |
#define | DEBUG_ONLY(code) |
#define | LIKELY(cond) cond |
#define | UNLIKELY(cond) cond |
#define | DART_UNUSED |
#define | DART_USED |
#define | Pd PRIdPTR |
#define | Pu PRIuPTR |
#define | Px PRIxPTR |
#define | PX PRIXPTR |
#define | Pd32 PRId32 |
#define | Pu32 PRIu32 |
#define | Px32 PRIx32 |
#define | PX32 PRIX32 |
#define | Pd64 PRId64 |
#define | Pu64 PRIu64 |
#define | Px64 PRIx64 |
#define | PX64 PRIX64 |
#define | Pp "016" PRIxPTR |
#define | DART_INT64_C(x) x##LL |
#define | DART_UINT64_C(x) x##ULL |
#define | DART_2PART_UINT64_C(a, b) (((static_cast<uint64_t>(a) << kBitsPerInt32) + 0x##b##u)) |
#define | DISALLOW_COPY_AND_ASSIGN(TypeName) |
#define | DISALLOW_IMPLICIT_CONSTRUCTORS(TypeName) |
#define | DISALLOW_ALLOCATION() |
#define | PRINTF_ATTRIBUTE(string_index, first_to_check) |
#define | PATH_MAX MAX_PATH |
#define | INCLUDE_IL_PRINTER 1 |
#define | FORCE_INCLUDE_DISASSEMBLER 1 |
#define | DART_ENABLE_HEAP_SNAPSHOT_WRITER 1 |
Typedefs | |
typedef intptr_t | dart::word |
typedef uintptr_t | dart::uword |
typedef int32_t | dart::classid_t |
Functions | |
constexpr intptr_t | dart::RoundWordsToKB (intptr_t size_in_words) |
constexpr intptr_t | dart::RoundWordsToMB (intptr_t size_in_words) |
constexpr intptr_t | dart::RoundWordsToGB (intptr_t size_in_words) |
constexpr double | dart::WordsToMB (intptr_t size_in_words) |
constexpr double | dart::MicrosecondsToSeconds (int64_t micros) |
constexpr double | dart::MicrosecondsToMilliseconds (int64_t micros) |
template<typename T > | |
static void | dart::USE (T &&) |
template<class D , class S > | |
DART_FORCE_INLINE D | dart::bit_cast (const S &source) |
template<class D , class S > | |
DART_FORCE_INLINE D | dart::bit_copy (const S &source) |
Variables | |
constexpr intptr_t | dart::kInt8SizeLog2 = 0 |
constexpr intptr_t | dart::kInt8Size = 1 << kInt8SizeLog2 |
constexpr intptr_t | dart::kInt16SizeLog2 = 1 |
constexpr intptr_t | dart::kInt16Size = 1 << kInt16SizeLog2 |
constexpr intptr_t | dart::kInt32SizeLog2 = 2 |
constexpr intptr_t | dart::kInt32Size = 1 << kInt32SizeLog2 |
constexpr intptr_t | dart::kInt64SizeLog2 = 3 |
constexpr intptr_t | dart::kInt64Size = 1 << kInt64SizeLog2 |
constexpr intptr_t | dart::kDoubleSize = sizeof(double) |
constexpr intptr_t | dart::kFloatSize = sizeof(float) |
constexpr intptr_t | dart::kQuadSize = 4 * kFloatSize |
constexpr intptr_t | dart::kSimd128Size = sizeof(simd128_value_t) |
constexpr intptr_t | dart::kBitsPerByteLog2 = 3 |
constexpr intptr_t | dart::kBitsPerByte = 1 << kBitsPerByteLog2 |
constexpr intptr_t | dart::kBitsPerInt8 = kInt8Size * kBitsPerByte |
constexpr intptr_t | dart::kBitsPerInt16 = kInt16Size * kBitsPerByte |
constexpr intptr_t | dart::kBitsPerInt32 = kInt32Size * kBitsPerByte |
constexpr intptr_t | dart::kBitsPerInt64 = kInt64Size * kBitsPerByte |
constexpr int8_t | dart::kMinInt8 = 0x80 |
constexpr int8_t | dart::kMaxInt8 = 0x7F |
constexpr uint8_t | dart::kMaxUint8 = 0xFF |
constexpr int16_t | dart::kMinInt16 = 0x8000 |
constexpr int16_t | dart::kMaxInt16 = 0x7FFF |
constexpr uint16_t | dart::kMaxUint16 = 0xFFFF |
constexpr int32_t | dart::kMinInt32 = 0x80000000 |
constexpr int32_t | dart::kMaxInt32 = 0x7FFFFFFF |
constexpr uint32_t | dart::kMaxUint32 = 0xFFFFFFFF |
constexpr int64_t | dart::kMinInt64 = DART_INT64_C(0x8000000000000000) |
constexpr int64_t | dart::kMaxInt64 = DART_INT64_C(0x7FFFFFFFFFFFFFFF) |
constexpr uint64_t | dart::kMaxUint64 = DART_2PART_UINT64_C(0xFFFFFFFF, FFFFFFFF) |
constexpr int | dart::kMinInt = INT_MIN |
constexpr int | dart::kMaxInt = INT_MAX |
constexpr int | dart::kMaxUint = UINT_MAX |
constexpr int64_t | dart::kMinInt64RepresentableAsDouble = kMinInt64 |
constexpr int64_t | dart::kMaxInt64RepresentableAsDouble |
constexpr int64_t | dart::kSignBitDouble = DART_INT64_C(0x8000000000000000) |
constexpr intptr_t | dart::kWordSizeLog2 = kInt64SizeLog2 |
constexpr intptr_t | dart::kWordSize = 1 << kWordSizeLog2 |
constexpr intptr_t | dart::kBitsPerWordLog2 = kWordSizeLog2 + kBitsPerByteLog2 |
constexpr intptr_t | dart::kBitsPerWord = 1 << kBitsPerWordLog2 |
constexpr word | dart::kWordMin = static_cast<uword>(1) << (kBitsPerWord - 1) |
constexpr word | dart::kWordMax = (static_cast<uword>(1) << (kBitsPerWord - 1)) - 1 |
constexpr uword | dart::kUwordMax = static_cast<uword>(-1) |
constexpr intptr_t | dart::KBLog2 = 10 |
constexpr intptr_t | dart::KB = 1 << KBLog2 |
constexpr intptr_t | dart::MBLog2 = KBLog2 + KBLog2 |
constexpr intptr_t | dart::MB = 1 << MBLog2 |
constexpr intptr_t | dart::GBLog2 = MBLog2 + KBLog2 |
constexpr intptr_t | dart::GB = 1 << GBLog2 |
constexpr intptr_t | dart::KBInWordsLog2 = KBLog2 - kWordSizeLog2 |
constexpr intptr_t | dart::KBInWords = 1 << KBInWordsLog2 |
constexpr intptr_t | dart::MBInWordsLog2 = KBLog2 + KBInWordsLog2 |
constexpr intptr_t | dart::MBInWords = 1 << MBInWordsLog2 |
constexpr intptr_t | dart::GBInWordsLog2 = MBLog2 + KBInWordsLog2 |
constexpr intptr_t | dart::GBInWords = 1 << GBInWordsLog2 |
constexpr intptr_t | dart::kIntptrOne = 1 |
constexpr intptr_t | dart::kIntptrMin = (kIntptrOne << (kBitsPerWord - 1)) |
constexpr intptr_t | dart::kIntptrMax = ~kIntptrMin |
constexpr intptr_t | dart::kMillisecondsPerSecond = 1000 |
constexpr intptr_t | dart::kMicrosecondsPerMillisecond = 1000 |
constexpr intptr_t | dart::kMicrosecondsPerSecond |
constexpr intptr_t | dart::kNanosecondsPerMicrosecond = 1000 |
constexpr intptr_t | dart::kNanosecondsPerMillisecond |
constexpr intptr_t | dart::kNanosecondsPerSecond |
#define DISALLOW_ALLOCATION | ( | ) |
#define DISALLOW_COPY_AND_ASSIGN | ( | TypeName | ) |
#define DISALLOW_IMPLICIT_CONSTRUCTORS | ( | TypeName | ) |