Home
last modified time | relevance | path

Searched refs:UChar (Results 1 – 25 of 934) sorted by relevance

12345678910>>...38

/external/icu/icu4c/source/test/cintltst/
Dencoll.c40 const static UChar testSourceCases[][MAX_TOKEN_LEN] = {
41 {(UChar)0x0061 /* 'a' */, (UChar)0x0062 /* 'b' */, 0},
42UChar)0x0062 /* 'b' */, (UChar)0x006C /* 'l' */, (UChar)0x0061 /* 'a' */, (UChar)0x0063 /* 'c' */,…
43UChar)0x0062 /* 'b' */, (UChar)0x006C /* 'l' */, (UChar)0x0061 /* 'a' */, (UChar)0x0063 /* 'c' */,…
44UChar)0x0062 /* 'b' */, (UChar)0x006C /* 'l' */, (UChar)0x0061 /* 'a' */, (UChar)0x0063 /* 'c' */,…
45 …{(UChar)0x0048 /* 'H' */, (UChar)0x0065 /* 'e' */, (UChar)0x006C /* 'l' */, (UChar)0x006C /* 'l' *…
46 {(UChar)0x0041 /* 'A' */, (UChar)0x0042 /* 'B' */, (UChar)0x0043 /* 'C' */, 0},
47 {(UChar)0x0061 /* 'a' */, (UChar)0x0062 /* 'b' */, (UChar)0x0063 /* 'c' */, 0},
48UChar)0x0062 /* 'b' */, (UChar)0x006C /* 'l' */, (UChar)0x0061 /* 'a' */, (UChar)0x0063 /* 'c' */,…
49UChar)0x0062 /* 'b' */, (UChar)0x006C /* 'l' */, (UChar)0x0061 /* 'a' */, (UChar)0x0063 /* 'c' */,…
[all …]
Dcmsgtst.c51 static UChar* testCasePatterns[5];
53 static UChar* testResultStrings[5];
66 testCasePatterns[i]=(UChar*)malloc(sizeof(UChar) * strSize); in InitStrings()
71 testResultStrings[i] = (UChar*)malloc(sizeof(UChar) * strSize); in InitStrings()
110 UChar *str; in MessageFormatTest()
111 UChar* result; in MessageFormatTest()
118 str=(UChar*)malloc(sizeof(UChar) * 7); in MessageFormatTest()
121 result=(UChar*)malloc(sizeof(UChar) * 1); in MessageFormatTest()
133 result=(UChar*)realloc(result,sizeof(UChar) * resultlength); in MessageFormatTest()
165 result=(UChar*)malloc(sizeof(UChar) * resultlength); in MessageFormatTest()
[all …]
Dcdtrgtst.c54 UChar *fmdt, *todayS, *rt; in Test4029195()
55 UChar *pat=NULL; in Test4029195()
56 UChar *temp; in Test4029195()
77 pat=(UChar*)malloc(sizeof(UChar) * resultlength); in Test4029195()
92 temp=(UChar*)malloc(sizeof(UChar) * 10); in Test4029195()
133 UChar s[10]; in Test4056591()
134 UChar *gotdate, *expdate; in Test4056591()
135 UChar pat[10]; in Test4056591()
207 UChar *myDate; in Test4059917()
209 UChar pattern[11]; in Test4059917()
[all …]
Dudatpg_test.c57 static const UChar pipeString[]={ 0x7c, 0x0a };
59 static const UChar testSkeleton1[]={ 0x48, 0x48, 0x6d, 0x6d, 0 }; /* HHmm */
60 static const UChar expectingBestPattern[]={ 0x48, 0x2e, 0x6d, 0x6d, 0 }; /* H.mm */
61 static const UChar testPattern[]={ 0x48, 0x48, 0x3a, 0x6d, 0x6d, 0 }; /* HH:mm */
62 static const UChar expectingSkeleton[]= { 0x48, 0x48, 0x6d, 0x6d, 0 }; /* HHmm */
63 static const UChar expectingBaseSkeleton[]= { 0x48, 0x6d, 0 }; /* HHmm */
64 static const UChar redundantPattern[]={ 0x79, 0x79, 0x4d, 0x4d, 0x4d, 0 }; /* yyMMM */
65 static const UChar testFormat[]= {0x7B, 0x31, 0x7D, 0x20, 0x7B, 0x30, 0x7D, 0}; /* {1} {0} */
66 static const UChar appendItemName[]= {0x68, 0x72, 0}; /* hr */
67 static const UChar testPattern2[]={ 0x48, 0x48, 0x3a, 0x6d, 0x6d, 0x20, 0x76, 0 }; /* HH:mm v */
[all …]
/external/icu/icu4c/source/test/intltest/
Dencoll.cpp32 static const UChar testSourceCases[][CollationEnglishTest::MAX_TOKEN_LEN] = {
33 {(UChar)0x0061 /* 'a' */, (UChar)0x0062 /* 'b' */, 0},
34UChar)0x0062 /* 'b' */, (UChar)0x006C /* 'l' */, (UChar)0x0061 /* 'a' */, (UChar)0x0063 /* 'c' */,…
35UChar)0x0062 /* 'b' */, (UChar)0x006C /* 'l' */, (UChar)0x0061 /* 'a' */, (UChar)0x0063 /* 'c' */,…
36UChar)0x0062 /* 'b' */, (UChar)0x006C /* 'l' */, (UChar)0x0061 /* 'a' */, (UChar)0x0063 /* 'c' */,…
37 …{(UChar)0x0048 /* 'H' */, (UChar)0x0065 /* 'e' */, (UChar)0x006C /* 'l' */, (UChar)0x006C /* 'l' *…
38 {(UChar)0x0041 /* 'A' */, (UChar)0x0042 /* 'B' */, (UChar)0x0043 /* 'C' */, 0},
39 {(UChar)0x0061 /* 'a' */, (UChar)0x0062 /* 'b' */, (UChar)0x0063 /* 'c' */, 0},
40UChar)0x0062 /* 'b' */, (UChar)0x006C /* 'l' */, (UChar)0x0061 /* 'a' */, (UChar)0x0063 /* 'c' */,…
41UChar)0x0062 /* 'b' */, (UChar)0x006C /* 'l' */, (UChar)0x0061 /* 'a' */, (UChar)0x0063 /* 'c' */,…
[all …]
/external/icu/icu4c/source/i18n/
Dplurrule_impl.h43 static const UChar DOT = ((UChar)0x002E);
44 static const UChar SINGLE_QUOTE = ((UChar)0x0027);
45 static const UChar SLASH = ((UChar)0x002F);
46 static const UChar BACKSLASH = ((UChar)0x005C);
47 static const UChar SPACE = ((UChar)0x0020);
48 static const UChar EXCLAMATION = ((UChar)0x0021);
49 static const UChar QUOTATION_MARK = ((UChar)0x0022);
50 static const UChar NUMBER_SIGN = ((UChar)0x0023);
51 static const UChar PERCENT_SIGN = ((UChar)0x0025);
52 static const UChar ASTERISK = ((UChar)0x002A);
[all …]
Ddt_impl.h28 #define QUOTE ((UChar)0x0027)
29 #define LOW_LINE ((UChar)0x005F)
30 #define COLON ((UChar)0x003A)
31 #define LEFT_CURLY_BRACKET ((UChar)0x007B)
32 #define RIGHT_CURLY_BRACKET ((UChar)0x007D)
33 #define SPACE ((UChar)0x0020)
34 #define EN_DASH ((UChar)0x2013)
35 #define SOLIDUS ((UChar)0x002F)
36 #define PERCENT ((UChar)0x0025)
38 #define DIGIT_ZERO ((UChar)0x0030)
[all …]
Dselfmtimpl.h30 #define DOT ((UChar)0x002E)
31 #define SINGLE_QUOTE ((UChar)0x0027)
32 #define SLASH ((UChar)0x002F)
33 #define BACKSLASH ((UChar)0x005C)
34 #define SPACE ((UChar)0x0020)
35 #define TAB ((UChar)0x0009)
36 #define QUOTATION_MARK ((UChar)0x0022)
37 #define ASTERISK ((UChar)0x002A)
38 #define COMMA ((UChar)0x002C)
39 #define HYPHEN ((UChar)0x002D)
[all …]
Ddtitv_impl.h28 #define QUOTE ((UChar)0x0027)
29 #define LOW_LINE ((UChar)0x005F)
30 #define COLON ((UChar)0x003A)
31 #define LEFT_CURLY_BRACKET ((UChar)0x007B)
32 #define RIGHT_CURLY_BRACKET ((UChar)0x007D)
33 #define SPACE ((UChar)0x0020)
34 #define EN_DASH ((UChar)0x2013)
35 #define SOLIDUS ((UChar)0x002F)
37 #define DIGIT_ZERO ((UChar)0x0030)
38 #define DIGIT_ONE ((UChar)0x0031)
[all …]
Ddtptngen_impl.h35 #define SINGLE_QUOTE ((UChar)0x0027)
36 #define FORWARDSLASH ((UChar)0x002F)
37 #define BACKSLASH ((UChar)0x005C)
38 #define SPACE ((UChar)0x0020)
39 #define QUOTATION_MARK ((UChar)0x0022)
40 #define ASTERISK ((UChar)0x002A)
41 #define PLUSSITN ((UChar)0x002B)
42 #define COMMA ((UChar)0x002C)
43 #define HYPHEN ((UChar)0x002D)
44 #define DOT ((UChar)0x002E)
[all …]
Daffixpatternparser.cpp25 static const UChar gDefaultSymbols[] = {0xa4, 0xa4, 0xa4};
27 static const UChar gPercent = 0x25;
28 static const UChar gPerMill = 0x2030;
29 static const UChar gNegative = 0x2D;
30 static const UChar gPositive = 0x2B;
32 #define PACK_TOKEN_AND_LENGTH(t, l) ((UChar) (((t) << 8) | (l & 0xFF)))
43 nextToken(const UChar *buffer, int32_t idx, int32_t len, UChar *token) { in nextToken()
59 nextUserToken(const UChar *buffer, int32_t idx, int32_t len, UChar *token) { in nextUserToken()
90 const UChar *currency, in set()
106 const UChar *symbol = ucurr_getName( in set()
[all …]
Ddecimalformatpatternimpl.h18 #define kPatternZeroDigit ((UChar)0x0030) /*'0'*/
19 #define kPatternSignificantDigit ((UChar)0x0040) /*'@'*/
20 #define kPatternGroupingSeparator ((UChar)0x002C) /*','*/
21 #define kPatternDecimalSeparator ((UChar)0x002E) /*'.'*/
22 #define kPatternPerMill ((UChar)0x2030)
23 #define kPatternPercent ((UChar)0x0025) /*'%'*/
24 #define kPatternDigit ((UChar)0x0023) /*'#'*/
25 #define kPatternSeparator ((UChar)0x003B) /*';'*/
26 #define kPatternExponent ((UChar)0x0045) /*'E'*/
27 #define kPatternPlus ((UChar)0x002B) /*'+'*/
[all …]
Dumsg_imp.h26 extern const UChar *g_umsgTypeList[];
27 extern const UChar *g_umsgModifierList[];
28 extern const UChar *g_umsgDateModifierList[];
31 extern const UChar g_umsg_number[];
32 extern const UChar g_umsg_date[];
33 extern const UChar g_umsg_time[];
34 extern const UChar g_umsg_choice[];
36 extern const UChar g_umsg_currency[];
37 extern const UChar g_umsg_percent[];
38 extern const UChar g_umsg_integer[];
[all …]
/external/icu/icu4c/source/common/unicode/
Dustring.h93 u_strlen(const UChar *s);
110 u_countChar32(const UChar *s, int32_t length);
131 u_strHasMoreChar32Than(const UChar *s, int32_t length, int32_t number);
143 U_STABLE UChar* U_EXPORT2
144 u_strcat(UChar *dst,
145 const UChar *src);
161 U_STABLE UChar* U_EXPORT2
162 u_strncat(UChar *dst,
163 const UChar *src,
186 U_STABLE UChar * U_EXPORT2
[all …]
/external/valgrind/VEX/priv/
Dhost_s390_defs.c1217 static __inline__ UChar *
1218 emit_2bytes(UChar *p, ULong val) in emit_2bytes()
1220 return (UChar *)__builtin_memcpy(p, ((UChar *)&val) + 6, 2) + 2; in emit_2bytes()
1224 static __inline__ UChar *
1225 emit_4bytes(UChar *p, ULong val) in emit_4bytes()
1227 return (UChar *)__builtin_memcpy(p, ((UChar *)&val) + 4, 4) + 4; in emit_4bytes()
1231 static __inline__ UChar *
1232 emit_6bytes(UChar *p, ULong val) in emit_6bytes()
1234 return (UChar *)__builtin_memcpy(p, ((UChar *)&val) + 2, 6) + 6; in emit_6bytes()
1242 static UChar *
[all …]
/external/icu/icu4c/source/common/
Dustring.cpp43 isMatchAtCPBoundary(const UChar *start, const UChar *match, const UChar *matchLimit, const UChar *l… in isMatchAtCPBoundary()
55 U_CAPI UChar * U_EXPORT2
56 u_strFindFirst(const UChar *s, int32_t length, in u_strFindFirst()
57 const UChar *sub, int32_t subLength) { in u_strFindFirst()
58 const UChar *start, *p, *q, *subLimit; in u_strFindFirst()
59 UChar c, cs, cq; in u_strFindFirst()
62 return (UChar *)s; in u_strFindFirst()
73 return (UChar *)s; in u_strFindFirst()
88 return (UChar *)(s-1); /* well-formed match */ in u_strFindFirst()
113 return (UChar *)s; in u_strFindFirst()
[all …]
Dnormalizer2impl.h94 static inline int32_t decompose(UChar32 c, UChar buffer[3]) { in decompose()
98 buffer[0]=(UChar)(JAMO_L_BASE+c/JAMO_V_COUNT); in decompose()
99 buffer[1]=(UChar)(JAMO_V_BASE+c%JAMO_V_COUNT); in decompose()
103 buffer[2]=(UChar)(JAMO_T_BASE+c2); in decompose()
112 static inline void getRawDecomposition(UChar32 c, UChar buffer[2]) { in getRawDecomposition()
118 buffer[0]=(UChar)(JAMO_L_BASE+c/JAMO_V_COUNT); in getRawDecomposition()
119 buffer[1]=(UChar)(JAMO_V_BASE+c%JAMO_V_COUNT); in getRawDecomposition()
122 buffer[1]=(UChar)(JAMO_T_BASE+c2); in getRawDecomposition()
149 UChar *getStart() { return start; } in getStart()
150 UChar *getLimit() { return limit; } in getLimit()
[all …]
Ducnv_err.cpp104 const UChar* codeUnits, in UCNV_FROM_U_CALLBACK_STOP()
145 const UChar* codeUnits, in UCNV_FROM_U_CALLBACK_SKIP()
176 const UChar* codeUnits, in UCNV_FROM_U_CALLBACK_SUBSTITUTE()
212 const UChar *codeUnits, in UCNV_FROM_U_CALLBACK_ESCAPE()
219 UChar valueString[VALUE_STRING_LENGTH]; in UCNV_FROM_U_CALLBACK_ESCAPE()
223 const UChar *myValueSource = NULL; in UCNV_FROM_U_CALLBACK_ESCAPE()
260 valueString[valueStringLength++] = (UChar) UNICODE_PERCENT_SIGN_CODEPOINT; /* adding % */ in UCNV_FROM_U_CALLBACK_ESCAPE()
261 valueString[valueStringLength++] = (UChar) UNICODE_U_CODEPOINT; /* adding U */ in UCNV_FROM_U_CALLBACK_ESCAPE()
272 valueString[valueStringLength++] = (UChar) UNICODE_RS_CODEPOINT; /* adding \ */ in UCNV_FROM_U_CALLBACK_ESCAPE()
273 valueString[valueStringLength++] = (UChar) UNICODE_U_LOW_CODEPOINT; /* adding u */ in UCNV_FROM_U_CALLBACK_ESCAPE()
[all …]
/external/icu/icu4c/source/test/perf/normperf/
Dnormperf.h28 inline int FoldStringW(DWORD dwMapFlags, const UChar* lpSrcStr,int cchSrc, UChar* lpDestStr,int cch…
32 typedef int32_t (*NormFn)(const UChar* src,int32_t srcLen, UChar* dest,int32_t dstLen, int32_t opti…
33 typedef int32_t (*QuickCheckFn)(const UChar* src,int32_t srcLen, UNormalizationMode mode, int32_t o…
43 const UChar* src;
91 …QuickCheckPerfFunction(QuickCheckFn func, const UChar* source,int32_t sourceLen, UNormalizationMod… in QuickCheckPerfFunction()
108 UChar dest[DEST_BUFFER_CAPACITY];
109 UChar* pDest;
114 const UChar* src;
161 …NormPerfFunction(NormFn func, int32_t opts, const UChar* source,int32_t sourceLen,UBool _uselen) :… in NormPerfFunction()
167 pDest = (UChar*) malloc(destLen * U_SIZEOF_UCHAR); in NormPerfFunction()
[all …]
/external/icu/icu4c/source/io/unicode/
Dustdio.h266 u_fopen_u(const UChar *filename,
328 u_fstropen(UChar *stringBuf,
528 u_printf_u(const UChar *patternSpecification,
549 const UChar *patternSpecification,
566 const UChar *patternSpecification,
580 u_fputs(const UChar *s,
606 u_file_write(const UChar *ustring,
657 const UChar *patternSpecification,
675 const UChar *patternSpecification,
691 U_STABLE UChar* U_EXPORT2
[all …]
/external/valgrind/VEX/pub/
Dlibvex_guest_ppc32.h174 /* 1164 */ UChar guest_XER_SO; /* in lsb */
175 /* 1165 */ UChar guest_XER_OV; /* in lsb */
176 /* 1166 */ UChar guest_XER_OV32; /* in lsb */
177 /* 1167 */ UChar guest_XER_CA; /* in lsb */
178 /* 1168 */ UChar guest_XER_CA32; /* in lsb */
179 /* 1169 */ UChar guest_XER_BC; /* all bits */
182 /* 1170 */ UChar guest_CR0_321; /* in [3:1] */
183 /* 1171 */ UChar guest_CR0_0; /* in lsb */
184 /* 1172 */ UChar guest_CR1_321; /* in [3:1] */
185 /* 1173 */ UChar guest_CR1_0; /* in lsb */
[all …]
Dlibvex_guest_ppc64.h212 /* 1304 */ UChar guest_XER_SO; /* in lsb */
213 /* 1305 */ UChar guest_XER_OV; /* in lsb */
214 /* 1306 */ UChar guest_XER_OV32; /* in lsb */
215 /* 1307 */ UChar guest_XER_CA; /* in lsb */
216 /* 1308 */ UChar guest_XER_CA32; /* in lsb */
217 /* 1309 */ UChar guest_XER_BC; /* all bits */
220 /* 1310 */ UChar guest_CR0_321; /* in [3:1] */
221 /* 1311 */ UChar guest_CR0_0; /* in lsb */
222 /* 1312 */ UChar guest_CR1_321; /* in [3:1] */
223 /* 1313 */ UChar guest_CR1_0; /* in lsb */
[all …]
/external/icu/icu4c/source/i18n/unicode/
Dudatpg.h224 const UChar *skeleton, int32_t length,
225 UChar *bestPattern, int32_t capacity,
260 const UChar *skeleton, int32_t length,
262 UChar *bestPattern, int32_t capacity,
288 const UChar *pattern, int32_t length,
289 UChar *skeleton, int32_t capacity,
318 const UChar *pattern, int32_t length,
319 UChar *baseSkeleton, int32_t capacity,
348 const UChar *pattern, int32_t patternLength,
350 UChar *conflictingPattern, int32_t capacity, int32_t *pLength,
[all …]
Dumsg.h180 const UChar *pattern,
182 UChar *result,
207 const UChar *pattern,
209 UChar *result,
232 const UChar *pattern,
234 const UChar *source,
257 const UChar *pattern,
259 const UChar *source,
286 const UChar *pattern,
288 UChar *result,
[all …]
/external/valgrind/coregrind/m_debuginfo/
Dpriv_misc.h58 static inline type VGAPPEND(vgModuleLocal_read_,type) ( const UChar* data ) \
62 type VGAPPEND(vgModuleLocal_readUAS_,type) ( const UChar* data )
65 static inline UChar* VGAPPEND(vgModuleLocal_write_,type) ( UChar* ptr, type val ) \
70 UChar* VGAPPEND(vgModuleLocal_writeUAS_,type) ( UChar* ptr, type val )
75 type VGAPPEND(vgModuleLocal_readUAS_,type) ( const UChar* data ); \
76 static inline type VGAPPEND(vgModuleLocal_read_,type) ( const UChar* data ) \
82 UChar* VGAPPEND(vgModuleLocal_writeUAS_,type) ( UChar* ptr, type val ); \
83 static inline UChar* VGAPPEND(vgModuleLocal_write_,type) ( UChar* ptr, type val ) \
112 static inline UChar ML_(read_UChar)( const UChar* data ) in ML_()
116 static inline UChar* ML_(write_UChar)( UChar* ptr, UChar val ) in ML_()
[all …]

12345678910>>...38