Lines Matching refs:csc
37 UCaseContext *csc=(UCaseContext *)context;
38 Replaceable *rep=(Replaceable *)csc->p;
43 csc->index=csc->cpStart;
44 csc->dir=dir;
47 csc->index=csc->cpLimit;
48 csc->dir=dir;
51 dir=csc->dir;
57 if(csc->start<csc->index) {
58 c=rep->char32At(csc->index-1);
60 csc->start=csc->index;
62 csc->index-=U16_LENGTH(c);
67 // detect, and store in csc->b1, if we hit the limit
68 if(csc->index<csc->limit) {
69 c=rep->char32At(csc->index);
71 csc->limit=csc->index;
72 csc->b1=TRUE;
74 csc->index+=U16_LENGTH(c);
78 csc->b1=TRUE;
143 UCaseContext csc;
144 uprv_memset(&csc, 0, sizeof(csc));
145 csc.p = &text;
146 csc.start = offsets.contextStart;
147 csc.limit = offsets.contextLimit;
155 csc.cpStart=textPos;
157 csc.cpLimit=textPos+=U16_LENGTH(c);
159 result=fMap(fCsp, c, utrans_rep_caseContextIterator, &csc, &s, "", &locCache);
161 if(csc.b1 && isIncremental) {
164 offsets.start=csc.cpStart;
180 text.handleReplaceBetween(csc.cpStart, textPos, tmp);
183 csc.limit=offsets.contextLimit+=delta;