Lines Matching refs:pTransform

129 action_resolve(UBiDiTransform *pTransform, UErrorCode *pErrorCode)  in action_resolve()  argument
131 ubidi_setPara(pTransform->pBidi, pTransform->src, pTransform->srcLength, in action_resolve()
132 pTransform->pActiveScheme->baseLevel, NULL, pErrorCode); in action_resolve()
146 action_reorder(UBiDiTransform *pTransform, UErrorCode *pErrorCode) in action_reorder() argument
148 ubidi_writeReordered(pTransform->pBidi, pTransform->dest, pTransform->destSize, in action_reorder()
149 static_cast<uint16_t>(pTransform->reorderingOptions), pErrorCode); in action_reorder()
151 *pTransform->pDestLength = pTransform->srcLength; in action_reorder()
152 pTransform->reorderingOptions = UBIDI_REORDER_DEFAULT; in action_reorder()
166 action_setInverse(UBiDiTransform *pTransform, UErrorCode *pErrorCode) in action_setInverse() argument
169 ubidi_setInverse(pTransform->pBidi, TRUE); in action_setInverse()
170 ubidi_setReorderingMode(pTransform->pBidi, UBIDI_REORDER_INVERSE_LIKE_DIRECT); in action_setInverse()
185 action_setRunsOnly(UBiDiTransform *pTransform, UErrorCode *pErrorCode) in action_setRunsOnly() argument
188 ubidi_setReorderingMode(pTransform->pBidi, UBIDI_REORDER_RUNS_ONLY); in action_setRunsOnly()
202 action_reverse(UBiDiTransform *pTransform, UErrorCode *pErrorCode) in action_reverse() argument
204 ubidi_writeReverse(pTransform->src, pTransform->srcLength, in action_reverse()
205 pTransform->dest, pTransform->destSize, in action_reverse()
207 *pTransform->pDestLength = pTransform->srcLength; in action_reverse()
223 updateSrc(UBiDiTransform *pTransform, const UChar *newSrc, uint32_t newLength, in updateSrc() argument
230 if (newSize > pTransform->srcSize) { in updateSrc()
232 if (pTransform->src != NULL) { in updateSrc()
233 uprv_free(pTransform->src); in updateSrc()
234 pTransform->src = NULL; in updateSrc()
236 pTransform->src = (UChar *)uprv_malloc(newSize * sizeof(UChar)); in updateSrc()
237 if (pTransform->src == NULL) { in updateSrc()
242 pTransform->srcSize = newSize; in updateSrc()
244 u_strncpy(pTransform->src, newSrc, newLength); in updateSrc()
245 pTransform->srcLength = u_terminateUChars(pTransform->src, in updateSrc()
246 pTransform->srcSize, newLength, pErrorCode); in updateSrc()
257 doShape(UBiDiTransform *pTransform, uint32_t options, UErrorCode *pErrorCode) in doShape() argument
259 *pTransform->pDestLength = u_shapeArabic(pTransform->src, in doShape()
260 pTransform->srcLength, pTransform->dest, pTransform->destSize, in doShape()
274 action_shapeArabic(UBiDiTransform *pTransform, UErrorCode *pErrorCode) in action_shapeArabic() argument
276 if ((pTransform->letters | pTransform->digits) == 0) { in action_shapeArabic()
279 if (pTransform->pActiveScheme->lettersDir == pTransform->pActiveScheme->digitsDir) { in action_shapeArabic()
280 …doShape(pTransform, pTransform->letters | pTransform->digits | pTransform->pActiveScheme->lettersD… in action_shapeArabic()
283 doShape(pTransform, pTransform->digits | pTransform->pActiveScheme->digitsDir, pErrorCode); in action_shapeArabic()
285 updateSrc(pTransform, pTransform->dest, *pTransform->pDestLength, in action_shapeArabic()
286 *pTransform->pDestLength, pErrorCode); in action_shapeArabic()
287 doShape(pTransform, pTransform->letters | pTransform->pActiveScheme->lettersDir, in action_shapeArabic()
304 action_mirror(UBiDiTransform *pTransform, UErrorCode *pErrorCode) in action_mirror() argument
308 if (0 == (pTransform->reorderingOptions & UBIDI_DO_MIRRORING)) { in action_mirror()
311 if (pTransform->destSize < pTransform->srcLength) { in action_mirror()
316 UBool isOdd = ubidi_getLevelAt(pTransform->pBidi, i) & 1; in action_mirror()
317 U16_NEXT(pTransform->src, i, pTransform->srcLength, c); in action_mirror()
318 U16_APPEND_UNSAFE(pTransform->dest, j, isOdd ? u_charMirror(c) : c); in action_mirror()
319 } while (i < pTransform->srcLength); in action_mirror()
321 *pTransform->pDestLength = pTransform->srcLength; in action_mirror()
322 pTransform->reorderingOptions = UBIDI_REORDER_DEFAULT; in action_mirror()