Searched refs:uchars (Results 1 - 16 of 16) sorted by relevance

/external/icu/icu4c/source/common/
H A Ducharstriebuilder.cpp88 uchars(NULL), ucharsCapacity(0), ucharsLength(0) {}
92 uprv_free(uchars);
148 newTrie=new UCharsTrie(uchars, uchars+(ucharsCapacity-ucharsLength));
152 uchars=NULL; // The new trie now owns the array.
164 result.setTo(FALSE, uchars+(ucharsCapacity-ucharsLength), ucharsLength);
174 if(uchars!=NULL && ucharsLength>0) {
212 uprv_free(uchars);
213 uchars=static_cast<UChar *>(uprv_malloc(capacity*2));
214 if(uchars
[all...]
H A Ducnv_cnv.c88 const UChar *uchars, int32_t length,
99 *t++=*uchars++;
105 *t++=*uchars++;
119 *t++=*uchars++;
87 ucnv_toUWriteUChars(UConverter *cnv, const UChar *uchars, int32_t length, UChar **target, const UChar *targetLimit, int32_t **offsets, int32_t sourceIndex, UErrorCode *pErrorCode) argument
H A Ducnv_cnv.h305 const UChar *uchars, int32_t length,
/external/icu/icu4c/source/common/unicode/
H A Ducharstrie.h106 State() { uchars=NULL; }
110 const UChar *uchars; member in class:UCharsTrie::State
123 state.uchars=uchars_;
140 if(uchars_==state.uchars && uchars_!=NULL) {
H A Ducharstriebuilder.h178 UChar *uchars; member in class:UCharsTrieBuilder
/external/icu/icu4c/source/tools/gennorm2/
H A Dgennorm2.cpp246 UChar uchars[Normalizer2Impl::MAPPING_LENGTH_MASK]; local
247 int32_t length=u_parseString(delimiter+1, uchars, UPRV_LENGTHOF(uchars), NULL, errorCode);
252 UnicodeString mapping(FALSE, uchars, length);
/external/icu/icu4c/source/samples/ucnv/
H A Dconvsamp.cpp603 printf("src=%d bytes, dst=%d uchars\n", srcCount, dstCount);
614 UChar uchars[100]; local
634 len = ucnv_toUChars(conv, uchars, 100, source, strlen(source), &status);
637 printUChars("uch", uchars, len);
662 len2 = ucnv_fromUChars(conv, bytes, 100, uchars, len, &status);
708 UChar uchars[100]; local
735 len = ucnv_toUChars(conv, uchars, 100, source, strlen(source), &status);
738 printUChars("uch", uchars, len);
816 len2 = ucnv_fromUChars(cloneCnv, bytes, 100, uchars, len, &status);
/external/icu/icu4c/source/samples/date/
H A Ddate.c226 static int32_t charsToUCharsDefault(UChar *uchars, int32_t ucharsSize, const char*chars, int32_t charsSize, UErrorCode *status) { argument
233 len = ucnv_toUChars(cnv, uchars, ucharsSize, chars,charsSize, status);
/external/icu/icu4c/source/tools/makeconv/
H A Dgencnvex.c715 UChar *uchars; local
726 uchars=(UChar *)UCM_GET_CODE_POINTS(table, m);
727 low=uchars[unitIndex];
733 uchars=(UChar *)UCM_GET_CODE_POINTS(table, m);
734 high=uchars[unitIndex];
759 uchars=(UChar *)UCM_GET_CODE_POINTS(table, m);
760 high=uchars[unitIndex];
/external/icu/icu4c/source/test/intltest/
H A Dustrtest.cpp1935 static UnicodeString wrapUChars(const UChar *uchars) { argument
1936 return UnicodeString(TRUE, uchars, -1);
1941 UChar uchars[]={ 0x61, 0x62, 0 }; local
1942 UnicodeString alias(TRUE, uchars, 2);
1943 if(alias.length()!=2 || alias.getBuffer()!=uchars || alias.getTerminatedBuffer()!=uchars) {
1948 if(alias.length()!=1 || alias.getBuffer()!=uchars) {
1951 if(alias.getTerminatedBuffer()==uchars) {
1955 if(uchars[1]!=0x62) {
1964 alias.setTo(TRUE, uchars,
[all...]
/external/icu/icu4c/source/test/cintltst/
H A Dutf16tst.c24 static void printUChars(const UChar *uchars);
795 static void printUChars(const UChar *uchars){ argument
797 for(i=0; i<u_strlen(uchars); i++){
798 printf("%x ", *(uchars+i));
H A Dcustrtst.c970 UChar uchars[]={0x61, 0x62, 0x63, 0x00}; local
977 if(u_strcmp(temp, uchars) != 0) {
978 log_err("There is an error in u_uastrcpy() Expected %s Got %s\n", austrdup(uchars), austrdup(temp));
987 if(u_strncmp(uchars, temp, 3) != 0){
988 log_err("There is an error in u_uastrncpy() Expected %s Got %s\n", austrdup(uchars), austrdup(temp));
1009 log_err("There is an error in u_austrncpy() Expected %s Got %s\n", austrdup(uchars), austrdup(temp));
H A Dutf8tst.c59 static void printUChars(const uint8_t *uchars, int16_t len);
1125 static void printUChars(const uint8_t *uchars, int16_t len){ argument
1128 log_err("0x%02x ", *(uchars+i));
H A Dcustrtrn.c963 static const UChar uchars[]={ local
1027 for(pb=(const char *)bytes, pu=uchars;
/external/icu/icu4c/source/data/
H A DMakefile.in553 $(INVOKE) $(TOOLBINDIR)/gendict --uchars -c -i $(BUILDDIR) $(BRKSRCDIR)/$(*F).txt $@
H A Dmakedata.mak763 @"$(ICUTOOLS)\gendict\$(CFG)\gendict" -c --uchars $< "$(ICUBLD_PKG)\$@"

Completed in 334 milliseconds