Lines Matching refs:ucm
693 ucm_separateMappings(UCMFile *ucm, UBool isSISO) { in ucm_separateMappings() argument
699 table=ucm->base; in ucm_separateMappings()
716 &ucm->states, m, in ucm_separateMappings()
732 ucm_moveMappings(ucm->base, ucm->ext); in ucm_separateMappings()
733 return ucm_checkBaseExt(&ucm->states, ucm->base, ucm->ext, ucm->ext, FALSE); in ucm_separateMappings()
735 ucm_sortTable(ucm->base); in ucm_separateMappings()
1011 UCMFile *ucm=(UCMFile *)uprv_malloc(sizeof(UCMFile)); in ucm_open() local
1012 if(ucm==NULL) { in ucm_open()
1017 memset(ucm, 0, sizeof(UCMFile)); in ucm_open()
1019 ucm->base=ucm_openTable(); in ucm_open()
1020 ucm->ext=ucm_openTable(); in ucm_open()
1022 ucm->states.stateFlags[0]=MBCS_STATE_FLAG_DIRECT; in ucm_open()
1023 ucm->states.conversionType=UCNV_UNSUPPORTED_CONVERTER; in ucm_open()
1024 ucm->states.outputType=-1; in ucm_open()
1025 ucm->states.minCharLength=ucm->states.maxCharLength=1; in ucm_open()
1027 return ucm; in ucm_open()
1031 ucm_close(UCMFile *ucm) { in ucm_close() argument
1032 if(ucm!=NULL) { in ucm_close()
1033 ucm_closeTable(ucm->base); in ucm_close()
1034 ucm_closeTable(ucm->ext); in ucm_close()
1035 uprv_free(ucm); in ucm_close()
1087 ucm_addMappingAuto(UCMFile *ucm, UBool forBase, UCMStates *baseStates, in ucm_addMappingAuto() argument
1117 ucm_addMapping(ucm->base, m, codePoints, bytes); in ucm_addMappingAuto()
1119 ucm_addMapping(ucm->ext, m, codePoints, bytes); in ucm_addMappingAuto()
1126 ucm_addMappingFromLine(UCMFile *ucm, const char *line, UBool forBase, UCMStates *baseStates) { in ucm_addMappingFromLine() argument
1140 ucm_addMappingAuto(ucm, forBase, baseStates, &m, codePoints, bytes); in ucm_addMappingFromLine()
1144 ucm_readTable(UCMFile *ucm, FileStream* convFile, in ucm_readTable() argument
1182 isOK&=ucm_addMappingFromLine(ucm, line, forBase, baseStates); in ucm_readTable()