Lines Matching refs:targetBuffer
2147 char targetBuffer[CHUNK_SIZE]; in convertExStreaming() local
2166 target=targetBuffer; in convertExStreaming()
2167 targetLimit=targetBuffer+chunkSize; in convertExStreaming()
2188 targetLength=(int32_t)(target-targetBuffer); in convertExStreaming()
2197 if(targetLength+chunkSize<=sizeof(targetBuffer)) { in convertExStreaming()
2200 targetLimit=targetBuffer+sizeof(targetBuffer); in convertExStreaming()
2220 } else if(memcmp(targetBuffer, expectTarget, targetLength)!=0) { in convertExStreaming()
2264 char srcBuffer[100], targetBuffer[100]; in TestConvertEx() local
2310 target=targetBuffer; in TestConvertEx()
2311 ucnv_convertEx(cnv2, cnv1, &target, targetBuffer+sizeof(targetBuffer), &src, NULL, in TestConvertEx()
2314 target-targetBuffer!=sizeof(shiftJIS) || in TestConvertEx()
2316 memcmp(targetBuffer, shiftJIS, sizeof(shiftJIS))!=0 in TestConvertEx()
2319 u_errorName(errorCode), target-targetBuffer, sizeof(shiftJIS)); in TestConvertEx()
2324 memset(targetBuffer, 0xff, sizeof(targetBuffer)); in TestConvertEx()
2326 target=targetBuffer; in TestConvertEx()
2327 ucnv_convertEx(cnv2, cnv1, &target, targetBuffer+sizeof(shiftJIS), &src, NULL, in TestConvertEx()
2330 target-targetBuffer!=sizeof(shiftJIS) || in TestConvertEx()
2332 memcmp(targetBuffer, shiftJIS, sizeof(shiftJIS))!=0 in TestConvertEx()
2335 u_errorName(errorCode), target-targetBuffer, sizeof(shiftJIS)); in TestConvertEx()
2341 target=targetBuffer; in TestConvertEx()
2342 ucnv_convertEx(cnv2, cnv1, &target, targetBuffer+sizeof(targetBuffer), &src, NULL, in TestConvertEx()
2351 ucnv_convertEx(cnv2, cnv1, &target, targetBuffer+sizeof(targetBuffer), &src, NULL, in TestConvertEx()
2360 ucnv_convertEx(cnv2, cnv1, &target, targetBuffer+sizeof(targetBuffer), &src, NULL, in TestConvertEx()
2370 ucnv_convertEx(cnv2, cnv1, &target, targetBuffer+sizeof(targetBuffer), &src, NULL, in TestConvertEx()
2380 ucnv_convertEx(cnv2, cnv1, &target, targetBuffer+sizeof(targetBuffer), &src, NULL, in TestConvertEx()