/external/icu/icu4c/source/common/ |
D | ucharstriebuilder.cpp | 90 uchars(NULL), ucharsCapacity(0), ucharsLength(0) {} in UCharsTrieBuilder() 94 uprv_free(uchars); in ~UCharsTrieBuilder() 150 newTrie=new UCharsTrie(uchars, uchars+(ucharsCapacity-ucharsLength)); in build() 154 uchars=NULL; // The new trie now owns the array. in build() 166 result.setTo(FALSE, uchars+(ucharsCapacity-ucharsLength), ucharsLength); in buildUnicodeString() 176 if(uchars!=NULL && ucharsLength>0) { in buildUChars() 214 uprv_free(uchars); in buildUChars() 215 uchars=static_cast<UChar *>(uprv_malloc(capacity*2)); in buildUChars() 216 if(uchars==NULL) { in buildUChars() 224 if(uchars==NULL) { in buildUChars() [all …]
|
D | ucnv_cnv.cpp | 96 const UChar *uchars, int32_t length, in ucnv_toUWriteUChars() argument 107 *t++=*uchars++; in ucnv_toUWriteUChars() 113 *t++=*uchars++; in ucnv_toUWriteUChars() 127 *t++=*uchars++; in ucnv_toUWriteUChars()
|
D | charstr.cpp | 169 CharString &CharString::appendInvariantChars(const UChar* uchars, int32_t ucharsLen, UErrorCode &er… in appendInvariantChars() argument 173 if (!uprv_isInvariantUString(uchars, ucharsLen)) { in appendInvariantChars() 178 u_UCharsToChars(uchars, buffer.getAlias()+len, ucharsLen); in appendInvariantChars()
|
D | charstr.h | 156 CharString &appendInvariantChars(const UChar* uchars, int32_t ucharsLen, UErrorCode& errorCode);
|
D | ucnv_cnv.h | 307 const UChar *uchars, int32_t length,
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/bidi/ |
D | TestBidiTransform.java | 293 char[] uchars = text.toCharArray(); in pseudoScript() local 294 for (int i = uchars.length; i-- > 0;) { in pseudoScript() 295 char uch = uchars[i]; in pseudoScript() 298 uchars[i] = substituteChar(uch, MIN_HEB_LETTER, 'K', 'Z'); in pseudoScript() 302 uchars[i] = substituteChar(uch, MIN_SHAPED_LETTER, 'F', 'J'); in pseudoScript() 304 uchars[i] = substituteChar(uch, MIN_ARAB_LETTER, 'A', 'E'); in pseudoScript() 308 uchars[i] = substituteChar(uch, ARAB_ZERO, '5', '9'); in pseudoScript() 314 return new String(uchars); in pseudoScript()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/bidi/ |
D | TestBidiTransform.java | 296 char[] uchars = text.toCharArray(); in pseudoScript() local 297 for (int i = uchars.length; i-- > 0;) { in pseudoScript() 298 char uch = uchars[i]; in pseudoScript() 301 uchars[i] = substituteChar(uch, MIN_HEB_LETTER, 'K', 'Z'); in pseudoScript() 305 uchars[i] = substituteChar(uch, MIN_SHAPED_LETTER, 'F', 'J'); in pseudoScript() 307 uchars[i] = substituteChar(uch, MIN_ARAB_LETTER, 'A', 'E'); in pseudoScript() 311 uchars[i] = substituteChar(uch, ARAB_ZERO, '5', '9'); in pseudoScript() 317 return new String(uchars); in pseudoScript()
|
/external/fonttools/Lib/fontTools/ |
D | agl.py | 5141 uchars = LEGACY_AGL2UV.get(component) 5142 if uchars: 5143 return "".join(map(chr, uchars))
|
/external/icu/icu4c/source/tools/gennorm2/ |
D | gennorm2.cpp | 299 UChar uchars[Normalizer2Impl::MAPPING_LENGTH_MASK]; in parseFile() local 300 … int32_t length=u_parseString(delimiter+1, uchars, UPRV_LENGTHOF(uchars), NULL, errorCode); in parseFile() 305 UnicodeString mapping(FALSE, uchars, length); in parseFile()
|
/external/icu/icu4c/source/common/unicode/ |
D | ucharstrie.h | 144 State() { uchars=NULL; } in State() 148 const char16_t *uchars; variable 161 state.uchars=uchars_; in saveState() 178 if(uchars_==state.uchars && uchars_!=NULL) { in resetToState()
|
D | ucharstriebuilder.h | 184 char16_t *uchars; variable
|
/external/icu/libicu/cts_headers/unicode/ |
D | ucharstrie.h | 144 State() { uchars=NULL; } in State() 148 const char16_t *uchars; variable 161 state.uchars=uchars_; in saveState() 178 if(uchars_==state.uchars && uchars_!=NULL) { in resetToState()
|
D | ucharstriebuilder.h | 184 char16_t *uchars; variable
|
/external/icu/icu4c/source/samples/ucnv/ |
D | convsamp.cpp | 623 UChar uchars[100]; in convsample_20_didSubstitute() local 643 len = ucnv_toUChars(conv, uchars, 100, source, static_cast<int32_t>(strlen(source)), &status); in convsample_20_didSubstitute() 646 printUChars("uch", uchars, len); in convsample_20_didSubstitute() 671 len2 = ucnv_fromUChars(conv, bytes, 100, uchars, len, &status); in convsample_20_didSubstitute() 717 UChar uchars[100]; in convsample_21_didSubstitute() local 743 len = ucnv_toUChars(conv, uchars, 100, source, static_cast<int32_t>(strlen(source)), &status); in convsample_21_didSubstitute() 746 printUChars("uch", uchars, len); in convsample_21_didSubstitute() 824 len2 = ucnv_fromUChars(cloneCnv, bytes, 100, uchars, len, &status); in convsample_21_didSubstitute()
|
/external/icu/icu4c/source/tools/makeconv/ |
D | gencnvex.c | 722 UChar *uchars; in generateFromUTable() local 733 uchars=(UChar *)UCM_GET_CODE_POINTS(table, m); in generateFromUTable() 734 low=uchars[unitIndex]; in generateFromUTable() 740 uchars=(UChar *)UCM_GET_CODE_POINTS(table, m); in generateFromUTable() 741 high=uchars[unitIndex]; in generateFromUTable() 766 uchars=(UChar *)UCM_GET_CODE_POINTS(table, m); in generateFromUTable() 767 high=uchars[unitIndex]; in generateFromUTable()
|
/external/icu/icu4c/source/test/intltest/ |
D | ustrtest.cpp | 1936 static UnicodeString wrapUChars(const UChar *uchars) { in wrapUChars() argument 1937 return UnicodeString(TRUE, uchars, -1); in wrapUChars() 1942 UChar uchars[]={ 0x61, 0x62, 0 }; in TestReadOnlyAlias() local 1943 UnicodeString alias(TRUE, uchars, 2); in TestReadOnlyAlias() 1944 if(alias.length()!=2 || alias.getBuffer()!=uchars || alias.getTerminatedBuffer()!=uchars) { in TestReadOnlyAlias() 1949 if(alias.length()!=1 || alias.getBuffer()!=uchars) { in TestReadOnlyAlias() 1952 if(alias.getTerminatedBuffer()==uchars) { in TestReadOnlyAlias() 1956 if(uchars[1]!=0x62) { in TestReadOnlyAlias() 1965 alias.setTo(TRUE, uchars, 2); in TestReadOnlyAlias() 1966 if(alias.length()!=2 || alias.getBuffer()!=uchars || alias.getTerminatedBuffer()!=uchars) { in TestReadOnlyAlias() [all …]
|
/external/icu/icu4c/source/samples/date/ |
D | date.c | 239 static int32_t charsToUCharsDefault(UChar *uchars, int32_t ucharsSize, const char*chars, int32_t ch… in charsToUCharsDefault() argument 246 len = ucnv_toUChars(cnv, uchars, ucharsSize, chars,charsSize, status); in charsToUCharsDefault()
|
/external/icu/libicu/cts_headers/ |
D | charstr.h | 156 CharString &appendInvariantChars(const UChar* uchars, int32_t ucharsLen, UErrorCode& errorCode);
|
D | ucnv_cnv.h | 307 const UChar *uchars, int32_t length,
|
/external/icu/icu4c/source/test/cintltst/ |
D | custrtst.c | 986 UChar uchars[]={0x61, 0x62, 0x63, 0x00}; in TestStringCopy() local 993 if(u_strcmp(temp, uchars) != 0) { in TestStringCopy() 994 …log_err("There is an error in u_uastrcpy() Expected %s Got %s\n", austrdup(uchars), austrdup(temp)… in TestStringCopy() 1003 if(u_strncmp(uchars, temp, 3) != 0){ in TestStringCopy() 1004 …log_err("There is an error in u_uastrncpy() Expected %s Got %s\n", austrdup(uchars), austrdup(temp… in TestStringCopy() 1025 …log_err("There is an error in u_austrncpy() Expected %s Got %s\n", austrdup(uchars), austrdup(temp… in TestStringCopy()
|
D | utf16tst.c | 33 static void printUChars(const UChar *uchars) { in printUChars() argument 35 for(i=0; i<u_strlen(uchars); i++) { in printUChars() 36 printf("%x ", *(uchars+i)); in printUChars()
|
D | utf8tst.c | 78 static void printUChars(const uint8_t *uchars, int16_t len){ in printUChars() argument 81 log_err("0x%02x ", *(uchars+i)); in printUChars()
|
D | custrtrn.c | 966 static const UChar uchars[]={ in Test_FromUTF8Lenient() local 1022 for(pb=(const char *)bytes, pu=uchars; in Test_FromUTF8Lenient()
|