Lines Matching refs:mappings

16 *   This file reads a .ucm file, stores its mappings and sorts them.
17 * It implements handling of Unicode conversion mappings from .ucm files
22 * character sequence are handled to support m:n mappings.
73 m=table->mappings;
201 /* sorting by Unicode first sorts mappings directly */
209 /* sorting by bytes first sorts the reverseMap; use indirection to mappings */
215 table, table->mappings+l,
216 table, table->mappings+r, FALSE);
231 uprv_sortArray(t->mappings, t->mappingsLength, sizeof(UCMapping),
239 * if mappings are added, the reverseMap need not be
253 /* 2. sort reverseMap by mappings bytes first */
268 * remove mappings with their move flag set from the base table
276 mb=base->mappings;
315 mb=base->mappings;
318 me=ext->mappings;
324 /* skip irrelevant mappings on both sides */
349 /* compare the base and extension mappings */
356 * if ext is DBCS, move DBCS mappings here
433 /* skip irrelevant mappings on both sides */
438 mb=base->mappings+baseMap[b];
443 * leave SBCS base mappings alone
457 me=ext->mappings+extMap[e];
466 /* compare the base and extension mappings */
535 m=table->mappings;
559 fprintf(stderr, "ucm error: the base table contains mappings without precision flags\n");
563 fprintf(stderr, "ucm error: extension table contains mappings without precision flags\n");
605 fromUMapping=fromUTable->mappings;
606 toUMapping=toUTable->mappings;
650 fromUMapping=fromUTable->mappings+fromUIndex;
660 /* leftover fromU mappings are fallbacks */
675 /* leftover toU mappings are reverse fallbacks */
690 /* separate extension mappings out of base table for rptp2ucm --------------- */
700 m=table->mappings;
892 uprv_free(table->mappings);
921 /* make the mappings array larger */
927 table->mappings=(UCMapping *)uprv_realloc(table->mappings,
929 if(table->mappings==NULL) {
966 fprintf(stderr, "ucm error: too many code points in multiple-code point mappings\n");
978 fprintf(stderr, "ucm error: too many bytes in mappings with >4 charset bytes\n");
1003 tm=table->mappings+table->mappingsLength++;
1065 * but the ones above are for unusual mappings, and removing the tests
1069 * Exception: All implicit mappings (f<0) that need to be moved
1071 * makeconv uses a hack for moving mappings only for the fromUnicode table