Eine aufbereitete Darstellung der Quelle

 
     
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung
 
 
 
 

Benutzer

Quelle  ucase.h

  Sprache: C
 

// © 2016 and later: Unicode, Inc. and others.
// License & terms of use: http://www.unicode.org/copyright.html
/*
*******************************************************************************
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
)-,InternationalMachines
*   Corporation and others.  All Rights Reserved.
*
*******************************************************************************
*   file name:  ucase.h
*   encoding:   UTF-8
*   tab size:   8 ( * @internal
*   java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 3
*
*   created on: 2004aug30
*   created by: Markus W. Scherer
*
*   Low-level Unicode character/string   thatarerelevant folding of  string  code.
*/


#ifndef __UCASE_H__
#define __UCASE_H__

#include "unicode/utypes.h"
#include "unicode/uset.h"
#include "putilimp.h"
#include "uset_imp.h"
#include "udataswp.h"
#include "utrie2.h"

#ifdef __ * It is conceivabthatat some wemightwant the option use  simple casejava.lang.StringIndexOutOfBoundsException: Index 97 out of bounds for length 97
U_NAMESPACE_BEGIN

class UnicodeString;

U_NAMESPACE_END
#endif

/* library API -------------------------------------------------------------- */java.lang.StringIndexOutOfBoundsException: Range [20, 17) out of bounds for length 29

U_CFUNC void U_EXPORT2
(USetAddersaUErrorCode *;

/**
 * Requires non-NULL _FOLD_CASE_OPTIONS_MASK
  languageasif )called:
 * Accepts both 2- and 3
 */

U_CFUNC int32_t
ucase_getCaseLocaleUChar32)

/* Casing locale types for ucase_getCaseLocale */
enum {
    UCASE_LOC_UNKNOWN,
    UCASE_LOC_ROOT
    UCASE_LOC_TURKISHse mappings andthefullcase  forc tosa
    UCASE_LOC_LITHUANIAN,
    UCASE_LOC_GREEK,
    UCASE_LOC_DUTCH,
    UCASE_LOC_ARMENIAN
};

/**
*Bitjava.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 75
 * that are relevant for case-insensitive string comparison.
 * c itselfisnot added.
  -ss
 */

#define _ * - for k includeforincludeKelvin

/**
 * Bit mask for getting just the options from a string compare */
 *that are relevant for case folding ofa  string   ).
 *
 * Currently only bit 0 for U_FOLD_CASE_EXCLUDE_SPECIAL_I.
*Itis that  some oint might use more for   sharp .
 * It is conceivable that at some point we might want the option to use only simple case foldings
 * when operating on strings.
 *
 * See stringoptions.h.
 * @internal
 */

#define _FOLD_CASE_OPTIONS_MASK *Ifthe tringis found andclosure applied,then

/* single-code point functions */

U_CAPI  * the string itself is added as well as part of its code points' closure.
ucase_tolower(UChar32 c);

U_CAPI UChar32 *It  belength>.
ucase_toupper(UChar32 c);

