Lines Matching refs:pErrorCode
208 isDataLoaded(UErrorCode *pErrorCode) {
209 umtx_initOnce(gCharNamesInitOnce, &loadCharNames, *pErrorCode);
210 return U_SUCCESS(*pErrorCode);
1412 calcNameSetsLengths(UErrorCode *pErrorCode) {
1420 if(!isDataLoaded(pErrorCode)) {
1450 UErrorCode *pErrorCode) {
1457 if(pErrorCode==NULL || U_FAILURE(*pErrorCode)) {
1462 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR;
1466 if((uint32_t)code>UCHAR_MAX_VALUE || !isDataLoaded(pErrorCode)) {
1467 return u_terminateChars(buffer, bufferLength, 0, pErrorCode);
1498 return u_terminateChars(buffer, bufferLength, length, pErrorCode);
1504 UErrorCode *pErrorCode) {
1506 if(pErrorCode==NULL || U_FAILURE(*pErrorCode)) {
1509 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR;
1513 return u_terminateChars(dest, destCapacity, 0, pErrorCode);
1519 UErrorCode *pErrorCode) {
1529 if(pErrorCode==NULL || U_FAILURE(*pErrorCode)) {
1534 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR;
1538 if(!isDataLoaded(pErrorCode)) {
1554 *pErrorCode = U_ILLEGAL_CHAR_FOUND;
1577 *pErrorCode = U_ILLEGAL_CHAR_FOUND;
1599 *pErrorCode = U_ILLEGAL_CHAR_FOUND;
1620 *pErrorCode = U_ILLEGAL_CHAR_FOUND;
1630 UErrorCode *pErrorCode) {
1635 if(pErrorCode==NULL || U_FAILURE(*pErrorCode)) {
1640 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR;
1651 if(!isDataLoaded(pErrorCode)) {
1767 UErrorCode *pErrorCode) {
1772 if(U_FAILURE(*pErrorCode)) {
1794 ds->swapInvChars(ds, &c1, 1, &c2, pErrorCode);
1795 if(U_FAILURE(*pErrorCode)) {
1829 UErrorCode *pErrorCode) {
1843 headerSize=udata_swapDataHeader(ds, inData, length, outData, pErrorCode);
1844 if(pErrorCode==NULL || U_FAILURE(*pErrorCode)) {
1861 *pErrorCode=U_UNSUPPORTED_ERROR;
1876 *pErrorCode=U_INDEX_OUTOFBOUNDS_ERROR;
1910 ds->swapArray32(ds, inBytes, 16, outBytes, pErrorCode);
1921 ds->swapArray16(ds, p, 2, q, pErrorCode);
1937 makeTokenMap(ds, tokens, tokenCount, map, pErrorCode);
1938 makeTokenMap(ds, tokens+256, (uint16_t)(tokenCount>256 ? tokenCount-256 : 0), trailMap, pErrorCode);
1939 if(U_FAILURE(*pErrorCode)) {
1951 *pErrorCode=U_MEMORY_ALLOCATION_ERROR;
1957 ds->swapArray16(ds, p+i, 2, temp+map[i], pErrorCode);
1962 ds->swapArray16(ds, p+i, 2, temp+(i&0xffffff00)+trailMap[i&0xff], pErrorCode);
1974 outBytes+tokenStringOffset, pErrorCode);
1975 if(U_FAILURE(*pErrorCode)) {
1983 outBytes+groupsOffset, pErrorCode);
2032 ds->swapArray32(ds, inBytes+offset, 4, outBytes+offset, pErrorCode);
2039 *pErrorCode=U_INDEX_OUTOFBOUNDS_ERROR;
2047 ds->swapArray32(ds, inRange, 8, outRange, pErrorCode);
2048 ds->swapArray16(ds, &inRange->size, 2, &outRange->size, pErrorCode);
2053 outRange+1, pErrorCode);
2054 if(U_FAILURE(*pErrorCode)) {
2068 pErrorCode);
2077 ds->swapInvChars(ds, p, (int32_t)stringsCount, q, pErrorCode);
2083 *pErrorCode=U_UNSUPPORTED_ERROR;