• Home
  • Raw
  • Download

Lines Matching refs:pLineBiDi

126               UBiDi *pLineBiDi,  in ubidi_setLine()  argument
135 if(pLineBiDi==NULL) { in ubidi_setLine()
147 pLineBiDi->pParaBiDi=NULL; /* mark unfinished setLine */ in ubidi_setLine()
148 pLineBiDi->text=pParaBiDi->text+start; in ubidi_setLine()
149 length=pLineBiDi->length=limit-start; in ubidi_setLine()
150 pLineBiDi->resultLength=pLineBiDi->originalLength=length; in ubidi_setLine()
151 pLineBiDi->paraLevel=GET_PARALEVEL(pParaBiDi, start); in ubidi_setLine()
152 pLineBiDi->paraCount=pParaBiDi->paraCount; in ubidi_setLine()
153 pLineBiDi->runs=NULL; in ubidi_setLine()
154 pLineBiDi->flags=0; in ubidi_setLine()
155 pLineBiDi->reorderingMode=pParaBiDi->reorderingMode; in ubidi_setLine()
156 pLineBiDi->reorderingOptions=pParaBiDi->reorderingOptions; in ubidi_setLine()
157 pLineBiDi->controlCount=0; in ubidi_setLine()
162 pLineBiDi->controlCount++; in ubidi_setLine()
165 pLineBiDi->resultLength-=pLineBiDi->controlCount; in ubidi_setLine()
168 pLineBiDi->dirProps=pParaBiDi->dirProps+start; in ubidi_setLine()
169 pLineBiDi->levels=pParaBiDi->levels+start; in ubidi_setLine()
170 pLineBiDi->runCount=-1; in ubidi_setLine()
174 pLineBiDi->direction=pParaBiDi->direction; in ubidi_setLine()
182 pLineBiDi->trailingWSStart=0; in ubidi_setLine()
184 pLineBiDi->trailingWSStart=pParaBiDi->trailingWSStart-start; in ubidi_setLine()
186 pLineBiDi->trailingWSStart=length; in ubidi_setLine()
189 const UBiDiLevel *levels=pLineBiDi->levels; in ubidi_setLine()
193 setTrailingWSStart(pLineBiDi); in ubidi_setLine()
194 trailingWSStart=pLineBiDi->trailingWSStart; in ubidi_setLine()
199 pLineBiDi->direction=(UBiDiDirection)(pLineBiDi->paraLevel&1); in ubidi_setLine()
205 if(trailingWSStart<length && (pLineBiDi->paraLevel&1)!=level) { in ubidi_setLine()
207 pLineBiDi->direction=UBIDI_MIXED; in ubidi_setLine()
214 pLineBiDi->direction=(UBiDiDirection)level; in ubidi_setLine()
217 pLineBiDi->direction=UBIDI_MIXED; in ubidi_setLine()
225 switch(pLineBiDi->direction) { in ubidi_setLine()
228 pLineBiDi->paraLevel=(UBiDiLevel)((pLineBiDi->paraLevel+1)&~1); in ubidi_setLine()
231 pLineBiDi->trailingWSStart=0; in ubidi_setLine()
235 pLineBiDi->paraLevel|=1; in ubidi_setLine()
238 pLineBiDi->trailingWSStart=0; in ubidi_setLine()
244 pLineBiDi->pParaBiDi=pParaBiDi; /* mark successful setLine */ in ubidi_setLine()