Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
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) *= kStringHashM; \
(hash) ^= (part); \
}
static uint32_t hash(const SkShaderBase::GradientInfo &v)

Definition at line 105 of file utils.cc.

106 { \
107 (part) *= kStringHashM; \
108 (part) ^= (part) >> kStringHashR; \
109 (part) *= kStringHashM; \
110 (hash) *= kStringHashM; \
111 (hash) ^= (part); \
112 }
static constexpr int kStringHashR
Definition utils.cc:102