Lines Matching refs:destLen
79 int32_t destLen = 0; in testAPI() local
95 destLen = func(src,-1,NULL,0,options, &parseError , &status); in testAPI()
98 if(destLen+1 < MAX_DEST_SIZE){ in testAPI()
100 destLen = func(src,-1,dest,destLen+1,options, &parseError, &status); in testAPI()
102 …IDNA_STD3_ASCII_RULES_ERROR&& (doCompare==TRUE) && u_strCaseCompare(dest,destLen, expected,expecte… in testAPI()
117 destLen = func(src,-1,NULL,0,options | UIDNA_ALLOW_UNASSIGNED, &parseError, &status); in testAPI()
120 if(destLen+1 < MAX_DEST_SIZE){ in testAPI()
122 … destLen = func(src,-1,dest,destLen+1,options | UIDNA_ALLOW_UNASSIGNED, &parseError, &status); in testAPI()
124 …if(U_SUCCESS(status) && (doCompare==TRUE) && u_strCaseCompare(dest,destLen, expected,expectedLen,0… in testAPI()
141 destLen = func(tSrc, tSrcLen, NULL,0,options, &parseError, &status); in testAPI()
144 if(destLen+1 < MAX_DEST_SIZE){ in testAPI()
146 destLen = func(src,u_strlen(src),dest,destLen+1,options, &parseError, &status); in testAPI()
148 …if(U_SUCCESS(status) && (doCompare==TRUE) && u_strCaseCompare(dest,destLen, expected,expectedLen,0… in testAPI()
162 destLen = func(tSrc,tSrcLen,NULL,0,options | UIDNA_ALLOW_UNASSIGNED, &parseError, &status); in testAPI()
166 if(destLen+1 < MAX_DEST_SIZE){ in testAPI()
168 …destLen = func(src,u_strlen(src),dest,destLen+1,options | UIDNA_ALLOW_UNASSIGNED, &parseError, &st… in testAPI()
170 …if(U_SUCCESS(status) && (doCompare==TRUE) && u_strCaseCompare(dest,destLen, expected,expectedLen,0… in testAPI()
184 destLen = func(src,-1,NULL,0,options | UIDNA_USE_STD3_RULES, &parseError, &status); in testAPI()
187 if(destLen+1 < MAX_DEST_SIZE){ in testAPI()
189 … destLen = func(src,-1,dest,destLen+1,options | UIDNA_USE_STD3_RULES, &parseError, &status); in testAPI()
191 …if(U_SUCCESS(status) && (doCompare==TRUE) && u_strCaseCompare(dest,destLen, expected,expectedLen,0… in testAPI()
206 destLen = func(tSrc,tSrcLen,NULL,0,options | UIDNA_USE_STD3_RULES, &parseError, &status); in testAPI()
210 if(destLen+1 < MAX_DEST_SIZE){ in testAPI()
212 …destLen = func(src,u_strlen(src),dest,destLen+1,options | UIDNA_USE_STD3_RULES, &parseError, &stat… in testAPI()
214 …if(U_SUCCESS(status) && (doCompare==TRUE) && u_strCaseCompare(dest,destLen, expected,expectedLen,0… in testAPI()
687 int32_t destLen = 40; in TestJB4475() local
691 destLen = uidna_toASCII(src, srcLen, dest, destLen,UIDNA_DEFAULT, &ps, &status); in TestJB4475()
727 int32_t destLen = UPRV_LENGTHOF(dest); in TestLength() local
732 destLen = uidna_toUnicode(ul, len, dest, destLen, UIDNA_DEFAULT, &ps, &status); in TestLength()
738 destLen = UPRV_LENGTHOF(dest); in TestLength()
740 destLen = uidna_toUnicode(ul, len, dest, destLen, UIDNA_DEFAULT, &ps, &status); in TestLength()
745 destLen = UPRV_LENGTHOF(dest); in TestLength()
747 destLen = uidna_toASCII(ul, len, dest, destLen, UIDNA_DEFAULT, &ps, &status); in TestLength()
753 destLen = UPRV_LENGTHOF(dest); in TestLength()
755 destLen = uidna_toASCII(ul, len, dest, destLen, UIDNA_DEFAULT, &ps, &status); in TestLength()
761 destLen = UPRV_LENGTHOF(dest); in TestLength()
762 destLen = uidna_toASCII(ul1, len1, dest, destLen, UIDNA_DEFAULT, &ps, &status); in TestLength()
768 destLen = UPRV_LENGTHOF(dest); in TestLength()
770 destLen = uidna_toASCII(ul1, len1, dest, destLen, UIDNA_DEFAULT, &ps, &status); in TestLength()
779 int32_t destLen = UPRV_LENGTHOF(dest); in TestLength() local
785 destLen = uidna_IDNToUnicode(ul, len, dest, destLen, UIDNA_DEFAULT, &ps, &status); in TestLength()
791 destLen = UPRV_LENGTHOF(dest); in TestLength()
793 destLen = uidna_IDNToUnicode(ul, len, dest, destLen, UIDNA_DEFAULT, &ps, &status); in TestLength()
799 destLen = UPRV_LENGTHOF(dest); in TestLength()
801 destLen = uidna_IDNToASCII(ul, len, dest, destLen, UIDNA_DEFAULT, &ps, &status); in TestLength()
807 destLen = UPRV_LENGTHOF(dest); in TestLength()
809 destLen = uidna_IDNToASCII(ul, len, dest, destLen, UIDNA_DEFAULT, &ps, &status); in TestLength()