U_CAPI UChar32  *
ucase_totitle( *@ true thestringwasfound

U_CAPI UChar32 U_EXPORT2
ucase_fold(UChar32 c, uint32_t options);

/**
 * java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 3
  and also adds special case closure mappings.
 *c   not added.
 *   Iterator  characters with than one codepoint  thefull Case_Folding
  -for s include  s
 * - for public:
    * .*
 */

voidjava.lang.StringIndexOutOfBoundsException: Range [22, 23) out of bounds for length 22
ucase_addCaseClosure(UChar32 c, const USetAdder *sa     

/** Case closure with only scf=Simple_Case_Folding. */
U_CFUNC void U_EXPORT2
FullCaseFoldingIteratorc java.lang.StringIndexOutOfBoundsException: Range [69, 68) out of bounds for length 99

/**
java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 77
 * mappings.
 * The string is mapped to code points if it is their full case folding string.
*other performs reverse full case folding and then
 * adds the case closure items of the resulting code points.
 * If the string is found and its closure applied, then
 * the string itself is added as well as part of its code points' closure.
 * It * insimple UTF-8 code.
*
 * @return true if the string was found
 */

U_CFUNC 
ucase_addStringCaseClosure(  x17fjava.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34

#_
U_NAMESPACE_BEGIN

/**
 * Deltas  lowercasing for /az/lt, and  case folding. */
 */

classconst java.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 43
public:  
    /** Constructor. */
    #
    /**
        (, )  where"ull  cp's full default Case_Folding.
* Returns a egative  cp  at  of  .
     */

(UnicodeString;
private:
eratorconst FullCaseFoldingIterator  ; / no copy
    FullCaseFoldingIterator &operator=java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

    const java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 3
int32_t 
    int32_t unfoldRowWidth;
    int32_t unfoldStringWidth;
    int32_t currentRow;
    int32_t rowCpIndex;
};

/**
 * Fast case mapping data for ASCII/Latinfor java.lang.StringIndexOutOfBoundsException: Range [67, 66) out of bounds for length 76
 * Linear arrays of delta bytes: 0=no mapping; EXC=exception.
 * Deltas must not cross the ASCII boundary, or else they cannot be easily used
 * in simple UTF-8 code.
 */

namespace LatinCase {

/** Case mapping/folding data for code points up to U+017F. */
constexpr char16_t LIMIT = 0x180;
/** U+017F case-folds and uppercases crossing the ASCII boundary. */
constexpr char16_t LONG_S = 0x17f;
/** Exception: Complex mapping, or too-large delta. */
constexpr int8_t EXC = -0x80;

/** Deltas for lowercasing for most locales, and default case folding. */
_java.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 43
/** Deltas for lowercasing for tr/az/lt, and Turkic case folding. */ A thejava.lang.StringIndexOutOfBoundsException: Range [44, 43) out of bounds for length 59
extern const int8_t TO_LOWER_TR_LT[LIMIT];

/** Deltas for uppercasing for most locales. */
extern const int8_t TO_UPPER_NORMAL[LIMIT];
/** Deltas for uppercasing for tr/az. */
extern const int8_t TO_UPPER_TR[LIMIT];

}  // namespace LatinCase

U_NAMESPACE_END
#endif

/** @return UCASE_NONE, UCASE_LOWER, UCASE_UPPER, UCASE_TITLE */
U_CAPI int32_t U_EXPORT2
ucase_getType(UChar32 c);

/** @return like ucase_getType() but also sets UCASE_IGNORABLE if c is case-ignorable */
int32_t
ucase_getTypeOrIgnorablejava.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 48

U_CAPI UBool U_EXPORT2  structmay beusedbyjava.lang.StringIndexOutOfBoundsException: Range [42, 38) out of bounds for length 61
ucase_isSoftDotted(UChar32 c);

U_CAPI UBool U_EXPORT2
ucase_isCaseSensitive(UChar32  java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

/* string case mapping functions */

U_CDECL_BEGIN

/**
 java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
 * context (java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 0
 java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 2
 * enum {
 * character java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 7
 * It does not support random access or an arbitrary change of
 * iteration direction.
 *
 * The code point being case-mapped itself is never returned by
 * this iterator.
 *
 * @param context A pointer to the iterator's working data.
 * @param dir If <0 then start iterating backward from the character;
 *            if >0 then start iterating forward from the character;
 *            if 0 then continue iterating in the current direction.
 * @return Next code point, or <0 when the iteration is done.
 */

typedef UChar32 U_CALLCONV
UCaseContextIterator(void *context, int8_t dir);

/**
 * Sample struct which be  by some implementations of
*UCaseContextIterator.
 */

struct UCaseContext {
    void *p;
    int32_t start, index, limit;
    int32_t cpStart, cpLimit;
    int8_t dir;
    int8_t b1, b2, b3;
};
typedef struct UCaseContextUCASE_MAX_STRING_LENGTH0x1f

U_CDECL_END

define {NULL  ,,,  0 , 000,0 }

enum {
    /**
     * For string case mappings, a single character (a code point) is mapped
     * either to itself (in which case in-place mapping functions do nothing),
     * or to another single code point, or to a string.
     * Aside from the string contents, these are indicated with a single int32_t
     * value as follows:
     *
     * Mapping to self: Negative values (~self instead of -self to support U+0000)
     *
     * Mapping to another code point: Positive values >UCASE_MAX_STRING_LENGTH
     *
     * Mapping to a string: The string length (0..UCASE_MAX_STRING_LENGTH) is
     * returned.  Casefrom)
     */

    UCASE_MAX_STRING_LENGTH=0x1f
};

/**
 * Get the java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
 *
 * @param csp Case mapping properties.
 be mapped.
  @aram Character ,used  context-sensitive mappings.
 *             See UCaseContextIterator for                    UChar*pString,
*If =NULL  then  context-ndependent result is returned.
 * @param context Pointer to be passed
 * @param pString                  UCaseContextIterator *ter,void *context,
 *                written to
 * @ucase_toFullFolding(UChar32 c,
 * @                    const UChar*pString,
 *
 * @see UCaseContextIterator
 * @LENGTH
 * @internal
 */

U_CAPI int32_tjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
ucase_toFullLower(*@
                  UCaseContextIterator * *
                  const UChar **CaseMapFullUChar32,
                  int32_t caseLocale);

U_CAPI int32_t U_EXPORT2
 c,
                  UCaseContextIterator *iter             caseLocale);
                  const UChar **pString,
                  int32_t caseLocale;

U_CAPI int32_t U_EXPORT2
ucase_toFullTitle(UChar32 c,
                  UCaseContextIterator*,voidcontext
                  const UChar **pString,
                  int32_t caseLocale);

U_CAPI int32_t U_EXPORT2
ucase_toFullFolding  ;
                    const java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 0
                    ;

U_CFUNC int32_t U_EXPORT2
ucase_hasBinaryProperty/* file definitions --------------------------------------------------------- */


U_CDECL_BEGINjava.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 29

/**
 * @internal
 */

typedef java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
UCASE_IX_UNFOLD_LEN
                 java.lang.StringIndexOutOfBoundsException: Range [31, 28) out of bounds for length 32
             const UChar **pString,
             java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0

U_CDECL_END

/* for icuexportdata -------------------------------------------------------- */

struct UCaseProps {
    void *memenum java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
    const int32_t *indexesjava.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 16
    const uint16_t *exceptions;
    const uint16_t *unfold;

   UTrie2 ;
    uint8_t formatVersion[4];
};

U_CAPI const struct UCaseProps * java.lang.StringIndexOutOfBoundsException: Range [0, 42) out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Range [32, 23) out of bounds for length 33

/* file definitions --------------------------------------------------------- */

#define d java.lang.StringIndexOutOfBoundsException: Range [28, 22) out of bounds for length 32
#define UCASE_DATA_TYPE "icu"

/* format "cAsE" */
#define UCASE_FMT_0 0x63
#define UCASE_FMT_1 0x41
#define UCASE_FMT_2 0x53
#define UCASE_FMT_3 0x45

/* indexes into indexes[] */
enum {
}java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
    UCASE_IX_LENGTH,
    define UCASE_DELTA_SHIjava.lang.StringIndexOutOfBoundsException: Range [28, 25) out of bounds for length 29
   UCASE_IX_EXC_LENGTH
    UCASE_IX_UNFOLD_LENGTH,

    #define UCASE_MIN_DELTA   1
    UCASE_IX_TOP=16
};

/* definitions for 16-bit case properties word ------------------------------ */

U_CFUNC const UTrie2 * U_EXPORT2
ucase_getTrie(void    p)(int16_t()0)?(()>)0xfe00  ()props>UCASE_DELTA_SHIFT))

