chromium/third_party/icu/source/common/uscript_props.cpp

// © 2016 and later: Unicode, Inc. and others.
// License & terms of use: http://www.unicode.org/copyright.html
/*
*******************************************************************************
*   Copyright (C) 2013-2016, International Business Machines
*   Corporation and others.  All Rights Reserved.
*******************************************************************************
*   file name:  uscript_props.cpp
*   encoding:   UTF-8
*   tab size:   8 (not used)
*   indentation:4
*
*   created on: 2013feb16
*   created by: Markus W. Scherer
*/

#include "unicode/utypes.h"
#include "unicode/unistr.h"
#include "unicode/uscript.h"
#include "unicode/utf16.h"
#include "ustr_imp.h"
#include "cmemory.h"

namespace {

// Script metadata (script properties).
// See http://unicode.org/cldr/trac/browser/trunk/common/properties/scriptMetadata.txt

// 0 = NOT_ENCODED, no sample character, default false script properties.
// Bits 20.. 0: sample character

// Bits 23..21: usage
const int32_t UNKNOWN =;
const int32_t EXCLUSION =;
const int32_t LIMITED_USE =;
// st int32_t ASPIRATIONAL = 4 << 21; -- not used any more since Unicode 10
const int32_t RECOMMENDED =;

// Bits 31..24: Single-bit flags
const int32_t RTL =;
const int32_t LB_LETTERS =;
const int32_t CASED =;

const int32_t SCRIPT_PROPS[] =;

int32_t getScriptProps(UScriptCode script) {}

}  // namespace

U_CAPI int32_t U_EXPORT2
uscript_getSampleString(UScriptCode script, char16_t *dest, int32_t capacity, UErrorCode *pErrorCode) {}

U_COMMON_API icu::UnicodeString U_EXPORT2
uscript_getSampleUnicodeString(UScriptCode script) {}

U_CAPI UScriptUsage U_EXPORT2
uscript_getUsage(UScriptCode script) {}

U_CAPI UBool U_EXPORT2
uscript_isRightToLeft(UScriptCode script) {}

U_CAPI UBool U_EXPORT2
uscript_breaksBetweenLetters(UScriptCode script) {}

U_CAPI UBool U_EXPORT2
uscript_isCased(UScriptCode script) {}