Lines Matching refs:pErrorCode
93 ubiditransform_open(UErrorCode *pErrorCode) in ubiditransform_open() argument
96 if (U_SUCCESS(*pErrorCode)) { in ubiditransform_open()
99 *pErrorCode = U_MEMORY_ALLOCATION_ERROR; in ubiditransform_open()
129 action_resolve(UBiDiTransform *pTransform, UErrorCode *pErrorCode) in action_resolve() argument
132 pTransform->pActiveScheme->baseLevel, NULL, pErrorCode); in action_resolve()
146 action_reorder(UBiDiTransform *pTransform, UErrorCode *pErrorCode) in action_reorder() argument
149 static_cast<uint16_t>(pTransform->reorderingOptions), pErrorCode); in action_reorder()
166 action_setInverse(UBiDiTransform *pTransform, UErrorCode *pErrorCode) in action_setInverse() argument
168 (void)pErrorCode; in action_setInverse()
185 action_setRunsOnly(UBiDiTransform *pTransform, UErrorCode *pErrorCode) in action_setRunsOnly() argument
187 (void)pErrorCode; in action_setRunsOnly()
202 action_reverse(UBiDiTransform *pTransform, UErrorCode *pErrorCode) in action_reverse() argument
206 UBIDI_REORDER_DEFAULT, pErrorCode); in action_reverse()
224 uint32_t newSize, UErrorCode *pErrorCode) in updateSrc() argument
227 *pErrorCode = U_BUFFER_OVERFLOW_ERROR; in updateSrc()
238 *pErrorCode = U_MEMORY_ALLOCATION_ERROR; in updateSrc()
246 pTransform->srcSize, newLength, pErrorCode); in updateSrc()
257 doShape(UBiDiTransform *pTransform, uint32_t options, UErrorCode *pErrorCode) in doShape() argument
261 options, pErrorCode); in doShape()
274 action_shapeArabic(UBiDiTransform *pTransform, UErrorCode *pErrorCode) in action_shapeArabic() argument
281 pErrorCode); in action_shapeArabic()
283 doShape(pTransform, pTransform->digits | pTransform->pActiveScheme->digitsDir, pErrorCode); in action_shapeArabic()
284 if (U_SUCCESS(*pErrorCode)) { in action_shapeArabic()
286 *pTransform->pDestLength, pErrorCode); in action_shapeArabic()
288 pErrorCode); in action_shapeArabic()
304 action_mirror(UBiDiTransform *pTransform, UErrorCode *pErrorCode) in action_mirror() argument
312 *pErrorCode = U_BUFFER_OVERFLOW_ERROR; in action_mirror()
444 UErrorCode *pErrorCode) in ubiditransform_transform() argument
451 if (U_FAILURE(*pErrorCode)) { in ubiditransform_transform()
455 *pErrorCode = U_ILLEGAL_ARGUMENT_ERROR; in ubiditransform_transform()
458 CHECK_LEN(src, srcLength, pErrorCode); in ubiditransform_transform()
459 CHECK_LEN(dest, destSize, pErrorCode); in ubiditransform_transform()
462 pBiDiTransform = ubiditransform_open(pErrorCode); in ubiditransform_transform()
463 if (U_FAILURE(*pErrorCode)) { in ubiditransform_transform()
485 …updateSrc(pBiDiTransform, src, srcLength, destSize > srcLength ? destSize : srcLength, pErrorCode); in ubiditransform_transform()
486 if (U_FAILURE(*pErrorCode)) { in ubiditransform_transform()
490 pBiDiTransform->pBidi = ubidi_openSized(0, 0, pErrorCode); in ubiditransform_transform()
491 if (U_FAILURE(*pErrorCode)) { in ubiditransform_transform()
500 …for (action = pBiDiTransform->pActiveScheme->actions; *action && U_SUCCESS(*pErrorCode); action++)… in ubiditransform_transform()
501 if ((*action)(pBiDiTransform, pErrorCode)) { in ubiditransform_transform()
504 *pBiDiTransform->pDestLength, pErrorCode); in ubiditransform_transform()
511 if (!textChanged && U_SUCCESS(*pErrorCode)) { in ubiditransform_transform()
514 *pErrorCode = U_BUFFER_OVERFLOW_ERROR; in ubiditransform_transform()
529 return U_FAILURE(*pErrorCode) ? 0 : destLength; in ubiditransform_transform()