chromium/third_party/angle/src/compiler/translator/ImmutableString_ESSL_autogen.cpp

// GENERATED FILE - DO NOT EDIT.
// Generated by gen_builtin_symbols.py using data from builtin_variables.json and
// builtin_function_declarations.txt.
//
// Copyright 2020 The ANGLE Project Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// ImmutableString_ESSL_autogen.cpp: Wrapper for static or pool allocated char arrays, that are
// guaranteed to be valid and unchanged for the duration of the compilation. Implements
// mangledNameHash using perfect hash function from gen_builtin_symbols.py

#include "compiler/translator/ImmutableString.h"

std::ostream &operator<<(std::ostream &os, const sh::ImmutableString &str)
{}

#if defined(_MSC_VER)
#    pragma warning(disable : 4309)  // truncation of constant value
#endif

namespace
{

constexpr int mangledkT1[] =;
constexpr int mangledkT2[] =;
constexpr int mangledkG[]  =;

int MangledHashG(const char *key, const int *T)
{}

int MangledPerfectHash(const char *key)
{}

constexpr int unmangledkT1[] =;
constexpr int unmangledkT2[] =;
constexpr int unmangledkG[]  =;

int UnmangledHashG(const char *key, const int *T)
{}

int UnmangledPerfectHash(const char *key)
{}

}  // namespace

namespace sh
{

template <>
const size_t ImmutableString::FowlerNollVoHash<4>::kFnvPrime =;

template <>
const size_t ImmutableString::FowlerNollVoHash<4>::kFnvOffsetBasis =;

template <>
const size_t ImmutableString::FowlerNollVoHash<8>::kFnvPrime =;

template <>
const size_t ImmutableString::FowlerNollVoHash<8>::kFnvOffsetBasis =;

uint32_t ImmutableString::mangledNameHash() const
{}

uint32_t ImmutableString::unmangledNameHash() const
{}

}  // namespace sh