Lines Matching refs:mb
273 UCMapping *mb, *mbLimit; in ucm_moveMappings() local
276 mb=base->mappings; in ucm_moveMappings()
277 mbLimit=mb+base->mappingsLength; in ucm_moveMappings()
279 while(mb<mbLimit) { in ucm_moveMappings()
280 flag=mb->moveFlag; in ucm_moveMappings()
283 mb->moveFlag=0; in ucm_moveMappings()
287 ucm_addMapping(ext, mb, UCM_GET_CODE_POINTS(base, mb), UCM_GET_BYTES(base, mb)); in ucm_moveMappings()
291 if(mb<(mbLimit-1)) { in ucm_moveMappings()
292 uprv_memcpy(mb, mbLimit-1, sizeof(UCMapping)); in ucm_moveMappings()
298 ++mb; in ucm_moveMappings()
311 UCMapping *mb, *me, *mbLimit, *meLimit; in checkBaseExtUnicode() local
315 mb=base->mappings; in checkBaseExtUnicode()
316 mbLimit=mb+base->mappingsLength; in checkBaseExtUnicode()
326 if(mb==mbLimit) { in checkBaseExtUnicode()
330 if((0<=mb->f && mb->f<=2) || mb->f==4) { in checkBaseExtUnicode()
334 ++mb; in checkBaseExtUnicode()
350 cmp=compareUnicode(base, mb, ext, me); in checkBaseExtUnicode()
352 if(intersectBase && (intersectBase!=2 || mb->bLen>1)) { in checkBaseExtUnicode()
359 mb->moveFlag|=UCM_MOVE_TO_EXT; in checkBaseExtUnicode()
363 } else if( mb->uLen<me->uLen && in checkBaseExtUnicode()
364 … 0==uprv_memcmp(UCM_GET_CODE_POINTS(base, mb), UCM_GET_CODE_POINTS(ext, me), 4*mb->uLen) in checkBaseExtUnicode()
368 mb->moveFlag|=UCM_MOVE_TO_EXT; in checkBaseExtUnicode()
374 ucm_printMapping(base, mb, stderr); in checkBaseExtUnicode()
380 ++mb; in checkBaseExtUnicode()
386 if( mb->f==me->f && mb->bLen==me->bLen && in checkBaseExtUnicode()
387 0==uprv_memcmp(UCM_GET_BYTES(base, mb), UCM_GET_BYTES(ext, me), mb->bLen) in checkBaseExtUnicode()
393 mb->moveFlag|=UCM_MOVE_TO_EXT; in checkBaseExtUnicode()
400 ucm_printMapping(base, mb, stderr); in checkBaseExtUnicode()
405 ++mb; in checkBaseExtUnicode()
415 UCMapping *mb, *me; in checkBaseExtBytes() local
438 mb=base->mappings+baseMap[b]; in checkBaseExtBytes()
440 if(intersectBase==2 && mb->bLen==1) { in checkBaseExtBytes()
448 if(mb->f==0 || mb->f==3) { in checkBaseExtBytes()
467 cmp=compareBytes(base, mb, ext, me, TRUE); in checkBaseExtBytes()
471 mb->moveFlag|=UCM_MOVE_TO_EXT; in checkBaseExtBytes()
479 } else if( mb->bLen<me->bLen && in checkBaseExtBytes()
480 (!isSISO || mb->bLen>1) && in checkBaseExtBytes()
481 0==uprv_memcmp(UCM_GET_BYTES(base, mb), UCM_GET_BYTES(ext, me), mb->bLen) in checkBaseExtBytes()
485 mb->moveFlag|=UCM_MOVE_TO_EXT; in checkBaseExtBytes()
491 ucm_printMapping(base, mb, stderr); in checkBaseExtBytes()
503 if( mb->f==me->f && mb->uLen==me->uLen && in checkBaseExtBytes()
504 … 0==uprv_memcmp(UCM_GET_CODE_POINTS(base, mb), UCM_GET_CODE_POINTS(ext, me), 4*mb->uLen) in checkBaseExtBytes()
510 mb->moveFlag|=UCM_MOVE_TO_EXT; in checkBaseExtBytes()
517 ucm_printMapping(base, mb, stderr); in checkBaseExtBytes()