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