/external/icu/icu4c/source/test/cintltst/ |
D | encoll.c | 40 const static UChar testSourceCases[][MAX_TOKEN_LEN] = { 41 {(UChar)0x0061 /* 'a' */, (UChar)0x0062 /* 'b' */, 0}, 42 …UChar)0x0062 /* 'b' */, (UChar)0x006C /* 'l' */, (UChar)0x0061 /* 'a' */, (UChar)0x0063 /* 'c' */,… 43 …UChar)0x0062 /* 'b' */, (UChar)0x006C /* 'l' */, (UChar)0x0061 /* 'a' */, (UChar)0x0063 /* 'c' */,… 44 …UChar)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}, 48 …UChar)0x0062 /* 'b' */, (UChar)0x006C /* 'l' */, (UChar)0x0061 /* 'a' */, (UChar)0x0063 /* 'c' */,… 49 …UChar)0x0062 /* 'b' */, (UChar)0x006C /* 'l' */, (UChar)0x0061 /* 'a' */, (UChar)0x0063 /* 'c' */,… [all …]
|
D | cmsgtst.c | 51 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 …]
|
D | cdtrgtst.c | 54 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 …]
|
D | cbiditransformtst.c | 34 static const UChar unshapedLetters[NUM_LETTERS + 1] = {0x0630, 0, 0x0631, 0, 0x0632, 2}; 35 static const UChar shapedLetters [NUM_LETTERS + 1] = {0xfeab, 0, 0xfead, 0, 0xfeaf, 1}; 48 UChar src[STR_CAPACITY] = { 0 }; 49 UChar dest[STR_CAPACITY] = { 0 }; 50 UChar expected[STR_CAPACITY] = { 0 }; 51 UChar temp[STR_CAPACITY * 2] = { 0 }; 60 static char* pseudoScript(const UChar *str); 62 static void shapeDigits(UChar *str, UChar srcZero, UChar destZero); 64 static void shapeLetters(UChar *str, const UChar *from, const UChar *to); 66 static void logResultsForDir(const UChar *srcText, const UChar *destTxt, [all …]
|
D | cdtdptst.c | 55 UChar *pattern; in TestTwoDigitYearDSTParse() 57 UChar *s; in TestTwoDigitYearDSTParse() 62 pattern=(UChar*)malloc(sizeof(UChar) * (strlen("EEE MMM dd HH:mm:ss.SSS zzz yyyy G")+1 )); in TestTwoDigitYearDSTParse() 76 s=(UChar*)malloc(sizeof(UChar) * (strlen("03-Apr-04 2:20:47 o'clock AM PST")+1) ); in TestTwoDigitYearDSTParse() 120 UChar *s; in TestPartialParse994() 121 UChar *fmtChars; in TestPartialParse994() 133 s=(UChar*)malloc(sizeof(UChar) * (strlen("01/01/1997 10:11:42 AM")+1) ); in TestPartialParse994() 161 UChar *f; in tryPat994() 162 UChar *str, *pat; in tryPat994() 167 str=(UChar*)malloc(sizeof(UChar) * (strlen(s) + 1) ); in tryPat994() [all …]
|
D | udatpg_test.c | 59 static const UChar pipeString[]={ 0x7c, 0x0a }; 61 static const UChar testSkeleton1[]={ 0x48, 0x48, 0x6d, 0x6d, 0 }; /* HHmm */ 62 static const UChar expectingBestPattern[]={ 0x48, 0x2e, 0x6d, 0x6d, 0 }; /* H.mm */ 63 static const UChar testPattern[]={ 0x48, 0x48, 0x3a, 0x6d, 0x6d, 0 }; /* HH:mm */ 64 static const UChar expectingSkeleton[]= { 0x48, 0x48, 0x6d, 0x6d, 0 }; /* HHmm */ 65 static const UChar expectingBaseSkeleton[]= { 0x48, 0x6d, 0 }; /* HHmm */ 66 static const UChar redundantPattern[]={ 0x79, 0x79, 0x4d, 0x4d, 0x4d, 0 }; /* yyMMM */ 67 static const UChar testFormat[]= {0x7B, 0x31, 0x7D, 0x20, 0x7B, 0x30, 0x7D, 0}; /* {1} {0} */ 68 static const UChar appendItemName[]= {0x68, 0x72, 0}; /* hr */ 69 static const UChar testPattern2[]={ 0x48, 0x48, 0x3a, 0x6d, 0x6d, 0x20, 0x76, 0 }; /* HH:mm v */ [all …]
|
/external/icu/icu4c/source/test/intltest/ |
D | encoll.cpp | 32 static const UChar testSourceCases[][CollationEnglishTest::MAX_TOKEN_LEN] = { 33 {(UChar)0x0061 /* 'a' */, (UChar)0x0062 /* 'b' */, 0}, 34 …UChar)0x0062 /* 'b' */, (UChar)0x006C /* 'l' */, (UChar)0x0061 /* 'a' */, (UChar)0x0063 /* 'c' */,… 35 …UChar)0x0062 /* 'b' */, (UChar)0x006C /* 'l' */, (UChar)0x0061 /* 'a' */, (UChar)0x0063 /* 'c' */,… 36 …UChar)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}, 40 …UChar)0x0062 /* 'b' */, (UChar)0x006C /* 'l' */, (UChar)0x0061 /* 'a' */, (UChar)0x0063 /* 'c' */,… 41 …UChar)0x0062 /* 'b' */, (UChar)0x006C /* 'l' */, (UChar)0x0061 /* 'a' */, (UChar)0x0063 /* 'c' */,… [all …]
|
/external/icu/icu4c/source/i18n/ |
D | dt_impl.h | 28 #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 …]
|
D | selfmtimpl.h | 30 #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 …]
|
D | plurrule_impl.h | 47 static const UChar DOT = ((UChar) 0x002E); 48 static const UChar SINGLE_QUOTE = ((UChar) 0x0027); 49 static const UChar SLASH = ((UChar) 0x002F); 50 static const UChar BACKSLASH = ((UChar) 0x005C); 51 static const UChar SPACE = ((UChar) 0x0020); 52 static const UChar EXCLAMATION = ((UChar) 0x0021); 53 static const UChar QUOTATION_MARK = ((UChar) 0x0022); 54 static const UChar NUMBER_SIGN = ((UChar) 0x0023); 55 static const UChar PERCENT_SIGN = ((UChar) 0x0025); 56 static const UChar ASTERISK = ((UChar) 0x002A); [all …]
|
D | dtitv_impl.h | 28 #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 …]
|
D | dtptngen_impl.h | 35 #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 …]
|
D | umsg_imp.h | 26 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/ |
D | ustring.h | 93 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/icu/libandroidicu/include/unicode/ |
D | ustring.h | 93 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 …]
|
D | umsg.h | 180 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 …]
|
D | udatpg.h | 239 const UChar *skeleton, int32_t length, 240 UChar *bestPattern, int32_t capacity, 275 const UChar *skeleton, int32_t length, 277 UChar *bestPattern, int32_t capacity, 303 const UChar *pattern, int32_t length, 304 UChar *skeleton, int32_t capacity, 333 const UChar *pattern, int32_t length, 334 UChar *baseSkeleton, int32_t capacity, 363 const UChar *pattern, int32_t patternLength, 365 UChar *conflictingPattern, int32_t capacity, int32_t *pLength, [all …]
|
/external/icu/icu4c/source/common/ |
D | ustring.cpp | 43 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 …]
|
D | normalizer2impl.h | 102 static inline int32_t decompose(UChar32 c, UChar buffer[3]) { in decompose() 106 buffer[0]=(UChar)(JAMO_L_BASE+c/JAMO_V_COUNT); in decompose() 107 buffer[1]=(UChar)(JAMO_V_BASE+c%JAMO_V_COUNT); in decompose() 111 buffer[2]=(UChar)(JAMO_T_BASE+c2); in decompose() 120 static inline void getRawDecomposition(UChar32 c, UChar buffer[2]) { in getRawDecomposition() 126 buffer[0]=(UChar)(JAMO_L_BASE+c/JAMO_V_COUNT); in getRawDecomposition() 127 buffer[1]=(UChar)(JAMO_V_BASE+c%JAMO_V_COUNT); in getRawDecomposition() 129 buffer[0]=(UChar)(orig-c2); // LV syllable in getRawDecomposition() 130 buffer[1]=(UChar)(JAMO_T_BASE+c2); in getRawDecomposition() 157 UChar *getStart() { return start; } in getStart() [all …]
|
D | ucnv_err.cpp | 94 const UChar* codeUnits, in UCNV_FROM_U_CALLBACK_STOP() 135 const UChar* codeUnits, in UCNV_FROM_U_CALLBACK_SKIP() 166 const UChar* codeUnits, in UCNV_FROM_U_CALLBACK_SUBSTITUTE() 202 const UChar *codeUnits, in UCNV_FROM_U_CALLBACK_ESCAPE() 209 UChar valueString[VALUE_STRING_LENGTH]; in UCNV_FROM_U_CALLBACK_ESCAPE() 213 const UChar *myValueSource = NULL; in UCNV_FROM_U_CALLBACK_ESCAPE() 250 valueString[valueStringLength++] = (UChar) UNICODE_PERCENT_SIGN_CODEPOINT; /* adding % */ in UCNV_FROM_U_CALLBACK_ESCAPE() 251 valueString[valueStringLength++] = (UChar) UNICODE_U_CODEPOINT; /* adding U */ in UCNV_FROM_U_CALLBACK_ESCAPE() 262 valueString[valueStringLength++] = (UChar) UNICODE_RS_CODEPOINT; /* adding \ */ in UCNV_FROM_U_CALLBACK_ESCAPE() 263 valueString[valueStringLength++] = (UChar) UNICODE_U_LOW_CODEPOINT; /* adding u */ in UCNV_FROM_U_CALLBACK_ESCAPE() [all …]
|
/external/icu/icu4c/source/test/perf/normperf/ |
D | normperf.h | 28 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/ |
D | ustdio.h | 266 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/ |
D | umsg.h | 180 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 …]
|
D | udatpg.h | 239 const UChar *skeleton, int32_t length, 240 UChar *bestPattern, int32_t capacity, 275 const UChar *skeleton, int32_t length, 277 UChar *bestPattern, int32_t capacity, 303 const UChar *pattern, int32_t length, 304 UChar *skeleton, int32_t capacity, 333 const UChar *pattern, int32_t length, 334 UChar *baseSkeleton, int32_t capacity, 363 const UChar *pattern, int32_t patternLength, 365 UChar *conflictingPattern, int32_t capacity, int32_t *pLength, [all …]
|
/external/icu/libandroidicu/static_shim/ |
D | shim.cpp | 63 …ndroid(const void * context, UConverterFromUnicodeArgs * fromUArgs, const UChar * codeUnits, int32… in UCNV_FROM_U_CALLBACK_ESCAPE_android() 66 …ndroid(const void * context, UConverterFromUnicodeArgs * fromUArgs, const UChar * codeUnits, int32… in UCNV_FROM_U_CALLBACK_SKIP_android() 69 …ndroid(const void * context, UConverterFromUnicodeArgs * fromUArgs, const UChar * codeUnits, int32… in UCNV_FROM_U_CALLBACK_STOP_android() 72 …ndroid(const void * context, UConverterFromUnicodeArgs * fromUArgs, const UChar * codeUnits, int32… in UCNV_FROM_U_CALLBACK_SUBSTITUTE_android() 87 void u_UCharsToChars_android(const UChar * us, char * cs, int32_t length) { in u_UCharsToChars_android() 90 char * u_austrcpy_android(char * dst, const UChar * src) { in u_austrcpy_android() 93 char * u_austrncpy_android(char * dst, const UChar * src, int32_t n) { in u_austrncpy_android() 99 const UChar * u_catgets_android(u_nl_catd catd, int32_t set_num, int32_t msg_num, const UChar * s, … in u_catgets_android() 126 void u_charsToUChars_android(const char * cs, UChar * us, int32_t length) { in u_charsToUChars_android() 132 int32_t u_countChar32_android(const UChar * s, int32_t length) { in u_countChar32_android() [all …]
|