Lines Matching refs:reqLen

1178     int32_t reqLen= 0 ;  in Test_UChar_WCHART_API()  local
1206 u_strToWCS(wDest,wDestLen,&reqLen,uSrc,uSrcLen-1,&err); in Test_UChar_WCHART_API()
1210 wDest =(wchar_t*) malloc(sizeof(wchar_t) * (reqLen+1)); in Test_UChar_WCHART_API()
1211 wDestLen = reqLen+1; in Test_UChar_WCHART_API()
1212 u_strToWCS(wDest,wDestLen,&reqLen,uSrc,uSrcLen-1,&err); in Test_UChar_WCHART_API()
1216 u_strFromWCS(uDest, uDestLen,&reqLen,wDest,reqLen,&err); in Test_UChar_WCHART_API()
1221 uDest = (UChar*) malloc(sizeof(UChar) * (reqLen+1)); in Test_UChar_WCHART_API()
1222 uDestLen = reqLen + 1; in Test_UChar_WCHART_API()
1223 u_strFromWCS(uDest, uDestLen,&reqLen,wDest,reqLen,&err); in Test_UChar_WCHART_API()
1255 u_strToWCS(wDest,wDestLen,&reqLen,uSrc,uSrcLen-1,&err); in Test_UChar_WCHART_API()
1259 wDest =(wchar_t*) malloc(sizeof(wchar_t) * (reqLen+1)); in Test_UChar_WCHART_API()
1260 wDestLen = reqLen+1; in Test_UChar_WCHART_API()
1261 u_strToWCS(wDest,wDestLen,&reqLen,uSrc,uSrcLen-1,&err); in Test_UChar_WCHART_API()
1265 u_strFromWCS(uDest, uDestLen,&reqLen,wDest,reqLen,&err); in Test_UChar_WCHART_API()
1269 uDest = (UChar*) malloc(sizeof(UChar) * (reqLen+1)); in Test_UChar_WCHART_API()
1270 uDestLen = reqLen + 1; in Test_UChar_WCHART_API()
1271 u_strFromWCS(uDest, uDestLen,&reqLen,wDest,reqLen,&err); in Test_UChar_WCHART_API()
1304 u_strToWCS(wDest,wDestLen,&reqLen,uSrc,-1,&err); in Test_UChar_WCHART_API()
1308 wDest =(wchar_t*) malloc(sizeof(wchar_t) * (reqLen+1)); in Test_UChar_WCHART_API()
1309 wDestLen = reqLen+1; in Test_UChar_WCHART_API()
1310 u_strToWCS(wDest,wDestLen,&reqLen,uSrc,-1,&err); in Test_UChar_WCHART_API()
1314 u_strFromWCS(uDest, uDestLen,&reqLen,wDest,-1,&err); in Test_UChar_WCHART_API()
1318 uDest = (UChar*) malloc(sizeof(UChar) * (reqLen+1)); in Test_UChar_WCHART_API()
1319 uDestLen = reqLen + 1; in Test_UChar_WCHART_API()
1320 u_strFromWCS(uDest, uDestLen,&reqLen,wDest,-1,&err); in Test_UChar_WCHART_API()
1441 int32_t wDestLen =0, reqLen=0, i=0; in Test_WCHART_LongString() local
1455 u_strToWCS(wDest,wDestLen,&reqLen,uSrc,-1,&status); in Test_WCHART_LongString()
1459 wDest =(wchar_t*) malloc(sizeof(wchar_t) * (reqLen+1)); in Test_WCHART_LongString()
1460 wDestLen = reqLen+1; in Test_WCHART_LongString()
1461 u_strToWCS(wDest,wDestLen,&reqLen,uSrc,-1,&status); in Test_WCHART_LongString()
1462 log_verbose("To %d*%d-byte wchar_ts\n", reqLen,sizeof(wchar_t)); in Test_WCHART_LongString()
1467 for(j=0;j>=0&&j<reqLen;j++) { in Test_WCHART_LongString()
1477 u_strFromWCS(uDest, uDestLen,&reqLen,wDest,-1,&status); in Test_WCHART_LongString()
1480 uDest = (UChar*) malloc(sizeof(UChar) * (reqLen+1)); in Test_WCHART_LongString()
1481 u_memset(uDest,0xFFFF,reqLen+1); in Test_WCHART_LongString()
1482 uDestLen = reqLen + 1; in Test_WCHART_LongString()
1483 u_strFromWCS(uDest, uDestLen,&reqLen,wDest,-1,&status); in Test_WCHART_LongString()
1484 log_verbose("Back to %d UChars\n", reqLen); in Test_WCHART_LongString()
1494 if(reqLen!=uSrcLen) { in Test_WCHART_LongString()
1495 log_err("Error: dest len is %d but expected src len %d\n", reqLen, uSrcLen); in Test_WCHART_LongString()