Home | History | Annotate | Download | only in common

Lines Matching refs:pArgs

826 _fromUnicodeWithCallback(UConverterFromUnicodeArgs *pArgs, UErrorCode *err) {
842 cnv=pArgs->converter;
843 s=pArgs->source;
844 t=pArgs->target;
845 offsets=pArgs->offsets;
875 realSource=pArgs->source;
876 realSourceLimit=pArgs->sourceLimit;
877 realFlush=pArgs->flush;
881 pArgs->source=replay;
882 pArgs->sourceLimit=replay-cnv->preFromULength;
883 pArgs->flush=FALSE;
904 fromUnicode(pArgs, err);
915 pArgs->flush && pArgs->source==pArgs->sourceLimit &&
939 int32_t length=(int32_t)(pArgs->target-t);
945 * pointer at the end, then pArgs->offset should not change
950 pArgs->offsets=offsets+=length;
954 sourceIndex+=(int32_t)(pArgs->source-s);
964 realSource=pArgs->source;
965 realSourceLimit=pArgs->sourceLimit;
966 realFlush=pArgs->flush;
970 pArgs->source=replay;
971 pArgs->sourceLimit=replay-cnv->preFromULength;
972 pArgs->flush=FALSE;
986 s=pArgs->source;
987 t=pArgs->target;
990 if(s<pArgs->sourceLimit) {
998 pArgs->source=realSource;
999 pArgs->sourceLimit=realSourceLimit;
1000 pArgs->flush=realFlush;
1005 } else if(pArgs->flush && cnv->fromUChar32!=0) {
1016 if(pArgs->flush) {
1064 length=(int32_t)(pArgs->sourceLimit-pArgs->source);
1066 u_memcpy(cnv->preFromU, pArgs->source, length);
1070 pArgs->source=realSource;
1071 pArgs->sourceLimit=realSourceLimit;
1072 pArgs->flush=realFlush;
1093 cnv->fromUCharErrorBehaviour(cnv->fromUContext, pArgs,
1271 _toUnicodeWithCallback(UConverterToUnicodeArgs *pArgs, UErrorCode *err) {
1287 cnv=pArgs->converter;
1288 s=pArgs->source;
1289 t=pArgs->target;
1290 offsets=pArgs->offsets;
1320 realSource=pArgs->source;
1321 realSourceLimit=pArgs->sourceLimit;
1322 realFlush=pArgs->flush;
1326 pArgs->source=replay;
1327 pArgs->sourceLimit=replay-cnv->preToULength;
1328 pArgs->flush=FALSE;
1349 toUnicode(pArgs, err);
1360 pArgs->flush && pArgs->source==pArgs->sourceLimit &&
1384 int32_t length=(int32_t)(pArgs->target-t);
1390 * pointer at the end, then pArgs->offset should not change
1395 pArgs->offsets=offsets+=length;
1399 sourceIndex+=(int32_t)(pArgs->source-s);
1409 realSource=pArgs->source;
1410 realSourceLimit=pArgs->sourceLimit;
1411 realFlush=pArgs->flush;
1415 pArgs->source=replay;
1416 pArgs->sourceLimit=replay-cnv->preToULength;
1417 pArgs->flush=FALSE;
1431 s=pArgs->source;
1432 t=pArgs->target;
1435 if(s<pArgs->sourceLimit) {
1443 pArgs->source=realSource;
1444 pArgs->sourceLimit=realSourceLimit;
1445 pArgs->flush=realFlush;
1450 } else if(pArgs->flush && cnv->toULength>0) {
1461 if(pArgs->flush) {
1511 length=(int32_t)(pArgs->sourceLimit-pArgs->source);
1513 uprv_memcpy(cnv->preToU, pArgs->source, length);
1517 pArgs->source=realSource;
1518 pArgs->sourceLimit=realSourceLimit;
1519 pArgs->flush=realFlush;
1539 cnv->fromCharErrorBehaviour(cnv->toUContext, pArgs,