Lines Matching refs:pArgs

833 _fromUnicodeWithCallback(UConverterFromUnicodeArgs *pArgs, UErrorCode *err) {
849 cnv=pArgs->converter;
850 s=pArgs->source;
851 t=pArgs->target;
852 offsets=pArgs->offsets;
882 realSource=pArgs->source;
883 realSourceLimit=pArgs->sourceLimit;
884 realFlush=pArgs->flush;
888 pArgs->source=replay;
889 pArgs->sourceLimit=replay-cnv->preFromULength;
890 pArgs->flush=false;
911 fromUnicode(pArgs, err);
922 pArgs->flush && pArgs->source==pArgs->sourceLimit &&
946 int32_t length=(int32_t)(pArgs->target-t);
952 * pointer at the end, then pArgs->offset should not change
957 pArgs->offsets=offsets+=length;
961 sourceIndex+=(int32_t)(pArgs->source-s);
971 realSource=pArgs->source;
972 realSourceLimit=pArgs->sourceLimit;
973 realFlush=pArgs->flush;
977 pArgs->source=replay;
978 pArgs->sourceLimit=replay-cnv->preFromULength;
979 pArgs->flush=false;
993 s=pArgs->source;
994 t=pArgs->target;
997 if(s<pArgs->sourceLimit) {
1005 pArgs->source=realSource;
1006 pArgs->sourceLimit=realSourceLimit;
1007 pArgs->flush=realFlush;
1012 } else if(pArgs->flush && cnv->fromUChar32!=0) {
1023 if(pArgs->flush) {
1071 length=(int32_t)(pArgs->sourceLimit-pArgs->source);
1073 u_memcpy(cnv->preFromU, pArgs->source, length);
1077 pArgs->source=realSource;
1078 pArgs->sourceLimit=realSourceLimit;
1079 pArgs->flush=realFlush;
1100 cnv->fromUCharErrorBehaviour(cnv->fromUContext, pArgs,
1278 _toUnicodeWithCallback(UConverterToUnicodeArgs *pArgs, UErrorCode *err) {
1294 cnv=pArgs->converter;
1295 s=pArgs->source;
1296 t=pArgs->target;
1297 offsets=pArgs->offsets;
1327 realSource=pArgs->source;
1328 realSourceLimit=pArgs->sourceLimit;
1329 realFlush=pArgs->flush;
1333 pArgs->source=replay;
1334 pArgs->sourceLimit=replay-cnv->preToULength;
1335 pArgs->flush=false;
1356 toUnicode(pArgs, err);
1367 pArgs->flush && pArgs->source==pArgs->sourceLimit &&
1391 int32_t length=(int32_t)(pArgs->target-t);
1397 * pointer at the end, then pArgs->offset should not change
1402 pArgs->offsets=offsets+=length;
1406 sourceIndex+=(int32_t)(pArgs->source-s);
1416 realSource=pArgs->source;
1417 realSourceLimit=pArgs->sourceLimit;
1418 realFlush=pArgs->flush;
1422 pArgs->source=replay;
1423 pArgs->sourceLimit=replay-cnv->preToULength;
1424 pArgs->flush=false;
1438 s=pArgs->source;
1439 t=pArgs->target;
1442 if(s<pArgs->sourceLimit) {
1450 pArgs->source=realSource;
1451 pArgs->sourceLimit=realSourceLimit;
1452 pArgs->flush=realFlush;
1457 } else if(pArgs->flush && cnv->toULength>0) {
1468 if(pArgs->flush) {
1518 length=(int32_t)(pArgs->sourceLimit-pArgs->source);
1520 uprv_memcpy(cnv->preToU, pArgs->source, length);
1524 pArgs->source=realSource;
1525 pArgs->sourceLimit=realSourceLimit;
1526 pArgs->flush=realFlush;
1546 cnv->fromCharErrorBehaviour(cnv->toUContext, pArgs,