Home
last modified time | relevance | path

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

12345678910>>...38

/external/icu/icu4c/source/test/cintltst/
Dencoll.c37 const static UChar testSourceCases[][MAX_TOKEN_LEN] = {
38 {(UChar)0x0061 /* 'a' */, (UChar)0x0062 /* 'b' */, 0},
39UChar)0x0062 /* 'b' */, (UChar)0x006C /* 'l' */, (UChar)0x0061 /* 'a' */, (UChar)0x0063 /* 'c' */,…
40UChar)0x0062 /* 'b' */, (UChar)0x006C /* 'l' */, (UChar)0x0061 /* 'a' */, (UChar)0x0063 /* 'c' */,…
41UChar)0x0062 /* 'b' */, (UChar)0x006C /* 'l' */, (UChar)0x0061 /* 'a' */, (UChar)0x0063 /* 'c' */,…
42 …{(UChar)0x0048 /* 'H' */, (UChar)0x0065 /* 'e' */, (UChar)0x006C /* 'l' */, (UChar)0x006C /* 'l' *…
43 {(UChar)0x0041 /* 'A' */, (UChar)0x0042 /* 'B' */, (UChar)0x0043 /* 'C' */, 0},
44 {(UChar)0x0061 /* 'a' */, (UChar)0x0062 /* 'b' */, (UChar)0x0063 /* 'c' */, 0},
45UChar)0x0062 /* 'b' */, (UChar)0x006C /* 'l' */, (UChar)0x0061 /* 'a' */, (UChar)0x0063 /* 'c' */,…
46UChar)0x0062 /* 'b' */, (UChar)0x006C /* 'l' */, (UChar)0x0061 /* 'a' */, (UChar)0x0063 /* 'c' */,…
[all …]
Dcdtrgtst.c52 UChar *fmdt, *todayS, *rt; in Test4029195()
53 UChar *pat=NULL; in Test4029195()
54 UChar *temp; in Test4029195()
75 pat=(UChar*)malloc(sizeof(UChar) * resultlength); in Test4029195()
90 temp=(UChar*)malloc(sizeof(UChar) * 10); in Test4029195()
131 UChar s[10]; in Test4056591()
132 UChar *gotdate, *expdate; in Test4056591()
133 UChar pat[10]; in Test4056591()
205 UChar *myDate; in Test4059917()
207 UChar pattern[11]; in Test4059917()
[all …]
Dcmsgtst.c49 static UChar* testCasePatterns[5];
51 static UChar* testResultStrings[5];
64 testCasePatterns[i]=(UChar*)malloc(sizeof(UChar) * strSize); in InitStrings()
69 testResultStrings[i] = (UChar*)malloc(sizeof(UChar) * strSize); in InitStrings()
108 UChar *str; in MessageFormatTest()
109 UChar* result; in MessageFormatTest()
116 str=(UChar*)malloc(sizeof(UChar) * 7); in MessageFormatTest()
119 result=(UChar*)malloc(sizeof(UChar) * 1); in MessageFormatTest()
131 result=(UChar*)realloc(result,sizeof(UChar) * resultlength); in MessageFormatTest()
163 result=(UChar*)malloc(sizeof(UChar) * resultlength); in MessageFormatTest()
[all …]
Dudatpg_test.c54 static const UChar pipeString[]={ 0x7c, 0x0a };
56 static const UChar testSkeleton1[]={ 0x48, 0x48, 0x6d, 0x6d, 0 }; /* HHmm */
57 static const UChar expectingBestPattern[]={ 0x48, 0x2e, 0x6d, 0x6d, 0 }; /* H.mm */
58 static const UChar testPattern[]={ 0x48, 0x48, 0x3a, 0x6d, 0x6d, 0 }; /* HH:mm */
59 static const UChar expectingSkeleton[]= { 0x48, 0x48, 0x6d, 0x6d, 0 }; /* HHmm */
60 static const UChar expectingBaseSkeleton[]= { 0x48, 0x6d, 0 }; /* HHmm */
61 static const UChar redundantPattern[]={ 0x79, 0x79, 0x4d, 0x4d, 0x4d, 0 }; /* yyMMM */
62 static const UChar testFormat[]= {0x7B, 0x31, 0x7D, 0x20, 0x7B, 0x30, 0x7D, 0}; /* {1} {0} */
63 static const UChar appendItemName[]= {0x68, 0x72, 0}; /* hr */
64 static const UChar testPattern2[]={ 0x48, 0x48, 0x3a, 0x6d, 0x6d, 0x20, 0x76, 0 }; /* HH:mm v */
[all …]
/external/icu/icu4c/source/test/intltest/
Dencoll.cpp29 static const UChar testSourceCases[][CollationEnglishTest::MAX_TOKEN_LEN] = {
30 {(UChar)0x0061 /* 'a' */, (UChar)0x0062 /* 'b' */, 0},
31UChar)0x0062 /* 'b' */, (UChar)0x006C /* 'l' */, (UChar)0x0061 /* 'a' */, (UChar)0x0063 /* 'c' */,…
32UChar)0x0062 /* 'b' */, (UChar)0x006C /* 'l' */, (UChar)0x0061 /* 'a' */, (UChar)0x0063 /* 'c' */,…
33UChar)0x0062 /* 'b' */, (UChar)0x006C /* 'l' */, (UChar)0x0061 /* 'a' */, (UChar)0x0063 /* 'c' */,…
34 …{(UChar)0x0048 /* 'H' */, (UChar)0x0065 /* 'e' */, (UChar)0x006C /* 'l' */, (UChar)0x006C /* 'l' *…
35 {(UChar)0x0041 /* 'A' */, (UChar)0x0042 /* 'B' */, (UChar)0x0043 /* 'C' */, 0},
36 {(UChar)0x0061 /* 'a' */, (UChar)0x0062 /* 'b' */, (UChar)0x0063 /* 'c' */, 0},
37UChar)0x0062 /* 'b' */, (UChar)0x006C /* 'l' */, (UChar)0x0061 /* 'a' */, (UChar)0x0063 /* 'c' */,…
38UChar)0x0062 /* 'b' */, (UChar)0x006C /* 'l' */, (UChar)0x0061 /* 'a' */, (UChar)0x0063 /* 'c' */,…
[all …]
/external/icu/icu4c/source/i18n/
Dplurrule_impl.h35 static const UChar DOT = ((UChar)0x002E);
36 static const UChar SINGLE_QUOTE = ((UChar)0x0027);
37 static const UChar SLASH = ((UChar)0x002F);
38 static const UChar BACKSLASH = ((UChar)0x005C);
39 static const UChar SPACE = ((UChar)0x0020);
40 static const UChar EXCLAMATION = ((UChar)0x0021);
41 static const UChar QUOTATION_MARK = ((UChar)0x0022);
42 static const UChar NUMBER_SIGN = ((UChar)0x0023);
43 static const UChar PERCENT_SIGN = ((UChar)0x0025);
44 static const UChar ASTERISK = ((UChar)0x002A);
[all …]
Dselfmtimpl.h28 #define DOT ((UChar)0x002E)
29 #define SINGLE_QUOTE ((UChar)0x0027)
30 #define SLASH ((UChar)0x002F)
31 #define BACKSLASH ((UChar)0x005C)
32 #define SPACE ((UChar)0x0020)
33 #define TAB ((UChar)0x0009)
34 #define QUOTATION_MARK ((UChar)0x0022)
35 #define ASTERISK ((UChar)0x002A)
36 #define COMMA ((UChar)0x002C)
37 #define HYPHEN ((UChar)0x002D)
[all …]
Ddtitv_impl.h26 #define QUOTE ((UChar)0x0027)
27 #define LOW_LINE ((UChar)0x005F)
28 #define COLON ((UChar)0x003A)
29 #define LEFT_CURLY_BRACKET ((UChar)0x007B)
30 #define RIGHT_CURLY_BRACKET ((UChar)0x007D)
31 #define SPACE ((UChar)0x0020)
32 #define EN_DASH ((UChar)0x2013)
34 #define DIGIT_ZERO ((UChar)0x0030)
35 #define DIGIT_ONE ((UChar)0x0031)
37 #define LOW_A ((UChar)0x0061)
[all …]
Ddtptngen_impl.h29 #define SINGLE_QUOTE ((UChar)0x0027)
30 #define FORWARDSLASH ((UChar)0x002F)
31 #define BACKSLASH ((UChar)0x005C)
32 #define SPACE ((UChar)0x0020)
33 #define QUOTATION_MARK ((UChar)0x0022)
34 #define ASTERISK ((UChar)0x002A)
35 #define PLUSSITN ((UChar)0x002B)
36 #define COMMA ((UChar)0x002C)
37 #define HYPHEN ((UChar)0x002D)
38 #define DOT ((UChar)0x002E)
[all …]
Dumsg_imp.h24 extern const UChar *g_umsgTypeList[];
25 extern const UChar *g_umsgModifierList[];
26 extern const UChar *g_umsgDateModifierList[];
29 extern const UChar g_umsg_number[];
30 extern const UChar g_umsg_date[];
31 extern const UChar g_umsg_time[];
32 extern const UChar g_umsg_choice[];
34 extern const UChar g_umsg_currency[];
35 extern const UChar g_umsg_percent[];
36 extern const UChar g_umsg_integer[];
[all …]
/external/icu/icu4c/source/common/unicode/
Dustring.h91 u_strlen(const UChar *s);
108 u_countChar32(const UChar *s, int32_t length);
129 u_strHasMoreChar32Than(const UChar *s, int32_t length, int32_t number);
141 U_STABLE UChar* U_EXPORT2
142 u_strcat(UChar *dst,
143 const UChar *src);
159 U_STABLE UChar* U_EXPORT2
160 u_strncat(UChar *dst,
161 const UChar *src,
184 U_STABLE UChar * U_EXPORT2
[all …]
Ducharstrie.h64 UCharsTrie(const UChar *trieUChars) in UCharsTrie()
110 const UChar *uchars;
111 const UChar *pos;
209 UStringTrieResult next(const UChar *s, int32_t length);
221 const UChar *pos=pos_; in getValue()
238 const UChar *pos=pos_; in hasUniqueValue()
269 Iterator(const UChar *trieUChars, int32_t maxStringLength, UErrorCode &errorCode);
337 const UChar *branchNext(const UChar *pos, int32_t length, UErrorCode &errorCode);
339 const UChar *uchars_;
340 const UChar *pos_;
[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.cpp40 isMatchAtCPBoundary(const UChar *start, const UChar *match, const UChar *matchLimit, const UChar *l… in isMatchAtCPBoundary()
52 U_CAPI UChar * U_EXPORT2
53 u_strFindFirst(const UChar *s, int32_t length, in u_strFindFirst()
54 const UChar *sub, int32_t subLength) { in u_strFindFirst()
55 const UChar *start, *p, *q, *subLimit; in u_strFindFirst()
56 UChar c, cs, cq; in u_strFindFirst()
59 return (UChar *)s; in u_strFindFirst()
70 return (UChar *)s; in u_strFindFirst()
85 return (UChar *)(s-1); /* well-formed match */ in u_strFindFirst()
110 return (UChar *)s; in u_strFindFirst()
[all …]
Dnormalizer2impl.h64 isHangulWithoutJamoT(UChar c) { in isHangulWithoutJamoT()
79 static inline int32_t decompose(UChar32 c, UChar buffer[3]) { in decompose()
83 buffer[0]=(UChar)(JAMO_L_BASE+c/JAMO_V_COUNT); in decompose()
84 buffer[1]=(UChar)(JAMO_V_BASE+c%JAMO_V_COUNT); in decompose()
88 buffer[2]=(UChar)(JAMO_T_BASE+c2); in decompose()
97 static inline void getRawDecomposition(UChar32 c, UChar buffer[2]) { in getRawDecomposition()
103 buffer[0]=(UChar)(JAMO_L_BASE+c/JAMO_V_COUNT); in getRawDecomposition()
104 buffer[1]=(UChar)(JAMO_V_BASE+c%JAMO_V_COUNT); in getRawDecomposition()
107 buffer[1]=(UChar)(JAMO_T_BASE+c2); in getRawDecomposition()
131 UChar *getStart() { return start; } in getStart()
[all …]
Ducnv_err.c102 const UChar* codeUnits, in UCNV_FROM_U_CALLBACK_STOP()
138 const UChar* codeUnits, in UCNV_FROM_U_CALLBACK_SKIP()
166 const UChar* codeUnits, in UCNV_FROM_U_CALLBACK_SUBSTITUTE()
200 const UChar *codeUnits, in UCNV_FROM_U_CALLBACK_ESCAPE()
207 UChar valueString[VALUE_STRING_LENGTH]; in UCNV_FROM_U_CALLBACK_ESCAPE()
211 const UChar *myValueSource = NULL; in UCNV_FROM_U_CALLBACK_ESCAPE()
248 valueString[valueStringLength++] = (UChar) UNICODE_PERCENT_SIGN_CODEPOINT; /* adding % */ in UCNV_FROM_U_CALLBACK_ESCAPE()
249 valueString[valueStringLength++] = (UChar) UNICODE_U_CODEPOINT; /* adding U */ in UCNV_FROM_U_CALLBACK_ESCAPE()
260 valueString[valueStringLength++] = (UChar) UNICODE_RS_CODEPOINT; /* adding \ */ in UCNV_FROM_U_CALLBACK_ESCAPE()
261 valueString[valueStringLength++] = (UChar) UNICODE_U_LOW_CODEPOINT; /* adding u */ in UCNV_FROM_U_CALLBACK_ESCAPE()
[all …]
/external/icu/icu4c/source/io/unicode/
Dustdio.h265 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/icu/icu4c/source/i18n/unicode/
Dudatpg.h211 const UChar *skeleton, int32_t length,
212 UChar *bestPattern, int32_t capacity,
247 const UChar *skeleton, int32_t length,
249 UChar *bestPattern, int32_t capacity,
274 const UChar *pattern, int32_t length,
275 UChar *skeleton, int32_t capacity,
303 const UChar *pattern, int32_t length,
304 UChar *baseSkeleton, int32_t capacity,
333 const UChar *pattern, int32_t patternLength,
335 UChar *conflictingPattern, int32_t capacity, int32_t *pLength,
[all …]
Dumsg.h178 const UChar *pattern,
180 UChar *result,
205 const UChar *pattern,
207 UChar *result,
230 const UChar *pattern,
232 const UChar *source,
255 const UChar *pattern,
257 const UChar *source,
284 const UChar *pattern,
286 UChar *result,
[all …]
/external/icu/icu4c/source/test/perf/normperf/
Dnormperf.h24 inline int FoldStringW(DWORD dwMapFlags, const UChar* lpSrcStr,int cchSrc, UChar* lpDestStr,int cch…
28 typedef int32_t (*NormFn)(const UChar* src,int32_t srcLen, UChar* dest,int32_t dstLen, int32_t opti…
29 typedef int32_t (*QuickCheckFn)(const UChar* src,int32_t srcLen, UNormalizationMode mode, int32_t o…
39 const UChar* src;
87 …QuickCheckPerfFunction(QuickCheckFn func, const UChar* source,int32_t sourceLen, UNormalizationMod… in QuickCheckPerfFunction()
104 UChar dest[DEST_BUFFER_CAPACITY];
105 UChar* pDest;
110 const UChar* src;
157 …NormPerfFunction(NormFn func, int32_t opts, const UChar* source,int32_t sourceLen,UBool _uselen) :… in NormPerfFunction()
163 pDest = (UChar*) malloc(destLen * U_SIZEOF_UCHAR); in NormPerfFunction()
[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 …]
Dpriv_storage.h230 #define CFIC_IA_SPREL ((UChar)1)
231 #define CFIC_IA_BPREL ((UChar)2)
232 #define CFIC_ARM_R13REL ((UChar)3)
233 #define CFIC_ARM_R12REL ((UChar)4)
234 #define CFIC_ARM_R11REL ((UChar)5)
235 #define CFIC_ARM_R7REL ((UChar)6)
236 #define CFIC_ARM64_SPREL ((UChar)7)
237 #define CFIC_ARM64_X29REL ((UChar)8)
238 #define CFIC_EXPR ((UChar)9) /* all targets */
240 #define CFIR_UNKNOWN ((UChar)64)
[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_CA; /* in lsb */
177 /* 1167 */ UChar guest_XER_BC; /* all bits */
180 /* 1168 */ UChar guest_CR0_321; /* in [3:1] */
181 /* 1169 */ UChar guest_CR0_0; /* in lsb */
182 /* 1170 */ UChar guest_CR1_321; /* in [3:1] */
183 /* 1171 */ UChar guest_CR1_0; /* in lsb */
184 /* 1172 */ UChar guest_CR2_321; /* in [3:1] */
185 /* 1173 */ UChar guest_CR2_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_CA; /* in lsb */
215 /* 1307 */ UChar guest_XER_BC; /* all bits */
218 /* 1308 */ UChar guest_CR0_321; /* in [3:1] */
219 /* 1309 */ UChar guest_CR0_0; /* in lsb */
220 /* 1310 */ UChar guest_CR1_321; /* in [3:1] */
221 /* 1311 */ UChar guest_CR1_0; /* in lsb */
222 /* 1312 */ UChar guest_CR2_321; /* in [3:1] */
223 /* 1313 */ UChar guest_CR2_0; /* in lsb */
[all …]
/external/valgrind/none/tests/amd64/
Dnan80and64.c14 typedef unsigned char UChar; typedef
17 void do_64_to_80 ( UChar* dst, UChar* src ) in do_64_to_80()
25 void do_80_to_64 ( UChar* dst, UChar* src ) in do_80_to_64()
33 void print80 ( char* s, UChar* v ) in print80()
42 void print64 ( char* s, UChar* v ) in print64()
53 void gen_qnan_64 ( UChar* dst )
59 #define SWAPC(_xx,_yy) { UChar tmp = _xx; _xx = _yy; _yy = tmp; }
61 static void rev64 ( UChar* f64 ) in rev64()
69 static void rev80 ( UChar* f80 ) in rev80()
82 UChar ref_qnan64[8] in main()
[all …]

12345678910>>...38