ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

lcformat.c File Reference
#include <string.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include "windef.h"
#include "winbase.h"
#include "wine/unicode.h"
#include "wine/debug.h"
#include "winternl.h"

Go to the source code of this file.

Data Structures

struct  NLS_FORMAT_NODE

Defines

#define CRITICAL_SECTION   RTL_CRITICAL_SECTION
#define CRITICAL_SECTION_DEBUG   RTL_CRITICAL_SECTION_DEBUG
#define CALINFO_MAX_YEAR   2029
#define HeapAlloc   RtlAllocateHeap
#define HeapReAlloc   RtlReAllocateHeap
#define HeapFree   RtlFreeHeap
#define DATE_DATEVARSONLY   0x0100 /* only date stuff: yMdg */
#define TIME_TIMEVARSONLY   0x0200 /* only time stuff: hHmst */
#define NLS_NUM_CACHED_STRINGS   57
#define GetNegative(fmt)   fmt->lppszStrings[0]
#define GetLongDate(fmt)   fmt->lppszStrings[1]
#define GetShortDate(fmt)   fmt->lppszStrings[2]
#define GetTime(fmt)   fmt->lppszStrings[3]
#define GetAM(fmt)   fmt->lppszStrings[54]
#define GetPM(fmt)   fmt->lppszStrings[55]
#define GetYearMonth(fmt)   fmt->lppszStrings[56]
#define GetLongDay(fmt, day)   fmt->lppszStrings[4 + day]
#define GetShortDay(fmt, day)   fmt->lppszStrings[11 + day]
#define GetLongMonth(fmt, mth)   fmt->lppszStrings[18 + mth]
#define GetGenitiveMonth(fmt, mth)   fmt->lppszStrings[30 + mth]
#define GetShortMonth(fmt, mth)   fmt->lppszStrings[42 + mth]
#define GET_LOCALE_NUMBER(num, type)
#define GET_LOCALE_STRING(str, type)
#define IsLiteralMarker(p)   (p == '\'')
#define IsDateFmtChar(p)   (p == 'd'||p == 'M'||p == 'y'||p == 'g')
#define IsTimeFmtChar(p)   (p == 'H'||p == 'h'||p == 'm'||p == 's'||p == 't')
#define DATE_FORMAT_FLAGS   (DATE_DATEVARSONLY)
#define TIME_FORMAT_FLAGS
#define NF_ISNEGATIVE   0x1 /* '-' found */
#define NF_ISREAL   0x2 /* '.' found */
#define NF_DIGITS   0x4 /* '0'-'9' found */
#define NF_DIGITS_OUT   0x8 /* Digits before the '.' found */
#define NF_ROUND   0x10 /* Number needs to be rounded */
#define NLS_NEG_PARENS   0 /* "(1.1)" */
#define NLS_NEG_LEFT   1 /* "-1.1" */
#define NLS_NEG_LEFT_SPACE   2 /* "- 1.1" */
#define NLS_NEG_RIGHT   3 /* "1.1-" */
#define NLS_NEG_RIGHT_SPACE   4 /* "1.1 -" */
#define CF_PARENS   0x1 /* Parentheses */
#define CF_MINUS_LEFT   0x2 /* '-' to the left */
#define CF_MINUS_RIGHT   0x4 /* '-' to the right */
#define CF_MINUS_BEFORE   0x8 /* '-' before '$' */
#define CF_CY_LEFT   0x10 /* '$' to the left */
#define CF_CY_RIGHT   0x20 /* '$' to the right */
#define CF_CY_SPACE   0x40 /* ' ' by '$' */

Functions

 WINE_DEFAULT_DEBUG_CHANNEL (nls)
