Flutter Engine
The Flutter Engine
Classes | Namespaces | Macros | Typedefs | Functions
utils.h File Reference
#include <cstdlib>
#include <cstring>
#include <cassert>
#include <stdint.h>

Go to the source code of this file.

Classes

class  double_conversion::Vector< T >
 
class  double_conversion::StringBuilder
 

Namespaces

namespace  double_conversion
 

Macros

#define DOUBLE_CONVERSION_NULLPTR   NULL
 
#define DOUBLE_CONVERSION_ASSERT(condition)    assert(condition)
 
#define DOUBLE_CONVERSION_UNIMPLEMENTED()   (abort())
 
#define DOUBLE_CONVERSION_NO_RETURN   __attribute__((noreturn))
 
#define DOUBLE_CONVERSION_UNREACHABLE()   (abort())
 
#define DOUBLE_CONVERSION_HAS_ATTRIBUTE(x)   0
 
#define DOUBLE_CONVERSION_UNUSED
 
#define DOUBLE_CONVERSION_STACK_UNINITIALIZED
 
#define DOUBLE_CONVERSION_UINT64_2PART_C(a, b)   (((static_cast<uint64_t>(a) << 32) + 0x##b##u))
 
#define DOUBLE_CONVERSION_ARRAY_SIZE(a)
 
#define DOUBLE_CONVERSION_DISALLOW_COPY_AND_ASSIGN(TypeName)
 
#define DOUBLE_CONVERSION_DISALLOW_IMPLICIT_CONSTRUCTORS(TypeName)
 

Typedefs

typedef uint16_t uc16
 

Functions

int double_conversion::StrLength (const char *string)
 
template<class Dest , class Source >
Dest double_conversion::BitCast (const Source &source)
 
template<class Dest , class Source >
Dest double_conversion::BitCast (Source *source)
 

Macro Definition Documentation

◆ DOUBLE_CONVERSION_ARRAY_SIZE

#define DOUBLE_CONVERSION_ARRAY_SIZE (   a)
Value:
((sizeof(a) / sizeof(*(a))) / \
static_cast<size_t>(!(sizeof(a) % sizeof(*(a)))))
struct MyStruct a[10]

Definition at line 205 of file utils.h.

◆ DOUBLE_CONVERSION_ASSERT

#define DOUBLE_CONVERSION_ASSERT (   condition)     assert(condition)

Definition at line 46 of file utils.h.

◆ DOUBLE_CONVERSION_DISALLOW_COPY_AND_ASSIGN

#define DOUBLE_CONVERSION_DISALLOW_COPY_AND_ASSIGN (   TypeName)
Value:
TypeName(const TypeName&); \
void operator=(const TypeName&)

Definition at line 216 of file utils.h.

◆ DOUBLE_CONVERSION_DISALLOW_IMPLICIT_CONSTRUCTORS

#define DOUBLE_CONVERSION_DISALLOW_IMPLICIT_CONSTRUCTORS (   TypeName)
Value:
TypeName(); \
DOUBLE_CONVERSION_DISALLOW_COPY_AND_ASSIGN(TypeName)

Definition at line 231 of file utils.h.

◆ DOUBLE_CONVERSION_HAS_ATTRIBUTE

#define DOUBLE_CONVERSION_HAS_ATTRIBUTE (   x)    0

Definition at line 89 of file utils.h.

◆ DOUBLE_CONVERSION_NO_RETURN

#define DOUBLE_CONVERSION_NO_RETURN   __attribute__((noreturn))

Definition at line 64 of file utils.h.

◆ DOUBLE_CONVERSION_NULLPTR

#define DOUBLE_CONVERSION_NULLPTR   NULL

Definition at line 41 of file utils.h.

◆ DOUBLE_CONVERSION_STACK_UNINITIALIZED

#define DOUBLE_CONVERSION_STACK_UNINITIALIZED

Definition at line 106 of file utils.h.

◆ DOUBLE_CONVERSION_UINT64_2PART_C

#define DOUBLE_CONVERSION_UINT64_2PART_C (   a,
  b 
)    (((static_cast<uint64_t>(a) << 32) + 0x##b##u))

Definition at line 195 of file utils.h.

◆ DOUBLE_CONVERSION_UNIMPLEMENTED

#define DOUBLE_CONVERSION_UNIMPLEMENTED ( )    (abort())

Definition at line 54 of file utils.h.

◆ DOUBLE_CONVERSION_UNREACHABLE

#define DOUBLE_CONVERSION_UNREACHABLE ( )    (abort())

Definition at line 77 of file utils.h.

◆ DOUBLE_CONVERSION_UNUSED

#define DOUBLE_CONVERSION_UNUSED

Definition at line 96 of file utils.h.

Typedef Documentation

◆ uc16

typedef uint16_t uc16

Definition at line 190 of file utils.h.