/external/icu/icu4c/source/common/ |
D | ucharstriebuilder.cpp | 88 uchars(NULL), ucharsCapacity(0), ucharsLength(0) {} in UCharsTrieBuilder() 92 uprv_free(uchars); in ~UCharsTrieBuilder() 148 newTrie=new UCharsTrie(uchars, uchars+(ucharsCapacity-ucharsLength)); in build() 152 uchars=NULL; // The new trie now owns the array. in build() 164 result.setTo(FALSE, uchars+(ucharsCapacity-ucharsLength), ucharsLength); in buildUnicodeString() 174 if(uchars!=NULL && ucharsLength>0) { in buildUChars() 212 uprv_free(uchars); in buildUChars() 213 uchars=static_cast<UChar *>(uprv_malloc(capacity*2)); in buildUChars() 214 if(uchars==NULL) { in buildUChars() 222 if(uchars==NULL) { in buildUChars() [all …]
|
D | ucnv_cnv.c | 88 const UChar *uchars, int32_t length, in ucnv_toUWriteUChars() argument 99 *t++=*uchars++; in ucnv_toUWriteUChars() 105 *t++=*uchars++; in ucnv_toUWriteUChars() 119 *t++=*uchars++; in ucnv_toUWriteUChars()
|
D | ucnv_cnv.h | 305 const UChar *uchars, int32_t length,
|
/external/icu/icu4c/source/tools/gennorm2/ |
D | gennorm2.cpp | 246 UChar uchars[Normalizer2Impl::MAPPING_LENGTH_MASK]; in parseFile() local 247 … int32_t length=u_parseString(delimiter+1, uchars, UPRV_LENGTHOF(uchars), NULL, errorCode); in parseFile() 252 UnicodeString mapping(FALSE, uchars, length); in parseFile()
|
/external/icu/icu4c/source/common/unicode/ |
D | ucharstrie.h | 106 State() { uchars=NULL; } in State() 110 const UChar *uchars; variable 123 state.uchars=uchars_; in saveState() 140 if(uchars_==state.uchars && uchars_!=NULL) { in resetToState()
|
D | ucharstriebuilder.h | 178 UChar *uchars; variable
|
/external/icu/icu4c/source/samples/ucnv/ |
D | convsamp.cpp | 614 UChar uchars[100]; in convsample_20_didSubstitute() local 634 len = ucnv_toUChars(conv, uchars, 100, source, strlen(source), &status); in convsample_20_didSubstitute() 637 printUChars("uch", uchars, len); in convsample_20_didSubstitute() 662 len2 = ucnv_fromUChars(conv, bytes, 100, uchars, len, &status); in convsample_20_didSubstitute() 708 UChar uchars[100]; in convsample_21_didSubstitute() local 735 len = ucnv_toUChars(conv, uchars, 100, source, strlen(source), &status); in convsample_21_didSubstitute() 738 printUChars("uch", uchars, len); in convsample_21_didSubstitute() 816 len2 = ucnv_fromUChars(cloneCnv, bytes, 100, uchars, len, &status); in convsample_21_didSubstitute()
|
/external/icu/icu4c/source/tools/makeconv/ |
D | gencnvex.c | 715 UChar *uchars; in generateFromUTable() local 726 uchars=(UChar *)UCM_GET_CODE_POINTS(table, m); in generateFromUTable() 727 low=uchars[unitIndex]; in generateFromUTable() 733 uchars=(UChar *)UCM_GET_CODE_POINTS(table, m); in generateFromUTable() 734 high=uchars[unitIndex]; in generateFromUTable() 759 uchars=(UChar *)UCM_GET_CODE_POINTS(table, m); in generateFromUTable() 760 high=uchars[unitIndex]; in generateFromUTable()
|
/external/icu/icu4c/source/test/intltest/ |
D | ustrtest.cpp | 1927 static UnicodeString wrapUChars(const UChar *uchars) { in wrapUChars() argument 1928 return UnicodeString(TRUE, uchars, -1); in wrapUChars() 1933 UChar uchars[]={ 0x61, 0x62, 0 }; in TestReadOnlyAlias() local 1934 UnicodeString alias(TRUE, uchars, 2); in TestReadOnlyAlias() 1935 if(alias.length()!=2 || alias.getBuffer()!=uchars || alias.getTerminatedBuffer()!=uchars) { in TestReadOnlyAlias() 1940 if(alias.length()!=1 || alias.getBuffer()!=uchars) { in TestReadOnlyAlias() 1943 if(alias.getTerminatedBuffer()==uchars) { in TestReadOnlyAlias() 1947 if(uchars[1]!=0x62) { in TestReadOnlyAlias() 1956 alias.setTo(TRUE, uchars, 2); in TestReadOnlyAlias() 1957 if(alias.length()!=2 || alias.getBuffer()!=uchars || alias.getTerminatedBuffer()!=uchars) { in TestReadOnlyAlias() [all …]
|
/external/icu/icu4c/source/test/cintltst/ |
D | utf16tst.c | 24 static void printUChars(const UChar *uchars); 795 static void printUChars(const UChar *uchars){ in printUChars() argument 797 for(i=0; i<u_strlen(uchars); i++){ in printUChars() 798 printf("%x ", *(uchars+i)); in printUChars()
|
D | custrtst.c | 970 UChar uchars[]={0x61, 0x62, 0x63, 0x00}; in TestStringCopy() local 977 if(u_strcmp(temp, uchars) != 0) { in TestStringCopy() 978 …log_err("There is an error in u_uastrcpy() Expected %s Got %s\n", austrdup(uchars), austrdup(temp)… in TestStringCopy() 987 if(u_strncmp(uchars, temp, 3) != 0){ in TestStringCopy() 988 …log_err("There is an error in u_uastrncpy() Expected %s Got %s\n", austrdup(uchars), austrdup(temp… in TestStringCopy() 1009 …log_err("There is an error in u_austrncpy() Expected %s Got %s\n", austrdup(uchars), austrdup(temp… in TestStringCopy()
|
D | utf8tst.c | 59 static void printUChars(const uint8_t *uchars, int16_t len); 1125 static void printUChars(const uint8_t *uchars, int16_t len){ in printUChars() argument 1128 log_err("0x%02x ", *(uchars+i)); in printUChars()
|
D | custrtrn.c | 963 static const UChar uchars[]={ in Test_FromUTF8Lenient() local 1027 for(pb=(const char *)bytes, pu=uchars; in Test_FromUTF8Lenient()
|
/external/icu/icu4c/source/samples/date/ |
D | date.c | 226 static int32_t charsToUCharsDefault(UChar *uchars, int32_t ucharsSize, const char*chars, int32_t ch… in charsToUCharsDefault() argument 233 len = ucnv_toUChars(cnv, uchars, ucharsSize, chars,charsSize, status); in charsToUCharsDefault()
|
/external/icu/icu4c/source/data/ |
D | Makefile.in | 553 $(INVOKE) $(TOOLBINDIR)/gendict --uchars -c -i $(BUILDDIR) $(BRKSRCDIR)/$(*F).txt $@
|
D | makedata.mak | 763 @"$(ICUTOOLS)\gendict\$(CFG)\gendict" -c --uchars $< "$(ICUBLD_PKG)\$@"
|