static DWORD NLS_GetLocaleNumber (LCID lcid, DWORD dwFlags)
static WCHARNLS_GetLocaleString (LCID lcid, DWORD dwFlags)
static const NLS_FORMAT_NODENLS_GetFormats (LCID lcid, DWORD dwFlags)
BOOL NLS_IsUnicodeOnlyLcid (LCID lcid)
static INT NLS_GetDateTimeFormatW (LCID lcid, DWORD dwFlags, const SYSTEMTIME *lpTime, LPCWSTR lpFormat, LPWSTR lpStr, INT cchOut)
static INT NLS_GetDateTimeFormatA (LCID lcid, DWORD dwFlags, const SYSTEMTIME *lpTime, LPCSTR lpFormat, LPSTR lpStr, INT cchOut)
INT WINAPI GetDateFormatA (LCID lcid, DWORD dwFlags, const SYSTEMTIME *lpTime, LPCSTR lpFormat, LPSTR lpDateStr, INT cchOut)
INT WINAPI GetDateFormatW (LCID lcid, DWORD dwFlags, const SYSTEMTIME *lpTime, LPCWSTR lpFormat, LPWSTR lpDateStr, INT cchOut)
INT WINAPI GetTimeFormatA (LCID lcid, DWORD dwFlags, const SYSTEMTIME *lpTime, LPCSTR lpFormat, LPSTR lpTimeStr, INT cchOut)
INT WINAPI GetTimeFormatW (LCID lcid, DWORD dwFlags, const SYSTEMTIME *lpTime, LPCWSTR lpFormat, LPWSTR lpTimeStr, INT cchOut)
INT WINAPI GetNumberFormatA (LCID lcid, DWORD dwFlags, LPCSTR lpszValue, const NUMBERFMTA *lpFormat, LPSTR lpNumberStr, int cchOut)
INT WINAPI GetNumberFormatW (LCID lcid, DWORD dwFlags, LPCWSTR lpszValue, const NUMBERFMTW *lpFormat, LPWSTR lpNumberStr, int cchOut)
INT WINAPI GetCurrencyFormatA (LCID lcid, DWORD dwFlags, LPCSTR lpszValue, const CURRENCYFMTA *lpFormat, LPSTR lpCurrencyStr, int cchOut)
INT WINAPI GetCurrencyFormatW (LCID lcid, DWORD dwFlags, LPCWSTR lpszValue, const CURRENCYFMTW *lpFormat, LPWSTR lpCurrencyStr, int cchOut)
BOOL WINAPI EnumDateFormatsExA (DATEFMT_ENUMPROCEXA proc, LCID lcid, DWORD flags)
BOOL WINAPI EnumDateFormatsExW (DATEFMT_ENUMPROCEXW proc, LCID lcid, DWORD flags)
BOOL WINAPI EnumDateFormatsA (DATEFMT_ENUMPROCA proc, LCID lcid, DWORD flags)
BOOL WINAPI EnumDateFormatsW (DATEFMT_ENUMPROCW proc, LCID lcid, DWORD flags)
BOOL WINAPI EnumTimeFormatsA (TIMEFMT_ENUMPROCA proc, LCID lcid, DWORD flags)
BOOL WINAPI EnumTimeFormatsW (TIMEFMT_ENUMPROCW proc, LCID lcid, DWORD flags)
static BOOL NLS_EnumCalendarInfoAW (void *calinfoproc, LCID locale, CALID calendar, CALTYPE caltype, BOOL unicode, BOOL ex)
BOOL WINAPI EnumCalendarInfoA (CALINFO_ENUMPROCA calinfoproc, LCID locale, CALID calendar, CALTYPE caltype)
BOOL WINAPI EnumCalendarInfoW (CALINFO_ENUMPROCW calinfoproc, LCID locale, CALID calendar, CALTYPE caltype)
BOOL WINAPI EnumCalendarInfoExA (CALINFO_ENUMPROCEXA calinfoproc, LCID locale, CALID calendar, CALTYPE caltype)
BOOL WINAPI EnumCalendarInfoExW (CALINFO_ENUMPROCEXW calinfoproc, LCID locale, CALID calendar, CALTYPE caltype)
int WINAPI GetCalendarInfoA (LCID lcid, CALID Calendar, CALTYPE CalType, LPSTR lpCalData, int cchData, LPDWORD lpValue)
int WINAPI GetCalendarInfoW (LCID Locale, CALID Calendar, CALTYPE CalType, LPWSTR lpCalData, int cchData, LPDWORD lpValue)
int WINAPI SetCalendarInfoA (LCID Locale, CALID Calendar, CALTYPE CalType, LPCSTR lpCalData)
int WINAPI SetCalendarInfoW (LCID Locale, CALID Calendar, CALTYPE CalType, LPCWSTR lpCalData)

Variables

static CRITICAL_SECTION NLS_FormatsCS = { &NLS_FormatsCS_debug, -1, 0, 0, 0, 0 }
static CRITICAL_SECTION_DEBUG NLS_FormatsCS_debug

Generated on Sat May 26 2012 05:10:45 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.