Lines Matching refs:pErrorCode
132 ubidi_openSized(int32_t maxLength, int32_t maxRunCount, UErrorCode *pErrorCode) {
136 if(pErrorCode==NULL || U_FAILURE(*pErrorCode)) {
139 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR;
146 *pErrorCode=U_MEMORY_ALLOCATION_ERROR;
161 *pErrorCode=U_MEMORY_ALLOCATION_ERROR;
172 *pErrorCode=U_MEMORY_ALLOCATION_ERROR;
178 if(U_SUCCESS(*pErrorCode)) {
1068 resolveExplicitLevels(UBiDi *pBiDi, UErrorCode *pErrorCode) {
1080 if(U_FAILURE(*pErrorCode)) { return UBIDI_LTR; }
1133 *pErrorCode=U_MEMORY_ALLOCATION_ERROR;
1342 checkExplicitLevels(UBiDi *pBiDi, UErrorCode *pErrorCode) {
1377 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR;
2307 UErrorCode *pErrorCode) {
2309 RETURN_VOID_IF_NULL_OR_FAILING_ERRCODE(pErrorCode);
2312 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR;
2342 UBiDiLevel paraLevel, UErrorCode *pErrorCode) {
2360 ubidi_setPara(pBiDi, text, length, paraLevel, NULL, pErrorCode);
2366 *pErrorCode=U_MEMORY_ALLOCATION_ERROR;
2378 ubidi_setPara(pBiDi, text, length, paraLevel, NULL, pErrorCode);
2379 if(U_FAILURE(*pErrorCode)) {
2385 levels=ubidi_getLevels(pBiDi, pErrorCode);
2398 UBIDI_DO_MIRRORING, pErrorCode);
2399 ubidi_getVisualMap(pBiDi, visualMap, pErrorCode);
2400 if(U_FAILURE(*pErrorCode)) {
2416 ubidi_setPara(pBiDi, visualText, visualLength, paraLevel, NULL, pErrorCode);
2418 ubidi_getRuns(pBiDi, pErrorCode);
2419 if(U_FAILURE(*pErrorCode)) {
2532 UErrorCode *pErrorCode) {
2537 RETURN_VOID_IF_NULL_OR_FAILING_ERRCODE(pErrorCode);
2540 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR;
2550 setParaRunsOnly(pBiDi, text, length, paraLevel, pErrorCode);
2606 *pErrorCode=U_MEMORY_ALLOCATION_ERROR;
2610 *pErrorCode=U_MEMORY_ALLOCATION_ERROR;
2623 direction=resolveExplicitLevels(pBiDi, pErrorCode);
2624 if(U_FAILURE(*pErrorCode)) {
2628 *pErrorCode=U_MEMORY_ALLOCATION_ERROR;
2634 direction=checkExplicitLevels(pBiDi, pErrorCode);
2635 if(U_FAILURE(*pErrorCode)) {
2650 *pErrorCode=U_MEMORY_ALLOCATION_ERROR;
2785 *pErrorCode=pBiDi->insertPoints.errorCode;
2918 UBiDiLevel *pParaLevel, UErrorCode *pErrorCode) {
2922 RETURN_VOID_IF_NULL_OR_FAILING_ERRCODE(pErrorCode);
2923 RETURN_VOID_IF_NOT_VALID_PARA_OR_LINE(pBiDi, *pErrorCode);
2924 RETURN_VOID_IF_BAD_RANGE(paraIndex, 0, pBiDi->paraCount, *pErrorCode);
2946 UBiDiLevel *pParaLevel, UErrorCode *pErrorCode) {
2950 /* pErrorCode will be checked by the call to ubidi_getParagraphByIndex */
2951 RETURN_IF_NULL_OR_FAILING_ERRCODE(pErrorCode, -1);
2952 RETURN_IF_NOT_VALID_PARA_OR_LINE(pBiDi, *pErrorCode, -1);
2954 RETURN_IF_BAD_RANGE(charIndex, 0, pBiDi->length, *pErrorCode, -1);
2957 ubidi_getParagraphByIndex(pBiDi, paraIndex, pParaStart, pParaLimit, pParaLevel, pErrorCode);
2964 const void **oldContext, UErrorCode *pErrorCode)
2966 RETURN_VOID_IF_NULL_OR_FAILING_ERRCODE(pErrorCode);
2968 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR;