Lines Matching refs:pParaBiDi
124 ubidi_setLine(const UBiDi *pParaBiDi, in ubidi_setLine() argument
132 RETURN_VOID_IF_NOT_VALID_PARA(pParaBiDi, *pErrorCode); in ubidi_setLine()
134 RETURN_VOID_IF_BAD_RANGE(limit, 0, pParaBiDi->length+1, *pErrorCode); in ubidi_setLine()
139 if(ubidi_getParagraph(pParaBiDi, start, NULL, NULL, NULL, pErrorCode) != in ubidi_setLine()
140 ubidi_getParagraph(pParaBiDi, limit-1, NULL, NULL, NULL, pErrorCode)) { in ubidi_setLine()
147 pLineBiDi->pParaBiDi=NULL; /* mark unfinished setLine */ in ubidi_setLine()
148 pLineBiDi->text=pParaBiDi->text+start; in ubidi_setLine()
151 pLineBiDi->paraLevel=GET_PARALEVEL(pParaBiDi, start); in ubidi_setLine()
152 pLineBiDi->paraCount=pParaBiDi->paraCount; in ubidi_setLine()
155 pLineBiDi->reorderingMode=pParaBiDi->reorderingMode; in ubidi_setLine()
156 pLineBiDi->reorderingOptions=pParaBiDi->reorderingOptions; in ubidi_setLine()
158 if(pParaBiDi->controlCount>0) { in ubidi_setLine()
161 if(IS_BIDI_CONTROL_CHAR(pParaBiDi->text[j])) { in ubidi_setLine()
168 pLineBiDi->dirProps=pParaBiDi->dirProps+start; in ubidi_setLine()
169 pLineBiDi->levels=pParaBiDi->levels+start; in ubidi_setLine()
172 if(pParaBiDi->direction!=UBIDI_MIXED) { in ubidi_setLine()
174 pLineBiDi->direction=pParaBiDi->direction; in ubidi_setLine()
181 if(pParaBiDi->trailingWSStart<=start) { in ubidi_setLine()
183 } else if(pParaBiDi->trailingWSStart<limit) { in ubidi_setLine()
184 pLineBiDi->trailingWSStart=pParaBiDi->trailingWSStart-start; in ubidi_setLine()
244 pLineBiDi->pParaBiDi=pParaBiDi; /* mark successful setLine */ in ubidi_setLine()