• Home
  • Raw
  • Download

Lines Matching refs:targ

1017     char *targ;  in convertFromU()  local
1037 targ=buffer; in convertFromU()
1038 targetLimit=targ+MAX_LENGTH; in convertFromU()
1041 (char **)&targ, in convertFromU()
1055 sourceLen, targ-buffer); in convertFromU()
1057 if(expectLen != targ-buffer) in convertFromU()
1059 … log_err("Expected %d chars out, got %d FROM Unicode to %s\n", expectLen, targ-buffer, codepage); in convertFromU()
1060 …log_verbose("Expected %d chars out, got %d FROM Unicode to %s\n", expectLen, targ-buffer, codepage… in convertFromU()
1061 printSeqErr((const unsigned char *)buffer, (int32_t)(targ-buffer)); in convertFromU()
1079 log_verbose("comparing %d offsets..\n", targ-buffer); in convertFromU()
1080 if(memcmp(offsetBuffer,expectOffsets,(targ-buffer) * sizeof(int32_t) )){ in convertFromU()
1083 printSeqErr((const unsigned char*)buffer, (int32_t)(targ-buffer)); in convertFromU()
1084 for(p=buffer;p<targ;p++) in convertFromU()
1087 for(i=0; i< (targ-buffer); i++) in convertFromU()
1107 UChar *targ; in convertToU() local
1130 targ=buffer; in convertToU()
1131 targetLimit=targ+MAX_LENGTH; in convertToU()
1137 &targ, in convertToU()
1151 sourceLen, targ-buffer); in convertToU()
1159 if(memcmp(offsetBuffer, expectOffsets, (targ-buffer) * sizeof(int32_t))){ in convertToU()
1163 for(p=buffer;p<targ;p++) in convertToU()
1166 for(i=0; i<(targ-buffer); i++) in convertToU()
1169 for(i=0; i<(targ-buffer); i++) in convertToU()
1203 char *targ; in testConvertFromU() local
1241 targ = junkout; in testConvertFromU()
1256 end = nct_min(targ + gOutBufferSize, realBufferEnd); in testConvertFromU()
1261 if(targ == realBufferEnd) in testConvertFromU()
1263 …overflowed the real buffer while about to call fromUnicode! targ=%08lx %s", targ, gNuConvTestName); in testConvertFromU()
1266 …RCE:%08lx to %08lx TARGET: %08lx to %08lx, flush=%s\n", src,sourceLimit, targ,end, doFlush?"TRUE"… in testConvertFromU()
1273 (char **)&targ, in testConvertFromU()
1293 sourceLen, targ-junkout); in testConvertFromU()
1302 for(ptr = junkout;ptr<targ;ptr++) in testConvertFromU()
1320 if(expectLen != targ-junkout) in testConvertFromU()
1322 log_err("Expected %d chars out, got %d %s\n", expectLen, targ-junkout, gNuConvTestName); in testConvertFromU()
1323 log_verbose("Expected %d chars out, got %d %s\n", expectLen, targ-junkout, gNuConvTestName); in testConvertFromU()
1325 printSeqErr((const unsigned char*)junkout, (int32_t)(targ-junkout)); in testConvertFromU()
1333 log_verbose("comparing %d offsets..\n", targ-junkout); in testConvertFromU()
1334 if(memcmp(junokout,expectOffsets,(targ-junkout) * sizeof(int32_t) )){ in testConvertFromU()
1337 printSeqErr((const unsigned char*)junkout, (int32_t)(targ-junkout)); in testConvertFromU()
1338 for(p=junkout;p<targ;p++) in testConvertFromU()
1341 for(i=0; i<(targ-junkout); i++) in testConvertFromU()
1376 UChar *targ; in testConvertToU() local
1415 targ = junkout; in testConvertToU()
1430 end = nct_min( targ + gOutBufferSize, realBufferEnd); in testConvertToU()
1433 if(targ == realBufferEnd) in testConvertToU()
1435 …rflow the real output buffer while about to call toUnicode! tarjey=%08lx %s",targ,gNuConvTestName); in testConvertToU()
1438 log_verbose("calling toUnicode @ %08lx to %08lx\n", targ,end); in testConvertToU()
1446 &targ, in testConvertToU()
1468 sourcelen, targ-junkout); in testConvertToU()
1479 for(ptr = junkout;ptr<targ;ptr++) in testConvertToU()
1500 if(memcmp(junokout,expectOffsets,(targ-junkout) * sizeof(int32_t))){ in testConvertToU()
1503 for(p=junkout;p<targ;p++) in testConvertToU()
1506 for(i=0; i<(targ-junkout); i++) in testConvertToU()
1509 for(i=0; i<(targ-junkout); i++) in testConvertToU()