• Home
  • Raw
  • Download

Lines Matching refs:targ

1019     char *targ;  in convertFromU()  local
1039 targ=buffer; in convertFromU()
1040 targetLimit=targ+MAX_LENGTH; in convertFromU()
1043 (char **)&targ, in convertFromU()
1057 sourceLen, targ-buffer); in convertFromU()
1059 if(expectLen != targ-buffer) in convertFromU()
1061 … log_err("Expected %d chars out, got %d FROM Unicode to %s\n", expectLen, targ-buffer, codepage); in convertFromU()
1062 …log_verbose("Expected %d chars out, got %d FROM Unicode to %s\n", expectLen, targ-buffer, codepage… in convertFromU()
1063 printSeqErr((const unsigned char *)buffer, (int32_t)(targ-buffer)); in convertFromU()
1081 log_verbose("comparing %d offsets..\n", targ-buffer); in convertFromU()
1082 if(memcmp(offsetBuffer,expectOffsets,(targ-buffer) * sizeof(int32_t) )){ in convertFromU()
1085 printSeqErr((const unsigned char*)buffer, (int32_t)(targ-buffer)); in convertFromU()
1086 for(p=buffer;p<targ;p++) in convertFromU()
1089 for(i=0; i< (targ-buffer); i++) in convertFromU()
1109 UChar *targ; in convertToU() local
1132 targ=buffer; in convertToU()
1133 targetLimit=targ+MAX_LENGTH; in convertToU()
1139 &targ, in convertToU()
1153 sourceLen, targ-buffer); in convertToU()
1161 if(memcmp(offsetBuffer, expectOffsets, (targ-buffer) * sizeof(int32_t))){ in convertToU()
1165 for(p=buffer;p<targ;p++) in convertToU()
1168 for(i=0; i<(targ-buffer); i++) in convertToU()
1171 for(i=0; i<(targ-buffer); i++) in convertToU()
1205 char *targ; in testConvertFromU() local
1243 targ = junkout; in testConvertFromU()
1258 end = nct_min(targ + gOutBufferSize, realBufferEnd); in testConvertFromU()
1263 if(targ == realBufferEnd) in testConvertFromU()
1265 …overflowed the real buffer while about to call fromUnicode! targ=%08lx %s", targ, gNuConvTestName); in testConvertFromU()
1268 …RCE:%08lx to %08lx TARGET: %08lx to %08lx, flush=%s\n", src,sourceLimit, targ,end, doFlush?"TRUE"… in testConvertFromU()
1275 (char **)&targ, in testConvertFromU()
1295 sourceLen, targ-junkout); in testConvertFromU()
1304 for(ptr = junkout;ptr<targ;ptr++) in testConvertFromU()
1322 if(expectLen != targ-junkout) in testConvertFromU()
1324 log_err("Expected %d chars out, got %d %s\n", expectLen, targ-junkout, gNuConvTestName); in testConvertFromU()
1325 log_verbose("Expected %d chars out, got %d %s\n", expectLen, targ-junkout, gNuConvTestName); in testConvertFromU()
1327 printSeqErr((const unsigned char*)junkout, (int32_t)(targ-junkout)); in testConvertFromU()
1335 log_verbose("comparing %d offsets..\n", targ-junkout); in testConvertFromU()
1336 if(memcmp(junokout,expectOffsets,(targ-junkout) * sizeof(int32_t) )){ in testConvertFromU()
1339 printSeqErr((const unsigned char*)junkout, (int32_t)(targ-junkout)); in testConvertFromU()
1340 for(p=junkout;p<targ;p++) in testConvertFromU()
1343 for(i=0; i<(targ-junkout); i++) in testConvertFromU()
1378 UChar *targ; in testConvertToU() local
1417 targ = junkout; in testConvertToU()
1432 end = nct_min( targ + gOutBufferSize, realBufferEnd); in testConvertToU()
1435 if(targ == realBufferEnd) in testConvertToU()
1437 …rflow the real output buffer while about to call toUnicode! tarjey=%08lx %s",targ,gNuConvTestName); in testConvertToU()
1440 log_verbose("calling toUnicode @ %08lx to %08lx\n", targ,end); in testConvertToU()
1448 &targ, in testConvertToU()
1470 sourcelen, targ-junkout); in testConvertToU()
1481 for(ptr = junkout;ptr<targ;ptr++) in testConvertToU()
1502 if(memcmp(junokout,expectOffsets,(targ-junkout) * sizeof(int32_t))){ in testConvertToU()
1505 for(p=junkout;p<targ;p++) in testConvertToU()
1508 for(i=0; i<(targ-junkout); i++) in testConvertToU()
1511 for(i=0; i<(targ-junkout); i++) in testConvertToU()