mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-23 19:30:10 +00:00
77e1d15a1a
2000-03-28 Ulrich Drepper <drepper@redhat.com> * iconvdata/TESTS: Use UCS-2BE instead of UCS2. * iconv/loop.c: Define get16, get32, put16, and put32 macros to allow as well reading from/writing to unaligned addresses on machines which don't support this in hardware. Use FCTNAME macro to define function name. Include the file a second time for platforms which need special unaligned handling. * iconv/skeleton.c: Define get16u, get32u, put16u, and put32u macros to access potentially unaligned addresses. These macros are intended to be used only outside the loops. (unaligned): New definition. In case the machine can handle unaligned access define as zero. Otherwise as a variable which is initialized as nonzero in case the buffer passed in at runtime is unaligned with respect to the character set encoding involved. Call aligned or unaligned looop functions according to unaligned variable. * iconvdata/8bit-gap.c: Use get16, get32, put16, and put32 instead of direct casting pointer to potentially handle unaligned memory accesses. * iconvdata/8bit-generic.c: Likewise. * iconvdata/ansi_x3.110.c: Likewise. * iconvdata/big5.c: Likewise. * iconvdata/euc-cn.c: Likewise. * iconvdata/euc-jp.c: Likewise. * iconvdata/euc-kr.c: Likewise. * iconvdata/euc-tw.c: Likewise. * iconvdata/gbk.c: Likewise. * iconvdata/iso-2022-cn.c: Likewise. * iconvdata/iso-2022-jp.c: Likewise. * iconvdata/iso-2022-kr.c: Likewise. * iconvdata/iso646.c: Likewise. * iconvdata/iso_6937-2.c: Likewise. * iconvdata/iso_6937.c: Likewise. * iconvdata/johab.c: Likewise. * iconvdata/sjis.c: Likewise. * iconvdata/t.61.c: Likewise. * iconvdata/uhc.c: Likewise. * iconvdata/unicode.c: Likewise. * iconvdata/utf-16.c: Likewise. * locale/programs/simple-hash.c: Little optimizations. Remove K&R prototypes. * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_check_all. * malloc/mcheck.c (mcheck_check_all): Renamed from check_all and made public. * malloc/mcheck.h (mcheck_check_all): Declare. * stdio-common/Makefile (tests): Add tst-obprintf.
83 lines
2.8 KiB
Plaintext
83 lines
2.8 KiB
Plaintext
# Available tests for iconv(1) (and therefore iconv(3)) in GNU libc.
|
|
# Copyright (C) 1998, 1999, 2000 Free Software Foundation, Inc.
|
|
# This file is part of the GNU C Library.
|
|
# Contributed by Ulrich Drepper <drepper@cygnus.com>, 1998.
|
|
#
|
|
# The GNU C Library is free software; you can redistribute it and/or
|
|
# modify it under the terms of the GNU Library General Public License as
|
|
# published by the Free Software Foundation; either version 2 of the
|
|
# License, or (at your option) any later version.
|
|
#
|
|
# The GNU C Library is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
# Library General Public License for more details.
|
|
#
|
|
# You should have received a copy of the GNU Library General Public
|
|
# License along with the GNU C Library; see the file COPYING.LIB. If not,
|
|
# write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
# Boston, MA 02111-1307, USA.
|
|
|
|
# Each line consists of at least four entries:
|
|
# 1. input file name.
|
|
# 2. output file name; this is different from the input file name only for
|
|
# conversions which do not produce the same output when the transformation
|
|
# is applied back and forth.
|
|
# 3. Y or N depending of whether the character set contains ASCII as a
|
|
# subset or not.
|
|
# 4.
|
|
# ...
|
|
# N. target coded character set.
|
|
|
|
ISO-8859-1 ISO-8859-1 Y UTF8
|
|
ISO-8859-2 ISO-8859-2 Y UCS4 UTF8
|
|
ISO-8859-3 ISO-8859-3 Y UTF8
|
|
ISO-8859-4 ISO-8859-4 Y UTF8
|
|
ISO-8859-5 ISO-8859-5 Y UTF8
|
|
ISO-8859-6 ISO-8859-6 Y UTF8
|
|
ISO-8859-7 ISO-8859-7 Y UTF8
|
|
ISO-8859-8 ISO-8859-8 Y UTF8
|
|
ISO-8859-9 ISO-8859-9 Y UTF8
|
|
ISO-8859-10 ISO-8859-10 Y UCS-2BE UTF8
|
|
ISO-8859-14 ISO-8859-14 Y UTF8
|
|
ISO-8859-15 ISO-8859-15 Y UTF8
|
|
ANSI_X3.4-1968 ANSI_X3.4-1968 Y UTF8
|
|
BS_4730 BS_4730 Y UTF8
|
|
CSA_Z243.4-1985-1 CSA_Z243.4-1985-1 Y UCS-2BE
|
|
CSA_Z243.4-1985-2 CSA_Z243.4-1985-2 Y UCS4
|
|
DIN_66003 DIN_66003 Y UTF8
|
|
DS_2089 DS_2089 Y UTF8
|
|
ES ES Y UTF8
|
|
ES2 ES2 Y UTF8
|
|
GB_1988-80 GB_1988-80 Y UTF8
|
|
IT IT Y UTF8
|
|
JIS_C6220-1969-RO JIS_C6220-1969-RO Y UTF8
|
|
JIS_C6229-1984-B JIS_C6229-1984-B Y UTF8
|
|
JUS_I.B1.002 JUS_I.B1.002 Y UTF8
|
|
KSC5636 KSC5636 Y UTF8
|
|
MSZ_7795.3 MSZ_7795.3 Y UTF8
|
|
NC_NC00-10 NC_NC00-10 Y UTF8
|
|
NF_Z_62-010 NF_Z_62-010 Y UTF8
|
|
NF_Z_62-010_1973 NF_Z_62-010_1973 Y UTF8
|
|
NS_4551-1 NS_4551-1 Y UTF8
|
|
NS_4551-2 NS_4551-2 Y UTF8
|
|
PT PT Y UTF8
|
|
PT2 PT2 Y UTF8
|
|
SEN_850200_B SEN_850200_B Y UTF8
|
|
SEN_850200_C SEN_850200_C Y UTF8
|
|
KOI-8 KOI-8 Y UTF8
|
|
KOI8-R KOI8-R Y UTF8
|
|
CP1250 CP1250 Y UTF8
|
|
CP1251 CP1251 Y UTF8
|
|
CP1252 CP1252 Y UTF8
|
|
CP1253 CP1253 Y UTF8
|
|
CP1254 CP1254 Y UTF8
|
|
CP1255 CP1255 Y UTF8
|
|
CP1256 CP1256 Y UTF8
|
|
CP1257 CP1257 Y UTF8
|
|
CP1258 CP1258 Y UTF8
|
|
ISO-2022-KR ISO-2022-KR N UTF8
|
|
EUC-KR EUC-KR Y UTF8
|
|
EUC-CN EUC-CN Y UTF8
|
|
GBK GBK Y UTF8
|