Flutter Engine
The Flutter Engine
Static Public Member Functions | Static Public Attributes | List of all members
unibrow::Ecma262UnCanonicalize Struct Reference

#include <unibrow.h>

Static Public Member Functions

static intptr_t Convert (int32_t c, int32_t n, int32_t *result, bool *allow_caching_ptr)
 

Static Public Attributes

static constexpr intptr_t kMaxWidth = 4
 

Detailed Description

Definition at line 55 of file unibrow.h.

Member Function Documentation

◆ Convert()

intptr_t unibrow::Ecma262UnCanonicalize::Convert ( int32_t  c,
int32_t  n,
int32_t *  result,
bool *  allow_caching_ptr 
)
static

Definition at line 1759 of file unibrow.cc.

1762 {
1763 intptr_t chunk_index = c >> 13;
1764 switch (chunk_index) {
1765 case 0: return LookupMapping<true>(kEcma262UnCanonicalizeTable0,
1768 c,
1769 n,
1770 result,
1771 allow_caching_ptr);
1772 case 1: return LookupMapping<true>(kEcma262UnCanonicalizeTable1,
1775 c,
1776 n,
1777 result,
1778 allow_caching_ptr);
1779 case 5: return LookupMapping<true>(kEcma262UnCanonicalizeTable5,
1782 c,
1783 n,
1784 result,
1785 allow_caching_ptr);
1786 case 7: return LookupMapping<true>(kEcma262UnCanonicalizeTable7,
1789 c,
1790 n,
1791 result,
1792 allow_caching_ptr);
1793 default: return 0;
1794 }
1795}
GAsyncResult * result
static const MultiCharacterSpecialCase< 2 > kEcma262UnCanonicalizeMultiStrings1[83]
Definition: unibrow.cc:1553
static constexpr uint16_t kEcma262UnCanonicalizeTable7Size
Definition: unibrow.cc:1756
static constexpr uint16_t kEcma262UnCanonicalizeTable0Size
Definition: unibrow.cc:1174
static constexpr int32_t kEcma262UnCanonicalizeTable0[2010]
Definition: unibrow.cc:1175
static constexpr int32_t kEcma262UnCanonicalizeTable7[8]
Definition: unibrow.cc:1757
static constexpr int32_t kEcma262UnCanonicalizeTable5[396]
Definition: unibrow.cc:1704
static const MultiCharacterSpecialCase< 4 > kEcma262UnCanonicalizeMultiStrings0[507]
Definition: unibrow.cc:666
static constexpr uint16_t kEcma262UnCanonicalizeTable5Size
Definition: unibrow.cc:1702
static const MultiCharacterSpecialCase< 2 > kEcma262UnCanonicalizeMultiStrings7[3]
Definition: unibrow.cc:1754
static constexpr int32_t kEcma262UnCanonicalizeTable1[298]
Definition: unibrow.cc:1576
static constexpr uint16_t kEcma262UnCanonicalizeTable1Size
Definition: unibrow.cc:1575
static const MultiCharacterSpecialCase< 2 > kEcma262UnCanonicalizeMultiStrings5[104]
Definition: unibrow.cc:1597

Member Data Documentation

◆ kMaxWidth

constexpr intptr_t unibrow::Ecma262UnCanonicalize::kMaxWidth = 4
staticconstexpr

Definition at line 56 of file unibrow.h.


The documentation for this struct was generated from the following files: