Lines Matching refs:ext
272 ucm_moveMappings(UCMTable *base, UCMTable *ext) {
285 if(ext!=NULL && (flag&UCM_MOVE_TO_EXT)) {
287 ucm_addMapping(ext, mb, UCM_GET_CODE_POINTS(base, mb), UCM_GET_BYTES(base, mb));
309 checkBaseExtUnicode(UCMStates *baseStates, UCMTable *base, UCMTable *ext,
318 me=ext->mappings;
319 meLimit=me+ext->mappingsLength;
350 cmp=compareUnicode(base, mb, ext, me);
354 * mapping in base but not in ext, move it
356 * if ext is DBCS, move DBCS mappings here
364 0==uprv_memcmp(UCM_GET_CODE_POINTS(base, mb), UCM_GET_CODE_POINTS(ext, me), 4*mb->uLen)
375 ucm_printMapping(ext, me, stderr);
387 0==uprv_memcmp(UCM_GET_BYTES(base, mb), UCM_GET_BYTES(ext, me), mb->bLen)
392 /* mapping in base but not in ext, move it */
401 ucm_printMapping(ext, me, stderr);
413 checkBaseExtBytes(UCMStates *baseStates, UCMTable *base, UCMTable *ext,
422 extMap=ext->reverseMap;
426 eLimit=ext->mappingsLength;
457 me=ext->mappings+extMap[e];
467 cmp=compareBytes(base, mb, ext, me, TRUE);
470 /* mapping in base but not in ext, move it */
481 0==uprv_memcmp(UCM_GET_BYTES(base, mb), UCM_GET_BYTES(ext, me), mb->bLen)
492 ucm_printMapping(ext, me, stderr);
504 0==uprv_memcmp(UCM_GET_CODE_POINTS(base, mb), UCM_GET_CODE_POINTS(ext, me), 4*mb->uLen)
509 /* mapping in base but not in ext, move it */
518 ucm_printMapping(ext, me, stderr);
553 UCMTable *base, UCMTable *ext, UCMTable *moveTarget,
562 if(ext->flagsType&UCM_FLAGS_IMPLICIT) {
569 ucm_sortTable(ext);
573 checkBaseExtUnicode(baseStates, base, ext, (UBool)(moveTarget!=NULL), intersectBase)|
574 checkBaseExtBytes(baseStates, base, ext, (UBool)(moveTarget!=NULL), intersectBase);
581 ucm_moveMappings(ext, NULL);
584 ucm_sortTable(ext);
732 ucm_moveMappings(ucm->base, ucm->ext);
733 return ucm_checkBaseExt(&ucm->states, ucm->base, ucm->ext, ucm->ext, FALSE);
1020 ucm->ext=ucm_openTable();
1034 uprv_free(ucm->ext);
1118 ucm_addMapping(ucm->ext, m, codePoints, bytes);