• Home
  • Raw
  • Download

Lines Matching refs:csc

39     UCaseContext *csc=(UCaseContext *)context;  in utrans_rep_caseContextIterator()  local
40 Replaceable *rep=(Replaceable *)csc->p; in utrans_rep_caseContextIterator()
45 csc->index=csc->cpStart; in utrans_rep_caseContextIterator()
46 csc->dir=dir; in utrans_rep_caseContextIterator()
49 csc->index=csc->cpLimit; in utrans_rep_caseContextIterator()
50 csc->dir=dir; in utrans_rep_caseContextIterator()
53 dir=csc->dir; in utrans_rep_caseContextIterator()
59 if(csc->start<csc->index) { in utrans_rep_caseContextIterator()
60 c=rep->char32At(csc->index-1); in utrans_rep_caseContextIterator()
62 csc->start=csc->index; in utrans_rep_caseContextIterator()
64 csc->index-=U16_LENGTH(c); in utrans_rep_caseContextIterator()
70 if(csc->index<csc->limit) { in utrans_rep_caseContextIterator()
71 c=rep->char32At(csc->index); in utrans_rep_caseContextIterator()
73 csc->limit=csc->index; in utrans_rep_caseContextIterator()
74 csc->b1=TRUE; in utrans_rep_caseContextIterator()
76 csc->index+=U16_LENGTH(c); in utrans_rep_caseContextIterator()
80 csc->b1=TRUE; in utrans_rep_caseContextIterator()
143 UCaseContext csc; in handleTransliterate() local
144 uprv_memset(&csc, 0, sizeof(csc)); in handleTransliterate()
145 csc.p = &text; in handleTransliterate()
146 csc.start = offsets.contextStart; in handleTransliterate()
147 csc.limit = offsets.contextLimit; in handleTransliterate()
155 csc.cpStart=textPos; in handleTransliterate()
157 csc.cpLimit=textPos+=U16_LENGTH(c); in handleTransliterate()
159 result=fMap(c, utrans_rep_caseContextIterator, &csc, &s, UCASE_LOC_ROOT); in handleTransliterate()
161 if(csc.b1 && isIncremental) { in handleTransliterate()
164 offsets.start=csc.cpStart; in handleTransliterate()
180 text.handleReplaceBetween(csc.cpStart, textPos, tmp); in handleTransliterate()
183 csc.limit=offsets.contextLimit+=delta; in handleTransliterate()