Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
Data Structures | Macros | Functions | Variables
LOCALE_NAME_FMAT.cpp File Reference
#include <locale.h>
#include <stdio.h>
#include <string.h>
#include "locale_names.h"
Include dependency graph for LOCALE_NAME_FMAT.cpp:

Go to the source code of this file.

Data Structures

struct  LC_vars
 

Macros

#define MAX_LOCALE_NAME_LEN   1024
 

Functions

char * rw_strchr (const char *s, char c)
 
char * rw_strpbrk (const char *s, const char *seps)
 
char * rw_strstr (const char *str, const char *s)
 
int putenv (char *)
 
int print_lc_constants ()
 
int print_categories (const char *, int, int &, int &, int, char &, char &)
 
int print_locale_name_format (int, int, int, int, int, char, char)
 
int main ()
 

Variables

const char *const test_locale_names []
 
const unsigned nlocales
 
char cat_seps [] = " \n\t/\\:;#%"
 
const int lc_cat_order []
 

Macro Definition Documentation

◆ MAX_LOCALE_NAME_LEN

#define MAX_LOCALE_NAME_LEN   1024

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 1999-2007 Rogue Wave Software, Inc.

Definition at line 51 of file LOCALE_NAME_FMAT.cpp.

Function Documentation

◆ main()

int main ( void  )

Definition at line 139 of file LOCALE_NAME_FMAT.cpp.

◆ print_categories()

int print_categories ( const char *  locname,
int  setlocale_environ,
int &  loc_name_use_cat,
int &  loc_name_prepend_sep,
int  loc_name_condense,
char &  loc_name_cat_sep,
char &  loc_name_cat_eq 
)

Definition at line 392 of file LOCALE_NAME_FMAT.cpp.

◆ print_lc_constants()

int print_lc_constants ( )

Definition at line 340 of file LOCALE_NAME_FMAT.cpp.

◆ print_locale_name_format()

int print_locale_name_format ( int  guess,
int  setlocale_environ,
int  loc_name_use_cat,
int  loc_name_prepend_sep,
int  loc_name_condense,
char  loc_name_cat_sep,
char  loc_name_cat_eq 
)

Definition at line 551 of file LOCALE_NAME_FMAT.cpp.

◆ putenv()

int putenv ( char *  )

◆ rw_strchr()

char * rw_strchr ( const char *  s,
char  c 
)

Definition at line 79 of file LOCALE_NAME_FMAT.cpp.

◆ rw_strpbrk()

char * rw_strpbrk ( const char *  s,
const char *  seps 
)

Definition at line 87 of file LOCALE_NAME_FMAT.cpp.

◆ rw_strstr()

char * rw_strstr ( const char *  str,
const char *  s 
)

Definition at line 99 of file LOCALE_NAME_FMAT.cpp.

Variable Documentation

◆ cat_seps

char cat_seps[] = " \n\t/\\:;#%"

Definition at line 133 of file LOCALE_NAME_FMAT.cpp.

◆ lc_cat_order

const int lc_cat_order[]

Definition at line 293 of file LOCALE_NAME_FMAT.cpp.

◆ nlocales

const unsigned nlocales
extern

Definition at line 805 of file locale_names.h.

◆ test_locale_names

const char* const test_locale_names[]
extern

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 1999-2007 Rogue Wave Software, Inc.

Definition at line 28 of file locale_names.h.