Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(90)

Side by Side Diff: source/common/ucnvmbcs.c

Issue 141063008: Add support for QNX Neutrino. Base URL: https://chromium.googlesource.com/chromium/deps/icu46.git@master
Patch Set: Undo change to _XOPEN_SOURCE_EXTENDED Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « source/common/putil.c ('k') | source/common/unicode/pqnx.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 ****************************************************************************** 2 ******************************************************************************
3 * 3 *
4 * Copyright (C) 2000-2010, International Business Machines 4 * Copyright (C) 2000-2010, International Business Machines
5 * Corporation and others. All Rights Reserved. 5 * Corporation and others. All Rights Reserved.
6 * 6 *
7 ****************************************************************************** 7 ******************************************************************************
8 * file name: ucnvmbcs.c 8 * file name: ucnvmbcs.c
9 * encoding: US-ASCII 9 * encoding: US-ASCII
10 * tab size: 8 (not used) 10 * tab size: 8 (not used)
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 #include "unicode/udata.h" 49 #include "unicode/udata.h"
50 #include "unicode/uset.h" 50 #include "unicode/uset.h"
51 #include "ucnv_bld.h" 51 #include "ucnv_bld.h"
52 #include "ucnvmbcs.h" 52 #include "ucnvmbcs.h"
53 #include "ucnv_ext.h" 53 #include "ucnv_ext.h"
54 #include "ucnv_cnv.h" 54 #include "ucnv_cnv.h"
55 #include "umutex.h" 55 #include "umutex.h"
56 #include "cmemory.h" 56 #include "cmemory.h"
57 #include "cstring.h" 57 #include "cstring.h"
58 58
59 /* si_value is defined as a macro in some POSIX implementations' standard header s. */
60 #ifdef si_value
61 #undef si_value
62 #endif
63
59 /* control optimizations according to the platform */ 64 /* control optimizations according to the platform */
60 #define MBCS_UNROLL_SINGLE_TO_BMP 1 65 #define MBCS_UNROLL_SINGLE_TO_BMP 1
61 #define MBCS_UNROLL_SINGLE_FROM_BMP 0 66 #define MBCS_UNROLL_SINGLE_FROM_BMP 0
62 67
63 /* 68 /*
64 * _MBCSHeader versions 5.3 & 4.3 69 * _MBCSHeader versions 5.3 & 4.3
65 * (Note that the _MBCSHeader version is in addition to the converter formatVers ion.) 70 * (Note that the _MBCSHeader version is in addition to the converter formatVers ion.)
66 * 71 *
67 * This version is optional. Version 5 is used for incompatible data format chan ges. 72 * This version is optional. Version 5 is used for incompatible data format chan ges.
68 * makeconv will continue to generate version 4 files if possible. 73 * makeconv will continue to generate version 4 files if possible.
(...skipping 5581 matching lines...) Expand 10 before | Expand all | Expand 10 after
5650 * converters. Be sure to update it as well. 5655 * converters. Be sure to update it as well.
5651 */ 5656 */
5652 5657
5653 const UConverterSharedData _MBCSData={ 5658 const UConverterSharedData _MBCSData={
5654 sizeof(UConverterSharedData), 1, 5659 sizeof(UConverterSharedData), 1,
5655 NULL, NULL, NULL, FALSE, &_MBCSImpl, 5660 NULL, NULL, NULL, FALSE, &_MBCSImpl,
5656 0 5661 0
5657 }; 5662 };
5658 5663
5659 #endif /* #if !UCONFIG_NO_LEGACY_CONVERSION */ 5664 #endif /* #if !UCONFIG_NO_LEGACY_CONVERSION */
OLDNEW
« no previous file with comments | « source/common/putil.c ('k') | source/common/unicode/pqnx.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698