Lines Matching defs:options
415 void TestIDNA::debug(const UChar* src, int32_t srcLength, int32_t options){
420 int32_t prepOptions = (((options & UIDNA_ALLOW_UNASSIGNED) != 0) ? USPREP_ALLOW_UNASSIGNED: 0);
459 int32_t options = (useSTD3ASCIIRules == TRUE) ? UIDNA_USE_STD3_RULES : UIDNA_DEFAULT;
471 destLen = func(src,-1,NULL,0,options, &parseError , &status);
476 destLen = func(src,-1,dest,destLen+1,options, &parseError, &status);
501 destLen = func(src,-1,NULL,0,options | UIDNA_ALLOW_UNASSIGNED, &parseError, &status);
506 destLen = func(src,-1,dest,destLen+1,options | UIDNA_ALLOW_UNASSIGNED, &parseError, &status);
509 //errln("Did not get the expected result for %s null terminated source with both options set.\n",testName);
512 " with both options set. Expected: "+ prettify(UnicodeString(expected,expectedLen))+
515 debug(src,-1,options | UIDNA_ALLOW_UNASSIGNED);
526 " null terminated source with options set. Expected: " +UnicodeString(u_errorName(expectedStatus))
536 destLen = func(tSrc, tSrcLen, NULL,0,options, &parseError, &status);
541 destLen = func(src,u_strlen(src),dest,destLen+1,options, &parseError, &status);
562 destLen = func(tSrc,tSrcLen,NULL,0,options | UIDNA_ALLOW_UNASSIGNED, &parseError, &status);
568 destLen = func(src,u_strlen(src),dest,destLen+1,options | UIDNA_ALLOW_UNASSIGNED, &parseError, &status);
571 errln("Did not get the expected result for %s with source length and both options set.\n",testName);
581 " with source length and options set. Expected: " +UnicodeString(u_errorName(expectedStatus))
590 destLen = func(src,-1,NULL,0,options | UIDNA_USE_STD3_RULES, &parseError, &status);
595 destLen = func(src,-1,dest,destLen+1,options | UIDNA_USE_STD3_RULES, &parseError, &status);
598 //errln("Did not get the expected result for %s null terminated source with both options set.\n",testName);
599 errln("Did not get the expected result for "+UnicodeString(testName) +" null terminated source with both options set. Expected: "+ prettify(UnicodeString(expected,expectedLen)));
610 " null terminated source with options set. Expected: " +UnicodeString(u_errorName(expectedStatus))
618 destLen = func(tSrc,tSrcLen,NULL,0,options | UIDNA_USE_STD3_RULES, &parseError, &status);
624 destLen = func(src,u_strlen(src),dest,destLen+1,options | UIDNA_USE_STD3_RULES, &parseError, &status);
627 errln("Did not get the expected result for %s with source length and both options set.\n",testName);
637 " with source length and options set. Expected: " +UnicodeString(u_errorName(expectedStatus))
665 errln("Did not get the expected result for %s with null termniated strings with options set.\n", testName);
668 errcheckln(status, "%s null terminated source and options set failed. Error: %s",testName, u_errorName(status));
685 errln("Did not get the expected result for %s with string length and options set.\n",testName);
688 errcheckln(status, "%s with string length and options set. Error: %s", u_errorName(status), testName);
1001 int32_t options = (useSTD3ASCIIRules == TRUE) ? UIDNA_USE_STD3_RULES : UIDNA_DEFAULT;
1005 expectedLen = func(src,-1,expected,MAX_DEST_SIZE, options, &parseError, &status);
1013 evenLen = func(odd,-1,even,MAX_DEST_SIZE,options, &parseError, &status);
1019 oddLen = func(even,-1,odd,MAX_DEST_SIZE,options, &parseError, &status);
1042 expectedLen = func(src,-1,expected,MAX_DEST_SIZE,options|UIDNA_ALLOW_UNASSIGNED, &parseError, &status);
1044 errcheckln(status, "%s null terminated source with options set failed. Error: %s",testName, u_errorName(status));
1050 evenLen = func(odd,-1,even,MAX_DEST_SIZE,options|UIDNA_ALLOW_UNASSIGNED, &parseError, &status);
1052 errcheckln(status, "%s null terminated source with options set failed - %s",testName, u_errorName(status));
1056 oddLen = func(even,-1,odd,MAX_DEST_SIZE,options|UIDNA_ALLOW_UNASSIGNED, &parseError, &status);
1058 errln("%s null terminated source with options set failed\n",testName);
1067 errln("Chaining for %s null terminated source with options set failed\n",testName);
1073 errln("Chaining for %s null terminated source with options set failed\n",testName);
1080 expectedLen = func(src,srcLen,expected,MAX_DEST_SIZE,options, &parseError, &status);
1088 evenLen = func(odd,oddLen,even,MAX_DEST_SIZE,options, &parseError, &status);
1094 oddLen = func(even,evenLen,odd,MAX_DEST_SIZE,options, &parseError, &status);
1115 expectedLen = func(src,srcLen,expected,MAX_DEST_SIZE,options|UIDNA_ALLOW_UNASSIGNED, &parseError, &status);
1117 errcheckln(status, "%s null terminated source with options set failed. Error: %s",testName, u_errorName(status));
1123 evenLen = func(odd,oddLen,even,MAX_DEST_SIZE,options|UIDNA_ALLOW_UNASSIGNED, &parseError, &status);
1125 errcheckln(status, "%s source with source length and options set failed - %s",testName, u_errorName(status));
1129 oddLen = func(even,evenLen,odd,MAX_DEST_SIZE,options|UIDNA_ALLOW_UNASSIGNED, &parseError, &status);
1131 errcheckln(status, "%s source with source length and options set failed - %s",testName, u_errorName(status));
1140 errln("Chaining for %s source with source length and options set failed\n",testName);
1146 errln("Chaining for %s source with source length and options set failed\n",testName);
1366 int32_t options){
1379 options, &parseError, &expStatus);
1386 options, &parseError, &gotStatus);
1394 + " Options: " + options);
1407 + " Options: " + options);