chromium/third_party/brotli/common/transform.c

/* Copyright 2013 Google Inc. All Rights Reserved.

   Distributed under MIT license.
   See file LICENSE for detail or copy at https://opensource.org/licenses/MIT
*/

#include "transform.h"

#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif

/* RFC 7932 transforms string data */
static const char kPrefixSuffix[217] =; /* \0 - implicit trailing zero. */
/* Cx    _2    _7___ ___ _A    _F     _5        _8 */

static const uint16_t kPrefixSuffixMap[50] =;

/* RFC 7932 transforms */
static const uint8_t kTransformsData[] =;

static const BrotliTransforms kBrotliTransforms =;

const BrotliTransforms* BrotliGetTransforms(void) {}

static int ToUpperCase(uint8_t* p) {}

static int Shift(uint8_t* word, int word_len, uint16_t parameter) {}

int BrotliTransformDictionaryWord(uint8_t* dst, const uint8_t* word, int len,
    const BrotliTransforms* transforms, int transform_idx) {}

#if defined(__cplusplus) || defined(c_plusplus)
}  /* extern "C" */
#endif