• Home
  • Raw
  • Download

Lines Matching refs:pArgs

39 _UTF16ToUnicodeWithOffsets(UConverterToUnicodeArgs *pArgs,
52 _UTF16BEFromUnicodeWithOffsets(UConverterFromUnicodeArgs *pArgs, in _UTF16BEFromUnicodeWithOffsets() argument
63 source=pArgs->source; in _UTF16BEFromUnicodeWithOffsets()
64 length=(int32_t)(pArgs->sourceLimit-source); in _UTF16BEFromUnicodeWithOffsets()
70 cnv=pArgs->converter; in _UTF16BEFromUnicodeWithOffsets()
77 &pArgs->target, pArgs->targetLimit, in _UTF16BEFromUnicodeWithOffsets()
78 &pArgs->offsets, -1, in _UTF16BEFromUnicodeWithOffsets()
83 target=pArgs->target; in _UTF16BEFromUnicodeWithOffsets()
84 if(target >= pArgs->targetLimit) { in _UTF16BEFromUnicodeWithOffsets()
89 targetCapacity=(uint32_t)(pArgs->targetLimit-target); in _UTF16BEFromUnicodeWithOffsets()
90 offsets=pArgs->offsets; in _UTF16BEFromUnicodeWithOffsets()
211 if(source<pArgs->sourceLimit) { in _UTF16BEFromUnicodeWithOffsets()
239 (char **)&target, pArgs->targetLimit, in _UTF16BEFromUnicodeWithOffsets()
242 targetCapacity=(uint32_t)(pArgs->targetLimit-(char *)target); in _UTF16BEFromUnicodeWithOffsets()
245 if(U_SUCCESS(*pErrorCode) && source<pArgs->sourceLimit && targetCapacity==0) { in _UTF16BEFromUnicodeWithOffsets()
250 pArgs->source=source; in _UTF16BEFromUnicodeWithOffsets()
251 pArgs->target=(char *)target; in _UTF16BEFromUnicodeWithOffsets()
252 pArgs->offsets=offsets; in _UTF16BEFromUnicodeWithOffsets()
256 _UTF16BEToUnicodeWithOffsets(UConverterToUnicodeArgs *pArgs, in _UTF16BEToUnicodeWithOffsets() argument
266 if(pArgs->converter->mode<8) { in _UTF16BEToUnicodeWithOffsets()
267 _UTF16ToUnicodeWithOffsets(pArgs, pErrorCode); in _UTF16BEToUnicodeWithOffsets()
271 cnv=pArgs->converter; in _UTF16BEToUnicodeWithOffsets()
272 source=(const uint8_t *)pArgs->source; in _UTF16BEToUnicodeWithOffsets()
273 length=(int32_t)((const uint8_t *)pArgs->sourceLimit-source); in _UTF16BEToUnicodeWithOffsets()
279 target=pArgs->target; in _UTF16BEToUnicodeWithOffsets()
280 if(target >= pArgs->targetLimit) { in _UTF16BEToUnicodeWithOffsets()
285 targetCapacity=(uint32_t)(pArgs->targetLimit-target); in _UTF16BEToUnicodeWithOffsets()
286 offsets=pArgs->offsets; in _UTF16BEToUnicodeWithOffsets()
354 if(((const uint8_t *)pArgs->source-source)>=2) { in _UTF16BEToUnicodeWithOffsets()
368 pArgs->source=(const char *)source; in _UTF16BEToUnicodeWithOffsets()
369 pArgs->target=target; in _UTF16BEToUnicodeWithOffsets()
370 pArgs->offsets=offsets; in _UTF16BEToUnicodeWithOffsets()
488 pArgs->source=(const char *)source; in _UTF16BEToUnicodeWithOffsets()
489 pArgs->target=target; in _UTF16BEToUnicodeWithOffsets()
490 pArgs->offsets=offsets; in _UTF16BEToUnicodeWithOffsets()
494 _UTF16BEGetNextUChar(UConverterToUnicodeArgs *pArgs, UErrorCode *err) { in _UTF16BEGetNextUChar() argument
498 if(pArgs->converter->mode<8) { in _UTF16BEGetNextUChar()
502 s=(const uint8_t *)pArgs->source; in _UTF16BEGetNextUChar()
503 sourceLimit=(const uint8_t *)pArgs->sourceLimit; in _UTF16BEGetNextUChar()
513 pArgs->converter->toUBytes[0]=*s++; in _UTF16BEGetNextUChar()
514 pArgs->converter->toULength=1; in _UTF16BEGetNextUChar()
515 pArgs->source=(const char *)s; in _UTF16BEGetNextUChar()
541 uint8_t *bytes=pArgs->converter->toUBytes; in _UTF16BEGetNextUChar()
543 pArgs->converter->toULength=(int8_t)(sourceLimit-s); in _UTF16BEGetNextUChar()
558 uint8_t *bytes=pArgs->converter->toUBytes; in _UTF16BEGetNextUChar()
559 pArgs->converter->toULength=2; in _UTF16BEGetNextUChar()
568 pArgs->source=(const char *)s; in _UTF16BEGetNextUChar()
590 UConverterLoadArgs *pArgs, in _UTF16BEOpen() argument
592 (void)pArgs; in _UTF16BEOpen()
653 _UTF16LEFromUnicodeWithOffsets(UConverterFromUnicodeArgs *pArgs, in _UTF16LEFromUnicodeWithOffsets() argument
664 source=pArgs->source; in _UTF16LEFromUnicodeWithOffsets()
665 length=(int32_t)(pArgs->sourceLimit-source); in _UTF16LEFromUnicodeWithOffsets()
671 cnv=pArgs->converter; in _UTF16LEFromUnicodeWithOffsets()
678 &pArgs->target, pArgs->targetLimit, in _UTF16LEFromUnicodeWithOffsets()
679 &pArgs->offsets, -1, in _UTF16LEFromUnicodeWithOffsets()
684 target=pArgs->target; in _UTF16LEFromUnicodeWithOffsets()
685 if(target >= pArgs->targetLimit) { in _UTF16LEFromUnicodeWithOffsets()
690 targetCapacity=(uint32_t)(pArgs->targetLimit-pArgs->target); in _UTF16LEFromUnicodeWithOffsets()
691 offsets=pArgs->offsets; in _UTF16LEFromUnicodeWithOffsets()
812 if(source<pArgs->sourceLimit) { in _UTF16LEFromUnicodeWithOffsets()
840 &target, pArgs->targetLimit, in _UTF16LEFromUnicodeWithOffsets()
843 targetCapacity=(uint32_t)(pArgs->targetLimit-(char *)target); in _UTF16LEFromUnicodeWithOffsets()
846 if(U_SUCCESS(*pErrorCode) && source<pArgs->sourceLimit && targetCapacity==0) { in _UTF16LEFromUnicodeWithOffsets()
851 pArgs->source=source; in _UTF16LEFromUnicodeWithOffsets()
852 pArgs->target=target; in _UTF16LEFromUnicodeWithOffsets()
853 pArgs->offsets=offsets; in _UTF16LEFromUnicodeWithOffsets()
857 _UTF16LEToUnicodeWithOffsets(UConverterToUnicodeArgs *pArgs, in _UTF16LEToUnicodeWithOffsets() argument
867 if(pArgs->converter->mode<8) { in _UTF16LEToUnicodeWithOffsets()
868 _UTF16ToUnicodeWithOffsets(pArgs, pErrorCode); in _UTF16LEToUnicodeWithOffsets()
872 cnv=pArgs->converter; in _UTF16LEToUnicodeWithOffsets()
873 source=(const uint8_t *)pArgs->source; in _UTF16LEToUnicodeWithOffsets()
874 length=(int32_t)((const uint8_t *)pArgs->sourceLimit-source); in _UTF16LEToUnicodeWithOffsets()
880 target=pArgs->target; in _UTF16LEToUnicodeWithOffsets()
881 if(target >= pArgs->targetLimit) { in _UTF16LEToUnicodeWithOffsets()
886 targetCapacity=(uint32_t)(pArgs->targetLimit-pArgs->target); in _UTF16LEToUnicodeWithOffsets()
887 offsets=pArgs->offsets; in _UTF16LEToUnicodeWithOffsets()
955 if(((const uint8_t *)pArgs->source-source)>=2) { in _UTF16LEToUnicodeWithOffsets()
969 pArgs->source=(const char *)source; in _UTF16LEToUnicodeWithOffsets()
970 pArgs->target=target; in _UTF16LEToUnicodeWithOffsets()
971 pArgs->offsets=offsets; in _UTF16LEToUnicodeWithOffsets()
1089 pArgs->source=(const char *)source; in _UTF16LEToUnicodeWithOffsets()
1090 pArgs->target=target; in _UTF16LEToUnicodeWithOffsets()
1091 pArgs->offsets=offsets; in _UTF16LEToUnicodeWithOffsets()
1095 _UTF16LEGetNextUChar(UConverterToUnicodeArgs *pArgs, UErrorCode *err) { in _UTF16LEGetNextUChar() argument
1099 if(pArgs->converter->mode<8) { in _UTF16LEGetNextUChar()
1103 s=(const uint8_t *)pArgs->source; in _UTF16LEGetNextUChar()
1104 sourceLimit=(const uint8_t *)pArgs->sourceLimit; in _UTF16LEGetNextUChar()
1114 pArgs->converter->toUBytes[0]=*s++; in _UTF16LEGetNextUChar()
1115 pArgs->converter->toULength=1; in _UTF16LEGetNextUChar()
1116 pArgs->source=(const char *)s; in _UTF16LEGetNextUChar()
1142 uint8_t *bytes=pArgs->converter->toUBytes; in _UTF16LEGetNextUChar()
1144 pArgs->converter->toULength=(int8_t)(sourceLimit-s); in _UTF16LEGetNextUChar()
1159 uint8_t *bytes=pArgs->converter->toUBytes; in _UTF16LEGetNextUChar()
1160 pArgs->converter->toULength=2; in _UTF16LEGetNextUChar()
1169 pArgs->source=(const char *)s; in _UTF16LEGetNextUChar()
1191 UConverterLoadArgs *pArgs, in _UTF16LEOpen() argument
1193 (void)pArgs; in _UTF16LEOpen()
1294 UConverterLoadArgs *pArgs, in _UTF16Open() argument
1297 if(UCNV_GET_VERSION(cnv)==2 && !pArgs->onlyTestIsLoadable) { in _UTF16Open()
1340 _UTF16ToUnicodeWithOffsets(UConverterToUnicodeArgs *pArgs, in _UTF16ToUnicodeWithOffsets() argument
1342 UConverter *cnv=pArgs->converter; in _UTF16ToUnicodeWithOffsets()
1343 const char *source=pArgs->source; in _UTF16ToUnicodeWithOffsets()
1344 const char *sourceLimit=pArgs->sourceLimit; in _UTF16ToUnicodeWithOffsets()
1345 int32_t *offsets=pArgs->offsets; in _UTF16ToUnicodeWithOffsets()
1393 offsetDelta=(int32_t)(source-pArgs->source); in _UTF16ToUnicodeWithOffsets()
1396 if(source!=pArgs->source) { in _UTF16ToUnicodeWithOffsets()
1398 source=pArgs->source; in _UTF16ToUnicodeWithOffsets()
1418 pArgs->source=source+1; in _UTF16ToUnicodeWithOffsets()
1434 pArgs->source=source; in _UTF16ToUnicodeWithOffsets()
1435 _UTF16BEToUnicodeWithOffsets(pArgs, pErrorCode); in _UTF16ToUnicodeWithOffsets()
1436 source=pArgs->source; in _UTF16ToUnicodeWithOffsets()
1440 pArgs->source=source; in _UTF16ToUnicodeWithOffsets()
1441 _UTF16LEToUnicodeWithOffsets(pArgs, pErrorCode); in _UTF16ToUnicodeWithOffsets()
1442 source=pArgs->source; in _UTF16ToUnicodeWithOffsets()
1451 int32_t *offsetsLimit=pArgs->offsets; in _UTF16ToUnicodeWithOffsets()
1457 pArgs->source=source; in _UTF16ToUnicodeWithOffsets()
1459 if(source==sourceLimit && pArgs->flush) { in _UTF16ToUnicodeWithOffsets()
1465 _UTF16BEToUnicodeWithOffsets(pArgs, pErrorCode); in _UTF16ToUnicodeWithOffsets()
1468 _UTF16LEToUnicodeWithOffsets(pArgs, pErrorCode); in _UTF16ToUnicodeWithOffsets()
1480 _UTF16GetNextUChar(UConverterToUnicodeArgs *pArgs, in _UTF16GetNextUChar() argument
1482 switch(pArgs->converter->mode) { in _UTF16GetNextUChar()
1484 return _UTF16BEGetNextUChar(pArgs, pErrorCode); in _UTF16GetNextUChar()
1486 return _UTF16LEGetNextUChar(pArgs, pErrorCode); in _UTF16GetNextUChar()