Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
Macros | Typedefs | Functions
locale.cpp File Reference
#include <rw/_defs.h>
#include <sys/mman.h>
#include <unistd.h>
#include <iconv.h>
#include <langinfo.h>
#include <limits.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <locale>
#include <map>
#include <vector>
#include <iostream>
#include <iomanip>
#include <fstream>
#include <clocale>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <cassert>
#include <loc/_localedef.h>
#include "aliases.h"
#include "charmap.h"
#include "loc_exception.h"
#include "memchk.h"
#include "diagnostic.h"
Include dependency graph for locale.cpp:

Go to the source code of this file.

Macros

#define SLASH   "\\"
 
#define LS_1   "dir /B /A:D "
 
#define LC_MESSAGES   -1
 
#define MAX_LINE_LEN   50
 
#define MON_INT(member)    (mon_st && CHAR_MAX != (mon_st->member) ? int (UChar (mon_st->member)) : -1)
 

Typedefs

typedef unsigned char UChar
 

Functions

int validate (const void *addr, std::size_t nbytes)
 
int validate (const char *str)
 
const void * init_struct (const std::string &loc_path_root, const char *cat_name, const char *codeset_name)
 
template<class FacetData >
const FacetData * init_section (const std::string &loc_path_root, const char *cat_name, const char *codeset_name, FacetData *)
 
int locale_main (int argc, char *argv[])
 

Macro Definition Documentation

◆ LC_MESSAGES

#define LC_MESSAGES   -1

Definition at line 99 of file locale.cpp.

◆ LS_1

#define LS_1   "dir /B /A:D "

Definition at line 50 of file locale.cpp.

◆ MAX_LINE_LEN

#define MAX_LINE_LEN   50

Definition at line 152 of file locale.cpp.

◆ MON_INT

#define MON_INT (   member)     (mon_st && CHAR_MAX != (mon_st->member) ? int (UChar (mon_st->member)) : -1)

Definition at line 1653 of file locale.cpp.

◆ SLASH

#define SLASH   "\\"

locale.cpp

$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-2008 Rogue Wave Software, Inc.

Definition at line 49 of file locale.cpp.

Typedef Documentation

◆ UChar

typedef unsigned char UChar

Definition at line 155 of file locale.cpp.

Function Documentation

◆ init_section()

template<class FacetData >
const FacetData * init_section ( const std::string &  loc_path_root,
const char *  cat_name,
const char *  codeset_name,
FacetData *   
)

Definition at line 289 of file locale.cpp.

◆ init_struct()

const void * init_struct ( const std::string &  loc_path_root,
const char *  cat_name,
const char *  codeset_name 
)

Definition at line 206 of file locale.cpp.

◆ locale_main()

int locale_main ( int  argc,
char *  argv[] 
)

Definition at line 2876 of file locale.cpp.

◆ validate() [1/2]

int validate ( const char *  str)

Definition at line 179 of file locale.cpp.

◆ validate() [2/2]

int validate ( const void *  addr,
std::size_t  nbytes 
)

Definition at line 159 of file locale.cpp.

Variable Documentation

◆ arg

int arg

Definition at line 2806 of file locale.cpp.

◆ name

const char* name

Definition at line 2804 of file locale.cpp.

◆ print

int(* print) (const char *, int) ( const char *  ,
int   
)

Definition at line 2805 of file locale.cpp.