Flutter Engine
The Flutter Engine
Namespaces | Macros | Functions | Variables
utils.cc File Reference
#include "platform/utils.h"
#include "platform/allocation.h"
#include "platform/globals.h"

Go to the source code of this file.

Namespaces

namespace  dart
 

Macros

#define MIX(hash, part)
 

Functions

static void dart::GetLastErrorAsString (char **error)
 

Variables

static constexpr uint32_t dart::kStringHashM = 0x5bd1e995
 
static constexpr int dart::kStringHashR = 24
 

Macro Definition Documentation

◆ MIX

#define MIX (   hash,
  part 
)
Value:
{ \
(part) *= kStringHashM; \
(part) ^= (part) >> kStringHashR; \
(part) *= kStringHashM; \
(hash) ^= (part); \
}
static uint32_t hash(const SkShaderBase::GradientInfo &v)
static constexpr uint32_t kStringHashM
Definition: utils.cc:101
static constexpr int kStringHashR
Definition: utils.cc:102

Definition at line 105 of file utils.cc.