Home | History | Annotate | Download | only in common

Lines Matching refs:pErrorCode

127               UErrorCode *pErrorCode) {
131 RETURN_VOID_IF_NULL_OR_FAILING_ERRCODE(pErrorCode);
132 RETURN_VOID_IF_NOT_VALID_PARA(pParaBiDi, *pErrorCode);
133 RETURN_VOID_IF_BAD_RANGE(start, 0, limit, *pErrorCode);
134 RETURN_VOID_IF_BAD_RANGE(limit, 0, pParaBiDi->length+1, *pErrorCode);
136 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR;
139 if(ubidi_getParagraph(pParaBiDi, start, NULL, NULL, NULL, pErrorCode) !=
140 ubidi_getParagraph(pParaBiDi, limit-1, NULL, NULL, NULL, pErrorCode)) {
142 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR;
261 ubidi_getLevels(UBiDi *pBiDi, UErrorCode *pErrorCode) {
264 RETURN_IF_NULL_OR_FAILING_ERRCODE(pErrorCode, NULL);
265 RETURN_IF_NOT_VALID_PARA_OR_LINE(pBiDi, *pErrorCode, NULL);
267 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR;
297 *pErrorCode=U_MEMORY_ALLOCATION_ERROR;
350 ubidi_countRuns(UBiDi *pBiDi, UErrorCode *pErrorCode) {
351 RETURN_IF_NULL_OR_FAILING_ERRCODE(pErrorCode, -1);
352 RETURN_IF_NOT_VALID_PARA_OR_LINE(pBiDi, *pErrorCode, -1);
353 ubidi_getRuns(pBiDi, pErrorCode);
354 if(U_FAILURE(*pErrorCode)) {
518 static int32_t getRunFromLogicalIndex(UBiDi *pBiDi, int32_t logicalIndex, UErrorCode *pErrorCode) {
532 *pErrorCode = U_INVALID_STATE_ERROR;
548 ubidi_getRuns(UBiDi *pBiDi, UErrorCode *pErrorCode) {
689 runIndex=getRunFromLogicalIndex(pBiDi, point->pos, pErrorCode);
700 runIndex=getRunFromLogicalIndex(pBiDi, (int32_t)(pu-start), pErrorCode);
875 ubidi_getVisualIndex(UBiDi *pBiDi, int32_t logicalIndex, UErrorCode *pErrorCode) {
877 RETURN_IF_NULL_OR_FAILING_ERRCODE(pErrorCode, -1);
878 RETURN_IF_NOT_VALID_PARA_OR_LINE(pBiDi, *pErrorCode, -1);
879 RETURN_IF_BAD_RANGE(logicalIndex, 0, pBiDi->length, *pErrorCode, -1);
890 if(!ubidi_getRuns(pBiDi, pErrorCode)) {
891 *pErrorCode=U_MEMORY_ALLOCATION_ERROR;
985 ubidi_getLogicalIndex(UBiDi *pBiDi, int32_t visualIndex, UErrorCode *pErrorCode) {
988 RETURN_IF_NULL_OR_FAILING_ERRCODE(pErrorCode, -1);
989 RETURN_IF_NOT_VALID_PARA_OR_LINE(pBiDi, *pErrorCode, -1);
990 RETURN_IF_BAD_RANGE(visualIndex, 0, pBiDi->resultLength, *pErrorCode, -1);
1000 if(!ubidi_getRuns(pBiDi, pErrorCode)) {
1001 *pErrorCode=U_MEMORY_ALLOCATION_ERROR;
1110 ubidi_getLogicalMap(UBiDi *pBiDi, int32_t *indexMap, UErrorCode *pErrorCode) {
1111 RETURN_VOID_IF_NULL_OR_FAILING_ERRCODE(pErrorCode);
1113 ubidi_countRuns(pBiDi, pErrorCode);
1114 if(U_FAILURE(*pErrorCode)) {
1117 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR;
1211 ubidi_getVisualMap(UBiDi *pBiDi, int32_t *indexMap, UErrorCode *pErrorCode) {
1212 RETURN_VOID_IF_NULL_OR_FAILING_ERRCODE(pErrorCode);
1214 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR;
1218 ubidi_countRuns(pBiDi, pErrorCode);
1219 if(U_SUCCESS(*pErrorCode)) {