Lines Matching refs:pLineBiDi
128 UBiDi *pLineBiDi, in ubidi_setLine() argument
137 if(pLineBiDi==NULL) { in ubidi_setLine()
149 pLineBiDi->pParaBiDi=NULL; /* mark unfinished setLine */ in ubidi_setLine()
150 pLineBiDi->text=pParaBiDi->text+start; in ubidi_setLine()
151 length=pLineBiDi->length=limit-start; in ubidi_setLine()
152 pLineBiDi->resultLength=pLineBiDi->originalLength=length; in ubidi_setLine()
153 pLineBiDi->paraLevel=GET_PARALEVEL(pParaBiDi, start); in ubidi_setLine()
154 pLineBiDi->paraCount=pParaBiDi->paraCount; in ubidi_setLine()
155 pLineBiDi->runs=NULL; in ubidi_setLine()
156 pLineBiDi->flags=0; in ubidi_setLine()
157 pLineBiDi->reorderingMode=pParaBiDi->reorderingMode; in ubidi_setLine()
158 pLineBiDi->reorderingOptions=pParaBiDi->reorderingOptions; in ubidi_setLine()
159 pLineBiDi->controlCount=0; in ubidi_setLine()
164 pLineBiDi->controlCount++; in ubidi_setLine()
167 pLineBiDi->resultLength-=pLineBiDi->controlCount; in ubidi_setLine()
170 pLineBiDi->dirProps=pParaBiDi->dirProps+start; in ubidi_setLine()
171 pLineBiDi->levels=pParaBiDi->levels+start; in ubidi_setLine()
172 pLineBiDi->runCount=-1; in ubidi_setLine()
176 pLineBiDi->direction=pParaBiDi->direction; in ubidi_setLine()
184 pLineBiDi->trailingWSStart=0; in ubidi_setLine()
186 pLineBiDi->trailingWSStart=pParaBiDi->trailingWSStart-start; in ubidi_setLine()
188 pLineBiDi->trailingWSStart=length; in ubidi_setLine()
191 const UBiDiLevel *levels=pLineBiDi->levels; in ubidi_setLine()
195 setTrailingWSStart(pLineBiDi); in ubidi_setLine()
196 trailingWSStart=pLineBiDi->trailingWSStart; in ubidi_setLine()
201 pLineBiDi->direction=(UBiDiDirection)(pLineBiDi->paraLevel&1); in ubidi_setLine()
207 if(trailingWSStart<length && (pLineBiDi->paraLevel&1)!=level) { in ubidi_setLine()
209 pLineBiDi->direction=UBIDI_MIXED; in ubidi_setLine()
216 pLineBiDi->direction=(UBiDiDirection)level; in ubidi_setLine()
219 pLineBiDi->direction=UBIDI_MIXED; in ubidi_setLine()
227 switch(pLineBiDi->direction) { in ubidi_setLine()
230 pLineBiDi->paraLevel=(UBiDiLevel)((pLineBiDi->paraLevel+1)&~1); in ubidi_setLine()
233 pLineBiDi->trailingWSStart=0; in ubidi_setLine()
237 pLineBiDi->paraLevel|=1; in ubidi_setLine()
240 pLineBiDi->trailingWSStart=0; in ubidi_setLine()
246 pLineBiDi->pParaBiDi=pParaBiDi; /* mark successful setLine */ in ubidi_setLine()