chromium/third_party/skia/src/sfnt/SkOTTable_name.cpp

/*
 * Copyright 2013 Google Inc.
 *
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

#include "src/sfnt/SkOTTable_name.h"

#include "src/base/SkEndian.h"
#include "src/base/SkTSearch.h"
#include "src/base/SkUTF.h"
#include "src/core/SkStringUtils.h"

static SkUnichar next_unichar_UTF16BE(const uint8_t** srcPtr, size_t* length) {}

static void SkString_from_UTF16BE(const uint8_t* utf16be, size_t length, SkString& utf8) {}

/** UnicodeFromMacRoman[macRomanPoint - 0x80] -> unicodeCodePoint.
 *  Derived from http://www.unicode.org/Public/MAPPINGS/VENDORS/APPLE/ROMAN.TXT .
 *  In MacRoman the first 128 code points match ASCII code points.
 *  This maps the second 128 MacRoman code points to unicode code points.
 */
static const uint16_t UnicodeFromMacRoman[0x80] =;

static void SkStringFromMacRoman(const uint8_t* macRoman, size_t length, SkString& utf8) {}

static const struct BCP47FromLanguageId {}
/** The Mac and Windows values do not conflict, so this is currently one single table. */
BCP47FromLanguageID[] =;

namespace {
bool BCP47FromLanguageIdLess(const BCP47FromLanguageId& a, const BCP47FromLanguageId& b) {}
}  // namespace

bool SkOTTableName::Iterator::next(SkOTTableName::Iterator::Record& record) {}