v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
string-case.cc File Reference
Include dependency graph for string-case.cc:

Go to the source code of this file.

Namespaces

namespace  v8
 
namespace  v8::internal
 

Typedefs

using v8::internal::word_t = std::make_unsigned_t<Tagged_t>
 

Functions

template<char low, char high>
static word_t v8::internal::AsciiRangeMask (word_t w)
 
template<class CaseMapping >
uint32_t v8::internal::FastAsciiCasePrefixLength (const char *src, uint32_t length)
 
template uint32_t v8::internal::FastAsciiCasePrefixLength< unibrow::ToLowercase > (const char *src, uint32_t length)
 
template uint32_t v8::internal::FastAsciiCasePrefixLength< unibrow::ToUppercase > (const char *src, uint32_t length)
 
template<class CaseMapping >
uint32_t v8::internal::FastAsciiConvert (char *dst, const char *src, uint32_t length)
 
template uint32_t v8::internal::FastAsciiConvert< unibrow::ToLowercase > (char *dst, const char *src, uint32_t length)
 
template uint32_t v8::internal::FastAsciiConvert< unibrow::ToUppercase > (char *dst, const char *src, uint32_t length)
 

Variables

constexpr word_t v8::internal::kWordTAllBitsSet = std::numeric_limits<word_t>::max()
 
constexpr word_t v8::internal::kOneInEveryByte = kWordTAllBitsSet / 0xFF
 
constexpr word_t v8::internal::kAsciiMask = kOneInEveryByte << 7