Home | History | Annotate | Download | only in cintltst

Lines Matching refs:errorCode

868     UErrorCode errorCode;
871 errorCode=U_ZERO_ERROR;
873 destPointer=u_strFromUTF8(NULL, 0, &destLength, (const char *)bytes, 3, &errorCode);
874 if(errorCode!=U_BUFFER_OVERFLOW_ERROR || destPointer!=NULL || destLength!=1) {
876 (long)destLength, u_errorName(errorCode));
880 errorCode=U_ZERO_ERROR;
882 destPointer=u_strFromUTF8(NULL, 0, &destLength, (const char *)bytes, 4, &errorCode);
883 if(errorCode!=U_BUFFER_OVERFLOW_ERROR || destPointer!=NULL || destLength!=2) {
885 (long)destLength, u_errorName(errorCode));
889 errorCode=U_ZERO_ERROR;
891 destPointer=u_strFromUTF8(NULL, 0, &destLength, (const char *)bytes, -1, &errorCode);
892 if(errorCode!=U_BUFFER_OVERFLOW_ERROR || destPointer!=NULL || destLength!=1) {
894 (long)destLength, u_errorName(errorCode));
898 errorCode=U_ZERO_ERROR;
901 destPointer=u_strFromUTF8(dest, LENGTHOF(dest), &destLength, (const char *)bytes, 3, &errorCode);
902 if(U_FAILURE(errorCode) || destPointer!=dest || destLength!=1 || dest[0]!=0x95c || dest[1]!=0) {
904 (long)destLength, u_errorName(errorCode));
969 UErrorCode errorCode;
974 errorCode=U_ZERO_ERROR;
975 pDest=u_strFromUTF8Lenient(dest, 1, &destLength, NULL, -1, &errorCode);
976 if(errorCode!=U_ILLEGAL_ARGUMENT_ERROR || dest[0]!=0x1234) {
982 errorCode=U_ZERO_ERROR;
983 pDest=u_strFromUTF8Lenient(NULL, 1, &destLength, (const char *)bytes, -1, &errorCode);
984 if(errorCode!=U_ILLEGAL_ARGUMENT_ERROR) {
990 errorCode=U_MEMORY_ALLOCATION_ERROR;
991 pDest=u_strFromUTF8Lenient(dest, 1, &destLength, (const char *)bytes, -1, &errorCode);
992 if(errorCode!=U_MEMORY_ALLOCATION_ERROR || dest[0]!=0x1234) {
998 errorCode=U_MEMORY_ALLOCATION_ERROR;
1017 errorCode=U_ZERO_ERROR;
1018 pDest=u_strFromUTF8Lenient(NULL, 0, &destLength, pb, -1, &errorCode);
1019 if (errorCode!= (destLength0==0 ? U_STRING_NOT_TERMINATED_WARNING : U_BUFFER_OVERFLOW_ERROR) ||
1029 errorCode=U_ZERO_ERROR;
1030 pDest=u_strFromUTF8Lenient(dest, destLength0-1, &destLength, pb, -1, &errorCode);
1031 if (errorCode!=U_BUFFER_OVERFLOW_ERROR ||
1041 errorCode=U_ZERO_ERROR;
1042 pDest=u_strFromUTF8Lenient(dest, LENGTHOF(dest), &destLength, pb, -1, &errorCode);
1043 if (errorCode!=U_ZERO_ERROR ||
1053 errorCode=U_ZERO_ERROR;
1054 pDest=u_strFromUTF8Lenient(dest, destLength0, &destLength, pb, -1, &errorCode);
1055 if (errorCode!=U_STRING_NOT_TERMINATED_WARNING ||
1065 errorCode=U_ZERO_ERROR;
1066 pDest=u_strFromUTF8Lenient(NULL, 0, &destLength, pb, srcLength, &errorCode);
1067 if (errorCode!= (destLength0==0 ? U_STRING_NOT_TERMINATED_WARNING : U_BUFFER_OVERFLOW_ERROR) ||
1077 errorCode=U_ZERO_ERROR;
1078 pDest=u_strFromUTF8Lenient(dest, srcLength-1, &destLength, pb, srcLength, &errorCode);
1079 if (errorCode!=U_BUFFER_OVERFLOW_ERROR ||
1089 errorCode=U_ZERO_ERROR;
1090 pDest=u_strFromUTF8Lenient(dest, LENGTHOF(dest), &destLength, pb, srcLength, &errorCode);
1091 if (errorCode!=U_ZERO_ERROR ||
1101 errorCode=U_ZERO_ERROR;
1102 pDest=u_strFromUTF8Lenient(dest, srcLength, &destLength, pb, srcLength, &errorCode);
1104 if (errorCode!=U_STRING_NOT_TERMINATED_WARNING ||
1111 if (errorCode!=U_ZERO_ERROR ||