Home | History | Annotate | Download | only in common

Lines Matching refs:pErrorCode

1305 uidna_openUTS46(uint32_t options, UErrorCode *pErrorCode) {
1306 return reinterpret_cast<UIDNA *>(IDNA::createUTS46Instance(options, *pErrorCode));
1317 UIDNAInfo *pInfo, UErrorCode *pErrorCode) {
1318 if(U_FAILURE(*pErrorCode)) {
1323 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR;
1330 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR;
1348 UIDNAInfo *pInfo, UErrorCode *pErrorCode) {
1349 if(!checkArgs(label, length, dest, capacity, pInfo, pErrorCode)) {
1355 reinterpret_cast<const IDNA *>(idna)->labelToASCII(src, destString, info, *pErrorCode);
1357 return destString.extract(dest, capacity, *pErrorCode);
1364 UIDNAInfo *pInfo, UErrorCode *pErrorCode) {
1365 if(!checkArgs(label, length, dest, capacity, pInfo, pErrorCode)) {
1371 reinterpret_cast<const IDNA *>(idna)->labelToUnicode(src, destString, info, *pErrorCode);
1373 return destString.extract(dest, capacity, *pErrorCode);
1380 UIDNAInfo *pInfo, UErrorCode *pErrorCode) {
1381 if(!checkArgs(name, length, dest, capacity, pInfo, pErrorCode)) {
1387 reinterpret_cast<const IDNA *>(idna)->nameToASCII(src, destString, info, *pErrorCode);
1389 return destString.extract(dest, capacity, *pErrorCode);
1396 UIDNAInfo *pInfo, UErrorCode *pErrorCode) {
1397 if(!checkArgs(name, length, dest, capacity, pInfo, pErrorCode)) {
1403 reinterpret_cast<const IDNA *>(idna)->nameToUnicode(src, destString, info, *pErrorCode);
1405 return destString.extract(dest, capacity, *pErrorCode);
1412 UIDNAInfo *pInfo, UErrorCode *pErrorCode) {
1413 if(!checkArgs(label, length, dest, capacity, pInfo, pErrorCode)) {
1419 reinterpret_cast<const IDNA *>(idna)->labelToASCII_UTF8(src, sink, info, *pErrorCode);
1421 return u_terminateChars(dest, capacity, sink.NumberOfBytesAppended(), pErrorCode);
1428 UIDNAInfo *pInfo, UErrorCode *pErrorCode) {
1429 if(!checkArgs(label, length, dest, capacity, pInfo, pErrorCode)) {
1435 reinterpret_cast<const IDNA *>(idna)->labelToUnicodeUTF8(src, sink, info, *pErrorCode);
1437 return u_terminateChars(dest, capacity, sink.NumberOfBytesAppended(), pErrorCode);
1444 UIDNAInfo *pInfo, UErrorCode *pErrorCode) {
1445 if(!checkArgs(name, length, dest, capacity, pInfo, pErrorCode)) {
1451 reinterpret_cast<const IDNA *>(idna)->nameToASCII_UTF8(src, sink, info, *pErrorCode);
1453 return u_terminateChars(dest, capacity, sink.NumberOfBytesAppended(), pErrorCode);
1460 UIDNAInfo *pInfo, UErrorCode *pErrorCode) {
1461 if(!checkArgs(name, length, dest, capacity, pInfo, pErrorCode)) {
1467 reinterpret_cast<const IDNA *>(idna)->nameToUnicodeUTF8(src, sink, info, *pErrorCode);
1469 return u_terminateChars(dest, capacity, sink.NumberOfBytesAppended(), pErrorCode);