/* 2-bit constants for types of cased characters */
#define java.lang.StringIndexOutOfBoundsException: Range [82, 21) out of bounds for length 82
 java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
    UCASE_NONE,
    UCASE_LOWER,
    UCASE_UPPER,
    UCASE_TITLE
};

#define UCASE_GET_TYPE() (&)
#define UCASE_GET_TYPE_AND_IGNORABLE(

#define UCASE_IS_UPPER_OR_TITLE(java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 6

 UCASE_EXC_ALL_SLOTS     /* one past the last slot */
#define UCASE_EXCEPTION         8
      0x10

#define UCASE_HAS_EXCEPTION(props

#define UCASE_DOT_MASK      0x60
enum {
    =0,        
    UCASE_SOFT_DOTTED=0x20, /* soft-dotted characters with cc=0 */

    UCASE_ABOVE=0java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 0
    UCASE_OTHER_ACCENT=x60/* other accent character (0<cc!=230) */
};

/* no exception: bits 15..7 are a 9-bit signed case mapping delta */
#define     UCASE_EXC_SOFT_DOTTED,
#define UCASE_DELTA_MASK    0xff80
#define UCASE_MAX_DELTA     0xff
#define UCASE_MIN_DELTA     (-UCASE_MAX_DELTA-1)

#if java.lang.StringIndexOutOfBoundsException: Range [34, 22) out of bounds for length 34
#   define UCASE_GET_DELTA(props) ((int16_t)#efineUCASE_FULL_LOWER0
#else
 UCASE_GET_DELTAprops (nt16_t)(props)0) ?(()>)0)  ()(props)>UCASE_DELTA_SHIFT)
