/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/chromium_org/third_party/icu/source/common/ |
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 | 302 const UChar *uchars, int32_t length,
|
/external/icu/icu4c/source/tools/gennorm2/ |
D | gennorm2.cpp | 241 UChar uchars[Normalizer2Impl::MAPPING_LENGTH_MASK]; in parseFile() local 242 int32_t length=u_parseString(delimiter+1, uchars, LENGTHOF(uchars), NULL, errorCode); in parseFile() 247 UnicodeString mapping(FALSE, uchars, length); in parseFile()
|
/external/chromium_org/third_party/icu/source/tools/gennorm2/ |
D | gennorm2.cpp | 235 UChar uchars[Normalizer2Impl::MAPPING_LENGTH_MASK]; in parseFile() local 236 int32_t length=u_parseString(delimiter+1, uchars, LENGTHOF(uchars), NULL, errorCode); in parseFile() 241 UnicodeString mapping(FALSE, uchars, length); in parseFile()
|
/external/chromium_org/third_party/icu/source/i18n/ |
D | ucol_bld.cpp | 919 el.cPoints = el.uchars; in ucol_createElements() 927 …uprv_memcpy(el.uchars, (tok->source & 0x00FFFFFF)+(tok->prefix>>24) + src->source, el.cSize*sizeof… in ucol_createElements() 933 … uprv_memcpy(el.uchars, (tok->source & 0x00FFFFFF) + src->source, el.cSize*sizeof(UChar)); in ucol_createElements() 982 el.cPoints = el.uchars; in _processUCACompleteIgnorables() 985 UTF_APPEND_CHAR(el.uchars, el.cSize, 1024, start); in _processUCACompleteIgnorables() 1026 U16_APPEND_UNSAFE(el.uchars, el.cSize, u); in ucol_uprv_bld_copyRangeFromUCA() 1029 el.cPoints = el.uchars; in ucol_uprv_bld_copyRangeFromUCA() 1055 uprv_init_collIterate(src->UCA, el.uchars, el.cSize, &colIt, status); in ucol_uprv_bld_copyRangeFromUCA() 1220 elm.cPoints = el.uchars; in ucol_assembleTailoringTable() 1222 elm.uchars[0] = *conts; in ucol_assembleTailoringTable() [all …]
|
D | ucol_elm.h | 64 UChar uchars[128]; member
|
D | ucol_elm.cpp | 1107 origElem->cPoints = origElem->uchars; in uprv_uca_finalizeAddition() 1256 composed->cPoints = composed->uchars; in uprv_uca_addAnElement() 1275 uCE->cPoints = uCE->uchars; in uprv_uca_addAnElement() 2023 el.cPoints = el.uchars; in uprv_uca_canonicalClosure() 2029 …uprv_memcpy(el.uchars, (tok->source & 0x00FFFFFF)+(tok->prefix>>24) + src->source, el.cSize*sizeof… in uprv_uca_canonicalClosure() 2035 … uprv_memcpy(el.uchars, (tok->source & 0x00FFFFFF) + src->source, el.cSize*sizeof(UChar)); in uprv_uca_canonicalClosure()
|
/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 | 180 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 | 718 UChar *uchars; in generateFromUTable() local 729 uchars=(UChar *)UCM_GET_CODE_POINTS(table, m); in generateFromUTable() 730 low=uchars[unitIndex]; in generateFromUTable() 736 uchars=(UChar *)UCM_GET_CODE_POINTS(table, m); in generateFromUTable() 737 high=uchars[unitIndex]; in generateFromUTable() 762 uchars=(UChar *)UCM_GET_CODE_POINTS(table, m); in generateFromUTable() 763 high=uchars[unitIndex]; in generateFromUTable()
|
/external/chromium_org/third_party/icu/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/chromium_org/third_party/icu/source/test/intltest/ |
D | ustrtest.cpp | 1913 static UnicodeString wrapUChars(const UChar *uchars) { in wrapUChars() argument 1914 return UnicodeString(TRUE, uchars, -1); in wrapUChars() 1919 UChar uchars[]={ 0x61, 0x62, 0 }; in TestReadOnlyAlias() local 1920 UnicodeString alias(TRUE, uchars, 2); in TestReadOnlyAlias() 1921 if(alias.length()!=2 || alias.getBuffer()!=uchars || alias.getTerminatedBuffer()!=uchars) { in TestReadOnlyAlias() 1926 if(alias.length()!=1 || alias.getBuffer()!=uchars) { in TestReadOnlyAlias() 1929 if(alias.getTerminatedBuffer()==uchars) { in TestReadOnlyAlias() 1933 if(uchars[1]!=0x62) { in TestReadOnlyAlias() 1942 alias.setTo(TRUE, uchars, 2); in TestReadOnlyAlias() 1943 if(alias.length()!=2 || alias.getBuffer()!=uchars || alias.getTerminatedBuffer()!=uchars) { in TestReadOnlyAlias() [all …]
|
/external/icu/icu4c/source/test/intltest/ |
D | ustrtest.cpp | 1937 static UnicodeString wrapUChars(const UChar *uchars) { in wrapUChars() argument 1938 return UnicodeString(TRUE, uchars, -1); in wrapUChars() 1943 UChar uchars[]={ 0x61, 0x62, 0 }; in TestReadOnlyAlias() local 1944 UnicodeString alias(TRUE, uchars, 2); in TestReadOnlyAlias() 1945 if(alias.length()!=2 || alias.getBuffer()!=uchars || alias.getTerminatedBuffer()!=uchars) { in TestReadOnlyAlias() 1950 if(alias.length()!=1 || alias.getBuffer()!=uchars) { in TestReadOnlyAlias() 1953 if(alias.getTerminatedBuffer()==uchars) { in TestReadOnlyAlias() 1957 if(uchars[1]!=0x62) { in TestReadOnlyAlias() 1966 alias.setTo(TRUE, uchars, 2); in TestReadOnlyAlias() 1967 if(alias.length()!=2 || alias.getBuffer()!=uchars || alias.getTerminatedBuffer()!=uchars) { in TestReadOnlyAlias() [all …]
|
/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/chromium_org/third_party/icu/source/test/cintltst/ |
D | utf16tst.c | 26 static void printUChars(const UChar *uchars); 729 static void printUChars(const UChar *uchars){ in printUChars() argument 731 for(i=0; i<u_strlen(uchars); i++){ in printUChars() 732 printf("%x ", *(uchars+i)); in printUChars()
|
D | utf8tst.c | 61 static void printUChars(const uint8_t *uchars, int16_t len); 951 static void printUChars(const uint8_t *uchars, int16_t len){ in printUChars() argument 954 log_err("0x%02x ", *(uchars+i)); in printUChars()
|
D | custrtst.c | 975 UChar uchars[]={0x61, 0x62, 0x63, 0x00}; in TestStringCopy() local 982 if(u_strcmp(temp, uchars) != 0) { in TestStringCopy() 983 …log_err("There is an error in u_uastrcpy() Expected %s Got %s\n", austrdup(uchars), austrdup(temp)… in TestStringCopy() 992 if(u_strncmp(uchars, temp, 3) != 0){ in TestStringCopy() 993 …log_err("There is an error in u_uastrncpy() Expected %s Got %s\n", austrdup(uchars), austrdup(temp… in TestStringCopy() 1014 …log_err("There is an error in u_austrncpy() Expected %s Got %s\n", austrdup(uchars), austrdup(temp… in TestStringCopy()
|
D | custrtrn.c | 952 static const UChar uchars[]={ in Test_FromUTF8Lenient() local 1016 for(pb=(const char *)bytes, pu=uchars; in Test_FromUTF8Lenient()
|
/external/icu/icu4c/source/test/cintltst/ |
D | utf16tst.c | 26 static void printUChars(const UChar *uchars); 797 static void printUChars(const UChar *uchars){ in printUChars() argument 799 for(i=0; i<u_strlen(uchars); i++){ in printUChars() 800 printf("%x ", *(uchars+i)); in printUChars()
|
D | custrtst.c | 971 UChar uchars[]={0x61, 0x62, 0x63, 0x00}; in TestStringCopy() local 978 if(u_strcmp(temp, uchars) != 0) { in TestStringCopy() 979 …log_err("There is an error in u_uastrcpy() Expected %s Got %s\n", austrdup(uchars), austrdup(temp)… in TestStringCopy() 988 if(u_strncmp(uchars, temp, 3) != 0){ in TestStringCopy() 989 …log_err("There is an error in u_uastrncpy() Expected %s Got %s\n", austrdup(uchars), austrdup(temp… in TestStringCopy() 1010 …log_err("There is an error in u_austrncpy() Expected %s Got %s\n", austrdup(uchars), austrdup(temp… in TestStringCopy()
|
D | utf8tst.c | 61 static void printUChars(const uint8_t *uchars, int16_t len); 1127 static void printUChars(const uint8_t *uchars, int16_t len){ in printUChars() argument 1130 log_err("0x%02x ", *(uchars+i)); in printUChars()
|