summaryrefslogtreecommitdiff
path: root/test/locale-mbwc/tst_mbrlen.i
diff options
context:
space:
mode:
Diffstat (limited to 'test/locale-mbwc/tst_mbrlen.i')
-rw-r--r--test/locale-mbwc/tst_mbrlen.i8009
1 files changed, 0 insertions, 8009 deletions
diff --git a/test/locale-mbwc/tst_mbrlen.i b/test/locale-mbwc/tst_mbrlen.i
deleted file mode 100644
index 95a00f8be..000000000
--- a/test/locale-mbwc/tst_mbrlen.i
+++ /dev/null
@@ -1,8009 +0,0 @@
-# 1 "tst_mbrlen.c"
-# 1 "/vob/stsca_uClibc-nptl/uClibc-nptl/test/locale-mbwc//"
-# 1 "<built-in>"
-#define __STDC__ 1
-# 1 "<built-in>"
-#define __STDC_HOSTED__ 1
-# 1 "<built-in>"
-#define __GNUC__ 4
-# 1 "<built-in>"
-#define __GNUC_MINOR__ 1
-# 1 "<built-in>"
-#define __GNUC_PATCHLEVEL__ 1
-# 1 "<built-in>"
-#define __SIZE_TYPE__ unsigned int
-# 1 "<built-in>"
-#define __PTRDIFF_TYPE__ int
-# 1 "<built-in>"
-#define __WCHAR_TYPE__ long int
-# 1 "<built-in>"
-#define __WINT_TYPE__ unsigned int
-# 1 "<built-in>"
-#define __INTMAX_TYPE__ long long int
-# 1 "<built-in>"
-#define __UINTMAX_TYPE__ long long unsigned int
-# 1 "<built-in>"
-#define __GXX_ABI_VERSION 1002
-# 1 "<built-in>"
-#define __SCHAR_MAX__ 127
-# 1 "<built-in>"
-#define __SHRT_MAX__ 32767
-# 1 "<built-in>"
-#define __INT_MAX__ 2147483647
-# 1 "<built-in>"
-#define __LONG_MAX__ 2147483647L
-# 1 "<built-in>"
-#define __LONG_LONG_MAX__ 9223372036854775807LL
-# 1 "<built-in>"
-#define __WCHAR_MAX__ 2147483647
-# 1 "<built-in>"
-#define __CHAR_BIT__ 8
-# 1 "<built-in>"
-#define __INTMAX_MAX__ 9223372036854775807LL
-# 1 "<built-in>"
-#define __FLT_EVAL_METHOD__ 0
-# 1 "<built-in>"
-#define __FLT_RADIX__ 2
-# 1 "<built-in>"
-#define __FLT_MANT_DIG__ 24
-# 1 "<built-in>"
-#define __FLT_DIG__ 6
-# 1 "<built-in>"
-#define __FLT_MIN_EXP__ (-125)
-# 1 "<built-in>"
-#define __FLT_MIN_10_EXP__ (-37)
-# 1 "<built-in>"
-#define __FLT_MAX_EXP__ 128
-# 1 "<built-in>"
-#define __FLT_MAX_10_EXP__ 38
-# 1 "<built-in>"
-#define __FLT_MAX__ 3.40282347e+38F
-# 1 "<built-in>"
-#define __FLT_MIN__ 1.17549435e-38F
-# 1 "<built-in>"
-#define __FLT_EPSILON__ 1.19209290e-7F
-# 1 "<built-in>"
-#define __FLT_DENORM_MIN__ 1.40129846e-45F
-# 1 "<built-in>"
-#define __FLT_HAS_INFINITY__ 1
-# 1 "<built-in>"
-#define __FLT_HAS_QUIET_NAN__ 1
-# 1 "<built-in>"
-#define __DBL_MANT_DIG__ 53
-# 1 "<built-in>"
-#define __DBL_DIG__ 15
-# 1 "<built-in>"
-#define __DBL_MIN_EXP__ (-1021)
-# 1 "<built-in>"
-#define __DBL_MIN_10_EXP__ (-307)
-# 1 "<built-in>"
-#define __DBL_MAX_EXP__ 1024
-# 1 "<built-in>"
-#define __DBL_MAX_10_EXP__ 308
-# 1 "<built-in>"
-#define __DBL_MAX__ 1.7976931348623157e+308
-# 1 "<built-in>"
-#define __DBL_MIN__ 2.2250738585072014e-308
-# 1 "<built-in>"
-#define __DBL_EPSILON__ 2.2204460492503131e-16
-# 1 "<built-in>"
-#define __DBL_DENORM_MIN__ 4.9406564584124654e-324
-# 1 "<built-in>"
-#define __DBL_HAS_INFINITY__ 1
-# 1 "<built-in>"
-#define __DBL_HAS_QUIET_NAN__ 1
-# 1 "<built-in>"
-#define __LDBL_MANT_DIG__ 53
-# 1 "<built-in>"
-#define __LDBL_DIG__ 15
-# 1 "<built-in>"
-#define __LDBL_MIN_EXP__ (-1021)
-# 1 "<built-in>"
-#define __LDBL_MIN_10_EXP__ (-307)
-# 1 "<built-in>"
-#define __LDBL_MAX_EXP__ 1024
-# 1 "<built-in>"
-#define __LDBL_MAX_10_EXP__ 308
-# 1 "<built-in>"
-#define __DECIMAL_DIG__ 17
-# 1 "<built-in>"
-#define __LDBL_MAX__ 1.7976931348623157e+308L
-# 1 "<built-in>"
-#define __LDBL_MIN__ 2.2250738585072014e-308L
-# 1 "<built-in>"
-#define __LDBL_EPSILON__ 2.2204460492503131e-16L
-# 1 "<built-in>"
-#define __LDBL_DENORM_MIN__ 4.9406564584124654e-324L
-# 1 "<built-in>"
-#define __LDBL_HAS_INFINITY__ 1
-# 1 "<built-in>"
-#define __LDBL_HAS_QUIET_NAN__ 1
-# 1 "<built-in>"
-#define __REGISTER_PREFIX__
-# 1 "<built-in>"
-#define __USER_LABEL_PREFIX__
-# 1 "<built-in>"
-#define __VERSION__ "4.1.1 (STMicroelectronics Special) [build Jun 26 2007]"
-# 1 "<built-in>"
-#define __NO_INLINE__ 1
-# 1 "<built-in>"
-#define __FINITE_MATH_ONLY__ 1
-# 1 "<built-in>"
-#define __sh__ 1
-# 1 "<built-in>"
-#define __SH4__ 1
-# 1 "<built-in>"
-#define __SH_FPU_ANY__ 1
-# 1 "<built-in>"
-#define __SH_FPU_DOUBLE__ 1
-# 1 "<built-in>"
-#define __LITTLE_ENDIAN__ 1
-# 1 "<built-in>"
-#define __gnu_linux__ 1
-# 1 "<built-in>"
-#define __linux 1
-# 1 "<built-in>"
-#define __linux__ 1
-# 1 "<built-in>"
-#define linux 1
-# 1 "<built-in>"
-#define __unix 1
-# 1 "<built-in>"
-#define __unix__ 1
-# 1 "<built-in>"
-#define unix 1
-# 1 "<built-in>"
-#define __ELF__ 1
-# 1 "<command line>"
-#define DEBUG 1
-# 1 "<command line>"
-#define _GNU_SOURCE 1
-# 1 "<command line>"
-#define __USE_GNU 1
-# 1 "<command line>"
-# 1 "./../../include/libc-symbols.h" 1
-# 23 "./../../include/libc-symbols.h"
-#define _LIBC_SYMBOLS_H 1
-# 41 "./../../include/libc-symbols.h"
-# 1 "../../include/bits/uClibc_arch_features.h" 1
-
-
-
-
-
-#define _BITS_UCLIBC_ARCH_FEATURES_H
-
-
-
-
-
-#define __UCLIBC_ABORT_INSTRUCTION__ "trapa #0xff"
-
-
-
-#define __UCLIBC_MMAP_HAS_6_ARGS__
-
-
-#undef __UCLIBC_TRUNCATE64_HAS_4_ARGS__
-
-
-#undef __UCLIBC_BROKEN_CREATE_MODULE__
-
-
-#undef __UCLIBC_HANDLE_OLDER_RLIMIT__
-
-
-#define __UCLIBC_NO_UNDERSCORES__
-
-
-#define __UCLIBC_HAVE_ASM_SET_DIRECTIVE__
-
-
-#undef __UCLIBC_ASM_GLOBAL_DIRECTIVE__
-
-
-#define __UCLIBC_HAVE_ASM_WEAK_DIRECTIVE__
-
-
-#undef __UCLIBC_HAVE_ASM_WEAKEXT_DIRECTIVE__
-
-
-#undef __UCLIBC_HAVE_ASM_GLOBAL_DOT_NAME__
-
-
-#define __UCLIBC_HAVE_SIGNED_ZERO__
-# 42 "./../../include/libc-symbols.h" 2
-# 51 "./../../include/libc-symbols.h"
-#define _LIBC 1
-
-
-#define _GNU_SOURCE 1
-
-
-
-
-
-
-#define likely(x) __builtin_expect((!!(x)),1)
-
-
-#define unlikely(x) __builtin_expect((!!(x)),0)
-
-
-#define __LINUX_COMPILER_H
-
-
-#define __cast__(_to)
-
-
-#define attribute_unused __attribute__ ((unused))
-
-
-#define attribute_noreturn __attribute__ ((__noreturn__))
-
-
-
-
-
-#define IS_IN_libc 1
-
-
-
-#define NO_UNDERSCORES
-
-
-
-
-
-#define HAVE_ASM_SET_DIRECTIVE
-
-
-
-
-
-
-
-#define ASM_GLOBAL_DIRECTIVE .global
-
-
-
-#define HAVE_ASM_WEAK_DIRECTIVE
-
-
-
-
-
-
-
-#undef HAVE_ASM_WEAKEXT_DIRECTIVE
-
-
-
-
-
-#undef HAVE_ASM_GLOBAL_DOT_NAME
-
-
-
-#define HAVE_WEAK_SYMBOLS
-
-
-#undef C_SYMBOL_NAME
-
-
-#define C_SYMBOL_NAME(name) name
-
-
-
-
-
-
-#define ASM_LINE_SEP ;
-# 154 "./../../include/libc-symbols.h"
-#define strong_alias(name,aliasname) _strong_alias(name, aliasname)
-#define _strong_alias(name,aliasname) extern __typeof (name) aliasname __attribute__ ((alias (#name)));
-
-
-
-
-#define weak_function __attribute__ ((weak))
-#define weak_const_function __attribute__ ((weak, __const__))
-
-
-
-
-
-#define weak_alias(name,aliasname) _weak_alias (name, aliasname)
-#define _weak_alias(name,aliasname) extern __typeof (name) aliasname __attribute__ ((weak, alias (#name)));
-
-
-
-#define weak_extern(symbol) _weak_extern (weak symbol)
-#define _weak_extern(expr) _Pragma (#expr)
-# 278 "./../../include/libc-symbols.h"
-#define internal_function
-
-
-
-#define __make_section_unallocated(section_string) __asm__ (".section " section_string "\n\t.previous");
-
-
-
-
-
-
-
-#define __sec_comment "\n\t#"
-
-
-
-
-
-
-
-#define link_warning(symbol,msg) __make_section_unallocated (".gnu.warning." #symbol) static const char __evoke_link_warning_ ##symbol[] __attribute__ ((used, section (".gnu.warning." #symbol __sec_comment))) = msg;
-# 323 "./../../include/libc-symbols.h"
-#define INTUSE(name) name
-#define INTDEF(name)
-#define INTVARDEF(name)
-#define INTDEF2(name,newname)
-#define INTVARDEF2(name,newname)
-# 419 "./../../include/libc-symbols.h"
-#define attribute_hidden __attribute__ ((visibility ("hidden")))
-#define __hidden_proto_hiddenattr(attrs...) __attribute__ ((visibility ("hidden"), ##attrs))
-
-
-
-
-
-
-
-#define hidden_proto(name,attrs...) __hidden_proto (name, __GI_ ##name, ##attrs)
-#define __hidden_proto(name,internal,attrs...) extern __typeof (name) name __asm__ (__hidden_asmname (#internal)) __hidden_proto_hiddenattr (attrs);
-
-
-#define __hidden_asmname(name) __hidden_asmname1 (__USER_LABEL_PREFIX__, name)
-#define __hidden_asmname1(prefix,name) __hidden_asmname2(prefix, name)
-#define __hidden_asmname2(prefix,name) #prefix name
-#define __hidden_ver1(local,internal,name) extern __typeof (name) __EI_ ##name __asm__(__hidden_asmname (#internal)); extern __typeof (name) __EI_ ##name __attribute__((alias (__hidden_asmname1 (,#local))))
-
-
-#define hidden_def(name) __hidden_ver1(__GI_ ##name, name, name);
-#define hidden_data_def(name) hidden_def(name)
-#define hidden_weak(name) __hidden_ver1(__GI_ ##name, name, name) __attribute__((weak));
-#define hidden_data_weak(name) hidden_weak(name)
-# 515 "./../../include/libc-symbols.h"
-#define versioned_symbol(lib,local,symbol,version)
-#define hidden_ver(local,name)
-#define hidden_data_ver(local,name)
-
-
-#define libc_hidden_proto(name,attrs...) hidden_proto (name, ##attrs)
-#define libc_hidden_def(name) hidden_def (name)
-#define libc_hidden_weak(name) hidden_weak (name)
-#define libc_hidden_ver(local,name) hidden_ver (local, name)
-#define libc_hidden_data_def(name) hidden_data_def (name)
-#define libc_hidden_data_weak(name) hidden_data_weak (name)
-#define libc_hidden_data_ver(local,name) hidden_data_ver (local, name)
-# 546 "./../../include/libc-symbols.h"
-#define rtld_hidden_proto(name,attrs...)
-#define rtld_hidden_def(name)
-#define rtld_hidden_weak(name)
-#define rtld_hidden_ver(local,name)
-#define rtld_hidden_data_def(name)
-#define rtld_hidden_data_weak(name)
-#define rtld_hidden_data_ver(local,name)
-# 564 "./../../include/libc-symbols.h"
-#define libm_hidden_proto(name,attrs...)
-#define libm_hidden_def(name)
-#define libm_hidden_weak(name)
-#define libm_hidden_ver(local,name)
-#define libm_hidden_data_def(name)
-#define libm_hidden_data_weak(name)
-#define libm_hidden_data_ver(local,name)
-# 582 "./../../include/libc-symbols.h"
-#define libresolv_hidden_proto(name,attrs...)
-#define libresolv_hidden_def(name)
-#define libresolv_hidden_weak(name)
-#define libresolv_hidden_ver(local,name)
-#define libresolv_hidden_data_def(name)
-#define libresolv_hidden_data_weak(name)
-#define libresolv_hidden_data_ver(local,name)
-# 600 "./../../include/libc-symbols.h"
-#define librt_hidden_proto(name,attrs...)
-#define librt_hidden_def(name)
-#define librt_hidden_weak(name)
-#define librt_hidden_ver(local,name)
-#define librt_hidden_data_def(name)
-#define librt_hidden_data_weak(name)
-#define librt_hidden_data_ver(local,name)
-# 618 "./../../include/libc-symbols.h"
-#define libdl_hidden_proto(name,attrs...)
-#define libdl_hidden_def(name)
-#define libdl_hidden_weak(name)
-#define libdl_hidden_ver(local,name)
-#define libdl_hidden_data_def(name)
-#define libdl_hidden_data_weak(name)
-#define libdl_hidden_data_ver(local,name)
-# 636 "./../../include/libc-symbols.h"
-#define libintl_hidden_proto(name,attrs...)
-#define libintl_hidden_def(name)
-#define libintl_hidden_weak(name)
-#define libintl_hidden_ver(local,name)
-#define libintl_hidden_data_def(name)
-#define libintl_hidden_data_weak(name)
-#define libintl_hidden_data_ver(local,name)
-# 654 "./../../include/libc-symbols.h"
-#define libnsl_hidden_proto(name,attrs...)
-#define libnsl_hidden_def(name)
-#define libnsl_hidden_weak(name)
-#define libnsl_hidden_ver(local,name)
-#define libnsl_hidden_data_def(name)
-#define libnsl_hidden_data_weak(name)
-#define libnsl_hidden_data_ver(local,name)
-# 672 "./../../include/libc-symbols.h"
-#define libutil_hidden_proto(name,attrs...)
-#define libutil_hidden_def(name)
-#define libutil_hidden_weak(name)
-#define libutil_hidden_ver(local,name)
-#define libutil_hidden_data_def(name)
-#define libutil_hidden_data_weak(name)
-#define libutil_hidden_data_ver(local,name)
-# 690 "./../../include/libc-symbols.h"
-#define libcrypt_hidden_proto(name,attrs...)
-#define libcrypt_hidden_def(name)
-#define libcrypt_hidden_weak(name)
-#define libcrypt_hidden_ver(local,name)
-#define libcrypt_hidden_data_def(name)
-#define libcrypt_hidden_data_weak(name)
-#define libcrypt_hidden_data_ver(local,name)
-# 708 "./../../include/libc-symbols.h"
-#define libpthread_hidden_proto(name,attrs...)
-#define libpthread_hidden_def(name)
-#define libpthread_hidden_weak(name)
-#define libpthread_hidden_ver(local,name)
-#define libpthread_hidden_data_def(name)
-#define libpthread_hidden_data_weak(name)
-#define libpthread_hidden_data_ver(local,name)
-# 1 "<command line>" 2
-# 1 "tst_mbrlen.c"
-
-
-
-
-#define TST_FUNCTION mbrlen
-
-# 1 "tsp_common.c" 1
-
-
-
-
-
-
-#define TST_FUNCTION_CALL(func) _TST_FUNCTION_CALL(func)
-#define _TST_FUNCTION_CALL(func) tst ##_ ## func
-
-# 1 "../../include/stdio.h" 1
-# 27 "../../include/stdio.h"
-#define _STDIO_H 1
-# 1 "../../include/features.h" 1
-# 20 "../../include/features.h"
-#define _FEATURES_H 1
-
-
-
-
-#define __UCLIBC__ 1
-# 34 "../../include/features.h"
-#define __need_uClibc_config_h
-# 1 "../../include/bits/uClibc_config.h" 1
-# 12 "../../include/bits/uClibc_config.h"
-#define __UCLIBC_MAJOR__ 0
-#define __UCLIBC_MINOR__ 9
-#define __UCLIBC_SUBLEVEL__ 29
-#undef __TARGET_alpha__
-#undef __TARGET_arm__
-#undef __TARGET_bfin__
-#undef __TARGET_cris__
-#undef __TARGET_e1__
-#undef __TARGET_frv__
-#undef __TARGET_h8300__
-#undef __TARGET_hppa__
-#undef __TARGET_i386__
-#undef __TARGET_i960__
-#undef __TARGET_ia64__
-#undef __TARGET_m68k__
-#undef __TARGET_microblaze__
-#undef __TARGET_mips__
-#undef __TARGET_nios__
-#undef __TARGET_nios2__
-#undef __TARGET_powerpc__
-#define __TARGET_sh__ 1
-#undef __TARGET_sh64__
-#undef __TARGET_sparc__
-#undef __TARGET_v850__
-#undef __TARGET_vax__
-#undef __TARGET_x86_64__
-
-
-
-
-#define __TARGET_ARCH__ "sh"
-#define __FORCE_OPTIONS_FOR_ARCH__ 1
-#undef __CONFIG_SH2A__
-#undef __CONFIG_SH2__
-#undef __CONFIG_SH3__
-#define __CONFIG_SH4__ 1
-#define __ARCH_HAS_BWD_MEMCPY__ 1
-#define __TARGET_SUBARCH__ "sh4"
-
-
-
-
-#define __ARCH_ANY_ENDIAN__ 1
-#define __ARCH_LITTLE_ENDIAN__ 1
-#undef __ARCH_WANTS_BIG_ENDIAN__
-#define __ARCH_WANTS_LITTLE_ENDIAN__ 1
-#define __ARCH_HAS_MMU__ 1
-#define __ARCH_USE_MMU__ 1
-#define __UCLIBC_HAS_FLOATS__ 1
-#define __UCLIBC_HAS_FPU__ 1
-#define __DO_C99_MATH__ 1
-#define __KERNEL_HEADERS__ "/opt/STM/STLinux-2.3ear/devkit/sh4/uclibc_target/usr/include"
-#define __HAVE_DOT_CONFIG__ 1
-
-
-
-
-#undef __HAVE_NO_PIC__
-#undef __DOPIC__
-#undef __HAVE_NO_SHARED__
-#undef __ARCH_HAS_NO_LDSO__
-#define __HAVE_SHARED__ 1
-#define __FORCE_SHAREABLE_TEXT_SEGMENTS__ 1
-#define __LDSO_LDD_SUPPORT__ 1
-#define __LDSO_CACHE_SUPPORT__ 1
-#undef __LDSO_PRELOAD_FILE_SUPPORT__
-#define __LDSO_BASE_FILENAME__ "ld.so"
-#undef __UCLIBC_STATIC_LDCONFIG__
-#define __LDSO_RUNPATH__ 1
-#define __UCLIBC_CTOR_DTOR__ 1
-#define __LDSO_GNU_HASH_SUPPORT__ 1
-#undef __HAS_NO_THREADS__
-#define __UCLIBC_HAS_THREADS__ 1
-#define __UCLIBC_HAS_THREADS_NATIVE__ 1
-#define __PTHREADS_DEBUG_SUPPORT__ 1
-#undef __LINUXTHREADS_OLD__
-#define __UCLIBC_HAS_LFS__ 1
-#undef __MALLOC__
-#undef __MALLOC_SIMPLE__
-#define __MALLOC_STANDARD__ 1
-#undef __MALLOC_GLIBC_COMPAT__
-#undef __UCLIBC_DYNAMIC_ATEXIT__
-#define __COMPAT_ATEXIT__ 1
-#define __UCLIBC_SUSV3_LEGACY__ 1
-#undef __UCLIBC_SUSV3_LEGACY_MACROS__
-#define __UCLIBC_HAS_SHADOW__ 1
-#undef __UCLIBC_HAS_PROGRAM_INVOCATION_NAME__
-#define __UCLIBC_HAS___PROGNAME__ 1
-#define __UNIX98PTY_ONLY__ 1
-#define __ASSUME_DEVPTS__ 1
-#define __UCLIBC_HAS_TM_EXTENSIONS__ 1
-#define __UCLIBC_HAS_TZ_CACHING__ 1
-#define __UCLIBC_HAS_TZ_FILE__ 1
-#define __UCLIBC_HAS_TZ_FILE_READ_MANY__ 1
-#define __UCLIBC_TZ_FILE_PATH__ "/etc/TZ"
-
-
-
-
-#define __UCLIBC_HAS_IPV6__ 1
-#define __UCLIBC_HAS_RPC__ 1
-#define __UCLIBC_HAS_FULL_RPC__ 1
-#define __UCLIBC_HAS_REENTRANT_RPC__ 1
-#undef __UCLIBC_USE_NETLINK__
-
-
-
-
-#define __UCLIBC_HAS_STRING_GENERIC_OPT__ 1
-#define __UCLIBC_HAS_STRING_ARCH_OPT__ 1
-#define __UCLIBC_HAS_CTYPE_TABLES__ 1
-#define __UCLIBC_HAS_CTYPE_SIGNED__ 1
-#define __UCLIBC_HAS_CTYPE_UNSAFE__ 1
-#undef __UCLIBC_HAS_CTYPE_CHECKED__
-#undef __UCLIBC_HAS_CTYPE_ENFORCED__
-#define __UCLIBC_HAS_WCHAR__ 1
-#define __UCLIBC_HAS_LOCALE__ 1
-#undef __UCLIBC_PREGENERATED_LOCALE_DATA__
-#undef __UCLIBC_HAS_XLOCALE__
-#undef __UCLIBC_HAS_HEXADECIMAL_FLOATS__
-#undef __UCLIBC_HAS_GLIBC_DIGIT_GROUPING__
-#undef __UCLIBC_HAS_GLIBC_CUSTOM_PRINTF__
-#define __UCLIBC_PRINTF_SCANF_POSITIONAL_ARGS__ 9
-#undef __UCLIBC_HAS_SCANF_GLIBC_A_FLAG__
-#undef __UCLIBC_HAS_STDIO_BUFSIZ_NONE__
-#undef __UCLIBC_HAS_STDIO_BUFSIZ_256__
-#undef __UCLIBC_HAS_STDIO_BUFSIZ_512__
-#undef __UCLIBC_HAS_STDIO_BUFSIZ_1024__
-#undef __UCLIBC_HAS_STDIO_BUFSIZ_2048__
-#define __UCLIBC_HAS_STDIO_BUFSIZ_4096__ 1
-#undef __UCLIBC_HAS_STDIO_BUFSIZ_8192__
-#define __UCLIBC_HAS_STDIO_BUILTIN_BUFFER_NONE__ 1
-#undef __UCLIBC_HAS_STDIO_BUILTIN_BUFFER_4__
-#undef __UCLIBC_HAS_STDIO_BUILTIN_BUFFER_8__
-#undef __UCLIBC_HAS_STDIO_SHUTDOWN_ON_ABORT__
-#define __UCLIBC_HAS_STDIO_GETC_MACRO__ 1
-#define __UCLIBC_HAS_STDIO_PUTC_MACRO__ 1
-#define __UCLIBC_HAS_STDIO_AUTO_RW_TRANSITION__ 1
-#undef __UCLIBC_HAS_FOPEN_LARGEFILE_MODE__
-#undef __UCLIBC_HAS_FOPEN_EXCLUSIVE_MODE__
-#undef __UCLIBC_HAS_GLIBC_CUSTOM_STREAMS__
-#define __UCLIBC_HAS_PRINTF_M_SPEC__ 1
-#define __UCLIBC_HAS_ERRNO_MESSAGES__ 1
-#define __UCLIBC_HAS_SYS_ERRLIST__ 1
-#define __UCLIBC_HAS_SIGNUM_MESSAGES__ 1
-#undef __UCLIBC_HAS_SYS_SIGLIST__
-#undef __UCLIBC_HAS_GETTEXT_AWARENESS__
-#define __UCLIBC_HAS_GNU_GETOPT__ 1
-#define __UCLIBC_HAS_STDIO_FUTEXES__ 1
-#define __UCLIBC_HAS_GNU_GETSUBOPT__ 1
-
-
-
-
-#define __UCLIBC_HAS_REGEX__ 1
-#undef __UCLIBC_HAS_REGEX_OLD__
-#define __UCLIBC_HAS_FNMATCH__ 1
-#define __UCLIBC_HAS_FNMATCH_OLD__ 1
-#undef __UCLIBC_HAS_WORDEXP__
-#undef __UCLIBC_HAS_FTW__
-#define __UCLIBC_HAS_GLOB__ 1
-#define __UCLIBC_HAS_GNU_GLOB__ 1
-
-
-
-
-#define __SHARED_LIB_LOADER_PREFIX__ "/lib"
-#define __RUNTIME_PREFIX__ "/"
-#define __DEVEL_PREFIX__ "/usr"
-
-
-
-
-#undef __UCLIBC_HAS_ARC4RANDOM__
-#undef __HAVE_NO_SSP__
-#undef __UCLIBC_HAS_SSP__
-#define __UCLIBC_BUILD_RELRO__ 1
-#undef __UCLIBC_BUILD_NOW__
-#define __UCLIBC_BUILD_NOEXECSTACK__ 1
-
-
-
-
-#define __CROSS_COMPILER_PREFIX__ "sh4-linux-uclibc-"
-#define __UCLIBC_EXTRA_CFLAGS__ ""
-#define __DODEBUG__ 1
-#define __DOASSERTS__ 1
-#define __SUPPORT_LD_DEBUG__ 1
-#define __SUPPORT_LD_DEBUG_EARLY__ 1
-#undef __UCLIBC_MALLOC_DEBUGGING__
-#define __WARNINGS__ "-Wall"
-#define __EXTRA_WARNINGS__ 1
-#undef __DOMULTI__
-#define __UCLIBC_MJN3_ONLY__ 1
-# 36 "../../include/features.h" 2
-#undef __need_uClibc_config_h
-
-
-
-
-#define __OPTIMIZE_SIZE__ 1
-# 113 "../../include/features.h"
-#undef __USE_ISOC99
-#undef __USE_POSIX
-#undef __USE_POSIX2
-#undef __USE_POSIX199309
-#undef __USE_POSIX199506
-#undef __USE_XOPEN
-#undef __USE_XOPEN_EXTENDED
-#undef __USE_UNIX98
-#undef __USE_XOPEN2K
-#undef __USE_LARGEFILE
-#undef __USE_LARGEFILE64
-#undef __USE_FILE_OFFSET64
-#undef __USE_BSD
-#undef __USE_SVID
-#undef __USE_MISC
-#undef __USE_ATFILE
-#undef __USE_GNU
-#undef __USE_REENTRANT
-#undef __USE_FORTIFY_LEVEL
-#undef __FAVOR_BSD
-#undef __KERNEL_STRICT_NAMES
-
-
-
-
-#define __KERNEL_STRICT_NAMES
-
-
-
-#define __USE_ANSI 1
-# 152 "../../include/features.h"
-#define __GNUC_PREREQ(maj,min) ((__GNUC__ << 16) + __GNUC_MINOR__ >= ((maj) << 16) + (min))
-# 169 "../../include/features.h"
-#undef _ISOC99_SOURCE
-#define _ISOC99_SOURCE 1
-#undef _POSIX_SOURCE
-#define _POSIX_SOURCE 1
-#undef _POSIX_C_SOURCE
-#define _POSIX_C_SOURCE 199506L
-#undef _XOPEN_SOURCE
-#define _XOPEN_SOURCE 600
-#undef _XOPEN_SOURCE_EXTENDED
-#define _XOPEN_SOURCE_EXTENDED 1
-
-#undef _LARGEFILE64_SOURCE
-#define _LARGEFILE64_SOURCE 1
-
-#undef _BSD_SOURCE
-#define _BSD_SOURCE 1
-#undef _SVID_SOURCE
-#define _SVID_SOURCE 1
-#undef _ATFILE_SOURCE
-#define _ATFILE_SOURCE 1
-# 207 "../../include/features.h"
-#define __USE_ISOC99 1
-# 223 "../../include/features.h"
-#define __USE_POSIX 1
-
-
-
-#define __USE_POSIX2 1
-
-
-
-#define __USE_POSIX199309 1
-
-
-
-#define __USE_POSIX199506 1
-
-
-
-
-
-
-
-#define __USE_XOPEN 1
-
-#define __USE_XOPEN_EXTENDED 1
-#define __USE_UNIX98 1
-#undef _LARGEFILE_SOURCE
-#define _LARGEFILE_SOURCE 1
-
-#define __USE_XOPEN2K 1
-#undef __USE_ISOC99
-#define __USE_ISOC99 1
-# 262 "../../include/features.h"
-#define __USE_LARGEFILE 1
-
-
-
-#define __USE_LARGEFILE64 1
-
-
-
-
-
-
-
-#define __USE_MISC 1
-
-
-
-#define __USE_BSD 1
-
-
-
-#define __USE_SVID 1
-
-
-
-#define __USE_ATFILE 1
-
-
-
-#define __USE_GNU 1
-
-
-
-
-
-
-
-#undef _FORTIFY_SOURCE
-# 307 "../../include/features.h"
-#define __USE_FORTIFY_LEVEL 0
-
-
-
-#define __STDC_IEC_559__ 1
-#define __STDC_IEC_559_COMPLEX__ 1
-
-
-
-#define __STDC_ISO_10646__ 200009L
-# 340 "../../include/features.h"
-#define __GLIBC_PREREQ(maj,min) ((__GLIBC__ << 16) + __GLIBC_MINOR__ >= ((maj) << 16) + (min))
-# 356 "../../include/features.h"
-# 1 "../../include/sys/cdefs.h" 1
-# 20 "../../include/sys/cdefs.h"
-#define _SYS_CDEFS_H 1
-# 35 "../../include/sys/cdefs.h"
-#undef __P
-#undef __PMT
-# 46 "../../include/sys/cdefs.h"
-#define __THROW __attribute__ ((__nothrow__))
-#define __NTH(fct) __attribute__ ((__nothrow__)) fct
-# 73 "../../include/sys/cdefs.h"
-#define __P(args) args
-#define __PMT(args) args
-
-
-
-
-#define __CONCAT(x,y) x ## y
-#define __STRING(x) #x
-
-
-#define __ptr_t void *
-#define __long_double_t long double
-
-
-
-
-
-
-
-#define __BEGIN_DECLS
-#define __END_DECLS
-# 113 "../../include/sys/cdefs.h"
-#define __BEGIN_NAMESPACE_STD
-#define __END_NAMESPACE_STD
-#define __USING_NAMESPACE_STD(name)
-#define __BEGIN_NAMESPACE_C99
-#define __END_NAMESPACE_C99
-#define __USING_NAMESPACE_C99(name)
-
-
-
-
-
-#define __bounded
-#define __unbounded
-#define __ptrvalue
-
-
-
-
-#define __bos(ptr) __builtin_object_size (ptr, __USE_FORTIFY_LEVEL > 1)
-#define __bos0(ptr) __builtin_object_size (ptr, 0)
-#define __warndecl(name,msg) extern void name (void)
-
-
-
-
-
-#define __flexarr []
-# 166 "../../include/sys/cdefs.h"
-#define __REDIRECT(name,proto,alias) name proto __asm__ (__ASMNAME (#alias))
-
-
-
-
-#define __REDIRECT_NTH(name,proto,alias) name proto __asm__ (__ASMNAME (#alias)) __THROW
-
-
-#define __ASMNAME(cname) __ASMNAME2 (__USER_LABEL_PREFIX__, cname)
-#define __ASMNAME2(prefix,cname) __STRING (prefix) cname
-# 196 "../../include/sys/cdefs.h"
-#define __attribute_malloc__ __attribute__ ((__malloc__))
-# 205 "../../include/sys/cdefs.h"
-#define __attribute_pure__ __attribute__ ((__pure__))
-# 214 "../../include/sys/cdefs.h"
-#define __attribute_used__ __attribute__ ((__used__))
-#define __attribute_noinline__ __attribute__ ((__noinline__))
-
-
-
-
-
-
-
-#define __attribute_deprecated__ __attribute__ ((__deprecated__))
-# 235 "../../include/sys/cdefs.h"
-#define __attribute_format_arg__(x) __attribute__ ((__format_arg__ (x)))
-# 245 "../../include/sys/cdefs.h"
-#define __attribute_format_strfmon__(a,b) __attribute__ ((__format__ (__strfmon__, a, b)))
-# 254 "../../include/sys/cdefs.h"
-#define __nonnull(params) __attribute__ ((__nonnull__ params))
-
-
-
-
-
-
-
-#define __attribute_warn_unused_result__ __attribute__ ((__warn_unused_result__))
-# 271 "../../include/sys/cdefs.h"
-#define __wur
-
-
-
-
-#define __always_inline __inline __attribute__ ((__always_inline__))
-# 298 "../../include/sys/cdefs.h"
-#define __restrict_arr __restrict
-# 357 "../../include/features.h" 2
-# 396 "../../include/features.h"
-#undef _LARGEFILE_SOURCE
-#undef _LARGEFILE64_SOURCE
-#undef _FILE_OFFSET_BITS
-#undef __USE_LARGEFILE
-#undef __USE_LARGEFILE64
-#undef __USE_FILE_OFFSET64
-#define _LARGEFILE_SOURCE 1
-#define _LARGEFILE64_SOURCE 1
-#define __USE_LARGEFILE 1
-#define __USE_LARGEFILE64 1
-
-
-
-#undef _ATFILE_SOURCE
-#undef __USE_ATFILE
-
-
-# 1 "../../include/libc-internal.h" 1
-# 20 "../../include/libc-internal.h"
-#define _LIBC_INTERNAL_H 1
-
-# 1 "../../include/features.h" 1
-# 23 "../../include/libc-internal.h" 2
-
-
-#define attribute_relro __attribute__ ((section (".data.rel.ro")))
-
-
-
-
-
-#define attribute_tls_model_ie __attribute__ ((tls_model ("initial-exec")))
-# 43 "../../include/libc-internal.h"
-#define __need_size_t
-# 1 "/opt/STM/STLinux-2.3ear/devkit/sh4/lib/gcc/sh4-linux-uclibc/4.1.1/include/stddef.h" 1 3 4
-# 189 "/opt/STM/STLinux-2.3ear/devkit/sh4/lib/gcc/sh4-linux-uclibc/4.1.1/include/stddef.h" 3 4
-#define __size_t__
-#define __SIZE_T__
-#define _SIZE_T
-#define _SYS_SIZE_T_H
-#define _T_SIZE_
-#define _T_SIZE
-#define __SIZE_T
-#define _SIZE_T_
-#define _BSD_SIZE_T_
-#define _SIZE_T_DEFINED_
-#define _SIZE_T_DEFINED
-#define _BSD_SIZE_T_DEFINED_
-#define _SIZE_T_DECLARED
-#define ___int_size_t_h
-#define _GCC_SIZE_T
-#define _SIZET_
-
-
-
-#define __size_t
-
-
-
-
-
-typedef unsigned int size_t;
-# 236 "/opt/STM/STLinux-2.3ear/devkit/sh4/lib/gcc/sh4-linux-uclibc/4.1.1/include/stddef.h" 3 4
-#undef __need_size_t
-# 409 "/opt/STM/STLinux-2.3ear/devkit/sh4/lib/gcc/sh4-linux-uclibc/4.1.1/include/stddef.h" 3 4
-#undef __need_NULL
-# 45 "../../include/libc-internal.h" 2
-
-
-
-extern int __xpg_strerror_r (int __errnum, char *__buf, size_t __buflen);
-# 64 "../../include/libc-internal.h"
-extern const char *__uclibc_progname __attribute__ ((visibility ("hidden")));
-
-
-
-
-# 1 "../../include/bits/stackinfo.h" 1
-# 23 "../../include/bits/stackinfo.h"
-#define _STACKINFO_H 1
-
-
-#define _STACK_GROWS_DOWN 1
-# 70 "../../include/libc-internal.h" 2
-
-#define extend_alloca(buf,len,newlen) (__typeof (buf)) ({ size_t __newlen = (newlen); char *__newbuf = alloca (__newlen); if (__newbuf + __newlen == (char *) buf) len += __newlen; else len = __newlen; __newbuf; })
-# 414 "../../include/features.h" 2
-# 422 "../../include/features.h"
-#define __user
-# 29 "../../include/stdio.h" 2
-
-
-
-#define __need_size_t
-#define __need_NULL
-# 1 "/opt/STM/STLinux-2.3ear/devkit/sh4/lib/gcc/sh4-linux-uclibc/4.1.1/include/stddef.h" 1 3 4
-# 236 "/opt/STM/STLinux-2.3ear/devkit/sh4/lib/gcc/sh4-linux-uclibc/4.1.1/include/stddef.h" 3 4
-#undef __need_size_t
-# 398 "/opt/STM/STLinux-2.3ear/devkit/sh4/lib/gcc/sh4-linux-uclibc/4.1.1/include/stddef.h" 3 4
-#undef NULL
-
-
-
-
-#define NULL ((void *)0)
-
-
-
-
-
-#undef __need_NULL
-# 35 "../../include/stdio.h" 2
-
-# 1 "../../include/bits/types.h" 1
-# 25 "../../include/bits/types.h"
-#define _BITS_TYPES_H 1
-
-
-# 1 "../../include/bits/wordsize.h" 1
-# 19 "../../include/bits/wordsize.h"
-#define __WORDSIZE 32
-# 29 "../../include/bits/types.h" 2
-
-#define __need_size_t
-# 1 "/opt/STM/STLinux-2.3ear/devkit/sh4/lib/gcc/sh4-linux-uclibc/4.1.1/include/stddef.h" 1 3 4
-# 236 "/opt/STM/STLinux-2.3ear/devkit/sh4/lib/gcc/sh4-linux-uclibc/4.1.1/include/stddef.h" 3 4
-#undef __need_size_t
-# 409 "/opt/STM/STLinux-2.3ear/devkit/sh4/lib/gcc/sh4-linux-uclibc/4.1.1/include/stddef.h" 3 4
-#undef __need_NULL
-# 32 "../../include/bits/types.h" 2
-# 1 "../../include/bits/kernel_types.h" 1
-
-
-
-
-
-
-
-#define __ASM_SH_POSIX_TYPES_H
-
-typedef unsigned short __kernel_dev_t;
-typedef unsigned long __kernel_ino_t;
-typedef unsigned short __kernel_mode_t;
-typedef unsigned short __kernel_nlink_t;
-typedef long __kernel_off_t;
-typedef int __kernel_pid_t;
-typedef unsigned short __kernel_ipc_pid_t;
-typedef unsigned short __kernel_uid_t;
-typedef unsigned short __kernel_gid_t;
-typedef unsigned int __kernel_size_t;
-typedef int __kernel_ssize_t;
-typedef int __kernel_ptrdiff_t;
-typedef long __kernel_time_t;
-typedef long __kernel_suseconds_t;
-typedef long __kernel_clock_t;
-typedef int __kernel_daddr_t;
-typedef char * __kernel_caddr_t;
-typedef unsigned short __kernel_uid16_t;
-typedef unsigned short __kernel_gid16_t;
-typedef unsigned int __kernel_uid32_t;
-typedef unsigned int __kernel_gid32_t;
-typedef unsigned short __kernel_old_uid_t;
-typedef unsigned short __kernel_old_gid_t;
-typedef __kernel_dev_t __kernel_old_dev_t;
-typedef long long __kernel_loff_t;
-
-typedef struct {
-
-
-
- int __val[2];
-
-} __kernel_fsid_t;
-# 33 "../../include/bits/types.h" 2
-
-
-typedef unsigned char __u_char;
-typedef unsigned short int __u_short;
-typedef unsigned int __u_int;
-typedef unsigned long int __u_long;
-
-
-typedef signed char __int8_t;
-typedef unsigned char __uint8_t;
-typedef signed short int __int16_t;
-typedef unsigned short int __uint16_t;
-typedef signed int __int32_t;
-typedef unsigned int __uint32_t;
-
-
-
-
-__extension__ typedef signed long long int __int64_t;
-__extension__ typedef unsigned long long int __uint64_t;
-
-
-
-
-
-
-
-__extension__ typedef long long int __quad_t;
-__extension__ typedef unsigned long long int __u_quad_t;
-# 103 "../../include/bits/types.h"
-#define __S16_TYPE short int
-#define __U16_TYPE unsigned short int
-#define __S32_TYPE int
-#define __U32_TYPE unsigned int
-#define __SLONGWORD_TYPE long int
-#define __ULONGWORD_TYPE unsigned long int
-
-#define __SQUAD_TYPE __quad_t
-#define __UQUAD_TYPE __u_quad_t
-#define __SWORD_TYPE int
-#define __UWORD_TYPE unsigned int
-#define __SLONG32_TYPE long int
-#define __ULONG32_TYPE unsigned long int
-#define __S64_TYPE __quad_t
-#define __U64_TYPE __u_quad_t
-
-
-#define __STD_TYPE __extension__ typedef
-# 135 "../../include/bits/types.h"
-# 1 "../../include/bits/typesizes.h" 1
-# 25 "../../include/bits/typesizes.h"
-#define _BITS_TYPESIZES_H 1
-
-
-
-
-#define __DEV_T_TYPE __UQUAD_TYPE
-#define __UID_T_TYPE __U32_TYPE
-#define __GID_T_TYPE __U32_TYPE
-#define __INO_T_TYPE __ULONGWORD_TYPE
-#define __INO64_T_TYPE __UQUAD_TYPE
-#define __MODE_T_TYPE __U32_TYPE
-#define __NLINK_T_TYPE __UWORD_TYPE
-#define __OFF_T_TYPE __SLONGWORD_TYPE
-#define __OFF64_T_TYPE __SQUAD_TYPE
-#define __PID_T_TYPE __S32_TYPE
-#define __RLIM_T_TYPE __ULONGWORD_TYPE
-#define __RLIM64_T_TYPE __UQUAD_TYPE
-#define __BLKCNT_T_TYPE __SLONGWORD_TYPE
-#define __BLKCNT64_T_TYPE __SQUAD_TYPE
-#define __FSBLKCNT_T_TYPE __ULONGWORD_TYPE
-#define __FSBLKCNT64_T_TYPE __UQUAD_TYPE
-#define __FSFILCNT_T_TYPE __ULONGWORD_TYPE
-#define __FSFILCNT64_T_TYPE __UQUAD_TYPE
-#define __ID_T_TYPE __U32_TYPE
-#define __CLOCK_T_TYPE __SLONGWORD_TYPE
-#define __TIME_T_TYPE __SLONGWORD_TYPE
-#define __USECONDS_T_TYPE __U32_TYPE
-#define __SUSECONDS_T_TYPE __SLONGWORD_TYPE
-#define __DADDR_T_TYPE __S32_TYPE
-#define __SWBLK_T_TYPE __SLONGWORD_TYPE
-#define __KEY_T_TYPE __S32_TYPE
-#define __CLOCKID_T_TYPE __S32_TYPE
-#define __TIMER_T_TYPE void *
-#define __BLKSIZE_T_TYPE __SLONGWORD_TYPE
-#define __FSID_T_TYPE struct { int __val[2]; }
-#define __SSIZE_T_TYPE __SWORD_TYPE
-
-
-#define __FD_SETSIZE 1024
-# 136 "../../include/bits/types.h" 2
-
-
-__extension__ typedef __u_quad_t __dev_t;
-__extension__ typedef unsigned int __uid_t;
-__extension__ typedef unsigned int __gid_t;
-__extension__ typedef unsigned long int __ino_t;
-__extension__ typedef __u_quad_t __ino64_t;
-__extension__ typedef unsigned int __mode_t;
-__extension__ typedef unsigned int __nlink_t;
-__extension__ typedef long int __off_t;
-__extension__ typedef __quad_t __off64_t;
-__extension__ typedef int __pid_t;
-__extension__ typedef struct { int __val[2]; } __fsid_t;
-__extension__ typedef long int __clock_t;
-__extension__ typedef unsigned long int __rlim_t;
-__extension__ typedef __u_quad_t __rlim64_t;
-__extension__ typedef unsigned int __id_t;
-__extension__ typedef long int __time_t;
-__extension__ typedef unsigned int __useconds_t;
-__extension__ typedef long int __suseconds_t;
-
-__extension__ typedef int __daddr_t;
-__extension__ typedef long int __swblk_t;
-__extension__ typedef int __key_t;
-
-
-__extension__ typedef int __clockid_t;
-
-
-__extension__ typedef void * __timer_t;
-
-
-__extension__ typedef long int __blksize_t;
-
-
-
-
-__extension__ typedef long int __blkcnt_t;
-__extension__ typedef __quad_t __blkcnt64_t;
-
-
-__extension__ typedef unsigned long int __fsblkcnt_t;
-__extension__ typedef __u_quad_t __fsblkcnt64_t;
-
-
-__extension__ typedef unsigned long int __fsfilcnt_t;
-__extension__ typedef __u_quad_t __fsfilcnt64_t;
-
-__extension__ typedef int __ssize_t;
-
-
-
-typedef __off64_t __loff_t;
-typedef __quad_t *__qaddr_t;
-typedef char *__caddr_t;
-
-
-__extension__ typedef int __intptr_t;
-
-
-__extension__ typedef unsigned int __socklen_t;
-
-
-#undef __STD_TYPE
-
-
-typedef __kernel_ipc_pid_t __ipc_pid_t;
-
-
-
-# 1 "../../include/bits/pthreadtypes.h" 1
-# 21 "../../include/bits/pthreadtypes.h"
-#define _BITS_PTHREADTYPES_H 1
-
-#define __SIZEOF_PTHREAD_ATTR_T 36
-#define __SIZEOF_PTHREAD_MUTEX_T 24
-#define __SIZEOF_PTHREAD_MUTEXATTR_T 4
-#define __SIZEOF_PTHREAD_COND_T 48
-#define __SIZEOF_PTHREAD_COND_COMPAT_T 12
-#define __SIZEOF_PTHREAD_CONDATTR_T 4
-#define __SIZEOF_PTHREAD_RWLOCK_T 32
-#define __SIZEOF_PTHREAD_RWLOCKATTR_T 8
-#define __SIZEOF_PTHREAD_BARRIER_T 20
-#define __SIZEOF_PTHREAD_BARRIERATTR_T 4
-
-
-
-
-typedef unsigned long int pthread_t;
-
-
-typedef union
-{
- char __size[36];
- long int __align;
-} pthread_attr_t;
-
-
-
-
-typedef union
-{
- struct
- {
- int __lock;
- unsigned int __count;
- int __owner;
-
-
- int __kind;
- unsigned int __nusers;
- int __spins;
- } __data;
- char __size[24];
- long int __align;
-} pthread_mutex_t;
-
-typedef union
-{
- char __size[4];
- long int __align;
-} pthread_mutexattr_t;
-
-
-
-
-typedef union
-{
- struct
- {
- int __lock;
- unsigned int __futex;
- __extension__ unsigned long long int __total_seq;
- __extension__ unsigned long long int __wakeup_seq;
- __extension__ unsigned long long int __woken_seq;
- void *__mutex;
- unsigned int __nwaiters;
- unsigned int __broadcast_seq;
- } __data;
- char __size[48];
- __extension__ long long int __align;
-} pthread_cond_t;
-
-typedef union
-{
- char __size[4];
- long int __align;
-} pthread_condattr_t;
-
-
-
-typedef unsigned int pthread_key_t;
-
-
-
-typedef int pthread_once_t;
-
-
-
-
-
-typedef union
-{
- struct
- {
- int __lock;
- unsigned int __nr_readers;
- unsigned int __readers_wakeup;
- unsigned int __writer_wakeup;
- unsigned int __nr_readers_queued;
- unsigned int __nr_writers_queued;
-
-
- unsigned int __flags;
- pthread_t __writer;
- } __data;
- char __size[32];
- long int __align;
-} pthread_rwlock_t;
-
-typedef union
-{
- char __size[8];
- long int __align;
-} pthread_rwlockattr_t;
-
-
-
-
-
-typedef volatile int pthread_spinlock_t;
-
-
-
-
-typedef union
-{
- char __size[20];
- long int __align;
-} pthread_barrier_t;
-
-typedef union
-{
- char __size[4];
- int __align;
-} pthread_barrierattr_t;
-# 207 "../../include/bits/types.h" 2
-# 37 "../../include/stdio.h" 2
-#define __need_FILE
-#define __need___FILE
-
-
-
-
-
-
-
-typedef struct __STDIO_FILE_STRUCT FILE;
-
-
-
-
-
-
-
-#define __FILE_defined 1
-
-#undef __need_FILE
-
-
-
-
-
-typedef struct __STDIO_FILE_STRUCT __FILE;
-
-#define ____FILE_defined 1
-
-#undef __need___FILE
-
-
-
-#undef _STDIO_USES_IOSTREAM
-
-# 1 "../../include/bits/uClibc_stdio.h" 1
-# 14 "../../include/bits/uClibc_stdio.h"
-#define __STDIO_BUFFERS
-# 29 "../../include/bits/uClibc_stdio.h"
-#define __STDIO_BUFSIZ 4096
-# 40 "../../include/bits/uClibc_stdio.h"
-#define __STDIO_BUILTIN_BUF_SIZE 0
-# 51 "../../include/bits/uClibc_stdio.h"
-#define __STDIO_HAS_OPENLIST 1
-# 61 "../../include/bits/uClibc_stdio.h"
-#undef __USE_LARGEFILE
-#undef __USE_LARGEFILE64
-#undef __USE_FILE_OFFSET64
-
-#define __USE_LARGEFILE64 1
-# 80 "../../include/bits/uClibc_stdio.h"
-#define __need_wchar_t
-# 1 "/opt/STM/STLinux-2.3ear/devkit/sh4/lib/gcc/sh4-linux-uclibc/4.1.1/include/stddef.h" 1 3 4
-# 265 "/opt/STM/STLinux-2.3ear/devkit/sh4/lib/gcc/sh4-linux-uclibc/4.1.1/include/stddef.h" 3 4
-#define __wchar_t__
-#define __WCHAR_T__
-#define _WCHAR_T
-#define _T_WCHAR_
-#define _T_WCHAR
-#define __WCHAR_T
-#define _WCHAR_T_
-#define _BSD_WCHAR_T_
-#define _WCHAR_T_DEFINED_
-#define _WCHAR_T_DEFINED
-#define _WCHAR_T_H
-#define ___int_wchar_t_h
-#define __INT_WCHAR_T_H
-#define _GCC_WCHAR_T
-#define _WCHAR_T_DECLARED
-# 292 "/opt/STM/STLinux-2.3ear/devkit/sh4/lib/gcc/sh4-linux-uclibc/4.1.1/include/stddef.h" 3 4
-#undef _BSD_WCHAR_T_
-# 326 "/opt/STM/STLinux-2.3ear/devkit/sh4/lib/gcc/sh4-linux-uclibc/4.1.1/include/stddef.h" 3 4
-typedef long int wchar_t;
-# 345 "/opt/STM/STLinux-2.3ear/devkit/sh4/lib/gcc/sh4-linux-uclibc/4.1.1/include/stddef.h" 3 4
-#undef __need_wchar_t
-# 409 "/opt/STM/STLinux-2.3ear/devkit/sh4/lib/gcc/sh4-linux-uclibc/4.1.1/include/stddef.h" 3 4
-#undef __need_NULL
-# 82 "../../include/bits/uClibc_stdio.h" 2
-
-
-
-#define __STDIO_MBSTATE
-#define __need_mbstate_t
-# 1 "../../include/wchar.h" 1
-# 51 "../../include/wchar.h"
-#define __need_wint_t
-# 1 "/opt/STM/STLinux-2.3ear/devkit/sh4/lib/gcc/sh4-linux-uclibc/4.1.1/include/stddef.h" 1 3 4
-# 350 "/opt/STM/STLinux-2.3ear/devkit/sh4/lib/gcc/sh4-linux-uclibc/4.1.1/include/stddef.h" 3 4
-#define _WINT_T
-
-
-
-
-typedef unsigned int wint_t;
-
-#undef __need_wint_t
-# 409 "/opt/STM/STLinux-2.3ear/devkit/sh4/lib/gcc/sh4-linux-uclibc/4.1.1/include/stddef.h" 3 4
-#undef __need_NULL
-# 53 "../../include/wchar.h" 2
-
-# 1 "../../include/bits/wchar.h" 1
-# 21 "../../include/bits/wchar.h"
-#define _BITS_WCHAR_H 1
-
-#define __WCHAR_MIN (-2147483647 - 1)
-#define __WCHAR_MAX (2147483647)
-# 55 "../../include/wchar.h" 2
-# 78 "../../include/wchar.h"
-#define __mbstate_t_defined 1
-
-
-typedef struct
-{
- wchar_t __mask;
- wchar_t __wc;
-} __mbstate_t;
-# 98 "../../include/wchar.h"
-#undef __need_mbstate_t
-# 88 "../../include/bits/uClibc_stdio.h" 2
-
-
-
-
-
-
-
-#define __STDIO_GETC_MACRO
-
-
-
-#define __STDIO_PUTC_MACRO
-# 138 "../../include/bits/uClibc_stdio.h"
-#define __STDIO_AUTO_THREADLOCK_VAR int __infunc_user_locking
-# 165 "../../include/bits/uClibc_stdio.h"
-#define __STDIO_AUTO_THREADLOCK(__stream) if ((__infunc_user_locking = (__stream)->__user_locking) == 0) { __pthread_mutex_lock(&(__stream)->__lock); }
-
-
-
-
-#define __STDIO_AUTO_THREADUNLOCK(__stream) if (__infunc_user_locking == 0) { __pthread_mutex_unlock(&(__stream)->__lock); }
-
-
-
-
-#define __STDIO_SET_USER_LOCKING(__stream) ((__stream)->__user_locking = 1)
-
-#define __STDIO_ALWAYS_THREADLOCK(__stream) __pthread_mutex_lock(&(__stream)->__lock)
-
-
-#define __STDIO_ALWAYS_THREADTRYLOCK(__stream) __pthread_mutex_trylock(&(__stream)->__lock)
-
-
-#define __STDIO_ALWAYS_THREADUNLOCK(__stream) __pthread_mutex_unlock(&(__stream)->__lock)
-# 204 "../../include/bits/uClibc_stdio.h"
-#define __STDIO_IOFBF 0
-#define __STDIO_IOLBF 1
-#define __STDIO_IONBF 2
-
-typedef struct {
- __off_t __pos;
-
- __mbstate_t __mbstate;
-
-
- int __mblen_pending;
-
-} __STDIO_fpos_t;
-
-
-typedef struct {
- __off64_t __pos;
-
- __mbstate_t __mbstate;
-
-
- int __mblen_pending;
-
-} __STDIO_fpos64_t;
-
-
-
-
-typedef __off64_t __offmax_t;
-# 271 "../../include/bits/uClibc_stdio.h"
-struct __STDIO_FILE_STRUCT {
- unsigned short __modeflags;
-
-
- unsigned char __ungot_width[2];
-
-
-
-
-
-
- int __filedes;
-
- unsigned char *__bufstart;
- unsigned char *__bufend;
- unsigned char *__bufpos;
- unsigned char *__bufread;
-
-
- unsigned char *__bufgetc_u;
-
-
- unsigned char *__bufputc_u;
-
-
-
-
-
- struct __STDIO_FILE_STRUCT *__nextopen;
-
-
-
-
-
-
- wchar_t __ungot[2];
-
-
- __mbstate_t __state;
-
-
-
-
-
- int __user_locking;
-
-
-
- pthread_mutex_t __lock;
-
-
-
-
-
-
-};
-# 347 "../../include/bits/uClibc_stdio.h"
-#define __MASK_READING 0x0003U
-#define __FLAG_READING 0x0001U
-#define __FLAG_UNGOT 0x0002U
-#define __FLAG_EOF 0x0004U
-#define __FLAG_ERROR 0x0008U
-#define __FLAG_WRITEONLY 0x0010U
-#define __FLAG_READONLY 0x0020U
-#define __FLAG_WRITING 0x0040U
-#define __FLAG_NARROW 0x0080U
-
-#define __FLAG_FBF 0x0000U
-#define __FLAG_LBF 0x0100U
-#define __FLAG_NBF 0x0200U
-#define __MASK_BUFMODE 0x0300U
-#define __FLAG_APPEND 0x0400U
-#define __FLAG_WIDE 0x0800U
-
-#define __FLAG_FREEFILE 0x2000U
-#define __FLAG_FREEBUF 0x4000U
-#define __FLAG_LARGEFILE 0x8000U
-#define __FLAG_FAILED_FREOPEN __FLAG_LARGEFILE
-# 388 "../../include/bits/uClibc_stdio.h"
-extern void _stdio_init(void) __attribute__ ((visibility ("hidden")));
-extern void _stdio_term(void) __attribute__ ((visibility ("hidden")));
-
-
-
-extern struct __STDIO_FILE_STRUCT *_stdio_openlist;
-
-
-
-
-
-extern pthread_mutex_t _stdio_openlist_lock;
-
-extern int _stdio_openlist_delflag;
-extern int _stdio_user_locking;
-
-extern void __stdio_init_mutex(pthread_mutex_t *m) __attribute__ ((visibility ("hidden")));
-# 413 "../../include/bits/uClibc_stdio.h"
-#define __CLEARERR_UNLOCKED(__stream) ((void)((__stream)->__modeflags &= ~(__FLAG_EOF|__FLAG_ERROR)))
-
-#define __FEOF_UNLOCKED(__stream) ((__stream)->__modeflags & __FLAG_EOF)
-#define __FERROR_UNLOCKED(__stream) ((__stream)->__modeflags & __FLAG_ERROR)
-
-
-#define __CLEARERR(__stream) (clearerr)(__stream)
-#define __FERROR(__stream) (ferror)(__stream)
-#define __FEOF(__stream) (feof)(__stream)
-
-
-
-
-
-
-extern int __fgetc_unlocked(FILE *__stream);
-extern int __fputc_unlocked(int __c, FILE *__stream);
-
-
-#define __FGETC_UNLOCKED(__stream) (__fgetc_unlocked)((__stream))
-#define __FGETC(__stream) (fgetc)((__stream))
-#define __GETC_UNLOCKED_MACRO(__stream) (__fgetc_unlocked)((__stream))
-#define __GETC_UNLOCKED(__stream) (__fgetc_unlocked)((__stream))
-#define __GETC(__stream) (fgetc)((__stream))
-
-#define __FPUTC_UNLOCKED(__c,__stream) (__fputc_unlocked)((__c),(__stream))
-#define __FPUTC(__c,__stream) (fputc)((__c),(__stream))
-#define __PUTC_UNLOCKED_MACRO(__c,__stream) (__fputc_unlocked)((__c),(__stream))
-#define __PUTC_UNLOCKED(__c,__stream) (__fputc_unlocked)((__c),(__stream))
-#define __PUTC(__c,__stream) (fputc)((__c),(__stream))
-
-
-
-
-extern FILE *__stdin;
-
-#undef __GETC_UNLOCKED_MACRO
-#define __GETC_UNLOCKED_MACRO(__stream) ( ((__stream)->__bufpos < (__stream)->__bufgetc_u) ? (*(__stream)->__bufpos++) : __fgetc_unlocked(__stream) )
-# 466 "../../include/bits/uClibc_stdio.h"
-#undef __FGETC_UNLOCKED
-#define __FGETC_UNLOCKED(__stream) (__extension__ ({ FILE *__S = (__stream); __GETC_UNLOCKED_MACRO(__S); }) )
-
-
-
-
-
-#undef __GETC_UNLOCKED
-#define __GETC_UNLOCKED(__stream) __FGETC_UNLOCKED((__stream))
-
-
-#undef __FGETC
-#define __FGETC(__stream) (__extension__ ({ FILE *__S = (__stream); ((__S->__user_locking ) ? __GETC_UNLOCKED_MACRO(__S) : (fgetc)(__S)); }) )
-
-
-
-
-
-
-
-#undef __GETC
-#define __GETC(__stream) __FGETC((__stream))
-# 506 "../../include/bits/uClibc_stdio.h"
-extern FILE *__stdout;
-
-#undef __PUTC_UNLOCKED_MACRO
-#define __PUTC_UNLOCKED_MACRO(__c,__stream) ( ((__stream)->__bufpos < (__stream)->__bufputc_u) ? (*(__stream)->__bufpos++) = (__c) : __fputc_unlocked((__c),(__stream)) )
-# 527 "../../include/bits/uClibc_stdio.h"
-#undef __FPUTC_UNLOCKED
-#define __FPUTC_UNLOCKED(__c,__stream) (__extension__ ({ FILE *__S = (__stream); __PUTC_UNLOCKED_MACRO((__c),__S); }) )
-
-
-
-
-
-#undef __PUTC_UNLOCKED
-#define __PUTC_UNLOCKED(__c,__stream) __FPUTC_UNLOCKED((__c), (__stream))
-
-
-#undef __FPUTC
-#define __FPUTC(__c,__stream) (__extension__ ({ FILE *__S = (__stream); ((__S->__user_locking) ? __PUTC_UNLOCKED_MACRO((__c),__S) : (fputc)((__c),__S)); }) )
-
-
-
-
-
-
-
-#undef __PUTC
-#define __PUTC(__c,__stream) __FPUTC((__c), (__stream))
-# 73 "../../include/stdio.h" 2
-
-
-#define __need___va_list
-# 1 "/opt/STM/STLinux-2.3ear/devkit/sh4/lib/gcc/sh4-linux-uclibc/4.1.1/include/stdarg.h" 1 3 4
-# 37 "/opt/STM/STLinux-2.3ear/devkit/sh4/lib/gcc/sh4-linux-uclibc/4.1.1/include/stdarg.h" 3 4
-#undef __need___va_list
-
-
-
-
-#define __GNUC_VA_LIST
-typedef __builtin_va_list __gnuc_va_list;
-# 77 "../../include/stdio.h" 2
-
-
-
-
-typedef __STDIO_fpos_t fpos_t;
-
-
-
-
-
-typedef __STDIO_fpos64_t fpos64_t;
-
-
-
-#define _IOFBF __STDIO_IOFBF
-#define _IOLBF __STDIO_IOLBF
-#define _IONBF __STDIO_IONBF
-
-
-
-
-#define BUFSIZ __STDIO_BUFSIZ
-
-
-
-
-
-
-#define EOF (-1)
-
-
-
-
-
-#define SEEK_SET 0
-#define SEEK_CUR 1
-#define SEEK_END 2
-
-
-
-
-#define P_tmpdir "/tmp"
-# 131 "../../include/stdio.h"
-# 1 "../../include/bits/stdio_lim.h" 1
-# 24 "../../include/bits/stdio_lim.h"
-#define L_tmpnam 20
-#define TMP_MAX 238328
-#define FILENAME_MAX 4095
-
-
-#define L_ctermid 9
-#define L_cuserid 9
-
-
-
-
-#undef FOPEN_MAX
-#define FOPEN_MAX 16
-# 132 "../../include/stdio.h" 2
-
-
-
-extern FILE *stdin;
-extern FILE *stdout;
-extern FILE *stderr;
-
-#define stdin stdin
-#define stdout stdout
-#define stderr stderr
-
-
-
-extern int remove (__const char *__filename) __attribute__ ((__nothrow__));
-
-extern int rename (__const char *__old, __const char *__new) __attribute__ ((__nothrow__));
-
-
-
-
-
-
-
-
-
-extern FILE *tmpfile (void);
-# 167 "../../include/stdio.h"
-extern FILE *tmpfile64 (void);
-
-
-
-extern char *tmpnam (char *__s) __attribute__ ((__nothrow__));
-
-
-
-
-
-extern char *tmpnam_r (char *__s) __attribute__ ((__nothrow__));
-# 189 "../../include/stdio.h"
-extern char *tempnam (__const char *__dir, __const char *__pfx)
- __attribute__ ((__nothrow__)) __attribute__ ((__malloc__));
-
-
-
-
-
-
-
-
-extern int fclose (FILE *__stream);
-
-
-
-
-extern int fflush (FILE *__stream);
-
-# 214 "../../include/stdio.h"
-extern int fflush_unlocked (FILE *__stream);
-# 224 "../../include/stdio.h"
-extern int fcloseall (void);
-
-
-
-
-
-
-
-
-
-extern FILE *fopen (__const char *__restrict __filename,
- __const char *__restrict __modes);
-
-
-
-
-extern FILE *freopen (__const char *__restrict __filename,
- __const char *__restrict __modes,
- FILE *__restrict __stream);
-# 255 "../../include/stdio.h"
-
-
-extern FILE *fopen64 (__const char *__restrict __filename,
- __const char *__restrict __modes);
-extern FILE *freopen64 (__const char *__restrict __filename,
- __const char *__restrict __modes,
- FILE *__restrict __stream);
-
-
-
-
-extern FILE *fdopen (int __fd, __const char *__modes) __attribute__ ((__nothrow__));
-# 289 "../../include/stdio.h"
-
-
-
-extern void setbuf (FILE *__restrict __stream, char *__restrict __buf) __attribute__ ((__nothrow__));
-
-
-
-extern int setvbuf (FILE *__restrict __stream, char *__restrict __buf,
- int __modes, size_t __n) __attribute__ ((__nothrow__));
-
-
-
-
-
-extern void setbuffer (FILE *__restrict __stream, char *__restrict __buf,
- size_t __size) __attribute__ ((__nothrow__));
-
-
-extern void setlinebuf (FILE *__stream) __attribute__ ((__nothrow__));
-
-
-
-
-
-
-
-
-extern int fprintf (FILE *__restrict __stream,
- __const char *__restrict __format, ...);
-
-
-
-
-extern int printf (__const char *__restrict __format, ...);
-
-extern int sprintf (char *__restrict __s,
- __const char *__restrict __format, ...) __attribute__ ((__nothrow__));
-
-
-
-
-
-extern int vfprintf (FILE *__restrict __s, __const char *__restrict __format,
- __gnuc_va_list __arg);
-
-
-
-
-extern int vprintf (__const char *__restrict __format, __gnuc_va_list __arg);
-
-extern int vsprintf (char *__restrict __s, __const char *__restrict __format,
- __gnuc_va_list __arg) __attribute__ ((__nothrow__));
-
-
-
-
-
-extern int snprintf (char *__restrict __s, size_t __maxlen,
- __const char *__restrict __format, ...)
- __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 4)));
-
-extern int vsnprintf (char *__restrict __s, size_t __maxlen,
- __const char *__restrict __format, __gnuc_va_list __arg)
- __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 0)));
-
-
-
-
-
-
-extern int vasprintf (char **__restrict __ptr, __const char *__restrict __f,
- __gnuc_va_list __arg)
- __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 0)));
-
-
-
-
-
-extern int asprintf (char **__restrict __ptr,
- __const char *__restrict __fmt, ...)
- __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 3)));
-
-
-
-
-
-
-
-extern int vdprintf (int __fd, __const char *__restrict __fmt,
- __gnuc_va_list __arg)
- __attribute__ ((__format__ (__printf__, 2, 0)));
-extern int dprintf (int __fd, __const char *__restrict __fmt, ...)
- __attribute__ ((__format__ (__printf__, 2, 3)));
-
-
-
-
-
-
-
-
-extern int fscanf (FILE *__restrict __stream,
- __const char *__restrict __format, ...);
-
-
-
-
-extern int scanf (__const char *__restrict __format, ...);
-
-extern int sscanf (__const char *__restrict __s,
- __const char *__restrict __format, ...) __attribute__ ((__nothrow__));
-
-
-
-
-
-
-
-
-extern int vfscanf (FILE *__restrict __s, __const char *__restrict __format,
- __gnuc_va_list __arg)
- __attribute__ ((__format__ (__scanf__, 2, 0)));
-
-
-
-
-
-extern int vscanf (__const char *__restrict __format, __gnuc_va_list __arg)
- __attribute__ ((__format__ (__scanf__, 1, 0)));
-
-
-extern int vsscanf (__const char *__restrict __s,
- __const char *__restrict __format, __gnuc_va_list __arg)
- __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__scanf__, 2, 0)));
-
-
-
-
-
-
-
-
-
-extern int fgetc (FILE *__stream);
-extern int getc (FILE *__stream);
-
-
-
-
-
-extern int getchar (void);
-
-
-
-
-#define getc(_fp) __GETC(_fp)
-
-
-
-
-
-
-extern int getc_unlocked (FILE *__stream);
-extern int getchar_unlocked (void);
-
-
-#define getc_unlocked(_fp) __GETC_UNLOCKED(_fp)
-# 465 "../../include/stdio.h"
-extern int fgetc_unlocked (FILE *__stream);
-
-
-
-
-
-
-
-
-
-
-
-extern int fputc (int __c, FILE *__stream);
-extern int putc (int __c, FILE *__stream);
-
-
-
-
-
-extern int putchar (int __c);
-
-
-
-
-#define putc(_ch,_fp) __PUTC(_ch, _fp)
-# 498 "../../include/stdio.h"
-extern int fputc_unlocked (int __c, FILE *__stream);
-
-
-
-
-
-
-
-extern int putc_unlocked (int __c, FILE *__stream);
-extern int putchar_unlocked (int __c);
-
-
-#define putc_unlocked(_ch,_fp) __PUTC_UNLOCKED(_ch, _fp)
-
-
-
-
-
-
-extern int getw (FILE *__stream);
-
-
-extern int putw (int __w, FILE *__stream);
-
-
-
-
-
-
-
-
-extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream);
-
-
-
-
-
-
-extern char *gets (char *__s);
-
-# 546 "../../include/stdio.h"
-extern char *fgets_unlocked (char *__restrict __s, int __n,
- FILE *__restrict __stream);
-# 567 "../../include/stdio.h"
-extern __ssize_t getdelim (char **__restrict __lineptr,
- size_t *__restrict __n, int __delimiter,
- FILE *__restrict __stream);
-
-
-
-
-
-
-
-extern __ssize_t getline (char **__restrict __lineptr,
- size_t *__restrict __n,
- FILE *__restrict __stream);
-
-
-
-
-
-
-
-
-extern int fputs (__const char *__restrict __s, FILE *__restrict __stream);
-
-
-
-
-
-extern int puts (__const char *__s);
-
-
-
-
-
-
-extern int ungetc (int __c, FILE *__stream);
-
-
-
-
-
-
-extern size_t fread (void *__restrict __ptr, size_t __size,
- size_t __n, FILE *__restrict __stream);
-
-
-
-
-extern size_t fwrite (__const void *__restrict __ptr, size_t __size,
- size_t __n, FILE *__restrict __s);
-
-# 625 "../../include/stdio.h"
-extern int fputs_unlocked (__const char *__restrict __s,
- FILE *__restrict __stream);
-# 636 "../../include/stdio.h"
-extern size_t fread_unlocked (void *__restrict __ptr, size_t __size,
- size_t __n, FILE *__restrict __stream);
-extern size_t fwrite_unlocked (__const void *__restrict __ptr, size_t __size,
- size_t __n, FILE *__restrict __stream);
-
-
-
-
-
-
-
-
-extern int fseek (FILE *__stream, long int __off, int __whence);
-
-
-
-
-extern long int ftell (FILE *__stream);
-
-
-
-
-extern void rewind (FILE *__stream);
-
-# 672 "../../include/stdio.h"
-extern int fseeko (FILE *__stream, __off_t __off, int __whence);
-
-
-
-
-extern __off_t ftello (FILE *__stream);
-# 691 "../../include/stdio.h"
-
-
-
-
-
-
-extern int fgetpos (FILE *__restrict __stream, fpos_t *__restrict __pos);
-
-
-
-
-extern int fsetpos (FILE *__stream, __const fpos_t *__pos);
-# 714 "../../include/stdio.h"
-
-
-
-extern int fseeko64 (FILE *__stream, __off64_t __off, int __whence);
-extern __off64_t ftello64 (FILE *__stream);
-extern int fgetpos64 (FILE *__restrict __stream, fpos64_t *__restrict __pos);
-extern int fsetpos64 (FILE *__stream, __const fpos64_t *__pos);
-
-
-
-
-extern void clearerr (FILE *__stream) __attribute__ ((__nothrow__));
-
-extern int feof (FILE *__stream) __attribute__ ((__nothrow__));
-
-extern int ferror (FILE *__stream) __attribute__ ((__nothrow__));
-
-
-
-
-extern void clearerr_unlocked (FILE *__stream) __attribute__ ((__nothrow__));
-extern int feof_unlocked (FILE *__stream) __attribute__ ((__nothrow__));
-extern int ferror_unlocked (FILE *__stream) __attribute__ ((__nothrow__));
-
-
-
-
-
-
-
-
-extern void perror (__const char *__s);
-
-
-
-
-
-
-extern int sys_nerr;
-extern __const char *__const sys_errlist[];
-
-
-
-
-
-
-extern int fileno (FILE *__stream) __attribute__ ((__nothrow__));
-
-
-
-
-extern int fileno_unlocked (FILE *__stream) __attribute__ ((__nothrow__));
-# 775 "../../include/stdio.h"
-extern FILE *popen (__const char *__command, __const char *__modes);
-
-
-
-
-
-extern int pclose (FILE *__stream);
-
-
-
-
-
-extern char *ctermid (char *__s) __attribute__ ((__nothrow__));
-
-
-
-
-
-extern char *cuserid (char *__s);
-# 815 "../../include/stdio.h"
-extern void flockfile (FILE *__stream) __attribute__ ((__nothrow__));
-
-
-
-extern int ftrylockfile (FILE *__stream) __attribute__ ((__nothrow__));
-
-
-extern void funlockfile (FILE *__stream) __attribute__ ((__nothrow__));
-# 835 "../../include/stdio.h"
-#define fgetc(_fp) __FGETC(_fp)
-#define fputc(_ch,_fp) __FPUTC(_ch, _fp)
-
-
-#define fgetc_unlocked(_fp) __FGETC_UNLOCKED(_fp)
-#define fputc_unlocked(_ch,_fp) __FPUTC_UNLOCKED(_ch, _fp)
-
-
-
-
-
-#define getchar() __GETC(__stdin)
-
-
-
-
-#define putchar(_ch) __PUTC((_ch), __stdout)
-
-
-#define getchar_unlocked() __GETC_UNLOCKED(__stdin)
-#define putchar_unlocked(_ch) __PUTC_UNLOCKED((_ch), __stdout)
-
-
-
-#define clearerr(_fp) __CLEARERR(_fp)
-#define feof(_fp) __FEOF(_fp)
-#define ferror(_fp) __FERROR(_fp)
-
-
-#define clearerr_unlocked(_fp) __CLEARERR_UNLOCKED(_fp)
-#define feof_unlocked(_fp) __FEOF_UNLOCKED(_fp)
-#define ferror_unlocked(_fp) __FERROR_UNLOCKED(_fp)
-
-
-
-# 11 "tsp_common.c" 2
-# 1 "../../include/stdlib.h" 1
-# 28 "../../include/stdlib.h"
-#define __need_size_t
-
-
-#define __need_wchar_t
-
-#define __need_NULL
-
-# 1 "/opt/STM/STLinux-2.3ear/devkit/sh4/lib/gcc/sh4-linux-uclibc/4.1.1/include/stddef.h" 1 3 4
-# 236 "/opt/STM/STLinux-2.3ear/devkit/sh4/lib/gcc/sh4-linux-uclibc/4.1.1/include/stddef.h" 3 4
-#undef __need_size_t
-# 345 "/opt/STM/STLinux-2.3ear/devkit/sh4/lib/gcc/sh4-linux-uclibc/4.1.1/include/stddef.h" 3 4
-#undef __need_wchar_t
-# 398 "/opt/STM/STLinux-2.3ear/devkit/sh4/lib/gcc/sh4-linux-uclibc/4.1.1/include/stddef.h" 3 4
-#undef NULL
-
-
-
-
-#define NULL ((void *)0)
-
-
-
-
-
-#undef __need_NULL
-# 36 "../../include/stdlib.h" 2
-
-
-
-
-#define _STDLIB_H 1
-
-
-
-# 1 "../../include/bits/waitflags.h" 1
-# 26 "../../include/bits/waitflags.h"
-#define WNOHANG 1
-#define WUNTRACED 2
-
-
-#define WSTOPPED 2
-#define WEXITED 4
-#define WCONTINUED 8
-#define WNOWAIT 0x01000000
-
-#define __WNOTHREAD 0x20000000
-
-#define __WALL 0x40000000
-#define __WCLONE 0x80000000
-# 45 "../../include/stdlib.h" 2
-# 1 "../../include/bits/waitstatus.h" 1
-# 29 "../../include/bits/waitstatus.h"
-#define __WEXITSTATUS(status) (((status) & 0xff00) >> 8)
-
-
-#define __WTERMSIG(status) ((status) & 0x7f)
-
-
-#define __WSTOPSIG(status) __WEXITSTATUS(status)
-
-
-#define __WIFEXITED(status) (__WTERMSIG(status) == 0)
-
-
-
-#define __WIFSIGNALED(status) (__extension__ ({ int __status = (status); !__WIFSTOPPED(__status) && !__WIFEXITED(__status); }))
-
-
-
-
-
-
-
-#define __WIFSTOPPED(status) (((status) & 0xff) == 0x7f)
-
-
-#define __WCOREDUMP(status) ((status) & __WCOREFLAG)
-
-
-#define __W_EXITCODE(ret,sig) ((ret) << 8 | (sig))
-#define __W_STOPCODE(sig) ((sig) << 8 | 0x7f)
-#define __WCOREFLAG 0x80
-
-
-
-
-# 1 "../../include/endian.h" 1
-# 20 "../../include/endian.h"
-#define _ENDIAN_H 1
-# 32 "../../include/endian.h"
-#define __LITTLE_ENDIAN 1234
-#define __BIG_ENDIAN 4321
-#define __PDP_ENDIAN 3412
-
-
-# 1 "../../include/bits/endian.h" 1
-
-
-
-
-
-
-
-#define __BYTE_ORDER __LITTLE_ENDIAN
-#define __FLOAT_WORD_ORDER __LITTLE_ENDIAN
-# 38 "../../include/endian.h" 2
-# 46 "../../include/endian.h"
-#define LITTLE_ENDIAN __LITTLE_ENDIAN
-#define BIG_ENDIAN __BIG_ENDIAN
-#define PDP_ENDIAN __PDP_ENDIAN
-#define BYTE_ORDER __BYTE_ORDER
-
-
-
-#define __LONG_LONG_PAIR(HI,LO) LO, HI
-# 64 "../../include/bits/waitstatus.h" 2
-
-union wait
- {
- int w_status;
- struct
- {
-
- unsigned int __w_termsig:7;
- unsigned int __w_coredump:1;
- unsigned int __w_retcode:8;
- unsigned int:16;
-
-
-
-
-
-
-
- } __wait_terminated;
- struct
- {
-
- unsigned int __w_stopval:8;
- unsigned int __w_stopsig:8;
- unsigned int:16;
-
-
-
-
-
-
- } __wait_stopped;
- };
-
-#define w_termsig __wait_terminated.__w_termsig
-#define w_coredump __wait_terminated.__w_coredump
-#define w_retcode __wait_terminated.__w_retcode
-#define w_stopsig __wait_stopped.__w_stopsig
-#define w_stopval __wait_stopped.__w_stopval
-# 46 "../../include/stdlib.h" 2
-
-
-
-
-
-
-
-#define __WAIT_INT(status) (__extension__ ({ union { __typeof(status) __in; int __i; } __u; __u.__in = (status); __u.__i; }))
-# 70 "../../include/stdlib.h"
-typedef union
- {
- union wait *__uptr;
- int *__iptr;
- } __WAIT_STATUS __attribute__ ((__transparent_union__));
-#define __WAIT_STATUS_DEFN int *
-# 87 "../../include/stdlib.h"
-#define WEXITSTATUS(status) __WEXITSTATUS(__WAIT_INT(status))
-#define WTERMSIG(status) __WTERMSIG(__WAIT_INT(status))
-#define WSTOPSIG(status) __WSTOPSIG(__WAIT_INT(status))
-#define WIFEXITED(status) __WIFEXITED(__WAIT_INT(status))
-#define WIFSIGNALED(status) __WIFSIGNALED(__WAIT_INT(status))
-#define WIFSTOPPED(status) __WIFSTOPPED(__WAIT_INT(status))
-
-
-
-
-
-
-
-typedef struct
- {
- int quot;
- int rem;
- } div_t;
-
-
-
-typedef struct
- {
- long int quot;
- long int rem;
- } ldiv_t;
-#define __ldiv_t_defined 1
-
-
-
-
-
-
-__extension__ typedef struct
- {
- long long int quot;
- long long int rem;
- } lldiv_t;
-#define __lldiv_t_defined 1
-
-
-
-
-
-#define RAND_MAX 2147483647
-
-
-
-
-#define EXIT_FAILURE 1
-#define EXIT_SUCCESS 0
-# 146 "../../include/stdlib.h"
-#define MB_CUR_MAX (_stdlib_mb_cur_max ())
-extern size_t _stdlib_mb_cur_max (void) __attribute__ ((__nothrow__)) ;
-
-
-
-
-
-
-extern double atof (__const char *__nptr)
- __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ;
-
-
-extern int atoi (__const char *__nptr)
- __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ;
-
-extern long int atol (__const char *__nptr)
- __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ;
-
-
-
-
-
-__extension__ extern long long int atoll (__const char *__nptr)
- __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ;
-
-
-
-
-
-
-extern double strtod (__const char *__restrict __nptr,
- char **__restrict __endptr)
- __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
-
-
-
-
-
-extern float strtof (__const char *__restrict __nptr,
- char **__restrict __endptr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
-
-extern long double strtold (__const char *__restrict __nptr,
- char **__restrict __endptr)
- __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
-
-
-
-
-
-
-extern long int strtol (__const char *__restrict __nptr,
- char **__restrict __endptr, int __base)
- __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
-
-extern unsigned long int strtoul (__const char *__restrict __nptr,
- char **__restrict __endptr, int __base)
- __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
-
-
-
-
-__extension__
-extern long long int strtoq (__const char *__restrict __nptr,
- char **__restrict __endptr, int __base)
- __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
-
-__extension__
-extern unsigned long long int strtouq (__const char *__restrict __nptr,
- char **__restrict __endptr, int __base)
- __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
-
-
-
-
-
-__extension__
-extern long long int strtoll (__const char *__restrict __nptr,
- char **__restrict __endptr, int __base)
- __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
-
-__extension__
-extern unsigned long long int strtoull (__const char *__restrict __nptr,
- char **__restrict __endptr, int __base)
- __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
-
-# 297 "../../include/stdlib.h"
-extern char *l64a (long int __n) __attribute__ ((__nothrow__)) ;
-
-
-extern long int a64l (__const char *__s)
- __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ;
-
-
-
-
-# 1 "../../include/sys/types.h" 1
-# 25 "../../include/sys/types.h"
-#define _SYS_TYPES_H 1
-
-
-
-
-
-
-
-
-
-typedef __u_char u_char;
-typedef __u_short u_short;
-typedef __u_int u_int;
-typedef __u_long u_long;
-typedef __quad_t quad_t;
-typedef __u_quad_t u_quad_t;
-typedef __fsid_t fsid_t;
-#define __u_char_defined
-
-
-
-typedef __loff_t loff_t;
-
-
-
-typedef __ino_t ino_t;
-
-
-
-#define __ino_t_defined
-
-
-typedef __ino64_t ino64_t;
-#define __ino64_t_defined
-
-
-
-typedef __dev_t dev_t;
-#define __dev_t_defined
-
-
-
-typedef __gid_t gid_t;
-#define __gid_t_defined
-
-
-
-typedef __mode_t mode_t;
-#define __mode_t_defined
-
-
-
-typedef __nlink_t nlink_t;
-#define __nlink_t_defined
-
-
-
-typedef __uid_t uid_t;
-#define __uid_t_defined
-
-
-
-
-typedef __off_t off_t;
-
-
-
-#define __off_t_defined
-
-
-typedef __off64_t off64_t;
-#define __off64_t_defined
-
-
-
-typedef __pid_t pid_t;
-#define __pid_t_defined
-
-
-
-typedef __id_t id_t;
-#define __id_t_defined
-
-
-
-typedef __ssize_t ssize_t;
-#define __ssize_t_defined
-
-
-
-
-typedef __daddr_t daddr_t;
-typedef __caddr_t caddr_t;
-#define __daddr_t_defined
-
-
-
-
-typedef __key_t key_t;
-#define __key_t_defined
-
-
-
-#define __need_clock_t
-
-#define __need_time_t
-#define __need_timer_t
-#define __need_clockid_t
-# 1 "../../include/time.h" 1
-# 55 "../../include/time.h"
-#define __clock_t_defined 1
-
-
-
-
-
-typedef __clock_t clock_t;
-
-
-
-
-
-
-#undef __need_clock_t
-
-
-#define __time_t_defined 1
-
-
-
-
-
-typedef __time_t time_t;
-
-
-
-
-
-
-#undef __need_time_t
-
-
-
-#define __clockid_t_defined 1
-
-
-
-
-typedef __clockid_t clockid_t;
-
-
-#undef __clockid_time_t
-
-
-
-#define __timer_t_defined 1
-
-
-
-
-typedef __timer_t timer_t;
-
-
-#undef __need_timer_t
-# 128 "../../include/time.h"
-#undef __need_timespec
-# 134 "../../include/sys/types.h" 2
-
-
-
-typedef __useconds_t useconds_t;
-#define __useconds_t_defined
-
-
-typedef __suseconds_t suseconds_t;
-#define __suseconds_t_defined
-
-
-
-#define __need_size_t
-# 1 "/opt/STM/STLinux-2.3ear/devkit/sh4/lib/gcc/sh4-linux-uclibc/4.1.1/include/stddef.h" 1 3 4
-# 236 "/opt/STM/STLinux-2.3ear/devkit/sh4/lib/gcc/sh4-linux-uclibc/4.1.1/include/stddef.h" 3 4
-#undef __need_size_t
-# 409 "/opt/STM/STLinux-2.3ear/devkit/sh4/lib/gcc/sh4-linux-uclibc/4.1.1/include/stddef.h" 3 4
-#undef __need_NULL
-# 148 "../../include/sys/types.h" 2
-
-
-
-typedef unsigned long int ulong;
-typedef unsigned short int ushort;
-typedef unsigned int uint;
-# 184 "../../include/sys/types.h"
-#define __intN_t(N,MODE) typedef int int ##N ##_t __attribute__ ((__mode__ (MODE)))
-
-#define __u_intN_t(N,MODE) typedef unsigned int u_int ##N ##_t __attribute__ ((__mode__ (MODE)))
-
-
-
-#define __int8_t_defined
-typedef int int8_t __attribute__ ((__mode__ (__QI__)));
-typedef int int16_t __attribute__ ((__mode__ (__HI__)));
-typedef int int32_t __attribute__ ((__mode__ (__SI__)));
-typedef int int64_t __attribute__ ((__mode__ (__DI__)));
-
-
-typedef unsigned int u_int8_t __attribute__ ((__mode__ (__QI__)));
-typedef unsigned int u_int16_t __attribute__ ((__mode__ (__HI__)));
-typedef unsigned int u_int32_t __attribute__ ((__mode__ (__SI__)));
-typedef unsigned int u_int64_t __attribute__ ((__mode__ (__DI__)));
-
-typedef int register_t __attribute__ ((__mode__ (__word__)));
-
-
-
-
-
-#define __BIT_TYPES_DEFINED__ 1
-
-
-
-
-
-
-
-# 1 "../../include/sys/select.h" 1
-# 23 "../../include/sys/select.h"
-#define _SYS_SELECT_H 1
-
-
-
-
-
-
-
-# 1 "../../include/bits/select.h" 1
-# 26 "../../include/bits/select.h"
-#define __FD_ZERO(s) do { unsigned int __i; fd_set *__arr = (s); for (__i = 0; __i < sizeof (fd_set) / sizeof (__fd_mask); ++__i) __FDS_BITS (__arr)[__i] = 0; } while (0)
-
-
-
-
-
-
-#define __FD_SET(d,s) (__FDS_BITS (s)[__FDELT(d)] |= __FDMASK(d))
-#define __FD_CLR(d,s) (__FDS_BITS (s)[__FDELT(d)] &= ~__FDMASK(d))
-#define __FD_ISSET(d,s) ((__FDS_BITS (s)[__FDELT(d)] & __FDMASK(d)) != 0)
-# 32 "../../include/sys/select.h" 2
-
-
-# 1 "../../include/bits/sigset.h" 1
-# 21 "../../include/bits/sigset.h"
-#define _SIGSET_H_types 1
-
-typedef int __sig_atomic_t;
-
-
-
-#define _SIGSET_NWORDS (1024 / (8 * sizeof (unsigned long int)))
-typedef struct
- {
- unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))];
- } __sigset_t;
-# 35 "../../include/sys/select.h" 2
-
-
-#define __sigset_t_defined
-typedef __sigset_t sigset_t;
-
-
-
-#define __need_time_t
-#define __need_timespec
-# 1 "../../include/time.h" 1
-# 68 "../../include/time.h"
-#undef __need_clock_t
-# 84 "../../include/time.h"
-#undef __need_time_t
-# 96 "../../include/time.h"
-#undef __clockid_time_t
-# 108 "../../include/time.h"
-#undef __need_timer_t
-
-
-
-
-
-
-#define __timespec_defined 1
-
-
-
-
-
-struct timespec
- {
- __time_t tv_sec;
- long int tv_nsec;
- };
-
-
-#undef __need_timespec
-# 45 "../../include/sys/select.h" 2
-#define __need_timeval
-# 1 "../../include/bits/time.h" 1
-# 66 "../../include/bits/time.h"
-#undef __need_timeval
-
-#define _STRUCT_TIMEVAL 1
-
-
-
-
-struct timeval
- {
- __time_t tv_sec;
- __suseconds_t tv_usec;
- };
-# 47 "../../include/sys/select.h" 2
-# 55 "../../include/sys/select.h"
-typedef long int __fd_mask;
-
-
-#undef __NFDBITS
-#undef __FDELT
-#undef __FDMASK
-
-#define __NFDBITS (8 * sizeof (__fd_mask))
-#define __FDELT(d) ((d) / __NFDBITS)
-#define __FDMASK(d) ((__fd_mask) 1 << ((d) % __NFDBITS))
-
-
-typedef struct
- {
-
-
-
- __fd_mask fds_bits[1024 / (8 * sizeof (__fd_mask))];
-#define __FDS_BITS(set) ((set)->fds_bits)
-
-
-
-
- } fd_set;
-
-
-#define FD_SETSIZE __FD_SETSIZE
-
-
-
-typedef __fd_mask fd_mask;
-
-
-#define NFDBITS __NFDBITS
-
-
-
-
-#define FD_SET(fd,fdsetp) __FD_SET (fd, fdsetp)
-#define FD_CLR(fd,fdsetp) __FD_CLR (fd, fdsetp)
-#define FD_ISSET(fd,fdsetp) __FD_ISSET (fd, fdsetp)
-#define FD_ZERO(fdsetp) __FD_ZERO (fdsetp)
-
-
-
-# 109 "../../include/sys/select.h"
-extern int select (int __nfds, fd_set *__restrict __readfds,
- fd_set *__restrict __writefds,
- fd_set *__restrict __exceptfds,
- struct timeval *__restrict __timeout);
-# 121 "../../include/sys/select.h"
-extern int pselect (int __nfds, fd_set *__restrict __readfds,
- fd_set *__restrict __writefds,
- fd_set *__restrict __exceptfds,
- const struct timespec *__restrict __timeout,
- const __sigset_t *__restrict __sigmask);
-
-
-
-# 217 "../../include/sys/types.h" 2
-
-
-# 1 "../../include/sys/sysmacros.h" 1
-# 21 "../../include/sys/sysmacros.h"
-#define _SYS_SYSMACROS_H 1
-
-
-
-
-
-
-
-__extension__
-static __inline unsigned int gnu_dev_major (unsigned long long int __dev)
- __attribute__ ((__nothrow__));
-__extension__
-static __inline unsigned int gnu_dev_minor (unsigned long long int __dev)
- __attribute__ ((__nothrow__));
-__extension__
-static __inline unsigned long long int gnu_dev_makedev (unsigned int __major,
- unsigned int __minor)
- __attribute__ ((__nothrow__));
-
-
-__extension__ static __inline unsigned int
-__attribute__ ((__nothrow__)) gnu_dev_major (unsigned long long int __dev)
-{
- return ((__dev >> 8) & 0xfff) | ((unsigned int) (__dev >> 32) & ~0xfff);
-}
-
-__extension__ static __inline unsigned int
-__attribute__ ((__nothrow__)) gnu_dev_minor (unsigned long long int __dev)
-{
- return (__dev & 0xff) | ((unsigned int) (__dev >> 12) & ~0xff);
-}
-
-__extension__ static __inline unsigned long long int
-__attribute__ ((__nothrow__)) gnu_dev_makedev (unsigned int __major, unsigned int __minor)
-{
- return ((__minor & 0xff) | ((__major & 0xfff) << 8)
- | (((unsigned long long int) (__minor & ~0xff)) << 12)
- | (((unsigned long long int) (__major & ~0xfff)) << 32));
-}
-
-
-
-
-#define major(dev) gnu_dev_major (dev)
-#define minor(dev) gnu_dev_minor (dev)
-#define makedev(maj,min) gnu_dev_makedev (maj, min)
-# 220 "../../include/sys/types.h" 2
-
-
-
-
-typedef __blksize_t blksize_t;
-#define __blksize_t_defined
-
-
-
-
-
-typedef __blkcnt_t blkcnt_t;
-#define __blkcnt_t_defined
-
-
-typedef __fsblkcnt_t fsblkcnt_t;
-#define __fsblkcnt_t_defined
-
-
-typedef __fsfilcnt_t fsfilcnt_t;
-#define __fsfilcnt_t_defined
-# 258 "../../include/sys/types.h"
-typedef __blkcnt64_t blkcnt64_t;
-typedef __fsblkcnt64_t fsblkcnt64_t;
-typedef __fsfilcnt64_t fsfilcnt64_t;
-# 269 "../../include/sys/types.h"
-
-# 307 "../../include/stdlib.h" 2
-
-
-
-
-
-
-extern long int random (void) __attribute__ ((__nothrow__));
-
-
-extern void srandom (unsigned int __seed) __attribute__ ((__nothrow__));
-
-
-
-
-
-extern char *initstate (unsigned int __seed, char *__statebuf,
- size_t __statelen) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
-
-
-
-extern char *setstate (char *__statebuf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
-
-
-
-
-
-
-
-struct random_data
- {
- int32_t *fptr;
- int32_t *rptr;
- int32_t *state;
- int rand_type;
- int rand_deg;
- int rand_sep;
- int32_t *end_ptr;
- };
-
-extern int random_r (struct random_data *__restrict __buf,
- int32_t *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
-
-extern int srandom_r (unsigned int __seed, struct random_data *__buf)
- __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
-
-extern int initstate_r (unsigned int __seed, char *__restrict __statebuf,
- size_t __statelen,
- struct random_data *__restrict __buf)
- __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 4)));
-
-extern int setstate_r (char *__restrict __statebuf,
- struct random_data *__restrict __buf)
- __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
-
-
-
-
-
-
-extern int rand (void) __attribute__ ((__nothrow__));
-
-extern void srand (unsigned int __seed) __attribute__ ((__nothrow__));
-
-
-
-
-extern int rand_r (unsigned int *__seed) __attribute__ ((__nothrow__));
-# 382 "../../include/stdlib.h"
-extern double drand48 (void) __attribute__ ((__nothrow__));
-extern double erand48 (unsigned short int __xsubi[3]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
-
-
-
-extern long int lrand48 (void) __attribute__ ((__nothrow__));
-extern long int nrand48 (unsigned short int __xsubi[3])
- __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
-
-
-extern long int mrand48 (void) __attribute__ ((__nothrow__));
-extern long int jrand48 (unsigned short int __xsubi[3])
- __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
-
-
-extern void srand48 (long int __seedval) __attribute__ ((__nothrow__));
-extern unsigned short int *seed48 (unsigned short int __seed16v[3])
- __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
-extern void lcong48 (unsigned short int __param[7]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
-
-
-
-
-
-struct drand48_data
- {
- unsigned short int __x[3];
- unsigned short int __old_x[3];
- unsigned short int __c;
- unsigned short int __init;
- unsigned long long int __a;
- };
-
-
-
-extern int drand48_r (struct drand48_data *__restrict __buffer,
- double *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
-extern int erand48_r (unsigned short int __xsubi[3],
- struct drand48_data *__restrict __buffer,
- double *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
-
-
-
-extern int lrand48_r (struct drand48_data *__restrict __buffer,
- long int *__restrict __result)
- __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
-extern int nrand48_r (unsigned short int __xsubi[3],
- struct drand48_data *__restrict __buffer,
- long int *__restrict __result)
- __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
-
-
-extern int mrand48_r (struct drand48_data *__restrict __buffer,
- long int *__restrict __result)
- __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
-extern int jrand48_r (unsigned short int __xsubi[3],
- struct drand48_data *__restrict __buffer,
- long int *__restrict __result)
- __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
-
-
-extern int srand48_r (long int __seedval, struct drand48_data *__buffer)
- __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
-
-extern int seed48_r (unsigned short int __seed16v[3],
- struct drand48_data *__buffer) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
-
-extern int lcong48_r (unsigned short int __param[7],
- struct drand48_data *__buffer)
- __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
-
-
-
-
-
-
-#define __malloc_and_calloc_defined
-
-
-extern void *malloc (size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) ;
-
-extern void *calloc (size_t __nmemb, size_t __size)
- __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) ;
-
-
-
-
-
-
-
-extern void *realloc (void *__ptr, size_t __size)
- __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__warn_unused_result__));
-
-extern void free (void *__ptr) __attribute__ ((__nothrow__));
-
-
-
-
-extern void cfree (void *__ptr) __attribute__ ((__nothrow__));
-
-
-
-# 1 "../../include/alloca.h" 1
-# 20 "../../include/alloca.h"
-#define _ALLOCA_H 1
-
-
-
-#define __need_size_t
-# 1 "/opt/STM/STLinux-2.3ear/devkit/sh4/lib/gcc/sh4-linux-uclibc/4.1.1/include/stddef.h" 1 3 4
-# 236 "/opt/STM/STLinux-2.3ear/devkit/sh4/lib/gcc/sh4-linux-uclibc/4.1.1/include/stddef.h" 3 4
-#undef __need_size_t
-# 409 "/opt/STM/STLinux-2.3ear/devkit/sh4/lib/gcc/sh4-linux-uclibc/4.1.1/include/stddef.h" 3 4
-#undef __need_NULL
-# 26 "../../include/alloca.h" 2
-
-
-
-
-#undef alloca
-
-
-extern void *alloca (size_t __size) __attribute__ ((__nothrow__));
-
-
-#define alloca(size) __builtin_alloca (size)
-
-
-#define __MAX_ALLOCA_CUTOFF 65536
-
-
-# 485 "../../include/stdlib.h" 2
-
-
-
-
-extern void *valloc (size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) ;
-
-
-
-
-extern int posix_memalign (void **__memptr, size_t __alignment, size_t __size)
- __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
-
-
-
-
-extern void abort (void) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__));
-
-
-
-extern int atexit (void (*__func) (void)) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
-
-
-
-
-
-extern int on_exit (void (*__func) (int __status, void *__arg), void *__arg)
- __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
-
-
-
-
-
-
-extern void exit (int __status) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__));
-
-
-
-
-
-
-extern void _Exit (int __status) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__));
-
-
-
-
-
-
-extern char *getenv (__const char *__name) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
-
-
-
-
-extern char *__secure_getenv (__const char *__name)
- __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
-
-
-
-
-
-extern int putenv (char *__string) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
-
-
-
-
-
-extern int setenv (__const char *__name, __const char *__value, int __replace)
- __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
-
-
-extern int unsetenv (__const char *__name) __attribute__ ((__nothrow__));
-
-
-
-
-
-
-
-#define __UCLIBC_MAX_ATEXIT 20
-
-
-
-
-
-
-
-extern int clearenv (void) __attribute__ ((__nothrow__));
-# 579 "../../include/stdlib.h"
-extern char *mktemp (char *__template) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
-# 590 "../../include/stdlib.h"
-extern int mkstemp (char *__template) __attribute__ ((__nonnull__ (1))) ;
-# 600 "../../include/stdlib.h"
-extern int mkstemp64 (char *__template) __attribute__ ((__nonnull__ (1))) ;
-# 610 "../../include/stdlib.h"
-extern char *mkdtemp (char *__template) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
-
-
-
-
-
-
-
-
-extern int system (__const char *__command) ;
-
-# 638 "../../include/stdlib.h"
-extern char *realpath (__const char *__restrict __name,
- char *__restrict __resolved) __attribute__ ((__nothrow__)) ;
-
-
-
-
-
-#define __COMPAR_FN_T
-typedef int (*__compar_fn_t) (__const void *, __const void *);
-
-
-typedef __compar_fn_t comparison_fn_t;
-
-
-
-
-
-
-extern void *bsearch (__const void *__key, __const void *__base,
- size_t __nmemb, size_t __size, __compar_fn_t __compar)
- __attribute__ ((__nonnull__ (1, 2, 5))) ;
-
-
-
-extern void qsort (void *__base, size_t __nmemb, size_t __size,
- __compar_fn_t __compar) __attribute__ ((__nonnull__ (1, 4)));
-
-
-
-extern int abs (int __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)) ;
-extern long int labs (long int __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)) ;
-
-
-
-__extension__ extern long long int llabs (long long int __x)
- __attribute__ ((__nothrow__)) __attribute__ ((__const__)) ;
-
-
-
-
-
-
-
-extern div_t div (int __numer, int __denom)
- __attribute__ ((__nothrow__)) __attribute__ ((__const__)) ;
-extern ldiv_t ldiv (long int __numer, long int __denom)
- __attribute__ ((__nothrow__)) __attribute__ ((__const__)) ;
-
-
-
-
-__extension__ extern lldiv_t lldiv (long long int __numer,
- long long int __denom)
- __attribute__ ((__nothrow__)) __attribute__ ((__const__)) ;
-
-# 719 "../../include/stdlib.h"
-extern char *gcvt (double __value, int __ndigit, char *__buf)
- __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3))) ;
-# 756 "../../include/stdlib.h"
-
-
-
-extern int mblen (__const char *__s, size_t __n) __attribute__ ((__nothrow__)) ;
-
-
-extern int mbtowc (wchar_t *__restrict __pwc,
- __const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__)) ;
-
-
-extern int wctomb (char *__s, wchar_t __wchar) __attribute__ ((__nothrow__)) ;
-
-
-
-extern size_t mbstowcs (wchar_t *__restrict __pwcs,
- __const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__));
-
-extern size_t wcstombs (char *__restrict __s,
- __const wchar_t *__restrict __pwcs, size_t __n)
- __attribute__ ((__nothrow__));
-
-# 785 "../../include/stdlib.h"
-extern int rpmatch (__const char *__response) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
-# 796 "../../include/stdlib.h"
-extern int getsubopt (char **__restrict __optionp,
- char *__const *__restrict __tokens,
- char **__restrict __valuep)
- __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2, 3))) ;
-
-
-
-
-
-extern void setkey (__const char *__key) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
-
-
-
-
-
-
-
-extern int posix_openpt (int __oflag) ;
-
-
-
-
-
-
-
-extern int grantpt (int __fd) __attribute__ ((__nothrow__));
-
-
-
-extern int unlockpt (int __fd) __attribute__ ((__nothrow__));
-
-
-
-
-extern char *ptsname (int __fd) __attribute__ ((__nothrow__)) ;
-
-
-
-
-
-
-extern int ptsname_r (int __fd, char *__buf, size_t __buflen)
- __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
-
-
-extern int getpt (void);
-# 860 "../../include/stdlib.h"
-#undef __need_malloc_and_calloc
-
-
-# 12 "tsp_common.c" 2
-# 1 "../../include/string.h" 1
-# 24 "../../include/string.h"
-#define _STRING_H 1
-
-
-
-
-
-
-#define __need_size_t
-#define __need_NULL
-# 1 "/opt/STM/STLinux-2.3ear/devkit/sh4/lib/gcc/sh4-linux-uclibc/4.1.1/include/stddef.h" 1 3 4
-# 236 "/opt/STM/STLinux-2.3ear/devkit/sh4/lib/gcc/sh4-linux-uclibc/4.1.1/include/stddef.h" 3 4
-#undef __need_size_t
-# 398 "/opt/STM/STLinux-2.3ear/devkit/sh4/lib/gcc/sh4-linux-uclibc/4.1.1/include/stddef.h" 3 4
-#undef NULL
-
-
-
-
-#define NULL ((void *)0)
-
-
-
-
-
-#undef __need_NULL
-# 34 "../../include/string.h" 2
-
-
-
-
-extern void *memcpy (void *__restrict __dest,
- __const void *__restrict __src, size_t __n)
- __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
-
-
-extern void *memmove (void *__dest, __const void *__src, size_t __n)
- __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
-
-
-
-
-
-
-extern void *memccpy (void *__restrict __dest, __const void *__restrict __src,
- int __c, size_t __n)
- __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
-
-
-
-
-
-extern void *memset (void *__s, int __c, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
-
-
-extern int memcmp (__const void *__s1, __const void *__s2, size_t __n)
- __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
-
-
-extern void *memchr (__const void *__s, int __c, size_t __n)
- __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
-
-
-
-
-
-extern void *rawmemchr (__const void *__s, int __c)
- __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
-
-
-extern void *memrchr (__const void *__s, int __c, size_t __n)
- __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
-
-
-
-
-
-extern char *strcpy (char *__restrict __dest, __const char *__restrict __src)
- __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
-
-extern char *strncpy (char *__restrict __dest,
- __const char *__restrict __src, size_t __n)
- __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
-
-
-extern char *strcat (char *__restrict __dest, __const char *__restrict __src)
- __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
-
-extern char *strncat (char *__restrict __dest, __const char *__restrict __src,
- size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
-
-
-extern int strcmp (__const char *__s1, __const char *__s2)
- __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
-
-extern int strncmp (__const char *__s1, __const char *__s2, size_t __n)
- __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
-
-
-extern int strcoll (__const char *__s1, __const char *__s2)
- __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
-
-extern size_t strxfrm (char *__restrict __dest,
- __const char *__restrict __src, size_t __n)
- __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
-
-# 130 "../../include/string.h"
-extern char *strdup (__const char *__s)
- __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1)));
-
-
-
-
-
-
-extern char *strndup (__const char *__string, size_t __n)
- __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1)));
-
-
-
-
-#define strdupa(s) (__extension__ ({ __const char *__old = (s); size_t __len = strlen (__old) + 1; char *__new = (char *) __builtin_alloca (__len); (char *) memcpy (__new, __old, __len); }))
-# 154 "../../include/string.h"
-#define strndupa(s,n) (__extension__ ({ __const char *__old = (s); size_t __len = strnlen (__old, (n)); char *__new = (char *) __builtin_alloca (__len + 1); __new[__len] = '\0'; (char *) memcpy (__new, __old, __len); }))
-# 165 "../../include/string.h"
-
-
-extern char *strchr (__const char *__s, int __c)
- __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
-
-extern char *strrchr (__const char *__s, int __c)
- __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
-
-
-
-
-
-extern char *strchrnul (__const char *__s, int __c)
- __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
-
-
-
-
-
-extern size_t strcspn (__const char *__s, __const char *__reject)
- __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
-
-
-extern size_t strspn (__const char *__s, __const char *__accept)
- __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
-
-extern char *strpbrk (__const char *__s, __const char *__accept)
- __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
-
-extern char *strstr (__const char *__haystack, __const char *__needle)
- __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
-
-
-
-extern char *strtok (char *__restrict __s, __const char *__restrict __delim)
- __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
-
-# 212 "../../include/string.h"
-extern char *strtok_r (char *__restrict __s, __const char *__restrict __delim,
- char **__restrict __save_ptr)
- __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3)));
-
-
-
-
-extern char *strcasestr (__const char *__haystack, __const char *__needle)
- __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
-
-
-
-
-
-
-extern void *memmem (__const void *__haystack, size_t __haystacklen,
- __const void *__needle, size_t __needlelen)
- __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 3)));
-# 238 "../../include/string.h"
-extern void *mempcpy (void *__restrict __dest,
- __const void *__restrict __src, size_t __n)
- __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
-
-
-
-
-
-extern size_t strlen (__const char *__s)
- __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
-
-
-
-
-
-extern size_t strnlen (__const char *__string, size_t __maxlen)
- __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
-
-
-
-
-
-extern char *strerror (int __errnum) __attribute__ ((__nothrow__));
-
-# 285 "../../include/string.h"
-extern char *__glibc_strerror_r (int __errnum, char *__buf, size_t __buflen)
- __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
-
-extern char * strerror_r (int __errnum, char *__buf, size_t __buflen) __asm__ ("" "__glibc_strerror_r") __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
-# 306 "../../include/string.h"
-extern void bcopy (__const void *__src, void *__dest, size_t __n)
- __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
-
-
-extern void bzero (void *__s, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
-
-
-extern int bcmp (__const void *__s1, __const void *__s2, size_t __n)
- __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
-
-
-extern char *index (__const char *__s, int __c)
- __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
-
-
-extern char *rindex (__const char *__s, int __c)
- __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
-# 339 "../../include/string.h"
-extern int ffs (int __i) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
-# 352 "../../include/string.h"
-extern int strcasecmp (__const char *__s1, __const char *__s2)
- __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
-
-
-extern int strncasecmp (__const char *__s1, __const char *__s2, size_t __n)
- __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
-# 375 "../../include/string.h"
-extern char *strsep (char **__restrict __stringp,
- __const char *__restrict __delim)
- __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
-# 388 "../../include/string.h"
-extern char *strsignal (int __sig) __attribute__ ((__nothrow__));
-
-
-
-
-
-
-extern char *stpcpy (char *__restrict __dest, __const char *__restrict __src)
- __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
-# 405 "../../include/string.h"
-extern char *stpncpy (char *__restrict __dest,
- __const char *__restrict __src, size_t __n)
- __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
-# 422 "../../include/string.h"
-extern char *basename (__const char *__filename) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
-
-
-
-
-
-
-extern size_t strlcat(char *__restrict dst, const char *__restrict src,
- size_t n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
-extern size_t strlcpy(char *__restrict dst, const char *__restrict src,
- size_t n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
-
-
-
-# 13 "tsp_common.c" 2
-# 1 "../../include/locale.h" 1
-# 24 "../../include/locale.h"
-#define _LOCALE_H 1
-
-
-
-#define __need_NULL
-# 1 "/opt/STM/STLinux-2.3ear/devkit/sh4/lib/gcc/sh4-linux-uclibc/4.1.1/include/stddef.h" 1 3 4
-# 398 "/opt/STM/STLinux-2.3ear/devkit/sh4/lib/gcc/sh4-linux-uclibc/4.1.1/include/stddef.h" 3 4
-#undef NULL
-
-
-
-
-#define NULL ((void *)0)
-
-
-
-
-
-#undef __need_NULL
-# 30 "../../include/locale.h" 2
-# 1 "../../include/bits/uClibc_locale.h" 1
-# 31 "../../include/bits/uClibc_locale.h"
-#define _UCLIBC_LOCALE_H
-
-
-
-
-
-
-#undef __LOCALE_C_ONLY
-# 52 "../../include/bits/uClibc_locale.h"
-#define __NL_ITEM_CATEGORY_SHIFT (8)
-#define __NL_ITEM_INDEX_MASK (0xff)
-
-
-
-#define __LC_CTYPE 0
-#define __LC_NUMERIC 1
-#define __LC_MONETARY 2
-#define __LC_TIME 3
-#define __LC_COLLATE 4
-#define __LC_MESSAGES 5
-#define __LC_ALL 6
-
-
-
-
-
-# 1 "/opt/STM/STLinux-2.3ear/devkit/sh4/lib/gcc/sh4-linux-uclibc/4.1.1/include/stddef.h" 1 3 4
-# 43 "/opt/STM/STLinux-2.3ear/devkit/sh4/lib/gcc/sh4-linux-uclibc/4.1.1/include/stddef.h" 3 4
-#define _STDDEF_H
-#define _STDDEF_H_
-
-#define _ANSI_STDDEF_H
-
-#define __STDDEF_H__
-# 141 "/opt/STM/STLinux-2.3ear/devkit/sh4/lib/gcc/sh4-linux-uclibc/4.1.1/include/stddef.h" 3 4
-#define _PTRDIFF_T
-#define _T_PTRDIFF_
-#define _T_PTRDIFF
-#define __PTRDIFF_T
-#define _PTRDIFF_T_
-#define _BSD_PTRDIFF_T_
-#define ___int_ptrdiff_t_h
-#define _GCC_PTRDIFF_T
-
-
-
-typedef int ptrdiff_t;
-# 163 "/opt/STM/STLinux-2.3ear/devkit/sh4/lib/gcc/sh4-linux-uclibc/4.1.1/include/stddef.h" 3 4
-#undef __need_ptrdiff_t
-# 236 "/opt/STM/STLinux-2.3ear/devkit/sh4/lib/gcc/sh4-linux-uclibc/4.1.1/include/stddef.h" 3 4
-#undef __need_size_t
-# 345 "/opt/STM/STLinux-2.3ear/devkit/sh4/lib/gcc/sh4-linux-uclibc/4.1.1/include/stddef.h" 3 4
-#undef __need_wchar_t
-# 398 "/opt/STM/STLinux-2.3ear/devkit/sh4/lib/gcc/sh4-linux-uclibc/4.1.1/include/stddef.h" 3 4
-#undef NULL
-
-
-
-
-#define NULL ((void *)0)
-
-
-
-
-
-#undef __need_NULL
-
-
-
-
-#define offsetof(TYPE,MEMBER) __builtin_offsetof (TYPE, MEMBER)
-# 70 "../../include/bits/uClibc_locale.h" 2
-# 1 "../../include/stdint.h" 1
-# 24 "../../include/stdint.h"
-#define _STDINT_H 1
-
-
-
-
-
-# 1 "../../include/bits/wordsize.h" 1
-# 19 "../../include/bits/wordsize.h"
-#define __WORDSIZE 32
-# 31 "../../include/stdint.h" 2
-# 51 "../../include/stdint.h"
-typedef unsigned char uint8_t;
-typedef unsigned short int uint16_t;
-
-typedef unsigned int uint32_t;
-#define __uint32_t_defined
-
-
-
-
-__extension__
-typedef unsigned long long int uint64_t;
-
-
-
-
-
-
-typedef signed char int_least8_t;
-typedef short int int_least16_t;
-typedef int int_least32_t;
-
-
-
-__extension__
-typedef long long int int_least64_t;
-
-
-
-typedef unsigned char uint_least8_t;
-typedef unsigned short int uint_least16_t;
-typedef unsigned int uint_least32_t;
-
-
-
-__extension__
-typedef unsigned long long int uint_least64_t;
-
-
-
-
-
-
-typedef signed char int_fast8_t;
-
-
-
-
-
-typedef int int_fast16_t;
-typedef int int_fast32_t;
-__extension__
-typedef long long int int_fast64_t;
-
-
-
-typedef unsigned char uint_fast8_t;
-
-
-
-
-
-typedef unsigned int uint_fast16_t;
-typedef unsigned int uint_fast32_t;
-__extension__
-typedef unsigned long long int uint_fast64_t;
-# 128 "../../include/stdint.h"
-typedef int intptr_t;
-#define __intptr_t_defined
-
-typedef unsigned int uintptr_t;
-# 140 "../../include/stdint.h"
-__extension__
-typedef long long int intmax_t;
-__extension__
-typedef unsigned long long int uintmax_t;
-# 155 "../../include/stdint.h"
-#define __INT64_C(c) c ## LL
-#define __UINT64_C(c) c ## ULL
-
-
-
-
-
-#define INT8_MIN (-128)
-#define INT16_MIN (-32767-1)
-#define INT32_MIN (-2147483647-1)
-#define INT64_MIN (-__INT64_C(9223372036854775807)-1)
-
-#define INT8_MAX (127)
-#define INT16_MAX (32767)
-#define INT32_MAX (2147483647)
-#define INT64_MAX (__INT64_C(9223372036854775807))
-
-
-#define UINT8_MAX (255)
-#define UINT16_MAX (65535)
-#define UINT32_MAX (4294967295U)
-#define UINT64_MAX (__UINT64_C(18446744073709551615))
-
-
-
-#define INT_LEAST8_MIN (-128)
-#define INT_LEAST16_MIN (-32767-1)
-#define INT_LEAST32_MIN (-2147483647-1)
-#define INT_LEAST64_MIN (-__INT64_C(9223372036854775807)-1)
-
-#define INT_LEAST8_MAX (127)
-#define INT_LEAST16_MAX (32767)
-#define INT_LEAST32_MAX (2147483647)
-#define INT_LEAST64_MAX (__INT64_C(9223372036854775807))
-
-
-#define UINT_LEAST8_MAX (255)
-#define UINT_LEAST16_MAX (65535)
-#define UINT_LEAST32_MAX (4294967295U)
-#define UINT_LEAST64_MAX (__UINT64_C(18446744073709551615))
-
-
-
-#define INT_FAST8_MIN (-128)
-
-
-
-
-#define INT_FAST16_MIN (-2147483647-1)
-#define INT_FAST32_MIN (-2147483647-1)
-
-#define INT_FAST64_MIN (-__INT64_C(9223372036854775807)-1)
-
-#define INT_FAST8_MAX (127)
-
-
-
-
-#define INT_FAST16_MAX (2147483647)
-#define INT_FAST32_MAX (2147483647)
-
-#define INT_FAST64_MAX (__INT64_C(9223372036854775807))
-
-
-#define UINT_FAST8_MAX (255)
-
-
-
-
-#define UINT_FAST16_MAX (4294967295U)
-#define UINT_FAST32_MAX (4294967295U)
-
-#define UINT_FAST64_MAX (__UINT64_C(18446744073709551615))
-# 236 "../../include/stdint.h"
-#define INTPTR_MIN (-2147483647-1)
-#define INTPTR_MAX (2147483647)
-#define UINTPTR_MAX (4294967295U)
-
-
-
-
-#define INTMAX_MIN (-__INT64_C(9223372036854775807)-1)
-
-#define INTMAX_MAX (__INT64_C(9223372036854775807))
-
-
-#define UINTMAX_MAX (__UINT64_C(18446744073709551615))
-# 266 "../../include/stdint.h"
-#define PTRDIFF_MIN (-2147483647-1)
-#define PTRDIFF_MAX (2147483647)
-
-
-
-#define SIG_ATOMIC_MIN (-2147483647-1)
-#define SIG_ATOMIC_MAX (2147483647)
-
-
-
-
-
-#define SIZE_MAX (4294967295U)
-
-
-
-
-
-
-#define WCHAR_MIN __WCHAR_MIN
-#define WCHAR_MAX __WCHAR_MAX
-
-
-
-#define WINT_MIN (0u)
-#define WINT_MAX (4294967295u)
-# 302 "../../include/stdint.h"
-#define INT8_C(c) c
-#define INT16_C(c) c
-#define INT32_C(c) c
-
-
-
-#define INT64_C(c) c ## LL
-
-
-
-#define UINT8_C(c) c ## U
-#define UINT16_C(c) c ## U
-#define UINT32_C(c) c ## U
-
-
-
-#define UINT64_C(c) c ## ULL
-
-
-
-
-
-
-
-#define INTMAX_C(c) c ## LL
-#define UINTMAX_C(c) c ## ULL
-# 71 "../../include/bits/uClibc_locale.h" 2
-# 1 "../../include/bits/uClibc_touplow.h" 1
-# 31 "../../include/bits/uClibc_touplow.h"
-#define _UCLIBC_TOUPLOW_H
-
-
-
-
-
-
-typedef __uint16_t __ctype_mask_t;
-
-
-
-typedef __int16_t __ctype_touplow_t;
-#define __UCLIBC_CTYPE_B_TBL_OFFSET 128
-#define __UCLIBC_CTYPE_TO_TBL_OFFSET 128
-# 72 "../../include/bits/uClibc_locale.h" 2
-
-
-# 1 "../../include/bits/uClibc_locale_data.h" 1
-#define __lc_time_data_LEN 25900
-#define __lc_time_rows_LEN 7650
-#define __lc_time_item_offsets_LEN 50
-#define __lc_time_item_idx_LEN 3190
-#define __lc_numeric_data_LEN 22
-#define __lc_numeric_rows_LEN 42
-#define __lc_numeric_item_offsets_LEN 3
-#define __lc_numeric_item_idx_LEN 13
-#define __lc_monetary_data_LEN 1578
-#define __lc_monetary_rows_LEN 3652
-#define __lc_monetary_item_offsets_LEN 22
-#define __lc_monetary_item_idx_LEN 391
-#define __lc_messages_data_LEN 1583
-#define __lc_messages_rows_LEN 312
-#define __lc_messages_item_offsets_LEN 4
-#define __lc_messages_item_idx_LEN 170
-#define __lc_ctype_data_LEN 51
-#define __lc_ctype_rows_LEN 20
-#define __lc_ctype_item_offsets_LEN 10
-#define __lc_ctype_item_idx_LEN 20
-#define __CTYPE_HAS_UTF_8_LOCALES 1
-#define __LOCALE_DATA_CATEGORIES 6
-#define __LOCALE_DATA_WIDTH_LOCALES 9
-#define __LOCALE_DATA_NUM_LOCALES 315
-#define __LOCALE_DATA_NUM_LOCALE_NAMES 167
-#define __LOCALE_DATA_AT_MODIFIERS_LENGTH 18
-#define __lc_names_LEN 69
-#define __lc_collate_data_LEN 91141
-#define __CTYPE_HAS_8_BIT_LOCALES 1
-
-#define __LOCALE_DATA_Cctype_IDX_SHIFT 3
-#define __LOCALE_DATA_Cctype_IDX_LEN 16
-#define __LOCALE_DATA_Cctype_ROW_LEN 4
-#define __LOCALE_DATA_Cctype_PACKED 1
-
-#define __LOCALE_DATA_Cuplow_IDX_SHIFT 3
-#define __LOCALE_DATA_Cuplow_IDX_LEN 16
-#define __LOCALE_DATA_Cuplow_ROW_LEN 8
-
-#define __LOCALE_DATA_Cc2wc_IDX_LEN 16
-#define __LOCALE_DATA_Cc2wc_IDX_SHIFT 3
-#define __LOCALE_DATA_Cc2wc_ROW_LEN 8
-
-typedef struct {
- unsigned char idx8ctype[16];
- unsigned char idx8uplow[16];
- unsigned char idx8c2wc[16];
- unsigned char idx8wc2c[38];
-} __codeset_8_bit_t;
-
-
-#define __LOCALE_DATA_Cwc2c_DOMAIN_MAX 0x25ff
-#define __LOCALE_DATA_Cwc2c_TI_SHIFT 4
-#define __LOCALE_DATA_Cwc2c_TT_SHIFT 4
-#define __LOCALE_DATA_Cwc2c_II_LEN 38
-#define __LOCALE_DATA_Cwc2c_TI_LEN 1072
-#define __LOCALE_DATA_Cwc2c_TT_LEN 3456
-
-
-#define __LOCALE_DATA_Cwc2c_TBL_LEN 4528
-
-#define __LOCALE_DATA_Cuplow_TBL_LEN 504
-
-
-#define __LOCALE_DATA_Cctype_TBL_LEN 420
-
-
-#define __LOCALE_DATA_Cc2wc_TBL_LEN 1760
-
-
-
-#define __LOCALE_DATA_NUM_CODESETS 23
-#define __LOCALE_DATA_CODESET_LIST "\x18\x22\x31\x38\x3f\x4b\x56\x62" "\x6e\x7a\x86\x92\x9d\xa8\xb3\xbe" "\xc9\xd4\xdf\xea\xf1\xf8\xff" "\0" "ARMSCII-8\0" "ANSI_X3.4-1968\0" "CP1251\0" "CP1255\0" "GEORGIAN-PS\0" "ISO-8859-1\0" "ISO-8859-10\0" "ISO-8859-13\0" "ISO-8859-14\0" "ISO-8859-15\0" "ISO-8859-16\0" "ISO-8859-2\0" "ISO-8859-3\0" "ISO-8859-4\0" "ISO-8859-5\0" "ISO-8859-6\0" "ISO-8859-7\0" "ISO-8859-8\0" "ISO-8859-9\0" "KOI8-R\0" "KOI8-T\0" "KOI8-U\0" "TIS-620\0"
-# 102 "../../include/bits/uClibc_locale_data.h"
-#define __CTYPE_HAS_CODESET_ARMSCII_8
-#define __CTYPE_HAS_CODESET_ANSI_X3 .4_1968
-#define __CTYPE_HAS_CODESET_CP1251
-#define __CTYPE_HAS_CODESET_CP1255
-#define __CTYPE_HAS_CODESET_GEORGIAN_PS
-#define __CTYPE_HAS_CODESET_ISO_8859_1
-#define __CTYPE_HAS_CODESET_ISO_8859_10
-#define __CTYPE_HAS_CODESET_ISO_8859_13
-#define __CTYPE_HAS_CODESET_ISO_8859_14
-#define __CTYPE_HAS_CODESET_ISO_8859_15
-#define __CTYPE_HAS_CODESET_ISO_8859_16
-#define __CTYPE_HAS_CODESET_ISO_8859_2
-#define __CTYPE_HAS_CODESET_ISO_8859_3
-#define __CTYPE_HAS_CODESET_ISO_8859_4
-#define __CTYPE_HAS_CODESET_ISO_8859_5
-#define __CTYPE_HAS_CODESET_ISO_8859_6
-#define __CTYPE_HAS_CODESET_ISO_8859_7
-#define __CTYPE_HAS_CODESET_ISO_8859_8
-#define __CTYPE_HAS_CODESET_ISO_8859_9
-#define __CTYPE_HAS_CODESET_KOI8_R
-#define __CTYPE_HAS_CODESET_KOI8_T
-#define __CTYPE_HAS_CODESET_KOI8_U
-#define __CTYPE_HAS_CODESET_TIS_620
-#define __CTYPE_HAS_CODESET_UTF_8
-#define __LOCALE_DATA_WC_TABLE_DOMAIN_MAX 0x2ffff
-
-#define __LOCALE_DATA_WCctype_II_LEN 768
-#define __LOCALE_DATA_WCctype_TI_LEN 1888
-#define __LOCALE_DATA_WCctype_UT_LEN 948
-#define __LOCALE_DATA_WCctype_II_SHIFT 5
-#define __LOCALE_DATA_WCctype_TI_SHIFT 3
-
-
-#define __LOCALE_DATA_WCuplow_II_LEN 384
-#define __LOCALE_DATA_WCuplow_TI_LEN 576
-#define __LOCALE_DATA_WCuplow_UT_LEN 720
-#define __LOCALE_DATA_WCuplow_II_SHIFT 6
-#define __LOCALE_DATA_WCuplow_TI_SHIFT 3
-
-
-#define __LOCALE_DATA_WCuplow_diffs 98
-
-
-
-
-
-
-
-#define __WCHAR_ENABLED
-
-
-
-
-#define __LOCALE_DATA_WCctype_TBL_LEN (__LOCALE_DATA_WCctype_II_LEN + __LOCALE_DATA_WCctype_TI_LEN + __LOCALE_DATA_WCctype_UT_LEN)
-#define __LOCALE_DATA_WCuplow_TBL_LEN (__LOCALE_DATA_WCuplow_II_LEN + __LOCALE_DATA_WCuplow_TI_LEN + __LOCALE_DATA_WCuplow_UT_LEN)
-#define __LOCALE_DATA_WCuplow_diff_TBL_LEN (2 * __LOCALE_DATA_WCuplow_diffs)
-
-
-
-#undef __PASTE2
-#define __PASTE2(A,B) A ## B
-#undef __PASTE3
-#define __PASTE3(A,B,C) A ## B ## C
-
-#define __LOCALE_DATA_COMMON_MMAP(X) unsigned char __PASTE3(lc_,X,_data)[__PASTE3(__lc_,X,_data_LEN)];
-
-
-#define __LOCALE_DATA_COMMON_MMIDX(X) unsigned char __PASTE3(lc_,X,_rows)[__PASTE3(__lc_,X,_rows_LEN)]; uint16_t __PASTE3(lc_,X,_item_offsets)[__PASTE3(__lc_,X,_item_offsets_LEN)]; uint16_t __PASTE3(lc_,X,_item_idx)[__PASTE3(__lc_,X,_item_idx_LEN)];
-
-
-
-
-
-typedef struct {
-
-
-
-
-
- const unsigned char tbl8ctype[420];
- const unsigned char tbl8uplow[504];
-
- const uint16_t tbl8c2wc[1760];
- const unsigned char tbl8wc2c[4528];
-
-
-
-
- const unsigned char tblwctype[(768 + 1888 + 948)];
- const unsigned char tblwuplow[(384 + 576 + 720)];
- const int16_t tblwuplow_diff[(2 * 98)];
-
-
-
-
- unsigned char lc_ctype_data[51];;
- unsigned char lc_numeric_data[22];;
- unsigned char lc_monetary_data[1578];;
- unsigned char lc_time_data[25900];;
-
- unsigned char lc_messages_data[1583];;
-
-
-
- const __codeset_8_bit_t codeset_8_bit[23];
-
-
- unsigned char lc_ctype_rows[20]; uint16_t lc_ctype_item_offsets[10]; uint16_t lc_ctype_item_idx[20];;
- unsigned char lc_numeric_rows[42]; uint16_t lc_numeric_item_offsets[3]; uint16_t lc_numeric_item_idx[13];;
- unsigned char lc_monetary_rows[3652]; uint16_t lc_monetary_item_offsets[22]; uint16_t lc_monetary_item_idx[391];;
- unsigned char lc_time_rows[7650]; uint16_t lc_time_item_offsets[50]; uint16_t lc_time_item_idx[3190];;
-
- unsigned char lc_messages_rows[312]; uint16_t lc_messages_item_offsets[4]; uint16_t lc_messages_item_idx[170];;
-
- const uint16_t collate_data[91141];
-
- unsigned char lc_common_item_offsets_LEN[6];
- size_t lc_common_tbl_offsets[6 * 4];
-
-
-
-
- unsigned char locales[315 * 9];
- unsigned char locale_names5[5*167];
- unsigned char locale_at_modifiers[18];
-
-
- unsigned char lc_names[69];
-
- unsigned char codeset_list[sizeof("\x18\x22\x31\x38\x3f\x4b\x56\x62" "\x6e\x7a\x86\x92\x9d\xa8\xb3\xbe" "\xc9\xd4\xdf\xea\xf1\xf8\xff" "\0" "ARMSCII-8\0" "ANSI_X3.4-1968\0" "CP1251\0" "CP1255\0" "GEORGIAN-PS\0" "ISO-8859-1\0" "ISO-8859-10\0" "ISO-8859-13\0" "ISO-8859-14\0" "ISO-8859-15\0" "ISO-8859-16\0" "ISO-8859-2\0" "ISO-8859-3\0" "ISO-8859-4\0" "ISO-8859-5\0" "ISO-8859-6\0" "ISO-8859-7\0" "ISO-8859-8\0" "ISO-8859-9\0" "KOI8-R\0" "KOI8-T\0" "KOI8-U\0" "TIS-620\0")];
-
-
-
-} __locale_mmap_t;
-
-extern const __locale_mmap_t *__locale_mmap;
-# 75 "../../include/bits/uClibc_locale.h" 2
-
-
-
-
-
-
-enum {
- __ctype_encoding_7_bit,
- __ctype_encoding_utf8,
- __ctype_encoding_8_bit
-};
-
-#define LOCALE_STRING_SIZE (2 * __LC_ALL + 2)
-# 102 "../../include/bits/uClibc_locale.h"
-typedef struct {
- uint16_t num_weights;
- uint16_t num_starters;
- uint16_t ii_shift;
- uint16_t ti_shift;
- uint16_t ii_len;
- uint16_t ti_len;
- uint16_t max_weight;
- uint16_t num_col_base;
- uint16_t max_col_index;
- uint16_t undefined_idx;
- uint16_t range_low;
- uint16_t range_count;
- uint16_t range_base_weight;
- uint16_t range_rule_offset;
-
- uint16_t ii_mask;
- uint16_t ti_mask;
-
- const uint16_t *index2weight_tbl;
- const uint16_t *index2ruleidx_tbl;
- const uint16_t *multistart_tbl;
-
-
- const uint16_t *wcs2colidt_tbl;
-
-
- const uint16_t *overrides_tbl;
-
-
- const uint16_t *weightstr;
- const uint16_t *ruletable;
-
-
- uint16_t *index2weight;
- uint16_t *index2ruleidx;
-
- uint16_t MAX_WEIGHTS;
-} __collate_t;
-
-
-
-
-typedef struct __uclibc_locale_struct {
-
-
-
-
-
-
-
- __ctype_mask_t __ctype_b_data[256 + 128];
- __ctype_touplow_t __ctype_tolower_data[256 + 128];
- __ctype_touplow_t __ctype_toupper_data[256 + 128];
-
-
-
- unsigned char cur_locale[(2 * 6 + 2)];
-
-
-
-
-
- uint16_t category_offsets[6];
- unsigned char category_item_count[6];
-
-
- unsigned char encoding;
- unsigned char mb_cur_max;
- const unsigned char outdigit_length[10];
-
-
- const unsigned char *idx8ctype;
- const unsigned char *tbl8ctype;
- const unsigned char *idx8uplow;
- const unsigned char *tbl8uplow;
-
- const unsigned char *idx8c2wc;
- const uint16_t *tbl8c2wc;
- const unsigned char *idx8wc2c;
- const unsigned char *tbl8wc2c;
-
-
-
-
-
- const uint16_t *code2flag;
-
- const unsigned char *tblwctype;
- const unsigned char *tblwuplow;
-
- const int16_t *tblwuplow_diff;
-
-
- wchar_t decimal_point_wc;
- wchar_t thousands_sep_wc;
- int decimal_point_len;
- int thousands_sep_len;
-
-
-
-
- const char *outdigit0_mb;
- const char *outdigit1_mb;
- const char *outdigit2_mb;
- const char *outdigit3_mb;
- const char *outdigit4_mb;
- const char *outdigit5_mb;
- const char *outdigit6_mb;
- const char *outdigit7_mb;
- const char *outdigit8_mb;
- const char *outdigit9_mb;
- const char *codeset;
-
-
- const char *decimal_point;
- const char *thousands_sep;
- const char *grouping;
-
-
- const char *int_curr_symbol;
- const char *currency_symbol;
- const char *mon_decimal_point;
- const char *mon_thousands_sep;
- const char *mon_grouping;
- const char *positive_sign;
- const char *negative_sign;
- const char *int_frac_digits;
- const char *frac_digits;
- const char *p_cs_precedes;
- const char *p_sep_by_space;
- const char *n_cs_precedes;
- const char *n_sep_by_space;
- const char *p_sign_posn;
- const char *n_sign_posn;
- const char *int_p_cs_precedes;
- const char *int_p_sep_by_space;
- const char *int_n_cs_precedes;
- const char *int_n_sep_by_space;
- const char *int_p_sign_posn;
- const char *int_n_sign_posn;
-
- const char *crncystr;
-
-
- const char *abday_1;
- const char *abday_2;
- const char *abday_3;
- const char *abday_4;
- const char *abday_5;
- const char *abday_6;
- const char *abday_7;
-
- const char *day_1;
- const char *day_2;
- const char *day_3;
- const char *day_4;
- const char *day_5;
- const char *day_6;
- const char *day_7;
-
- const char *abmon_1;
- const char *abmon_2;
- const char *abmon_3;
- const char *abmon_4;
- const char *abmon_5;
- const char *abmon_6;
- const char *abmon_7;
- const char *abmon_8;
- const char *abmon_9;
- const char *abmon_10;
- const char *abmon_11;
- const char *abmon_12;
-
- const char *mon_1;
- const char *mon_2;
- const char *mon_3;
- const char *mon_4;
- const char *mon_5;
- const char *mon_6;
- const char *mon_7;
- const char *mon_8;
- const char *mon_9;
- const char *mon_10;
- const char *mon_11;
- const char *mon_12;
-
- const char *am_str;
- const char *pm_str;
-
- const char *d_t_fmt;
- const char *d_fmt;
- const char *t_fmt;
- const char *t_fmt_ampm;
- const char *era;
-
- const char *era_year;
- const char *era_d_fmt;
- const char *alt_digits;
- const char *era_d_t_fmt;
- const char *era_t_fmt;
-
-
-
-
- const char *yesexpr;
- const char *noexpr;
- const char *yesstr;
- const char *nostr;
-
-
- __collate_t collate;
-
-} __uclibc_locale_t;
-
-extern __uclibc_locale_t __global_locale_data;
-extern struct __uclibc_locale_struct * __global_locale;
-
-
-typedef struct __uclibc_locale_struct *__locale_t;
-
-
-
-extern int __locale_mbrtowc_l(wchar_t *__restrict dst,
- const char *__restrict src,
- __locale_t loc ) __attribute__ ((visibility ("hidden")));
-# 355 "../../include/bits/uClibc_locale.h"
-#define __UCLIBC_CURLOCALE (__global_locale)
-#define __UCLIBC_CURLOCALE_DATA (*__global_locale)
-# 369 "../../include/bits/uClibc_locale.h"
-#define __XL_NPP(N) N
-#define __LOCALE_PARAM
-#define __LOCALE_ARG
-#define __LOCALE_PTR __UCLIBC_CURLOCALE
-# 31 "../../include/locale.h" 2
-
-
-
-
-
-#define LC_CTYPE __LC_CTYPE
-#define LC_NUMERIC __LC_NUMERIC
-#define LC_TIME __LC_TIME
-#define LC_COLLATE __LC_COLLATE
-#define LC_MONETARY __LC_MONETARY
-#define LC_MESSAGES __LC_MESSAGES
-# 50 "../../include/locale.h"
-#define LC_ALL __LC_ALL
-
-
-
-struct lconv
-{
-
-
- char *decimal_point;
- char *thousands_sep;
-
-
-
-
-
- char *grouping;
-
-
-
-
-
- char *int_curr_symbol;
- char *currency_symbol;
- char *mon_decimal_point;
- char *mon_thousands_sep;
- char *mon_grouping;
- char *positive_sign;
- char *negative_sign;
- char int_frac_digits;
- char frac_digits;
-
- char p_cs_precedes;
-
- char p_sep_by_space;
-
- char n_cs_precedes;
-
- char n_sep_by_space;
-
-
-
-
-
-
- char p_sign_posn;
- char n_sign_posn;
-
-
- char int_p_cs_precedes;
-
- char int_p_sep_by_space;
-
- char int_n_cs_precedes;
-
- char int_n_sep_by_space;
-
-
-
-
-
-
- char int_p_sign_posn;
- char int_n_sign_posn;
-# 121 "../../include/locale.h"
-};
-
-
-
-
-
-extern char *setlocale (int __category, __const char *__locale) __attribute__ ((__nothrow__));
-
-
-extern struct lconv *localeconv (void) __attribute__ ((__nothrow__));
-
-
-# 152 "../../include/locale.h"
-typedef __locale_t locale_t;
-
-
-
-
-
-extern __locale_t newlocale (int __category_mask, __const char *__locale,
- __locale_t __base) __attribute__ ((__nothrow__));
-
-
-
-
-
-#define LC_CTYPE_MASK (1 << __LC_CTYPE)
-#define LC_NUMERIC_MASK (1 << __LC_NUMERIC)
-#define LC_TIME_MASK (1 << __LC_TIME)
-#define LC_COLLATE_MASK (1 << __LC_COLLATE)
-#define LC_MONETARY_MASK (1 << __LC_MONETARY)
-#define LC_MESSAGES_MASK (1 << __LC_MESSAGES)
-# 195 "../../include/locale.h"
-#define LC_ALL_MASK (LC_CTYPE_MASK | LC_NUMERIC_MASK | LC_TIME_MASK | LC_COLLATE_MASK | LC_MONETARY_MASK | LC_MESSAGES_MASK )
-# 206 "../../include/locale.h"
-extern __locale_t duplocale (__locale_t __dataset) __attribute__ ((__nothrow__));
-
-
-
-extern void freelocale (__locale_t __dataset) __attribute__ ((__nothrow__));
-
-
-
-
-
-
-extern __locale_t uselocale (__locale_t __dataset) __attribute__ ((__nothrow__));
-
-
-
-#define LC_GLOBAL_LOCALE ((__locale_t) -1L)
-
-
-
-
-# 14 "tsp_common.c" 2
-# 1 "../../include/errno.h" 1
-# 28 "../../include/errno.h"
-#define _ERRNO_H 1
-
-
-
-
-
-
-
-# 1 "../../include/bits/errno.h" 1
-# 22 "../../include/bits/errno.h"
-# 1 "../../include/bits/errno_values.h" 1
-
-#define _BITS_ERRNO_VALUES_H
-# 12 "../../include/bits/errno_values.h"
-#define EPERM 1
-#define ENOENT 2
-#define ESRCH 3
-#define EINTR 4
-#define EIO 5
-#define ENXIO 6
-#define E2BIG 7
-#define ENOEXEC 8
-#define EBADF 9
-#define ECHILD 10
-#define EAGAIN 11
-#define ENOMEM 12
-#define EACCES 13
-#define EFAULT 14
-#define ENOTBLK 15
-#define EBUSY 16
-#define EEXIST 17
-#define EXDEV 18
-#define ENODEV 19
-#define ENOTDIR 20
-#define EISDIR 21
-#define EINVAL 22
-#define ENFILE 23
-#define EMFILE 24
-#define ENOTTY 25
-#define ETXTBSY 26
-#define EFBIG 27
-#define ENOSPC 28
-#define ESPIPE 29
-#define EROFS 30
-#define EMLINK 31
-#define EPIPE 32
-#define EDOM 33
-#define ERANGE 34
-#define EDEADLK 35
-#define ENAMETOOLONG 36
-#define ENOLCK 37
-#define ENOSYS 38
-#define ENOTEMPTY 39
-#define ELOOP 40
-#define EWOULDBLOCK EAGAIN
-#define ENOMSG 42
-#define EIDRM 43
-#define ECHRNG 44
-#define EL2NSYNC 45
-#define EL3HLT 46
-#define EL3RST 47
-#define ELNRNG 48
-#define EUNATCH 49
-#define ENOCSI 50
-#define EL2HLT 51
-#define EBADE 52
-#define EBADR 53
-#define EXFULL 54
-#define ENOANO 55
-#define EBADRQC 56
-#define EBADSLT 57
-#define EDEADLOCK EDEADLK
-#define EBFONT 59
-#define ENOSTR 60
-#define ENODATA 61
-#define ETIME 62
-#define ENOSR 63
-#define ENONET 64
-#define ENOPKG 65
-#define EREMOTE 66
-#define ENOLINK 67
-#define EADV 68
-#define ESRMNT 69
-#define ECOMM 70
-#define EPROTO 71
-#define EMULTIHOP 72
-#define EDOTDOT 73
-#define EBADMSG 74
-#define EOVERFLOW 75
-#define ENOTUNIQ 76
-#define EBADFD 77
-#define EREMCHG 78
-#define ELIBACC 79
-#define ELIBBAD 80
-#define ELIBSCN 81
-#define ELIBMAX 82
-#define ELIBEXEC 83
-#define EILSEQ 84
-#define ERESTART 85
-#define ESTRPIPE 86
-#define EUSERS 87
-#define ENOTSOCK 88
-#define EDESTADDRREQ 89
-#define EMSGSIZE 90
-#define EPROTOTYPE 91
-#define ENOPROTOOPT 92
-#define EPROTONOSUPPORT 93
-#define ESOCKTNOSUPPORT 94
-#define EOPNOTSUPP 95
-#define EPFNOSUPPORT 96
-#define EAFNOSUPPORT 97
-#define EADDRINUSE 98
-#define EADDRNOTAVAIL 99
-#define ENETDOWN 100
-#define ENETUNREACH 101
-#define ENETRESET 102
-#define ECONNABORTED 103
-#define ECONNRESET 104
-#define ENOBUFS 105
-#define EISCONN 106
-#define ENOTCONN 107
-#define ESHUTDOWN 108
-#define ETOOMANYREFS 109
-#define ETIMEDOUT 110
-#define ECONNREFUSED 111
-#define EHOSTDOWN 112
-#define EHOSTUNREACH 113
-#define EALREADY 114
-#define EINPROGRESS 115
-#define ESTALE 116
-#define EUCLEAN 117
-#define ENOTNAM 118
-#define ENAVAIL 119
-#define EISNAM 120
-#define EREMOTEIO 121
-#define EDQUOT 122
-#define ENOMEDIUM 123
-#define EMEDIUMTYPE 124
-# 23 "../../include/bits/errno.h" 2
-
-
-#define ENOTSUP EOPNOTSUPP
-
-
-
-#define ECANCELED 125
-
-
-
-
-
-extern int *__errno_location (void) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
-
-
-
-#define errno (*__errno_location ())
-# 37 "../../include/errno.h" 2
-#undef __need_Emath
-# 59 "../../include/errno.h"
-
-
-
-
-#undef errno
-
-#define errno __libc_errno
-
-
-
-extern __thread int __libc_errno __attribute__ ((tls_model ("initial-exec")));
-
-
-
-
-#define __set_errno(val) (errno = (val))
-
-
-
-extern int *__errno_location (void) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
-# 89 "../../include/errno.h"
-typedef int error_t;
-#define __error_t_defined 1
-
-#undef __need_error_t
-# 15 "tsp_common.c" 2
-# 1 "../../include/signal.h" 1
-# 26 "../../include/signal.h"
-#define _SIGNAL_H
-
-
-
-
-
-
-# 1 "../../include/bits/sigset.h" 1
-# 43 "../../include/bits/sigset.h"
-#define _SIGSET_H_fns 1
-
-
-#define _EXTERN_INLINE extern __inline
-
-
-
-#define __sigmask(sig) (((unsigned long int) 1) << (((sig) - 1) % (8 * sizeof (unsigned long int))))
-
-
-
-#define __sigword(sig) (((sig) - 1) / (8 * sizeof (unsigned long int)))
-
-
-#define __sigemptyset(set) (__extension__ ({ int __cnt = _SIGSET_NWORDS; sigset_t *__set = (set); while (--__cnt >= 0) __set->__val[__cnt] = 0; 0; }))
-
-
-
-
-#define __sigfillset(set) (__extension__ ({ int __cnt = _SIGSET_NWORDS; sigset_t *__set = (set); while (--__cnt >= 0) __set->__val[__cnt] = ~0UL; 0; }))
-# 72 "../../include/bits/sigset.h"
-#define __sigisemptyset(set) (__extension__ ({ int __cnt = _SIGSET_NWORDS; const sigset_t *__set = (set); int __ret = __set->__val[--__cnt]; while (!__ret && --__cnt >= 0) __ret = __set->__val[__cnt]; __ret == 0; }))
-
-
-
-
-
-
-#define __sigandset(dest,left,right) (__extension__ ({ int __cnt = _SIGSET_NWORDS; sigset_t *__dest = (dest); const sigset_t *__left = (left); const sigset_t *__right = (right); while (--__cnt >= 0) __dest->__val[__cnt] = (__left->__val[__cnt] & __right->__val[__cnt]); 0; }))
-# 88 "../../include/bits/sigset.h"
-#define __sigorset(dest,left,right) (__extension__ ({ int __cnt = _SIGSET_NWORDS; sigset_t *__dest = (dest); const sigset_t *__left = (left); const sigset_t *__right = (right); while (--__cnt >= 0) __dest->__val[__cnt] = (__left->__val[__cnt] | __right->__val[__cnt]); 0; }))
-# 103 "../../include/bits/sigset.h"
-extern int __sigismember (__const __sigset_t *, int);
-extern int __sigaddset (__sigset_t *, int);
-extern int __sigdelset (__sigset_t *, int);
-# 34 "../../include/signal.h" 2
-
-
-
-
-
-#define __sig_atomic_t_defined
-
-typedef __sig_atomic_t sig_atomic_t;
-
-
-#undef __need_sig_atomic_t
-
-
-
-
-
-
-
-#undef __need_sigset_t
-
-
-
-
-
-# 1 "../../include/bits/signum.h" 1
-# 23 "../../include/bits/signum.h"
-#define SIG_ERR ((__sighandler_t) -1)
-#define SIG_DFL ((__sighandler_t) 0)
-#define SIG_IGN ((__sighandler_t) 1)
-
-
-#define SIG_HOLD ((__sighandler_t) 2)
-
-
-
-
-#define SIGHUP 1
-#define SIGINT 2
-#define SIGQUIT 3
-#define SIGILL 4
-#define SIGTRAP 5
-#define SIGABRT 6
-#define SIGIOT 6
-#define SIGBUS 7
-#define SIGFPE 8
-#define SIGKILL 9
-#define SIGUSR1 10
-#define SIGSEGV 11
-#define SIGUSR2 12
-#define SIGPIPE 13
-#define SIGALRM 14
-#define SIGTERM 15
-#define SIGSTKFLT 16
-#define SIGCLD SIGCHLD
-#define SIGCHLD 17
-#define SIGCONT 18
-#define SIGSTOP 19
-#define SIGTSTP 20
-#define SIGTTIN 21
-#define SIGTTOU 22
-#define SIGURG 23
-#define SIGXCPU 24
-#define SIGXFSZ 25
-#define SIGVTALRM 26
-#define SIGPROF 27
-#define SIGWINCH 28
-#define SIGPOLL SIGIO
-#define SIGIO 29
-#define SIGPWR 30
-#define SIGSYS 31
-#define SIGUNUSED 31
-
-#define _NSIG 64
-
-
-#define SIGRTMIN (__libc_current_sigrtmin ())
-#define SIGRTMAX (__libc_current_sigrtmax ())
-
-
-
-#define __SIGRTMIN 32
-#define __SIGRTMAX (_NSIG - 1)
-# 59 "../../include/signal.h" 2
-# 75 "../../include/signal.h"
-typedef void (*__sighandler_t) (int);
-
-
-
-
-extern __sighandler_t __sysv_signal (int __sig, __sighandler_t __handler)
- __attribute__ ((__nothrow__));
-
-extern __sighandler_t sysv_signal (int __sig, __sighandler_t __handler)
- __attribute__ ((__nothrow__));
-
-
-
-
-
-
-
-extern __sighandler_t signal (int __sig, __sighandler_t __handler)
- __attribute__ ((__nothrow__));
-# 104 "../../include/signal.h"
-
-
-
-
-
-extern __sighandler_t bsd_signal (int __sig, __sighandler_t __handler)
- __attribute__ ((__nothrow__));
-
-
-
-
-
-
-extern int kill (__pid_t __pid, int __sig) __attribute__ ((__nothrow__));
-
-
-
-
-
-
-extern int killpg (__pid_t __pgrp, int __sig) __attribute__ ((__nothrow__));
-
-
-
-
-extern int raise (int __sig) __attribute__ ((__nothrow__));
-
-
-
-
-extern __sighandler_t ssignal (int __sig, __sighandler_t __handler)
- __attribute__ ((__nothrow__));
-extern int gsignal (int __sig) __attribute__ ((__nothrow__));
-
-
-
-
-extern void psignal (int __sig, __const char *__s);
-# 153 "../../include/signal.h"
-extern int __sigpause (int __sig_or_mask, int __is_sig);
-# 163 "../../include/signal.h"
-#define sigpause(sig) __sigpause ((sig), 1)
-# 175 "../../include/signal.h"
-#define sigmask(sig) __sigmask(sig)
-
-
-extern int sigblock (int __mask) __attribute__ ((__nothrow__)) __attribute__ ((__deprecated__));
-
-
-extern int sigsetmask (int __mask) __attribute__ ((__nothrow__)) __attribute__ ((__deprecated__));
-
-
-extern int siggetmask (void) __attribute__ ((__nothrow__)) __attribute__ ((__deprecated__));
-
-
-
-
-#define NSIG _NSIG
-
-
-
-typedef __sighandler_t sighandler_t;
-
-
-
-
-typedef __sighandler_t sig_t;
-
-
-
-
-
-
-#define __need_timespec
-# 1 "../../include/time.h" 1
-# 68 "../../include/time.h"
-#undef __need_clock_t
-# 84 "../../include/time.h"
-#undef __need_time_t
-# 96 "../../include/time.h"
-#undef __clockid_time_t
-# 108 "../../include/time.h"
-#undef __need_timer_t
-# 128 "../../include/time.h"
-#undef __need_timespec
-# 207 "../../include/signal.h" 2
-
-
-# 1 "../../include/bits/siginfo.h" 1
-# 25 "../../include/bits/siginfo.h"
-# 1 "../../include/bits/wordsize.h" 1
-# 19 "../../include/bits/wordsize.h"
-#define __WORDSIZE 32
-# 26 "../../include/bits/siginfo.h" 2
-
-
-
-
-#define __have_sigval_t 1
-
-
-typedef union sigval
- {
- int sival_int;
- void *sival_ptr;
- } sigval_t;
-
-
-
-
-#define __have_siginfo_t 1
-
-#define __SI_MAX_SIZE 128
-
-
-
-#define __SI_PAD_SIZE ((__SI_MAX_SIZE / sizeof (int)) - 3)
-
-
-typedef struct siginfo
- {
- int si_signo;
- int si_errno;
-
- int si_code;
-
- union
- {
- int _pad[((128 / sizeof (int)) - 3)];
-
-
- struct
- {
- __pid_t si_pid;
- __uid_t si_uid;
- } _kill;
-
-
- struct
- {
- unsigned int _timer1;
- unsigned int _timer2;
- } _timer;
-
-
- struct
- {
- __pid_t si_pid;
- __uid_t si_uid;
- sigval_t si_sigval;
- } _rt;
-
-
- struct
- {
- __pid_t si_pid;
- __uid_t si_uid;
- int si_status;
- __clock_t si_utime;
- __clock_t si_stime;
- } _sigchld;
-
-
- struct
- {
- void *si_addr;
- } _sigfault;
-
-
- struct
- {
- long int si_band;
- int si_fd;
- } _sigpoll;
- } _sifields;
- } siginfo_t;
-
-
-
-#define si_pid _sifields._kill.si_pid
-#define si_uid _sifields._kill.si_uid
-#define si_timer1 _sifields._timer._timer1
-#define si_timer2 _sifields._timer._timer2
-#define si_status _sifields._sigchld.si_status
-#define si_utime _sifields._sigchld.si_utime
-#define si_stime _sifields._sigchld.si_stime
-#define si_value _sifields._rt.si_sigval
-#define si_int _sifields._rt.si_sigval.sival_int
-#define si_ptr _sifields._rt.si_sigval.sival_ptr
-#define si_addr _sifields._sigfault.si_addr
-#define si_band _sifields._sigpoll.si_band
-#define si_fd _sifields._sigpoll.si_fd
-
-
-
-
-enum
-{
- SI_ASYNCNL = -60,
-#define SI_ASYNCNL SI_ASYNCNL
- SI_TKILL = -6,
-#define SI_TKILL SI_TKILL
- SI_SIGIO,
-#define SI_SIGIO SI_SIGIO
- SI_ASYNCIO,
-#define SI_ASYNCIO SI_ASYNCIO
- SI_MESGQ,
-#define SI_MESGQ SI_MESGQ
- SI_TIMER,
-#define SI_TIMER SI_TIMER
- SI_QUEUE,
-#define SI_QUEUE SI_QUEUE
- SI_USER,
-#define SI_USER SI_USER
- SI_KERNEL = 0x80
-#define SI_KERNEL SI_KERNEL
-};
-
-
-
-enum
-{
- ILL_ILLOPC = 1,
-#define ILL_ILLOPC ILL_ILLOPC
- ILL_ILLOPN,
-#define ILL_ILLOPN ILL_ILLOPN
- ILL_ILLADR,
-#define ILL_ILLADR ILL_ILLADR
- ILL_ILLTRP,
-#define ILL_ILLTRP ILL_ILLTRP
- ILL_PRVOPC,
-#define ILL_PRVOPC ILL_PRVOPC
- ILL_PRVREG,
-#define ILL_PRVREG ILL_PRVREG
- ILL_COPROC,
-#define ILL_COPROC ILL_COPROC
- ILL_BADSTK
-#define ILL_BADSTK ILL_BADSTK
-};
-
-
-enum
-{
- FPE_INTDIV = 1,
-#define FPE_INTDIV FPE_INTDIV
- FPE_INTOVF,
-#define FPE_INTOVF FPE_INTOVF
- FPE_FLTDIV,
-#define FPE_FLTDIV FPE_FLTDIV
- FPE_FLTOVF,
-#define FPE_FLTOVF FPE_FLTOVF
- FPE_FLTUND,
-#define FPE_FLTUND FPE_FLTUND
- FPE_FLTRES,
-#define FPE_FLTRES FPE_FLTRES
- FPE_FLTINV,
-#define FPE_FLTINV FPE_FLTINV
- FPE_FLTSUB
-#define FPE_FLTSUB FPE_FLTSUB
-};
-
-
-enum
-{
- SEGV_MAPERR = 1,
-#define SEGV_MAPERR SEGV_MAPERR
- SEGV_ACCERR
-#define SEGV_ACCERR SEGV_ACCERR
-};
-
-
-enum
-{
- BUS_ADRALN = 1,
-#define BUS_ADRALN BUS_ADRALN
- BUS_ADRERR,
-#define BUS_ADRERR BUS_ADRERR
- BUS_OBJERR
-#define BUS_OBJERR BUS_OBJERR
-};
-
-
-enum
-{
- TRAP_BRKPT = 1,
-#define TRAP_BRKPT TRAP_BRKPT
- TRAP_TRACE
-#define TRAP_TRACE TRAP_TRACE
-};
-
-
-enum
-{
- CLD_EXITED = 1,
-#define CLD_EXITED CLD_EXITED
- CLD_KILLED,
-#define CLD_KILLED CLD_KILLED
- CLD_DUMPED,
-#define CLD_DUMPED CLD_DUMPED
- CLD_TRAPPED,
-#define CLD_TRAPPED CLD_TRAPPED
- CLD_STOPPED,
-#define CLD_STOPPED CLD_STOPPED
- CLD_CONTINUED
-#define CLD_CONTINUED CLD_CONTINUED
-};
-
-
-enum
-{
- POLL_IN = 1,
-#define POLL_IN POLL_IN
- POLL_OUT,
-#define POLL_OUT POLL_OUT
- POLL_MSG,
-#define POLL_MSG POLL_MSG
- POLL_ERR,
-#define POLL_ERR POLL_ERR
- POLL_PRI,
-#define POLL_PRI POLL_PRI
- POLL_HUP
-#define POLL_HUP POLL_HUP
-};
-
-#undef __need_siginfo_t
-
-
-
-
-
-#define __have_sigevent_t 1
-
-
-#define __SIGEV_MAX_SIZE 64
-
-
-
-#define __SIGEV_PAD_SIZE ((__SIGEV_MAX_SIZE / sizeof (int)) - 3)
-
-
-
-struct __pthread_attr_s;
-
-typedef struct sigevent
- {
- sigval_t sigev_value;
- int sigev_signo;
- int sigev_notify;
-
- union
- {
- int _pad[((64 / sizeof (int)) - 3)];
-
- struct
- {
- void (*_function) (sigval_t);
- struct __pthread_attr_s *_attribute;
- } _sigev_thread;
- } _sigev_un;
- } sigevent_t;
-
-
-#define sigev_notify_function _sigev_un._sigev_thread._function
-#define sigev_notify_attributes _sigev_un._sigev_thread._attribute
-
-
-enum
-{
- SIGEV_SIGNAL = 0,
-#define SIGEV_SIGNAL SIGEV_SIGNAL
- SIGEV_NONE,
-#define SIGEV_NONE SIGEV_NONE
- SIGEV_THREAD,
-#define SIGEV_THREAD SIGEV_THREAD
-
- SIGEV_THREAD_ID = 4
-#define SIGEV_THREAD_ID SIGEV_THREAD_ID
-};
-# 210 "../../include/signal.h" 2
-
-
-
-extern int sigemptyset (sigset_t *__set) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
-
-
-extern int sigfillset (sigset_t *__set) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
-
-
-extern int sigaddset (sigset_t *__set, int __signo) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
-
-
-extern int sigdelset (sigset_t *__set, int __signo) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
-
-
-extern int sigismember (__const sigset_t *__set, int __signo)
- __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
-
-
-
-extern int sigisemptyset (__const sigset_t *__set) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
-
-
-extern int sigandset (sigset_t *__set, __const sigset_t *__left,
- __const sigset_t *__right) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2, 3)));
-
-
-extern int sigorset (sigset_t *__set, __const sigset_t *__left,
- __const sigset_t *__right) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2, 3)));
-
-
-
-
-# 1 "../../include/bits/sigaction.h" 1
-# 25 "../../include/bits/sigaction.h"
-struct sigaction
- {
-
-
- union
- {
-
- __sighandler_t sa_handler;
-
- void (*sa_sigaction) (int, siginfo_t *, void *);
- }
- __sigaction_handler;
-#define sa_handler __sigaction_handler.sa_handler
-#define sa_sigaction __sigaction_handler.sa_sigaction
-
-
-
-
-
- __sigset_t sa_mask;
-
-
- int sa_flags;
-
-
- void (*sa_restorer) (void);
- };
-
-
-#define SA_NOCLDSTOP 1
-#define SA_NOCLDWAIT 2
-#define SA_SIGINFO 4
-
-
-#define SA_ONSTACK 0x08000000
-#define SA_RESTART 0x10000000
-#define SA_NODEFER 0x40000000
-
-#define SA_RESETHAND 0x80000000
-
-
-#define SA_INTERRUPT 0x20000000
-
-
-#define SA_NOMASK SA_NODEFER
-#define SA_ONESHOT SA_RESETHAND
-#define SA_STACK SA_ONSTACK
-
-
-
-#define SIG_BLOCK 0
-#define SIG_UNBLOCK 1
-#define SIG_SETMASK 2
-# 244 "../../include/signal.h" 2
-
-
-extern int sigprocmask (int __how, __const sigset_t *__restrict __set,
- sigset_t *__restrict __oset) __attribute__ ((__nothrow__));
-
-
-
-
-
-
-extern int sigsuspend (__const sigset_t *__set) __attribute__ ((__nonnull__ (1)));
-
-
-extern int sigaction (int __sig, __const struct sigaction *__restrict __act,
- struct sigaction *__restrict __oact) __attribute__ ((__nothrow__));
-
-
-extern int sigpending (sigset_t *__set) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
-
-
-
-
-
-
-extern int sigwait (__const sigset_t *__restrict __set, int *__restrict __sig)
- __attribute__ ((__nonnull__ (1, 2)));
-
-
-
-
-
-
-extern int sigwaitinfo (__const sigset_t *__restrict __set,
- siginfo_t *__restrict __info) __attribute__ ((__nonnull__ (1)));
-
-
-
-
-
-
-extern int sigtimedwait (__const sigset_t *__restrict __set,
- siginfo_t *__restrict __info,
- __const struct timespec *__restrict __timeout)
- __attribute__ ((__nonnull__ (1)));
-
-
-
-extern int sigqueue (__pid_t __pid, int __sig, __const union sigval __val)
- __attribute__ ((__nothrow__));
-# 307 "../../include/signal.h"
-struct sigvec
- {
- __sighandler_t sv_handler;
- int sv_mask;
-
- int sv_flags;
-#define sv_onstack sv_flags
- };
-
-
-#define SV_ONSTACK (1 << 0)
-#define SV_INTERRUPT (1 << 1)
-#define SV_RESETHAND (1 << 2)
-
-
-
-
-
-
-
-extern int sigvec (int __sig, __const struct sigvec *__vec,
- struct sigvec *__ovec) __attribute__ ((__nothrow__));
-
-
-
-# 1 "../../include/bits/sigcontext.h" 1
-# 26 "../../include/bits/sigcontext.h"
-#define sigcontext_struct sigcontext
-
-# 1 "/opt/STM/STLinux-2.3ear/devkit/sh4/uclibc_target/usr/include/asm/sigcontext.h" 1
-
-#define __ASM_SH_SIGCONTEXT_H
-
-struct sigcontext {
- unsigned long oldmask;
-
-
- unsigned long sc_regs[16];
- unsigned long sc_pc;
- unsigned long sc_pr;
- unsigned long sc_sr;
- unsigned long sc_gbr;
- unsigned long sc_mach;
- unsigned long sc_macl;
-
-
-
- unsigned long sc_fpregs[16];
- unsigned long sc_xfpregs[16];
- unsigned int sc_fpscr;
- unsigned int sc_fpul;
- unsigned int sc_ownedfp;
-
-};
-# 29 "../../include/bits/sigcontext.h" 2
-# 333 "../../include/signal.h" 2
-
-
-extern int sigreturn (struct sigcontext *__scp) __attribute__ ((__nothrow__));
-# 345 "../../include/signal.h"
-extern int siginterrupt (int __sig, int __interrupt) __attribute__ ((__nothrow__));
-
-# 1 "../../include/bits/sigstack.h" 1
-# 26 "../../include/bits/sigstack.h"
-struct sigstack
- {
- void *ss_sp;
- int ss_onstack;
- };
-
-
-
-enum
-{
- SS_ONSTACK = 1,
-#define SS_ONSTACK SS_ONSTACK
- SS_DISABLE
-#define SS_DISABLE SS_DISABLE
-};
-
-
-#define MINSIGSTKSZ 2048
-
-
-#define SIGSTKSZ 8192
-
-
-
-typedef struct sigaltstack
- {
- void *ss_sp;
- int ss_flags;
- size_t ss_size;
- } stack_t;
-# 348 "../../include/signal.h" 2
-
-
-# 1 "../../include/ucontext.h" 1
-# 20 "../../include/ucontext.h"
-#define _UCONTEXT_H 1
-
-
-
-
-# 1 "../../include/sys/ucontext.h" 1
-# 22 "../../include/sys/ucontext.h"
-#define _SYS_UCONTEXT_H 1
-
-
-# 1 "../../include/signal.h" 1
-# 26 "../../include/sys/ucontext.h" 2
-
-
-
-# 1 "../../include/bits/sigcontext.h" 1
-# 30 "../../include/sys/ucontext.h" 2
-
-
-typedef int greg_t;
-
-
-#define NFPREG 16
-
-
-typedef greg_t gregset_t[16];
-
-
-
-enum
-{
- R0 = 0,
-#define R0 R0
- R1 = 1,
-#define R1 R1
- R2 = 2,
-#define R2 R2
- R3 = 3,
-#define R3 R3
- R4 = 4,
-#define R4 R4
- R5 = 5,
-#define R5 R5
- R6 = 6,
-#define R6 R6
- R7 = 7,
-#define R7 R7
- R8 = 8,
-#define R8 R8
- R9 = 9,
-#define R9 R9
- R10 = 10,
-#define R10 R10
- R11 = 11,
-#define R11 R11
- R12 = 12,
-#define R12 R12
- R13 = 13,
-#define R13 R13
- R14 = 14,
-#define R14 R14
- R15 = 15,
-#define R15 R15
-};
-
-
-typedef int freg_t;
-
-
-#define NFPREG 16
-
-
-typedef freg_t fpregset_t[16];
-
-
-typedef struct
- {
- unsigned int oldmask;
-
-
- gregset_t gregs;
- unsigned int pc;
- unsigned int pr;
- unsigned int sr;
- unsigned int gbr;
- unsigned int mach;
- unsigned int macl;
-
-
-
- fpregset_t fpregs;
- fpregset_t xfpregs;
- unsigned int fpscr;
- unsigned int fpul;
- unsigned int ownedfp;
-
- } mcontext_t;
-
-
-typedef struct ucontext
- {
- unsigned long int uc_flags;
- struct ucontext *uc_link;
- stack_t uc_stack;
- mcontext_t uc_mcontext;
- __sigset_t uc_sigmask;
- } ucontext_t;
-# 26 "../../include/ucontext.h" 2
-# 351 "../../include/signal.h" 2
-
-
-
-
-
-extern int sigstack (struct sigstack *__ss, struct sigstack *__oss)
- __attribute__ ((__nothrow__)) __attribute__ ((__deprecated__));
-
-
-
-extern int sigaltstack (__const struct sigaltstack *__restrict __ss,
- struct sigaltstack *__restrict __oss) __attribute__ ((__nothrow__));
-
-
-
-
-
-
-
-extern int sighold (int __sig) __attribute__ ((__nothrow__));
-
-
-extern int sigrelse (int __sig) __attribute__ ((__nothrow__));
-
-
-extern int sigignore (int __sig) __attribute__ ((__nothrow__));
-
-
-extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __attribute__ ((__nothrow__));
-
-
-
-
-
-
-# 1 "../../include/bits/sigthread.h" 1
-# 21 "../../include/bits/sigthread.h"
-#define _BITS_SIGTHREAD_H 1
-# 31 "../../include/bits/sigthread.h"
-extern int pthread_sigmask (int __how,
- __const __sigset_t *__restrict __newmask,
- __sigset_t *__restrict __oldmask)__attribute__ ((__nothrow__));
-
-
-extern int pthread_kill (pthread_t __thread_id, int __signo) __attribute__ ((__nothrow__));
-# 387 "../../include/signal.h" 2
-
-
-
-
-
-
-extern int __libc_current_sigrtmin (void) __attribute__ ((__nothrow__));
-
-extern int __libc_current_sigrtmax (void) __attribute__ ((__nothrow__));
-
-
-
-
-# 16 "tsp_common.c" 2
-
-# 1 "tst_types.h" 1
-# 11 "tst_types.h"
-#define TST_TYPES_H
-
-
-# 1 "../../include/wchar.h" 1
-# 27 "../../include/wchar.h"
-#define _WCHAR_H 1
-# 37 "../../include/wchar.h"
-#define __need___FILE
-
-#define __need_FILE
-
-
-
-#define __need___va_list
-# 1 "/opt/STM/STLinux-2.3ear/devkit/sh4/lib/gcc/sh4-linux-uclibc/4.1.1/include/stdarg.h" 1 3 4
-# 37 "/opt/STM/STLinux-2.3ear/devkit/sh4/lib/gcc/sh4-linux-uclibc/4.1.1/include/stdarg.h" 3 4
-#undef __need___va_list
-# 45 "../../include/wchar.h" 2
-
-
-#define __need_size_t
-#define __need_wchar_t
-#define __need_NULL
-
-#define __need_wint_t
-# 1 "/opt/STM/STLinux-2.3ear/devkit/sh4/lib/gcc/sh4-linux-uclibc/4.1.1/include/stddef.h" 1 3 4
-# 163 "/opt/STM/STLinux-2.3ear/devkit/sh4/lib/gcc/sh4-linux-uclibc/4.1.1/include/stddef.h" 3 4
-#undef __need_ptrdiff_t
-# 236 "/opt/STM/STLinux-2.3ear/devkit/sh4/lib/gcc/sh4-linux-uclibc/4.1.1/include/stddef.h" 3 4
-#undef __need_size_t
-# 345 "/opt/STM/STLinux-2.3ear/devkit/sh4/lib/gcc/sh4-linux-uclibc/4.1.1/include/stddef.h" 3 4
-#undef __need_wchar_t
-# 357 "/opt/STM/STLinux-2.3ear/devkit/sh4/lib/gcc/sh4-linux-uclibc/4.1.1/include/stddef.h" 3 4
-#undef __need_wint_t
-# 398 "/opt/STM/STLinux-2.3ear/devkit/sh4/lib/gcc/sh4-linux-uclibc/4.1.1/include/stddef.h" 3 4
-#undef NULL
-
-
-
-
-#define NULL ((void *)0)
-
-
-
-
-
-#undef __need_NULL
-
-
-
-
-#define offsetof(TYPE,MEMBER) __builtin_offsetof (TYPE, MEMBER)
-# 53 "../../include/wchar.h" 2
-# 98 "../../include/wchar.h"
-#undef __need_mbstate_t
-
-
-
-
-
-
-
-
-typedef __mbstate_t mbstate_t;
-
-
-
-# 120 "../../include/wchar.h"
-#define WEOF (0xffffffffu)
-# 130 "../../include/wchar.h"
-
-
-
-
-
-struct tm;
-
-
-
-
-
-
-
-
-
-extern wchar_t *wcscpy (wchar_t *__restrict __dest,
- __const wchar_t *__restrict __src) __attribute__ ((__nothrow__));
-
-extern wchar_t *wcsncpy (wchar_t *__restrict __dest,
- __const wchar_t *__restrict __src, size_t __n)
- __attribute__ ((__nothrow__));
-
-
-extern wchar_t *wcscat (wchar_t *__restrict __dest,
- __const wchar_t *__restrict __src) __attribute__ ((__nothrow__));
-
-extern wchar_t *wcsncat (wchar_t *__restrict __dest,
- __const wchar_t *__restrict __src, size_t __n)
- __attribute__ ((__nothrow__));
-
-
-extern int wcscmp (__const wchar_t *__s1, __const wchar_t *__s2)
- __attribute__ ((__nothrow__)) __attribute__ ((__pure__));
-
-extern int wcsncmp (__const wchar_t *__s1, __const wchar_t *__s2, size_t __n)
- __attribute__ ((__nothrow__)) __attribute__ ((__pure__));
-
-
-
-
-extern int wcscasecmp (__const wchar_t *__s1, __const wchar_t *__s2) __attribute__ ((__nothrow__));
-
-
-extern int wcsncasecmp (__const wchar_t *__s1, __const wchar_t *__s2,
- size_t __n) __attribute__ ((__nothrow__));
-# 189 "../../include/wchar.h"
-
-
-
-extern int wcscoll (__const wchar_t *__s1, __const wchar_t *__s2) __attribute__ ((__nothrow__));
-
-
-
-extern size_t wcsxfrm (wchar_t *__restrict __s1,
- __const wchar_t *__restrict __s2, size_t __n) __attribute__ ((__nothrow__));
-
-# 219 "../../include/wchar.h"
-extern wchar_t *wcsdup (__const wchar_t *__s) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__));
-
-
-
-
-extern wchar_t *wcschr (__const wchar_t *__wcs, wchar_t __wc)
- __attribute__ ((__nothrow__)) __attribute__ ((__pure__));
-
-extern wchar_t *wcsrchr (__const wchar_t *__wcs, wchar_t __wc)
- __attribute__ ((__nothrow__)) __attribute__ ((__pure__));
-
-
-
-
-
-extern wchar_t *wcschrnul (__const wchar_t *__s, wchar_t __wc)
- __attribute__ ((__nothrow__)) __attribute__ ((__pure__));
-
-
-
-
-
-extern size_t wcscspn (__const wchar_t *__wcs, __const wchar_t *__reject)
- __attribute__ ((__nothrow__)) __attribute__ ((__pure__));
-
-
-extern size_t wcsspn (__const wchar_t *__wcs, __const wchar_t *__accept)
- __attribute__ ((__nothrow__)) __attribute__ ((__pure__));
-
-extern wchar_t *wcspbrk (__const wchar_t *__wcs, __const wchar_t *__accept)
- __attribute__ ((__nothrow__)) __attribute__ ((__pure__));
-
-extern wchar_t *wcsstr (__const wchar_t *__haystack, __const wchar_t *__needle)
- __attribute__ ((__nothrow__)) __attribute__ ((__pure__));
-
-
-extern wchar_t *wcstok (wchar_t *__restrict __s,
- __const wchar_t *__restrict __delim,
- wchar_t **__restrict __ptr) __attribute__ ((__nothrow__));
-
-
-extern size_t wcslen (__const wchar_t *__s) __attribute__ ((__nothrow__)) __attribute__ ((__pure__));
-
-
-
-
-extern wchar_t *wcswcs (__const wchar_t *__haystack, __const wchar_t *__needle)
- __attribute__ ((__nothrow__)) __attribute__ ((__pure__));
-
-
-
-
-extern size_t wcsnlen (__const wchar_t *__s, size_t __maxlen)
- __attribute__ ((__nothrow__)) __attribute__ ((__pure__));
-
-
-
-
-
-extern wchar_t *wmemchr (__const wchar_t *__s, wchar_t __c, size_t __n)
- __attribute__ ((__nothrow__)) __attribute__ ((__pure__));
-
-
-extern int wmemcmp (__const wchar_t *__restrict __s1,
- __const wchar_t *__restrict __s2, size_t __n)
- __attribute__ ((__nothrow__)) __attribute__ ((__pure__));
-
-
-extern wchar_t *wmemcpy (wchar_t *__restrict __s1,
- __const wchar_t *__restrict __s2, size_t __n) __attribute__ ((__nothrow__));
-
-
-
-extern wchar_t *wmemmove (wchar_t *__s1, __const wchar_t *__s2, size_t __n)
- __attribute__ ((__nothrow__));
-
-
-extern wchar_t *wmemset (wchar_t *__s, wchar_t __c, size_t __n) __attribute__ ((__nothrow__));
-
-
-
-
-
-extern wchar_t *wmempcpy (wchar_t *__restrict __s1,
- __const wchar_t *__restrict __s2, size_t __n)
- __attribute__ ((__nothrow__));
-
-
-
-
-
-
-extern wint_t btowc (int __c) __attribute__ ((__nothrow__));
-
-
-
-extern int wctob (wint_t __c) __attribute__ ((__nothrow__));
-
-
-
-extern int mbsinit (__const mbstate_t *__ps) __attribute__ ((__nothrow__)) __attribute__ ((__pure__));
-
-
-
-extern size_t mbrtowc (wchar_t *__restrict __pwc,
- __const char *__restrict __s, size_t __n,
- mbstate_t *__p) __attribute__ ((__nothrow__));
-
-
-extern size_t wcrtomb (char *__restrict __s, wchar_t __wc,
- mbstate_t *__restrict __ps) __attribute__ ((__nothrow__));
-
-
-
-
-
-
-extern size_t mbrlen (__const char *__restrict __s, size_t __n,
- mbstate_t *__restrict __ps) __attribute__ ((__nothrow__));
-
-
-
-extern size_t mbsrtowcs (wchar_t *__restrict __dst,
- __const char **__restrict __src, size_t __len,
- mbstate_t *__restrict __ps) __attribute__ ((__nothrow__));
-
-
-
-extern size_t wcsrtombs (char *__restrict __dst,
- __const wchar_t **__restrict __src, size_t __len,
- mbstate_t *__restrict __ps) __attribute__ ((__nothrow__));
-
-
-
-
-
-
-extern size_t mbsnrtowcs (wchar_t *__restrict __dst,
- __const char **__restrict __src, size_t __nmc,
- size_t __len, mbstate_t *__restrict __ps) __attribute__ ((__nothrow__));
-
-
-
-extern size_t wcsnrtombs (char *__restrict __dst,
- __const wchar_t **__restrict __src,
- size_t __nwc, size_t __len,
- mbstate_t *__restrict __ps) __attribute__ ((__nothrow__));
-
-
-
-
-
-
-extern int wcwidth (wchar_t __c) __attribute__ ((__nothrow__));
-
-
-
-extern int wcswidth (__const wchar_t *__s, size_t __n) __attribute__ ((__nothrow__));
-
-
-
-
-
-
-
-extern double wcstod (__const wchar_t *__restrict __nptr,
- wchar_t **__restrict __endptr) __attribute__ ((__nothrow__));
-
-
-
-extern float wcstof (__const wchar_t *__restrict __nptr,
- wchar_t **__restrict __endptr) __attribute__ ((__nothrow__));
-extern long double wcstold (__const wchar_t *__restrict __nptr,
- wchar_t **__restrict __endptr) __attribute__ ((__nothrow__));
-
-
-
-
-
-
-extern long int wcstol (__const wchar_t *__restrict __nptr,
- wchar_t **__restrict __endptr, int __base) __attribute__ ((__nothrow__));
-
-
-
-extern unsigned long int wcstoul (__const wchar_t *__restrict __nptr,
- wchar_t **__restrict __endptr, int __base)
- __attribute__ ((__nothrow__));
-
-
-
-
-__extension__
-extern long long int wcstoll (__const wchar_t *__restrict __nptr,
- wchar_t **__restrict __endptr, int __base)
- __attribute__ ((__nothrow__));
-
-
-
-__extension__
-extern unsigned long long int wcstoull (__const wchar_t *__restrict __nptr,
- wchar_t **__restrict __endptr,
- int __base) __attribute__ ((__nothrow__));
-
-
-
-
-
-
-__extension__
-extern long long int wcstoq (__const wchar_t *__restrict __nptr,
- wchar_t **__restrict __endptr, int __base)
- __attribute__ ((__nothrow__));
-
-
-
-__extension__
-extern unsigned long long int wcstouq (__const wchar_t *__restrict __nptr,
- wchar_t **__restrict __endptr,
- int __base) __attribute__ ((__nothrow__));
-# 499 "../../include/wchar.h"
-extern wchar_t *wcpcpy (wchar_t *__dest, __const wchar_t *__src) __attribute__ ((__nothrow__));
-
-
-
-extern wchar_t *wcpncpy (wchar_t *__dest, __const wchar_t *__src, size_t __n)
- __attribute__ ((__nothrow__));
-
-
-
-
-
-
-
-
-extern int fwide (__FILE *__fp, int __mode) __attribute__ ((__nothrow__));
-
-
-
-
-
-
-extern int fwprintf (__FILE *__restrict __stream,
- __const wchar_t *__restrict __format, ...)
- ;
-
-
-
-
-extern int wprintf (__const wchar_t *__restrict __format, ...)
- ;
-
-extern int swprintf (wchar_t *__restrict __s, size_t __n,
- __const wchar_t *__restrict __format, ...)
- __attribute__ ((__nothrow__)) ;
-
-
-
-
-
-extern int vfwprintf (__FILE *__restrict __s,
- __const wchar_t *__restrict __format,
- __gnuc_va_list __arg)
- ;
-
-
-
-
-extern int vwprintf (__const wchar_t *__restrict __format,
- __gnuc_va_list __arg)
- ;
-
-
-extern int vswprintf (wchar_t *__restrict __s, size_t __n,
- __const wchar_t *__restrict __format,
- __gnuc_va_list __arg)
- __attribute__ ((__nothrow__)) ;
-
-
-
-
-
-
-extern int fwscanf (__FILE *__restrict __stream,
- __const wchar_t *__restrict __format, ...)
- ;
-
-
-
-
-extern int wscanf (__const wchar_t *__restrict __format, ...)
- ;
-
-extern int swscanf (__const wchar_t *__restrict __s,
- __const wchar_t *__restrict __format, ...)
- __attribute__ ((__nothrow__)) ;
-
-
-
-
-
-
-
-
-
-
-
-extern int vfwscanf (__FILE *__restrict __s,
- __const wchar_t *__restrict __format,
- __gnuc_va_list __arg)
- ;
-
-
-
-
-extern int vwscanf (__const wchar_t *__restrict __format,
- __gnuc_va_list __arg)
- ;
-
-extern int vswscanf (__const wchar_t *__restrict __s,
- __const wchar_t *__restrict __format,
- __gnuc_va_list __arg)
- __attribute__ ((__nothrow__)) ;
-
-
-
-
-
-
-
-
-
-
-extern wint_t fgetwc (__FILE *__stream);
-extern wint_t getwc (__FILE *__stream);
-
-
-
-
-
-extern wint_t getwchar (void);
-
-
-
-
-
-
-extern wint_t fputwc (wchar_t __wc, __FILE *__stream);
-extern wint_t putwc (wchar_t __wc, __FILE *__stream);
-
-
-
-
-
-extern wint_t putwchar (wchar_t __wc);
-
-
-
-
-
-
-
-extern wchar_t *fgetws (wchar_t *__restrict __ws, int __n,
- __FILE *__restrict __stream);
-
-
-
-
-
-extern int fputws (__const wchar_t *__restrict __ws,
- __FILE *__restrict __stream);
-
-
-
-
-
-
-extern wint_t ungetwc (wint_t __wc, __FILE *__stream);
-
-# 667 "../../include/wchar.h"
-extern wint_t getwc_unlocked (__FILE *__stream);
-extern wint_t getwchar_unlocked (void);
-
-
-
-
-
-
-
-extern wint_t fgetwc_unlocked (__FILE *__stream);
-
-
-
-
-
-
-
-extern wint_t fputwc_unlocked (wchar_t __wc, __FILE *__stream);
-# 693 "../../include/wchar.h"
-extern wint_t putwc_unlocked (wchar_t __wc, __FILE *__stream);
-extern wint_t putwchar_unlocked (wchar_t __wc);
-# 703 "../../include/wchar.h"
-extern wchar_t *fgetws_unlocked (wchar_t *__restrict __ws, int __n,
- __FILE *__restrict __stream);
-
-
-
-
-
-
-
-extern int fputws_unlocked (__const wchar_t *__restrict __ws,
- __FILE *__restrict __stream);
-
-
-
-
-
-
-
-extern size_t wcsftime (wchar_t *__restrict __s, size_t __maxsize,
- __const wchar_t *__restrict __format,
- __const struct tm *__restrict __tp) __attribute__ ((__nothrow__));
-
-# 748 "../../include/wchar.h"
-
-# 15 "tst_types.h" 2
-# 1 "../../include/wctype.h" 1
-# 34 "../../include/wctype.h"
-#define _WCTYPE_H 1
-
-
-
-#define __need_wint_t
-# 1 "/opt/STM/STLinux-2.3ear/devkit/sh4/lib/gcc/sh4-linux-uclibc/4.1.1/include/stddef.h" 1 3 4
-# 163 "/opt/STM/STLinux-2.3ear/devkit/sh4/lib/gcc/sh4-linux-uclibc/4.1.1/include/stddef.h" 3 4
-#undef __need_ptrdiff_t
-# 236 "/opt/STM/STLinux-2.3ear/devkit/sh4/lib/gcc/sh4-linux-uclibc/4.1.1/include/stddef.h" 3 4
-#undef __need_size_t
-# 345 "/opt/STM/STLinux-2.3ear/devkit/sh4/lib/gcc/sh4-linux-uclibc/4.1.1/include/stddef.h" 3 4
-#undef __need_wchar_t
-# 357 "/opt/STM/STLinux-2.3ear/devkit/sh4/lib/gcc/sh4-linux-uclibc/4.1.1/include/stddef.h" 3 4
-#undef __need_wint_t
-# 398 "/opt/STM/STLinux-2.3ear/devkit/sh4/lib/gcc/sh4-linux-uclibc/4.1.1/include/stddef.h" 3 4
-#undef NULL
-
-
-
-
-#define NULL ((void *)0)
-
-
-
-
-
-#undef __need_NULL
-
-
-
-
-#define offsetof(TYPE,MEMBER) __builtin_offsetof (TYPE, MEMBER)
-# 40 "../../include/wctype.h" 2
-# 49 "../../include/wctype.h"
-
-# 59 "../../include/wctype.h"
-#undef __need_iswxxx
-
-
-
-
-
-#define __iswxxx_defined 1
-
-
-
-
-
-typedef unsigned int wctype_t;
-
-
-
-#define _ISwbit(bit) (1 << (bit))
-
-enum
-{
- __ISwupper = 0,
- __ISwlower = 1,
- __ISwalpha = 2,
- __ISwdigit = 3,
- __ISwxdigit = 4,
- __ISwspace = 5,
- __ISwprint = 6,
- __ISwgraph = 7,
- __ISwblank = 8,
- __ISwcntrl = 9,
- __ISwpunct = 10,
- __ISwalnum = 11,
-
- _ISwupper = (1 << (__ISwupper)),
- _ISwlower = (1 << (__ISwlower)),
- _ISwalpha = (1 << (__ISwalpha)),
- _ISwdigit = (1 << (__ISwdigit)),
- _ISwxdigit = (1 << (__ISwxdigit)),
- _ISwspace = (1 << (__ISwspace)),
- _ISwprint = (1 << (__ISwprint)),
- _ISwgraph = (1 << (__ISwgraph)),
- _ISwblank = (1 << (__ISwblank)),
- _ISwcntrl = (1 << (__ISwcntrl)),
- _ISwpunct = (1 << (__ISwpunct)),
- _ISwalnum = (1 << (__ISwalnum))
-};
-# 113 "../../include/wctype.h"
-
-
-
-
-
-
-
-
-
-extern int iswalnum (wint_t __wc) __attribute__ ((__nothrow__));
-
-
-
-
-
-extern int iswalpha (wint_t __wc) __attribute__ ((__nothrow__));
-
-
-extern int iswcntrl (wint_t __wc) __attribute__ ((__nothrow__));
-
-
-
-extern int iswdigit (wint_t __wc) __attribute__ ((__nothrow__));
-
-
-
-extern int iswgraph (wint_t __wc) __attribute__ ((__nothrow__));
-
-
-
-
-extern int iswlower (wint_t __wc) __attribute__ ((__nothrow__));
-
-
-extern int iswprint (wint_t __wc) __attribute__ ((__nothrow__));
-
-
-
-
-extern int iswpunct (wint_t __wc) __attribute__ ((__nothrow__));
-
-
-
-
-extern int iswspace (wint_t __wc) __attribute__ ((__nothrow__));
-
-
-
-
-extern int iswupper (wint_t __wc) __attribute__ ((__nothrow__));
-
-
-
-
-extern int iswxdigit (wint_t __wc) __attribute__ ((__nothrow__));
-
-
-
-
-
-extern int iswblank (wint_t __wc) __attribute__ ((__nothrow__));
-# 182 "../../include/wctype.h"
-extern wctype_t wctype (__const char *__property) __attribute__ ((__nothrow__));
-
-
-
-extern int iswctype (wint_t __wc, wctype_t __desc) __attribute__ ((__nothrow__));
-
-
-
-
-
-
-
-
-
-
-
-typedef unsigned int wctrans_t;
-
-
-
-
-
-
-
-extern wint_t towlower (wint_t __wc) __attribute__ ((__nothrow__));
-
-
-extern wint_t towupper (wint_t __wc) __attribute__ ((__nothrow__));
-
-
-
-# 225 "../../include/wctype.h"
-
-
-
-
-
-extern wctrans_t wctrans (__const char *__property) __attribute__ ((__nothrow__));
-
-
-extern wint_t towctrans (wint_t __wc, wctrans_t __desc) __attribute__ ((__nothrow__));
-
-# 326 "../../include/wctype.h"
-
-# 16 "tst_types.h" 2
-# 1 "tst_funcs.h" 1
-# 11 "tst_funcs.h"
-#define TST_FUNCS_H
-
-#define C_SUCCESS 'S'
-#define C_FAILURE 'F'
-#define C_IGNORED 'I'
-#define C_INVALID 'D'
-#define C_LOCALES 'L'
-
-
-extern int result (FILE * fp, char res, const char *func, const char *loc,
- int rec_no, int seq_num, int case_no, const char *msg);
-
-#define Result(C,S,E,M) result (fp, (C), (S), locale, rec+1, seq_num+1, (E), (M))
-
-
-#define CASE_0 0
-#define CASE_1 1
-#define CASE_2 2
-#define CASE_3 3
-#define CASE_4 4
-#define CASE_5 5
-#define CASE_6 6
-#define CASE_7 7
-#define CASE_8 8
-#define CASE_9 9
-
-#define MS_PASSED "PASSED"
-#define MS_SPACE " "
-#define MS_FAILED " "
-#define MS_NOTEST "NOTEST"
-#define MS_ABORTU "ABEND0"
-#define MS_ABORT "ABEND1"
-
-#define MK_PASSED 0x00
-#define MK_SPACE 0x01
-#define MK_NOTEST 0x02
-#define MK_ABORTU 0x04
-#define MK_ABORT 0x08
-
-
-
-
-
-#define TST_ABS(x) (((x) > 0) ? (x) : -(x))
-
-#define TMD_ERRET(_type_) int err_val; int ret_flg; _type_ ret_val
-
-
-
-#define TMD_RECHEAD(_FUNC_) typedef struct { TIN_ ##_FUNC_ ##_REC input; TEX_ ##_FUNC_ ##_REC expect; int is_last; } TST_ ##_FUNC_ ##_REC; typedef struct { TST_HEAD hd; TST_ ##_FUNC_ ##_REC rec[ MAX_LOC_TEST ]; } TST_ ##_FUNC_
-# 72 "tst_funcs.h"
-#define TST_FTYP(func) tst_ ##func ##_loc
-#define TST_HEAD(func) tst_ ##func ##_loc[ loc ].hd
-#define TST_INPUT(func) tst_ ##func ##_loc[ loc ].rec[ rec ].input
-#define TST_EXPECT(func) tst_ ##func ##_loc[ loc ].rec[ rec ].expect
-#define TST_INPUT_SEQ(func) tst_ ##func ##_loc[ loc ].rec[ rec ].input.seq[ seq_num ]
-
-#define TST_EXPECT_SEQ(func) tst_ ##func ##_loc[ loc ].rec[ rec ].expect.seq[ seq_num ]
-
-#define TST_IS_LAST(func) tst_ ##func ##_loc[ loc ].rec[ rec ].is_last
-
-
-
-#define TST_DECL_VARS(_type_) int loc, rec, err_count = 0; int warn_count __attribute__ ((unused)); int func_id, seq_num = 0; const char *locale; int err_exp, ret_flg; int errno_save = 0; _type_ ret_exp; _type_ ret
-# 94 "tst_funcs.h"
-#define TST_DO_TEST(o_func) for (loc = 0; strcmp (TST_HEAD (o_func).locale, TST_LOC_end); ++loc)
-
-
-
-#define TST_HEAD_LOCALE(ofunc,s_func) func_id = TST_HEAD (ofunc).func_id; locale = TST_HEAD (ofunc).locale; if (setlocale (LC_ALL, locale) == NULL) { fprintf (stderr, "Warning : can't set locale: %s\nskipping ...\n", locale); result (fp, C_LOCALES, s_func, locale, 0, 0, 0, "can't set locale"); ++err_count; continue; }
-# 110 "tst_funcs.h"
-#define TST_DO_REC(ofunc) for (rec=0; !TST_IS_LAST (ofunc); ++rec)
-
-
-#define TST_DO_SEQ(_count_) for (seq_num=0; seq_num < _count_; seq_num++)
-
-
-#define TST_GET_ERRET(_ofunc_) err_exp = TST_EXPECT (_ofunc_).err_val; ret_flg = TST_EXPECT (_ofunc_).ret_flg; ret_exp = TST_EXPECT (_ofunc_).ret_val
-
-
-
-
-#define TST_GET_ERRET_SEQ(_ofunc_) err_exp = TST_EXPECT_SEQ (_ofunc_).err_val; ret_flg = TST_EXPECT_SEQ (_ofunc_).ret_flg; ret_exp = TST_EXPECT_SEQ (_ofunc_).ret_val
-
-
-
-
-#define TST_CLEAR_ERRNO errno = 0
-
-
-#define TST_SAVE_ERRNO errno_save = errno
-
-
-
-#define TST_IF_RETURN(_s_func_) if (err_exp != 0) { if (errno_save == err_exp) { result (fp, C_SUCCESS, _s_func_, locale, rec+1, seq_num+1, 1, MS_PASSED); } else { err_count++; result (fp, C_FAILURE, _s_func_, locale, rec+1, seq_num+1, 1, "the value of errno is different from an expected value"); } } if (ret_flg == 1) { if (ret == ret_exp) { result (fp, C_SUCCESS, _s_func_, locale, rec+1, seq_num+1, 2, MS_PASSED); } else { err_count++; result (fp, C_FAILURE, _s_func_, locale, rec+1, seq_num+1, 2, "the return value is different from an expected value"); } } else
-# 165 "tst_funcs.h"
-#define TEX_ERRET_REC(_type_) struct { TMD_ERRET (_type_); }
-
-
-
-
-#define TEX_ERRET_REC_SEQ(_type_,_count_) struct { struct { TMD_ERRET (_type_); } seq[ _count_ ]; }
-# 181 "tst_funcs.h"
-#define TST_ISW_STRUCT(_FUNC_,_func_) typedef struct { wint_t wc; } TIN_ISW ##_FUNC_ ##_REC; typedef TEX_ERRET_REC (int) TEX_ISW ##_FUNC_ ##_REC; TMD_RECHEAD (ISW ##_FUNC_)
-# 190 "tst_funcs.h"
-#define TST_FUNC_ISW(_FUNC_,_func_) int tst_isw ##_func_ (FILE *fp, int debug_flg) { TST_DECL_VARS(int); wint_t wc; TST_DO_TEST (isw ##_func_) { TST_HEAD_LOCALE (isw ##_func_, S_ISW ##_FUNC_); TST_DO_REC(isw ##_func_) { TST_GET_ERRET (isw ##_func_); wc = TST_INPUT (isw ##_func_).wc; ret = isw ##_func_ (wc); if (debug_flg) { fprintf (stdout, "isw*() [ %s : %d ] ret = %d\n", locale, rec+1, ret); } TST_IF_RETURN (S_ISW ##_FUNC_) { if (ret != 0) { result (fp, C_SUCCESS, S_ISW ##_FUNC_, locale, rec+1, seq_num+1, 3, MS_PASSED); } else { err_count++; result (fp, C_FAILURE, S_ISW ##_FUNC_, locale, rec+1, seq_num+1, 3, "the function returned 0, but should be non-zero"); } } } } return err_count; }
-# 235 "tst_funcs.h"
-#define TST_TOW_STRUCT(_FUNC_,_func_) typedef struct { wint_t wc; } TIN_TOW ##_FUNC_ ##_REC; typedef TEX_ERRET_REC (wint_t) TEX_TOW ##_FUNC_ ##_REC; TMD_RECHEAD (TOW ##_FUNC_)
-# 244 "tst_funcs.h"
-#define TST_FUNC_TOW(_FUNC_,_func_) int tst_tow ##_func_ (FILE *fp, int debug_flg) { TST_DECL_VARS (wint_t); wint_t wc; TST_DO_TEST (tow ##_func_) { TST_HEAD_LOCALE (tow ##_func_, S_TOW ##_FUNC_); TST_DO_REC (tow ##_func_) { TST_GET_ERRET (tow ##_func_); wc = TST_INPUT (tow ##_func_).wc; ret = tow ##_func_ (wc); if (debug_flg) { fprintf (stdout, "tow*() [ %s : %d ] ret = 0x%x\n", locale, rec+1, ret); } TST_IF_RETURN (S_TOW ##_FUNC_) { }; } } return err_count; }
-# 17 "tst_types.h" 2
-# 1 "tgn_funcdef.h" 1
-
-#define TGN_FUNCDEF_H
-
-
-#define Tiswalnum 1
-#define Tiswalpha 2
-#define Tiswcntrl 3
-#define Tiswctype 4
-#define Tiswdigit 5
-#define Tiswgraph 6
-#define Tiswlower 7
-#define Tiswprint 8
-#define Tiswpunct 9
-#define Tiswspace 10
-#define Tiswupper 11
-#define Tiswxdigit 12
-#define Tmblen 13
-#define Tmbrlen 14
-#define Tmbrtowc 15
-#define Tmbsrtowcs 16
-#define Tmbstowcs 17
-#define Tmbtowc 18
-#define Tstrcoll 19
-#define Tstrfmon 20
-#define Tstrxfrm 21
-#define Tswscanf 22
-#define Ttowctrans 23
-#define Ttowlower 24
-#define Ttowupper 25
-#define Twcrtomb 26
-#define Twcscat 27
-#define Twcschr 28
-#define Twcscmp 29
-#define Twcscoll 30
-#define Twcscpy 31
-#define Twcscspn 32
-#define Twcslen 33
-#define Twcsncat 34
-#define Twcsncmp 35
-#define Twcsncpy 36
-#define Twcspbrk 37
-#define Twcsrtombs 38
-#define Twcsspn 39
-#define Twcsstr 40
-#define Twcstod 41
-#define Twcstok 42
-#define Twcstombs 43
-#define Twcswidth 44
-#define Twcsxfrm 45
-#define Twctob 46
-#define Twctomb 47
-#define Twctrans 48
-#define Twctype 49
-#define Twcwidth 50
-
-
-#define S_ISWALNUM "iswalnum"
-#define S_ISWALPHA "iswalpha"
-#define S_ISWCNTRL "iswcntrl"
-#define S_ISWCTYPE "iswctype"
-#define S_ISWDIGIT "iswdigit"
-#define S_ISWGRAPH "iswgraph"
-#define S_ISWLOWER "iswlower"
-#define S_ISWPRINT "iswprint"
-#define S_ISWPUNCT "iswpunct"
-#define S_ISWSPACE "iswspace"
-#define S_ISWUPPER "iswupper"
-#define S_ISWXDIGIT "iswxdigit"
-#define S_MBLEN "mblen"
-#define S_MBRLEN "mbrlen"
-#define S_MBRTOWC "mbrtowc"
-#define S_MBSRTOWCS "mbsrtowcs"
-#define S_MBSTOWCS "mbstowcs"
-#define S_MBTOWC "mbtowc"
-#define S_STRCOLL "strcoll"
-#define S_STRFMON "strfmon"
-#define S_STRXFRM "strxfrm"
-#define S_SWSCANF "swscanf"
-#define S_TOWCTRANS "towctrans"
-#define S_TOWLOWER "towlower"
-#define S_TOWUPPER "towupper"
-#define S_WCRTOMB "wcrtomb"
-#define S_WCSCAT "wcscat"
-#define S_WCSCHR "wcschr"
-#define S_WCSCMP "wcscmp"
-#define S_WCSCOLL "wcscoll"
-#define S_WCSCPY "wcscpy"
-#define S_WCSCSPN "wcscspn"
-#define S_WCSLEN "wcslen"
-#define S_WCSNCAT "wcsncat"
-#define S_WCSNCMP "wcsncmp"
-#define S_WCSNCPY "wcsncpy"
-#define S_WCSPBRK "wcspbrk"
-#define S_WCSRTOMBS "wcsrtombs"
-#define S_WCSSPN "wcsspn"
-#define S_WCSSTR "wcsstr"
-#define S_WCSTOD "wcstod"
-#define S_WCSTOK "wcstok"
-#define S_WCSTOMBS "wcstombs"
-#define S_WCSWIDTH "wcswidth"
-#define S_WCSXFRM "wcsxfrm"
-#define S_WCTOB "wctob"
-#define S_WCTOMB "wctomb"
-#define S_WCTRANS "wctrans"
-#define S_WCTYPE "wctype"
-#define S_WCWIDTH "wcwidth"
-
-
-extern int tst_iswalnum (FILE *, int);
-extern int tst_iswalpha (FILE *, int);
-extern int tst_iswcntrl (FILE *, int);
-extern int tst_iswctype (FILE *, int);
-extern int tst_iswdigit (FILE *, int);
-extern int tst_iswgraph (FILE *, int);
-extern int tst_iswlower (FILE *, int);
-extern int tst_iswprint (FILE *, int);
-extern int tst_iswpunct (FILE *, int);
-extern int tst_iswspace (FILE *, int);
-extern int tst_iswupper (FILE *, int);
-extern int tst_iswxdigit (FILE *, int);
-extern int tst_mblen (FILE *, int);
-extern int tst_mbrlen (FILE *, int);
-extern int tst_mbrtowc (FILE *, int);
-extern int tst_mbsrtowcs (FILE *, int);
-extern int tst_mbstowcs (FILE *, int);
-extern int tst_mbtowc (FILE *, int);
-extern int tst_strcoll (FILE *, int);
-extern int tst_strfmon (FILE *, int);
-extern int tst_strxfrm (FILE *, int);
-extern int tst_swscanf (FILE *, int);
-extern int tst_towctrans (FILE *, int);
-extern int tst_towlower (FILE *, int);
-extern int tst_towupper (FILE *, int);
-extern int tst_wcrtomb (FILE *, int);
-extern int tst_wcscat (FILE *, int);
-extern int tst_wcschr (FILE *, int);
-extern int tst_wcscmp (FILE *, int);
-extern int tst_wcscoll (FILE *, int);
-extern int tst_wcscpy (FILE *, int);
-extern int tst_wcscspn (FILE *, int);
-extern int tst_wcslen (FILE *, int);
-extern int tst_wcsncat (FILE *, int);
-extern int tst_wcsncmp (FILE *, int);
-extern int tst_wcsncpy (FILE *, int);
-extern int tst_wcspbrk (FILE *, int);
-extern int tst_wcsrtombs (FILE *, int);
-extern int tst_wcsspn (FILE *, int);
-extern int tst_wcsstr (FILE *, int);
-extern int tst_wcstod (FILE *, int);
-extern int tst_wcstok (FILE *, int);
-extern int tst_wcstombs (FILE *, int);
-extern int tst_wcswidth (FILE *, int);
-extern int tst_wcsxfrm (FILE *, int);
-extern int tst_wctob (FILE *, int);
-extern int tst_wctomb (FILE *, int);
-extern int tst_wctrans (FILE *, int);
-extern int tst_wctype (FILE *, int);
-extern int tst_wcwidth (FILE *, int);
-# 18 "tst_types.h" 2
-
-#define MBSSIZE 24
-#define WCSSIZE 12
-#define MONFMTSIZE 16
-#define MONSIZE 64
-#define USE_MBCURMAX 99
-#define TST_DBL_EPS 2.22153e-16
-#define WCSTOK_SEQNUM 3
-#define MBLEN_SEQNUM 3
-#define MBTOWC_SEQNUM 3
-#define MBSTOWCS_SEQNUM 3
-#define WCTOMB_SEQNUM 3
-#define WCSTOMBS_SEQNUM 3
-#define MBRLEN_SEQNUM 3
-#define MBRTOWC_SEQNUM 3
-#define MBSRTOWCS_SEQNUM 3
-#define WCRTOMB_SEQNUM 3
-#define WCSRTOMBS_SEQNUM 3
-
-
-#define MAX_LOC_TEST 300
-
-
-
-
-
-
-typedef struct
-{
- char *func_str;
- int func_id;
-}
-TST_FID;
-
-typedef struct
-{
- int func_id;
- const char *locale;
-}
-TST_HEAD;
-
-typedef struct
-{
- TST_HEAD *head;
-}
-TST_FUNCS;
-
-
-
-
-
-
-typedef struct { wint_t wc; } TIN_ISWALNUM_REC; typedef struct { int err_val; int ret_flg; int ret_val; } TEX_ISWALNUM_REC; typedef struct { TIN_ISWALNUM_REC input; TEX_ISWALNUM_REC expect; int is_last; } TST_ISWALNUM_REC; typedef struct { TST_HEAD hd; TST_ISWALNUM_REC rec[ 300 ]; } TST_ISWALNUM;
-typedef struct { wint_t wc; } TIN_ISWALPHA_REC; typedef struct { int err_val; int ret_flg; int ret_val; } TEX_ISWALPHA_REC; typedef struct { TIN_ISWALPHA_REC input; TEX_ISWALPHA_REC expect; int is_last; } TST_ISWALPHA_REC; typedef struct { TST_HEAD hd; TST_ISWALPHA_REC rec[ 300 ]; } TST_ISWALPHA;
-typedef struct { wint_t wc; } TIN_ISWCNTRL_REC; typedef struct { int err_val; int ret_flg; int ret_val; } TEX_ISWCNTRL_REC; typedef struct { TIN_ISWCNTRL_REC input; TEX_ISWCNTRL_REC expect; int is_last; } TST_ISWCNTRL_REC; typedef struct { TST_HEAD hd; TST_ISWCNTRL_REC rec[ 300 ]; } TST_ISWCNTRL;
-typedef struct { wint_t wc; } TIN_ISWDIGIT_REC; typedef struct { int err_val; int ret_flg; int ret_val; } TEX_ISWDIGIT_REC; typedef struct { TIN_ISWDIGIT_REC input; TEX_ISWDIGIT_REC expect; int is_last; } TST_ISWDIGIT_REC; typedef struct { TST_HEAD hd; TST_ISWDIGIT_REC rec[ 300 ]; } TST_ISWDIGIT;
-typedef struct { wint_t wc; } TIN_ISWGRAPH_REC; typedef struct { int err_val; int ret_flg; int ret_val; } TEX_ISWGRAPH_REC; typedef struct { TIN_ISWGRAPH_REC input; TEX_ISWGRAPH_REC expect; int is_last; } TST_ISWGRAPH_REC; typedef struct { TST_HEAD hd; TST_ISWGRAPH_REC rec[ 300 ]; } TST_ISWGRAPH;
-typedef struct { wint_t wc; } TIN_ISWLOWER_REC; typedef struct { int err_val; int ret_flg; int ret_val; } TEX_ISWLOWER_REC; typedef struct { TIN_ISWLOWER_REC input; TEX_ISWLOWER_REC expect; int is_last; } TST_ISWLOWER_REC; typedef struct { TST_HEAD hd; TST_ISWLOWER_REC rec[ 300 ]; } TST_ISWLOWER;
-typedef struct { wint_t wc; } TIN_ISWPRINT_REC; typedef struct { int err_val; int ret_flg; int ret_val; } TEX_ISWPRINT_REC; typedef struct { TIN_ISWPRINT_REC input; TEX_ISWPRINT_REC expect; int is_last; } TST_ISWPRINT_REC; typedef struct { TST_HEAD hd; TST_ISWPRINT_REC rec[ 300 ]; } TST_ISWPRINT;
-typedef struct { wint_t wc; } TIN_ISWPUNCT_REC; typedef struct { int err_val; int ret_flg; int ret_val; } TEX_ISWPUNCT_REC; typedef struct { TIN_ISWPUNCT_REC input; TEX_ISWPUNCT_REC expect; int is_last; } TST_ISWPUNCT_REC; typedef struct { TST_HEAD hd; TST_ISWPUNCT_REC rec[ 300 ]; } TST_ISWPUNCT;
-typedef struct { wint_t wc; } TIN_ISWSPACE_REC; typedef struct { int err_val; int ret_flg; int ret_val; } TEX_ISWSPACE_REC; typedef struct { TIN_ISWSPACE_REC input; TEX_ISWSPACE_REC expect; int is_last; } TST_ISWSPACE_REC; typedef struct { TST_HEAD hd; TST_ISWSPACE_REC rec[ 300 ]; } TST_ISWSPACE;
-typedef struct { wint_t wc; } TIN_ISWUPPER_REC; typedef struct { int err_val; int ret_flg; int ret_val; } TEX_ISWUPPER_REC; typedef struct { TIN_ISWUPPER_REC input; TEX_ISWUPPER_REC expect; int is_last; } TST_ISWUPPER_REC; typedef struct { TST_HEAD hd; TST_ISWUPPER_REC rec[ 300 ]; } TST_ISWUPPER;
-typedef struct { wint_t wc; } TIN_ISWXDIGIT_REC; typedef struct { int err_val; int ret_flg; int ret_val; } TEX_ISWXDIGIT_REC; typedef struct { TIN_ISWXDIGIT_REC input; TEX_ISWXDIGIT_REC expect; int is_last; } TST_ISWXDIGIT_REC; typedef struct { TST_HEAD hd; TST_ISWXDIGIT_REC rec[ 300 ]; } TST_ISWXDIGIT;
-
-typedef struct
-{
- wint_t wc;
- const char *ts;
-}
-TIN_ISWCTYPE_REC;
-
-typedef
-struct { int err_val; int ret_flg; int ret_val; }
- TEX_ISWCTYPE_REC;
-typedef struct { TIN_ISWCTYPE_REC input; TEX_ISWCTYPE_REC expect; int is_last; } TST_ISWCTYPE_REC; typedef struct { TST_HEAD hd; TST_ISWCTYPE_REC rec[ 300 ]; } TST_ISWCTYPE;
-
-
-
-
-
-
-typedef struct
-{
- char s_flg;
- char s[24];
- size_t n;
-}
-TIN_MBLEN_REC;
-
-typedef struct { int err_val; int ret_flg; int ret_val; } TEX_MBLEN_REC;
-typedef struct { TIN_MBLEN_REC input; TEX_MBLEN_REC expect; int is_last; } TST_MBLEN_REC; typedef struct { TST_HEAD hd; TST_MBLEN_REC rec[ 300 ]; } TST_MBLEN;
-
-
-
-
-
-
-typedef struct
-{
- struct
- {
- int s_flg;
- char s[24];
- size_t n;
- int t_flg;
- int t_init;
- }
- seq[3];
-}
-TIN_MBRLEN_REC;
-
-typedef struct { struct { int err_val; int ret_flg; size_t ret_val; } seq[ 3 ]; } TEX_MBRLEN_REC;
-typedef struct { TIN_MBRLEN_REC input; TEX_MBRLEN_REC expect; int is_last; } TST_MBRLEN_REC; typedef struct { TST_HEAD hd; TST_MBRLEN_REC rec[ 300 ]; } TST_MBRLEN;
-
-
-
-
-
-
-
-typedef struct
-{
- struct
- {
- int w_flg;
- int s_flg;
- char s[24];
- size_t n;
- int t_flg;
- int t_init;
- }
- seq[3];
-}
-TIN_MBRTOWC_REC;
-
-typedef struct
-{
- struct
- {
- int err_val; int ret_flg; size_t ret_val;
- wchar_t wc;
- }
- seq[3];
-}
-TEX_MBRTOWC_REC;
-
-typedef struct { TIN_MBRTOWC_REC input; TEX_MBRTOWC_REC expect; int is_last; } TST_MBRTOWC_REC; typedef struct { TST_HEAD hd; TST_MBRTOWC_REC rec[ 300 ]; } TST_MBRTOWC;
-
-
-
-
-
-
-
-typedef struct
-{
- struct
- {
- int w_flg;
- char s[24];
- size_t n;
- int t_flg;
- int t_init;
- }
- seq[3];
-}
-TIN_MBSRTOWCS_REC;
-
-typedef struct
-{
- struct
- {
- int err_val; int ret_flg; size_t ret_val;
- wchar_t ws[12];
- }
- seq[3];
-}
-TEX_MBSRTOWCS_REC;
-
-typedef struct { TIN_MBSRTOWCS_REC input; TEX_MBSRTOWCS_REC expect; int is_last; } TST_MBSRTOWCS_REC; typedef struct { TST_HEAD hd; TST_MBSRTOWCS_REC rec[ 300 ]; } TST_MBSRTOWCS;
-
-
-
-
-
-
-typedef struct
-{
- struct
- {
- int w_flg;
- int s_flg;
- const char *s;
- size_t n;
- }
- seq[3];
-}
-TIN_MBSTOWCS_REC;
-
-typedef TEX_MBSRTOWCS_REC TEX_MBSTOWCS_REC;
-
-typedef struct { TIN_MBSTOWCS_REC input; TEX_MBSTOWCS_REC expect; int is_last; } TST_MBSTOWCS_REC; typedef struct { TST_HEAD hd; TST_MBSTOWCS_REC rec[ 300 ]; } TST_MBSTOWCS;
-
-
-
-
-
-
-typedef TIN_MBSTOWCS_REC TIN_MBTOWC_REC;
-
-
-typedef struct
-{
- struct
- {
- int err_val; int ret_flg; int ret_val;
- wchar_t wc;
- }
- seq[3];
-}
-TEX_MBTOWC_REC;
-
-typedef struct { TIN_MBTOWC_REC input; TEX_MBTOWC_REC expect; int is_last; } TST_MBTOWC_REC; typedef struct { TST_HEAD hd; TST_MBTOWC_REC rec[ 300 ]; } TST_MBTOWC;
-
-
-
-
-
-
-typedef struct
-{
- char s1[24];
- char s2[24];
-}
-TIN_STRCOLL_REC;
-
-typedef struct { int err_val; int ret_flg; int ret_val; } TEX_STRCOLL_REC;
-typedef struct { TIN_STRCOLL_REC input; TEX_STRCOLL_REC expect; int is_last; } TST_STRCOLL_REC; typedef struct { TST_HEAD hd; TST_STRCOLL_REC rec[ 300 ]; } TST_STRCOLL;
-
-
-
-
-
-
-
-typedef struct
-{
- int nbytes;
- char fmt[16];
- double val;
-}
-TIN_STRFMON_REC;
-
-typedef struct
-{
- int err_val; int ret_flg; size_t ret_val;
- char mon[64];
-}
-TEX_STRFMON_REC;
-
-typedef struct { TIN_STRFMON_REC input; TEX_STRFMON_REC expect; int is_last; } TST_STRFMON_REC; typedef struct { TST_HEAD hd; TST_STRFMON_REC rec[ 300 ]; } TST_STRFMON;
-
-
-
-
-
-
-typedef struct
-{
- char org1[24];
- char org2[24];
- size_t n1, n2;
-}
-TIN_STRXFRM_REC;
-
-typedef struct { int err_val; int ret_flg; size_t ret_val; } TEX_STRXFRM_REC;
-typedef struct { TIN_STRXFRM_REC input; TEX_STRXFRM_REC expect; int is_last; } TST_STRXFRM_REC; typedef struct { TST_HEAD hd; TST_STRXFRM_REC rec[ 300 ]; } TST_STRXFRM;
-
-
-
-
-
-
-typedef struct
-{
- wchar_t ws[12 * 3];
- wchar_t fmt[12 * 3];
- int wch;
-}
-TIN_SWSCANF_REC;
-
-typedef struct
-{
- int err_val; int ret_flg; int ret_val;
- int val_int;
- unsigned val_uns;
- float val_flt;
- int val_c;
- char val_s[24 * 2];
- wchar_t val_S[12 * 2];
-}
-TEX_SWSCANF_REC;
-
-typedef struct { TIN_SWSCANF_REC input; TEX_SWSCANF_REC expect; int is_last; } TST_SWSCANF_REC; typedef struct { TST_HEAD hd; TST_SWSCANF_REC rec[ 300 ]; } TST_SWSCANF;
-
-
-
-
-
-
-typedef TIN_ISWCTYPE_REC TIN_TOWCTRANS_REC;
-typedef struct { int err_val; int ret_flg; wint_t ret_val; } TEX_TOWCTRANS_REC;
-typedef struct { TIN_TOWCTRANS_REC input; TEX_TOWCTRANS_REC expect; int is_last; } TST_TOWCTRANS_REC; typedef struct { TST_HEAD hd; TST_TOWCTRANS_REC rec[ 300 ]; } TST_TOWCTRANS;
-
-
-
-
-
-
-typedef struct { wint_t wc; } TIN_TOWLOWER_REC; typedef struct { int err_val; int ret_flg; wint_t ret_val; } TEX_TOWLOWER_REC; typedef struct { TIN_TOWLOWER_REC input; TEX_TOWLOWER_REC expect; int is_last; } TST_TOWLOWER_REC; typedef struct { TST_HEAD hd; TST_TOWLOWER_REC rec[ 300 ]; } TST_TOWLOWER;
-typedef struct { wint_t wc; } TIN_TOWUPPER_REC; typedef struct { int err_val; int ret_flg; wint_t ret_val; } TEX_TOWUPPER_REC; typedef struct { TIN_TOWUPPER_REC input; TEX_TOWUPPER_REC expect; int is_last; } TST_TOWUPPER_REC; typedef struct { TST_HEAD hd; TST_TOWUPPER_REC rec[ 300 ]; } TST_TOWUPPER;
-
-
-
-
-
-
-typedef struct
-{
- int s_flg;
- wchar_t wc;
- int t_flg;
- int t_init;
-}
-TIN_WCRTOMB_REC;
-
-typedef struct
-{
- int err_val; int ret_flg; wchar_t ret_val;
- char s[24];
-}
-TEX_WCRTOMB_REC;
-
-typedef struct { TIN_WCRTOMB_REC input; TEX_WCRTOMB_REC expect; int is_last; } TST_WCRTOMB_REC; typedef struct { TST_HEAD hd; TST_WCRTOMB_REC rec[ 300 ]; } TST_WCRTOMB;
-
-
-
-
-
-
-typedef struct
-{
- wchar_t ws1[12];
- wchar_t ws2[12];
-}
-TIN_WCSCAT_REC;
-
-typedef struct
-{
- int err_val; int ret_flg; wchar_t * ret_val;
- wchar_t ws[12];
-}
-TEX_WCSCAT_REC;
-
-typedef struct { TIN_WCSCAT_REC input; TEX_WCSCAT_REC expect; int is_last; } TST_WCSCAT_REC; typedef struct { TST_HEAD hd; TST_WCSCAT_REC rec[ 300 ]; } TST_WCSCAT;
-
-
-
-
-
-
-typedef struct
-{
- wchar_t ws[12];
- wchar_t wc;
-}
-TIN_WCSCHR_REC;
-
-typedef struct { int err_val; int ret_flg; wchar_t * ret_val; } TEX_WCSCHR_REC;
-typedef struct { TIN_WCSCHR_REC input; TEX_WCSCHR_REC expect; int is_last; } TST_WCSCHR_REC; typedef struct { TST_HEAD hd; TST_WCSCHR_REC rec[ 300 ]; } TST_WCSCHR;
-
-
-
-
-
-
-typedef TIN_WCSCAT_REC TIN_WCSCMP_REC;
-typedef struct { int err_val; int ret_flg; int ret_val; } TEX_WCSCMP_REC;
-typedef struct { TIN_WCSCMP_REC input; TEX_WCSCMP_REC expect; int is_last; } TST_WCSCMP_REC; typedef struct { TST_HEAD hd; TST_WCSCMP_REC rec[ 300 ]; } TST_WCSCMP;
-
-
-
-
-
-
-typedef TIN_WCSCMP_REC TIN_WCSCOLL_REC;
-typedef struct
-{
- int err_val; int ret_flg; int ret_val;
- int cmp_flg;
-}
-TEX_WCSCOLL_REC;
-typedef struct { TIN_WCSCOLL_REC input; TEX_WCSCOLL_REC expect; int is_last; } TST_WCSCOLL_REC; typedef struct { TST_HEAD hd; TST_WCSCOLL_REC rec[ 300 ]; } TST_WCSCOLL;
-
-
-
-
-
-
-typedef struct
-{
- wchar_t ws[12];
-}
-TIN_WCSCPY_REC;
-
-typedef TEX_WCSCAT_REC TEX_WCSCPY_REC;
-typedef struct { TIN_WCSCPY_REC input; TEX_WCSCPY_REC expect; int is_last; } TST_WCSCPY_REC; typedef struct { TST_HEAD hd; TST_WCSCPY_REC rec[ 300 ]; } TST_WCSCPY;
-
-
-
-
-
-
-typedef TIN_WCSCAT_REC TIN_WCSCSPN_REC;
-typedef struct { int err_val; int ret_flg; size_t ret_val; } TEX_WCSCSPN_REC;
-typedef struct { TIN_WCSCSPN_REC input; TEX_WCSCSPN_REC expect; int is_last; } TST_WCSCSPN_REC; typedef struct { TST_HEAD hd; TST_WCSCSPN_REC rec[ 300 ]; } TST_WCSCSPN;
-
-
-
-
-
-
-typedef TIN_WCSCPY_REC TIN_WCSLEN_REC;
-typedef struct { int err_val; int ret_flg; size_t ret_val; } TEX_WCSLEN_REC;
-typedef struct { TIN_WCSLEN_REC input; TEX_WCSLEN_REC expect; int is_last; } TST_WCSLEN_REC; typedef struct { TST_HEAD hd; TST_WCSLEN_REC rec[ 300 ]; } TST_WCSLEN;
-
-
-
-
-
-
-
-typedef struct
-{
- wchar_t ws1[12];
- wchar_t ws2[12];
- size_t n;
-}
-TIN_WCSNCAT_REC;
-
-typedef TEX_WCSCAT_REC TEX_WCSNCAT_REC;
-typedef struct { TIN_WCSNCAT_REC input; TEX_WCSNCAT_REC expect; int is_last; } TST_WCSNCAT_REC; typedef struct { TST_HEAD hd; TST_WCSNCAT_REC rec[ 300 ]; } TST_WCSNCAT;
-
-
-
-
-
-
-
-typedef TIN_WCSNCAT_REC TIN_WCSNCMP_REC;
-typedef struct { int err_val; int ret_flg; int ret_val; } TEX_WCSNCMP_REC;
-typedef struct { TIN_WCSNCMP_REC input; TEX_WCSNCMP_REC expect; int is_last; } TST_WCSNCMP_REC; typedef struct { TST_HEAD hd; TST_WCSNCMP_REC rec[ 300 ]; } TST_WCSNCMP;
-
-
-
-
-
-
-
-typedef struct
-{
- wchar_t ws[12];
- size_t n;
-}
-TIN_WCSNCPY_REC;
-
-typedef TEX_WCSCPY_REC TEX_WCSNCPY_REC;
-typedef struct { TIN_WCSNCPY_REC input; TEX_WCSNCPY_REC expect; int is_last; } TST_WCSNCPY_REC; typedef struct { TST_HEAD hd; TST_WCSNCPY_REC rec[ 300 ]; } TST_WCSNCPY;
-
-
-
-
-
-
-typedef TIN_WCSCSPN_REC TIN_WCSPBRK_REC;
-
-typedef struct
-{
- int err_val; int ret_flg; wchar_t * ret_val;
- wchar_t wc;
-}
-TEX_WCSPBRK_REC;
-
-typedef struct { TIN_WCSPBRK_REC input; TEX_WCSPBRK_REC expect; int is_last; } TST_WCSPBRK_REC; typedef struct { TST_HEAD hd; TST_WCSPBRK_REC rec[ 300 ]; } TST_WCSPBRK;
-
-
-
-
-
-
-
-typedef struct
-{
- int s_flg;
- int w_flg;
- wchar_t ws[12];
- size_t n;
- int t_flg;
- int t_init;
-}
-TIN_WCSRTOMBS_REC;
-
-typedef struct
-{
- int err_val; int ret_flg; size_t ret_val;
- char s[24];
-}
-TEX_WCSRTOMBS_REC;
-
-typedef struct { TIN_WCSRTOMBS_REC input; TEX_WCSRTOMBS_REC expect; int is_last; } TST_WCSRTOMBS_REC; typedef struct { TST_HEAD hd; TST_WCSRTOMBS_REC rec[ 300 ]; } TST_WCSRTOMBS;
-
-
-
-
-
-
-typedef TIN_WCSCSPN_REC TIN_WCSSPN_REC;
-typedef TEX_WCSCSPN_REC TEX_WCSSPN_REC;
-typedef struct { TIN_WCSSPN_REC input; TEX_WCSSPN_REC expect; int is_last; } TST_WCSSPN_REC; typedef struct { TST_HEAD hd; TST_WCSSPN_REC rec[ 300 ]; } TST_WCSSPN;
-
-
-
-
-
-
-typedef TIN_WCSCSPN_REC TIN_WCSSTR_REC;
-typedef struct { int err_val; int ret_flg; wchar_t * ret_val; } TEX_WCSSTR_REC;
-typedef struct { TIN_WCSSTR_REC input; TEX_WCSSTR_REC expect; int is_last; } TST_WCSSTR_REC; typedef struct { TST_HEAD hd; TST_WCSSTR_REC rec[ 300 ]; } TST_WCSSTR;
-
-
-
-
-
-
-typedef struct
-{
- wchar_t np[12];
-}
-TIN_WCSTOD_REC;
-
-typedef struct
-{
- int err_val; int ret_flg; double ret_val;
- double val;
- wchar_t fwc;
-}
-TEX_WCSTOD_REC;
-
-typedef struct { TIN_WCSTOD_REC input; TEX_WCSTOD_REC expect; int is_last; } TST_WCSTOD_REC; typedef struct { TST_HEAD hd; TST_WCSTOD_REC rec[ 300 ]; } TST_WCSTOD;
-
-
-
-
-
-
-
-typedef struct
-{
- struct
- {
- int w_flg;
- wchar_t ws[12];
- wchar_t dt[12];
- }
- seq[3];
-}
-TIN_WCSTOK_REC;
-
-typedef struct
-{
- struct
- {
- int err_val; int ret_flg; wchar_t * ret_val;
- wchar_t ws[12];
- }
- seq[3];
-}
-TEX_WCSTOK_REC;
-
-typedef struct { TIN_WCSTOK_REC input; TEX_WCSTOK_REC expect; int is_last; } TST_WCSTOK_REC; typedef struct { TST_HEAD hd; TST_WCSTOK_REC rec[ 300 ]; } TST_WCSTOK;
-
-
-
-
-
-
-typedef struct
-{
- int s_flg;
- int w_flg;
- wchar_t ws[12];
- size_t n;
-}
-TIN_WCSTOMBS_REC;
-
-typedef struct
-{
- int err_val; int ret_flg; size_t ret_val;
- char s[24];
-}
-TEX_WCSTOMBS_REC;
-
-typedef struct { TIN_WCSTOMBS_REC input; TEX_WCSTOMBS_REC expect; int is_last; } TST_WCSTOMBS_REC; typedef struct { TST_HEAD hd; TST_WCSTOMBS_REC rec[ 300 ]; } TST_WCSTOMBS;
-
-
-
-
-
-
-typedef TIN_WCSNCPY_REC TIN_WCSWIDTH_REC;
-typedef struct { int err_val; int ret_flg; int ret_val; } TEX_WCSWIDTH_REC;
-typedef struct { TIN_WCSWIDTH_REC input; TEX_WCSWIDTH_REC expect; int is_last; } TST_WCSWIDTH_REC; typedef struct { TST_HEAD hd; TST_WCSWIDTH_REC rec[ 300 ]; } TST_WCSWIDTH;
-
-
-
-
-
-
-typedef struct
-{
- wchar_t org1[12];
- wchar_t org2[12];
- int n1, n2;
-}
-TIN_WCSXFRM_REC;
-
-typedef struct { int err_val; int ret_flg; size_t ret_val; } TEX_WCSXFRM_REC;
-typedef struct { TIN_WCSXFRM_REC input; TEX_WCSXFRM_REC expect; int is_last; } TST_WCSXFRM_REC; typedef struct { TST_HEAD hd; TST_WCSXFRM_REC rec[ 300 ]; } TST_WCSXFRM;
-
-
-
-
-
-
-typedef struct
-{
- wint_t wc;
-}
-TIN_WCTOB_REC;
-
-typedef struct { int err_val; int ret_flg; int ret_val; } TEX_WCTOB_REC;
-typedef struct { TIN_WCTOB_REC input; TEX_WCTOB_REC expect; int is_last; } TST_WCTOB_REC; typedef struct { TST_HEAD hd; TST_WCTOB_REC rec[ 300 ]; } TST_WCTOB;
-
-
-
-
-
-
-typedef struct
-{
- int s_flg;
- wchar_t wc;
-}
-TIN_WCTOMB_REC;
-
-typedef struct
-{
- int err_val; int ret_flg; int ret_val;
- char s[24];
-}
-TEX_WCTOMB_REC;
-
-typedef struct { TIN_WCTOMB_REC input; TEX_WCTOMB_REC expect; int is_last; } TST_WCTOMB_REC; typedef struct { TST_HEAD hd; TST_WCTOMB_REC rec[ 300 ]; } TST_WCTOMB;
-
-
-
-
-
-
-typedef struct
-{
- char class[24];
-}
-TIN_WCTRANS_REC;
-
-typedef struct { int err_val; int ret_flg; wctrans_t ret_val; } TEX_WCTRANS_REC;
-typedef struct { TIN_WCTRANS_REC input; TEX_WCTRANS_REC expect; int is_last; } TST_WCTRANS_REC; typedef struct { TST_HEAD hd; TST_WCTRANS_REC rec[ 300 ]; } TST_WCTRANS;
-
-
-
-
-
-
-typedef TIN_WCTRANS_REC TIN_WCTYPE_REC;
-typedef struct { int err_val; int ret_flg; wctype_t ret_val; } TEX_WCTYPE_REC;
-typedef struct { TIN_WCTYPE_REC input; TEX_WCTYPE_REC expect; int is_last; } TST_WCTYPE_REC; typedef struct { TST_HEAD hd; TST_WCTYPE_REC rec[ 300 ]; } TST_WCTYPE;
-
-
-
-
-
-
-typedef struct
-{
- wchar_t wc;
-}
-TIN_WCWIDTH_REC;
-
-typedef struct { int err_val; int ret_flg; int ret_val; } TEX_WCWIDTH_REC;
-typedef struct { TIN_WCWIDTH_REC input; TEX_WCWIDTH_REC expect; int is_last; } TST_WCWIDTH_REC; typedef struct { TST_HEAD hd; TST_WCWIDTH_REC rec[ 300 ]; } TST_WCWIDTH;
-# 18 "tsp_common.c" 2
-# 1 "tgn_locdef.h" 1
-
-#define TGN_LOCDEF_H
-
-
-
-
-#define TST_LOC_C "C"
-
-
-#define TST_LOC_de "de_DE.ISO-8859-1"
-
-
-
-#define TST_LOC_enUS "en_US.ANSI_X3.4-1968"
-
-
-
-
-
-
-#define TST_LOC_eucJP "ja_JP.EUC-JP"
-
-
-
-
-
-
-#define TST_LOC_de_UTF8 "de_DE.UTF-8"
-
-
-#define TST_LOC_end "lastEntry"
-# 19 "tsp_common.c" 2
-
-
-int
-main (int argc, char *argv[])
-{
- int ret;
- int debug;
-
- debug = argc > 1 ? atoi (argv[1]) : 0;
-
- if (debug)
- {
- fprintf (stdout, "\nTST_MBWC ===> %s ...\n", argv[0]);
- }
- ret = tst_mbrlen (stdout, debug);
-
- return (ret != 0);
-}
-
-#define MAX_RESULT_REC 132
-char result_rec[132];
-
-
-int
-result (FILE * fp, char res, const char *func, const char *loc, int rec_no,
- int seq_no, int case_no, const char *msg)
-{
- if (fp == ((void *)0)
- || strlen (func) + strlen (loc) + strlen (msg) + 32 > 132)
- {
- fprintf (stderr,
- "Warning: result(): can't write the result: %s:%s:%d:%d:%s\n",
- func, loc, rec_no, case_no, msg);
- return 0;
- }
-
- sprintf (result_rec, "%s:%s:%d:%d:%d:%c:%s\n", func, loc, rec_no, seq_no,
- case_no, res, msg);
-
- if (fputs (result_rec, fp) == (-1))
- {
- return 0;
- }
-
- return 1;
-}
-# 8 "tst_mbrlen.c" 2
-# 1 "dat_mbrlen.c" 1
-# 19 "dat_mbrlen.c"
-TST_MBRLEN tst_mbrlen_loc [] = {
- {
- { 14, "de_DE.ISO-8859-1" },
- {
- {
- {
- {
- { 1, "", 0, 0, 0 },
- { 1, "", 1, 0, 0 },
- { 1, "\300", 99, 0, 0 },
- }
- },
- {
- {
- { 0, 1, 0, },
- { 0, 1, 0, },
- { 0, 1, 1, },
- }
- }
- },
- {
- {
- {
- { 1, "\300\001", 0, 0, 0 },
- { 1, "\300\001", 1, 0, 0 },
- { 1, "\317\001", 99, 0, 0 },
- }
- },
- {
- {
- { 0, 1, 0, },
- { 0, 1, 1, },
- { 0, 1, 1, },
- }
- }
- },
- { .is_last = 1 }
- }
- },
- {
- { 14, "en_US.ANSI_X3.4-1968" },
- {
- {
- {
- {
- { 1, "A", 0, 0, 0 },
- { 1, "A", 1, 0, 0 },
- { 1, "A", 99, 0, 0 },
- }
- },
- {
- {
- { 0, 1, 0, },
- { 0, 1, 1, },
- { 0, 1, 1, },
- }
- }
- },
- {
- {
- {
- { 1, "\317\001", 0, 1, 0 },
- { 1, "\317\001", 1, 1, 0 },
- { 1, "\317\001", 99, 1, 0 },
- }
- },
- {
- {
- { 0, 1, 0, },
- { 84, 1, -1, },
- { 84, 1, -1, },
- }
- }
- },
- { .is_last = 1 }
- }
- },
- {
- { 14, "ja_JP.EUC-JP" },
- {
- {
- {
- {
- { 1, "\317\302", 1, 1, 1 },
- { 0, "", 0, 1, 0 },
- { 1, "\317\302", 99, 1, 1 },
- }
- },
- {
- {
- { 0, 1, -2, },
- { 0, 1, -1, },
- { 0, 1, 2, },
- }
- }
- },
- {
- {
- {
- { 1, "\317", 1, 1, 0 },
- { 1, "\302", 1, 1, 0 },
- { 1, "\317\302", 99, 0, 0 },
- }
- },
- {
- {
- { 0, 1, -2, },
-
-
-
-
-
- { 0, 1, +1, },
-
- { 0, 1, 2, },
- }
- }
- },
- {
- {
- {
- { 1, "\216\217", 0, 0, 0 },
- { 1, "\216\217", 1, 0, 0 },
- { 1, "\216\217", 99, 0, 0 },
- }
- },
- {
- {
- { 0, 1, 0, },
- { 0, 1, -2, },
- { 84, 1, -1, },
- }
- }
- },
- { .is_last = 1 }
- }
- },
- {
- { 14, "lastEntry" }
- }
-};
-# 9 "tst_mbrlen.c" 2
-
-
-int
-tst_mbrlen (FILE * fp, int debug_flg)
-{
- int loc, rec, err_count = 0; int warn_count __attribute__ ((unused)); int func_id, seq_num = 0; const char *locale; int err_exp, ret_flg; int errno_save = 0; size_t ret_exp; size_t ret;
- char s_flg;
- const char *s_in;
- size_t n;
- char t_flg;
- char t_ini;
- static mbstate_t s = { 0 };
- mbstate_t *ps;
-
- for (loc = 0; strcmp (tst_mbrlen_loc[ loc ].hd.locale, "lastEntry"); ++loc)
- {
- func_id = tst_mbrlen_loc[ loc ].hd.func_id; locale = tst_mbrlen_loc[ loc ].hd.locale; if (setlocale (6, locale) == ((void *)0)) { fprintf (stderr, "Warning : can't set locale: %s\nskipping ...\n", locale); result (fp, 'L', "mbrlen", locale, 0, 0, 0, "can't set locale"); ++err_count; continue; };
- for (rec=0; !tst_mbrlen_loc[ loc ].rec[ rec ].is_last; ++rec)
- {
- if (mbrlen (((void *)0), 0, &s) != 0)
- {
- err_count++;
- result (fp, ('F'), ("mbrlen"), locale, rec+1, seq_num+1, (3), ("Initialization (external mbstate object) failed " "- skipped this test case."));
-
-
- continue;
- }
-
- for (seq_num=0; seq_num < 3; seq_num++)
- {
- err_exp = tst_mbrlen_loc[ loc ].rec[ rec ].expect.seq[ seq_num ].err_val; ret_flg = tst_mbrlen_loc[ loc ].rec[ rec ].expect.seq[ seq_num ].ret_flg; ret_exp = tst_mbrlen_loc[ loc ].rec[ rec ].expect.seq[ seq_num ].ret_val;
- s_flg = tst_mbrlen_loc[ loc ].rec[ rec ].input.seq[ seq_num ].s_flg;
- s_in = tst_mbrlen_loc[ loc ].rec[ rec ].input.seq[ seq_num ].s;
- n = tst_mbrlen_loc[ loc ].rec[ rec ].input.seq[ seq_num ].n;
- t_flg = tst_mbrlen_loc[ loc ].rec[ rec ].input.seq[ seq_num ].t_flg;
- t_ini = tst_mbrlen_loc[ loc ].rec[ rec ].input.seq[ seq_num ].t_init;
- if (s_flg == 0)
- {
- s_in = ((void *)0);
- }
-
-
- fprintf(stdout, "n = %d.\n", n);
-
- if (n == 99)
- {
- n = (_stdlib_mb_cur_max ());
- }
-
- ps = (t_flg == 0) ? ((void *)0) : &s;
-
- if (t_ini != 0)
- {
- memset (&s, 0, sizeof (s));
- mbrlen (((void *)0), 0, ((void *)0));
- }
-
- __libc_errno = 0;
- ret = mbrlen (s_in, n, ps);
- errno_save = __libc_errno;
-
-
- fprintf(stdout, "s_in = %c, n = %d, t_ini = %d, s_flg = %d, t_flg = %d, MB_CUR_MAX = %d.\n",
-
- s_in, n, t_ini, s_flg, t_flg, (_stdlib_mb_cur_max ()));
-
- if (debug_flg)
- {
- fprintf (stdout, "mbrlen() [ %s : %d : %d ] ret = %zd\n",
- locale, rec + 1, seq_num + 1, ret);
- fprintf (stdout, " errno = %d\n", errno_save);
- }
-
- if (err_exp != 0) { if (errno_save == err_exp) { result (fp, 'S', "mbrlen", locale, rec+1, seq_num+1, 1, "PASSED"); } else { err_count++; result (fp, 'F', "mbrlen", locale, rec+1, seq_num+1, 1, "the value of errno is different from an expected value"); } } if (ret_flg == 1) { if (ret == ret_exp) { result (fp, 'S', "mbrlen", locale, rec+1, seq_num+1, 2, "PASSED"); } else { err_count++; result (fp, 'F', "mbrlen", locale, rec+1, seq_num+1, 2, "the return value is different from an expected value"); } } else
- {
- };
- }
- }
- }
-
- return err_count;
-}