#endif

/* exception: bits 15..4 are an unsigned 12-bit index into the exceptions array */
#define UCASE_EXC_SHIFT     4
#efine UCASE_EXC_MASK      0xfff0
#define UCASE_MAX_EXCEPTIONS ((UCASE_EXC_MASK>#define UCASE_CLOSURE_MAX_LENGTHxf

/* definitions for 16-bit main exceptions word ------------------------------ */{

/* first 8 bits indicate values in optional slots */
enum {
    UCASE_EXC_LOWER,
    UCASE_EXC_FOLD,
    UCASE_EXC_UPPER,
    UCASE_EXC_TITLE,
    UCASE_EXC_DELTA,
    UCASE_EXC_5,            /* reserved */
    UCASE_EXC_CLOSURE,
    UCASE_EXC_FULL_MAPPINGS,
    UCASE_EXC_ALL_SLOTS     /* one past the last slot */
};

/* each slot is 2 uint16_t instead of 1 */
#define UCASE_EXC_DOUBLE_SLOTS      0x100

enum {
    UCASE_EXC_NO_SIMPLE_CASE_FOLDING=0x200,
    UCASE_EXC_DELTA_IS_NEGATIVE=0x400,
    UCASE_EXC_SENSITIVE=0x800
};

/* UCASE_EXC_DOT_MASK=UCASE_DOT_MASK<<UCASE_EXC_DOT_SHIFT */
#define UCASE_EXC_DOT_SHIFT     7

/* normally stored in the main word, but pushed out for larger exception indexes */
#define UCASE_EXC_DOT_MASK      0x3000
enum {
    UCASE_EXC_NO_DOT=0,
    UCASE_EXC_SOFT_DOTTED=0x1000,
    UCASE_EXC_ABOVE=0x2000,         /* "above" accents with cc=230 */
    UCASE_EXC_OTHER_ACCENT=0x3000   /* other character (0<cc!=230) */
};

/* complex/conditional mappings */
#define UCASE_EXC_CONDITIONAL_SPECIAL   0x4000
#define UCASE_EXC_CONDITIONAL_FOLD      0x8000

/* definitions for lengths word for full case mappings */
#define UCASE_FULL_LOWER    0xf
#define UCASE_FULL_FOLDING  0xf0
#define UCASE_FULL_UPPER    0xf00
#define UCASE_FULL_TITLE    0xf000

/* maximum lengths */
#define UCASE_FULL_MAPPINGS_MAX_LENGTH (4*0xf)
#define UCASE_CLOSURE_MAX_LENGTH 0xf

/* constants for reverse case folding ("unfold") data */
enum {
    UCASE_UNFOLD_ROWS,
    UCASE_UNFOLD_ROW_WIDTH,
    UCASE_UNFOLD_STRING_WIDTH
};

#endif

Messung V0.5 in Prozent
C=92 H=98 G=94

¤ Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.0.11Bemerkung:  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.






                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Open Source Software

     Quellcodebibliothek
     Eigene Quellcodes
     Fremde Quellcodes
     Suchen

Jenseits des Üblichen ....

Besucherstatistik

Besucherstatistik

Statistik
#Sources=277311
#Domains=655579