Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
Macros | Typedefs | Functions | Variables
rw_locale.h File Reference
#include <rw_testdefs.h>
Include dependency graph for rw_locale.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define _UNUSED_CAT   69
 
#define LOCALE_ROOT_ENVAR   "RWSTD_LOCALE_ROOT"
 

Typedefs

typedef char rw_mbchar_array_t[_RWSTD_MB_LEN_MAX][_RWSTD_MB_LEN_MAX]
 

Functions

_TEST_EXPORT char * rw_locale_query (int=_UNUSED_CAT, const char *=0, _RWSTD_SIZE_T=0)
 
_TEST_EXPORT char * rw_locales (int=_UNUSED_CAT, const char *=0, bool=true)
 
_TEST_EXPORT int rw_locale (const char *, const char *)
 
_TEST_EXPORT const char * rw_set_locale_root ()
 
_TEST_EXPORT const char * rw_localedef (const char *, const char *, const char *, const char *)
 
_TEST_EXPORT _RWSTD_SIZE_T rw_get_wchars (wchar_t *, _RWSTD_SIZE_T, int=0)
 
_TEST_EXPORT _RWSTD_SIZE_T rw_get_mb_chars (rw_mbchar_array_t)
 
_TEST_EXPORT const char * rw_find_mb_locale (_RWSTD_SIZE_T *, rw_mbchar_array_t)
 
_TEST_EXPORT const char * rw_create_locale (const char *, const char *)
 
_TEST_EXPORT int rw_opt_setlocales (int, char *[])
 
_TEST_EXPORT int rw_create_catalog (const char *, const char *)
 

Variables

_TEST_EXPORT const char *const & rw_opt_locales
 

Macro Definition Documentation

◆ _UNUSED_CAT

#define _UNUSED_CAT   69

rw_locale.h - declarations of locale testsuite helpers

$Id$

Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright 2001-2007 Rogue Wave Software, Inc.

Definition at line 36 of file rw_locale.h.

◆ LOCALE_ROOT_ENVAR

#define LOCALE_ROOT_ENVAR   "RWSTD_LOCALE_ROOT"

Definition at line 57 of file rw_locale.h.

Typedef Documentation

◆ rw_mbchar_array_t

typedef char rw_mbchar_array_t[_RWSTD_MB_LEN_MAX][_RWSTD_MB_LEN_MAX]

Definition at line 95 of file rw_locale.h.

Function Documentation

◆ rw_create_catalog()

_TEST_EXPORT int rw_create_catalog ( const char *  catname,
const char *  catalog 
)

Definition at line 920 of file locale.cpp.

◆ rw_create_locale()

_TEST_EXPORT const char * rw_create_locale ( const char *  charmap,
const char *  locale 
)

Definition at line 792 of file locale.cpp.

◆ rw_find_mb_locale()

_TEST_EXPORT const char * rw_find_mb_locale ( _RWSTD_SIZE_T *  ,
rw_mbchar_array_t   
)

◆ rw_get_mb_chars()

_TEST_EXPORT _RWSTD_SIZE_T rw_get_mb_chars ( rw_mbchar_array_t  mb_chars)

Definition at line 618 of file locale.cpp.

◆ rw_get_wchars()

_TEST_EXPORT _RWSTD_SIZE_T rw_get_wchars ( wchar_t *  ,
_RWSTD_SIZE_T  ,
int  = 0 
)

◆ rw_locale()

_TEST_EXPORT int rw_locale ( const char *  args,
const char *  fname 
)

Definition at line 132 of file locale.cpp.

◆ rw_locale_query()

_TEST_EXPORT char * rw_locale_query ( int  = _UNUSED_CAT,
const char *  = 0,
_RWSTD_SIZE_T  = 0 
)

◆ rw_localedef()

_TEST_EXPORT const char * rw_localedef ( const char *  args,
const char *  src,
const char *  charmap,
const char *  locname 
)

Definition at line 154 of file locale.cpp.

◆ rw_locales()

_TEST_EXPORT char * rw_locales ( int  loc_cat = _UNUSED_CAT,
const char *  grep_exp = 0,
bool  prepend_c_loc = true 
)

Definition at line 368 of file locale.cpp.

◆ rw_opt_setlocales()

_TEST_EXPORT int rw_opt_setlocales ( int  argc,
char *  argv[] 
)

Definition at line 866 of file locale.cpp.

◆ rw_set_locale_root()

_TEST_EXPORT const char * rw_set_locale_root ( )

Definition at line 324 of file locale.cpp.

Variable Documentation

◆ rw_opt_locales

_TEST_EXPORT const char* const& rw_opt_locales
extern

Definition at line 862 of file locale.cpp.