Home
last modified time | relevance | path

Searched refs:codePoints (Results 1 – 11 of 11) sorted by relevance

/external/icu4c/i18n/
Ducol_cnt.cpp36 UChar *newCPs = (UChar *)uprv_realloc(tbl->codePoints, 2*tbl->size*sizeof(UChar)); in uprv_growTable()
43 tbl->codePoints = newCPs; in uprv_growTable()
71 tbl->codePoints = NULL; in uprv_cnttab_open()
87 el->codePoints = (UChar *)uprv_malloc(INIT_EXP_TABLE_SIZE*sizeof(UChar)); in addATableElement()
88 if(el->codePoints == NULL) { in addATableElement()
96 uprv_memset(el->codePoints, 0, INIT_EXP_TABLE_SIZE*sizeof(UChar)); in addATableElement()
109 uprv_free(el->codePoints); in addATableElement()
167 if(table->codePoints != NULL) { in uprv_cnttab_constructTable()
168 uprv_free(table->codePoints); in uprv_cnttab_constructTable()
170 table->codePoints = (UChar *)uprv_malloc(table->position*sizeof(UChar)); in uprv_cnttab_constructTable()
[all …]
Ducol_cnt.h43 UChar *codePoints; member
53 UChar *codePoints; member
Ducol_elm.cpp1475 … uprv_memcpy(dataStart+tableOffset, contractions->codePoints, contractionsSize*sizeof(UChar)); in uprv_uca_assembleTable()
/external/icu4c/samples/props/
Dprops.cpp53 codePoints[]={ in main() local
58 for(i=0; i<sizeof(codePoints)/sizeof(codePoints[0]); ++i) { in main()
59 printProps(codePoints[i]); in main()
/external/icu4c/tools/toolutil/
Ducm.c43 printMapping(UCMapping *m, UChar32 *codePoints, uint8_t *bytes, FILE *f) { in printMapping() argument
47 fprintf(f, "<U%04lX>", (long)codePoints[j]); in printMapping()
781 UChar32 codePoints[UCNV_EXT_MAX_UCHARS], in ucm_parseMappingLine()
819 codePoints[uLen++]=cp; in ucm_parseMappingLine()
827 m->u=codePoints[0]; in ucm_parseMappingLine()
830 u_strFromUTF32(NULL, 0, &u16Length, codePoints, uLen, &errorCode); in ucm_parseMappingLine()
893 uprv_free(table->codePoints); in ucm_closeTable()
914 UChar32 codePoints[UCNV_EXT_MAX_UCHARS], in ucm_addMapping()
944 table->codePoints=(UChar32 *)uprv_malloc(table->codePointsCapacity*4); in ucm_addMapping()
945 if(table->codePoints==NULL) { in ucm_addMapping()
[all …]
Ducm.h71 UChar32 *codePoints; member
111 (((m)->uLen==1) ? &(m)->u : (t)->codePoints+(m)->u)
132 UChar32 codePoints[UCNV_EXT_MAX_UCHARS],
139 UChar32 codePoints[UCNV_EXT_MAX_UCHARS],
252 UChar32 codePoints[UCNV_EXT_MAX_UCHARS],
259 UChar32 codePoints[UCNV_EXT_MAX_UCHARS],
/external/icu4c/test/cintltst/
Dutf16tst.c647 static const UChar32 codePoints[]={ in TestAppend() local
677 for(i=0; i<LENGTHOF(codePoints); ++i) { in TestAppend()
678 c=codePoints[i]; in TestAppend()
691 for(i=0; i<LENGTHOF(codePoints); ++i) { in TestAppend()
692 c=codePoints[i]; in TestAppend()
Dutf8tst.c800 static const UChar32 codePoints[]={ in TestAppend() local
830 for(i=0; i<LENGTHOF(codePoints); ++i) { in TestAppend()
831 c=codePoints[i]; in TestAppend()
844 for(i=0; i<LENGTHOF(codePoints); ++i) { in TestAppend()
845 c=codePoints[i]; in TestAppend()
/external/icu4c/tools/makeconv/
Dgencnvex.c933 UChar32 *codePoints; in generateFromUTrie() local
950 codePoints=UCM_GET_CODE_POINTS(table, m); in generateFromUTrie()
951 next=codePoints[0]; in generateFromUTrie()
959 codePoints=UCM_GET_CODE_POINTS(table, m); in generateFromUTrie()
960 next=codePoints[0]; in generateFromUTrie()
970 codePoints=UCM_GET_CODE_POINTS(table, m); in generateFromUTrie()
/external/icu4c/common/
Ducnv_err.c72 const char* codePoints, in UCNV_TO_U_CALLBACK_STOP() argument
Ducnvmbcs.c417 UConverterEnumToUCallback(const void *context, uint32_t value, UChar32 codePoints[32]);
426 UChar32 codePoints[32]; in enumToU() local
441 codePoints[0]=U_SENTINEL; in enumToU()
460 codePoints[b&0x1f]=U_SENTINEL; in enumToU()
502 codePoints[b&0x1f]=c; in enumToU()
507 if(!callback(context, value|(uint32_t)(b-0x20), codePoints)) { in enumToU()
1190 writeStage3Roundtrip(const void *context, uint32_t value, UChar32 codePoints[32]) { in writeStage3Roundtrip()
1232 c=codePoints[i]; in writeStage3Roundtrip()