Lines Matching refs:pArgs
380 UConverterLoadArgs *pArgs,
389 UConverterLoadArgs *pArgs,
393 ucnv_MBCSGetNextUChar(UConverterToUnicodeArgs *pArgs,
405 ucnv_MBCSWriteSub(UConverterFromUnicodeArgs *pArgs,
410 ucnv_MBCSGetNextUChar(UConverterToUnicodeArgs *pArgs,
1549 UConverterLoadArgs *pArgs, in ucnv_MBCSLoad() argument
1595 if(pArgs->nestedLoads!=1) { in ucnv_MBCSLoad()
1612 args.onlyTestIsLoadable=pArgs->onlyTestIsLoadable; in ucnv_MBCSLoad()
1613 args.reserved=pArgs->reserved; in ucnv_MBCSLoad()
1614 args.options=pArgs->options; in ucnv_MBCSLoad()
1615 args.pkg=pArgs->pkg; in ucnv_MBCSLoad()
1628 if(pArgs->onlyTestIsLoadable) { in ucnv_MBCSLoad()
1752 if(pArgs->onlyTestIsLoadable) { in ucnv_MBCSLoad()
1892 UConverterLoadArgs *pArgs, in ucnv_MBCSOpen() argument
1899 if(pArgs->onlyTestIsLoadable) { in ucnv_MBCSOpen()
1908 cnv->options=pArgs->options&=~UCNV_OPTION_SWAP_LFNL; in ucnv_MBCSOpen()
1911 if((pArgs->options&UCNV_OPTION_SWAP_LFNL)!=0) { in ucnv_MBCSOpen()
1926 cnv->options=pArgs->options&=~UCNV_OPTION_SWAP_LFNL; in ucnv_MBCSOpen()
1931 if(uprv_strstr(pArgs->name, "18030")!=NULL) { in ucnv_MBCSOpen()
1932 if(uprv_strstr(pArgs->name, "gb18030")!=NULL || uprv_strstr(pArgs->name, "GB18030")!=NULL) { in ucnv_MBCSOpen()
1936 … } else if((uprv_strstr(pArgs->name, "KEIS")!=NULL) || (uprv_strstr(pArgs->name, "keis")!=NULL)) { in ucnv_MBCSOpen()
1939 } else if((uprv_strstr(pArgs->name, "JEF")!=NULL) || (uprv_strstr(pArgs->name, "jef")!=NULL)) { in ucnv_MBCSOpen()
1942 … } else if((uprv_strstr(pArgs->name, "JIPS")!=NULL) || (uprv_strstr(pArgs->name, "jips")!=NULL)) { in ucnv_MBCSOpen()
2022 ucnv_MBCSSingleToUnicodeWithOffsets(UConverterToUnicodeArgs *pArgs, in ucnv_MBCSSingleToUnicodeWithOffsets() argument
2039 cnv=pArgs->converter; in ucnv_MBCSSingleToUnicodeWithOffsets()
2040 source=(const uint8_t *)pArgs->source; in ucnv_MBCSSingleToUnicodeWithOffsets()
2041 sourceLimit=(const uint8_t *)pArgs->sourceLimit; in ucnv_MBCSSingleToUnicodeWithOffsets()
2042 target=pArgs->target; in ucnv_MBCSSingleToUnicodeWithOffsets()
2043 targetLimit=pArgs->targetLimit; in ucnv_MBCSSingleToUnicodeWithOffsets()
2044 offsets=pArgs->offsets; in ucnv_MBCSSingleToUnicodeWithOffsets()
2144 pArgs->source=(const char *)source; in ucnv_MBCSSingleToUnicodeWithOffsets()
2150 pArgs->flush, in ucnv_MBCSSingleToUnicodeWithOffsets()
2152 sourceIndex+=1+(int32_t)(source-(const uint8_t *)pArgs->source); in ucnv_MBCSSingleToUnicodeWithOffsets()
2162 pArgs->source=(const char *)source; in ucnv_MBCSSingleToUnicodeWithOffsets()
2163 pArgs->target=target; in ucnv_MBCSSingleToUnicodeWithOffsets()
2164 pArgs->offsets=offsets; in ucnv_MBCSSingleToUnicodeWithOffsets()
2174 ucnv_MBCSSingleToBMPWithOffsets(UConverterToUnicodeArgs *pArgs, in ucnv_MBCSSingleToBMPWithOffsets() argument
2190 cnv=pArgs->converter; in ucnv_MBCSSingleToBMPWithOffsets()
2191 source=(const uint8_t *)pArgs->source; in ucnv_MBCSSingleToBMPWithOffsets()
2192 sourceLimit=(const uint8_t *)pArgs->sourceLimit; in ucnv_MBCSSingleToBMPWithOffsets()
2193 target=pArgs->target; in ucnv_MBCSSingleToBMPWithOffsets()
2194 targetCapacity=(int32_t)(pArgs->targetLimit-pArgs->target); in ucnv_MBCSSingleToBMPWithOffsets()
2195 offsets=pArgs->offsets; in ucnv_MBCSSingleToBMPWithOffsets()
2349 &target, pArgs->targetLimit, in ucnv_MBCSSingleToBMPWithOffsets()
2351 pArgs->flush, in ucnv_MBCSSingleToBMPWithOffsets()
2361 targetCapacity=(int32_t)(pArgs->targetLimit-target); in ucnv_MBCSSingleToBMPWithOffsets()
2374 if(U_SUCCESS(*pErrorCode) && source<sourceLimit && target>=pArgs->targetLimit) { in ucnv_MBCSSingleToBMPWithOffsets()
2389 pArgs->source=(const char *)source; in ucnv_MBCSSingleToBMPWithOffsets()
2390 pArgs->target=target; in ucnv_MBCSSingleToBMPWithOffsets()
2391 pArgs->offsets=offsets; in ucnv_MBCSSingleToBMPWithOffsets()
2454 ucnv_MBCSToUnicodeWithOffsets(UConverterToUnicodeArgs *pArgs, in ucnv_MBCSToUnicodeWithOffsets() argument
2477 cnv=pArgs->converter; in ucnv_MBCSToUnicodeWithOffsets()
2484 ucnv_extContinueMatchToU(cnv, pArgs, -1, pErrorCode); in ucnv_MBCSToUnicodeWithOffsets()
2493 ucnv_MBCSSingleToBMPWithOffsets(pArgs, pErrorCode); in ucnv_MBCSToUnicodeWithOffsets()
2495 ucnv_MBCSSingleToUnicodeWithOffsets(pArgs, pErrorCode); in ucnv_MBCSToUnicodeWithOffsets()
2501 source=(const uint8_t *)pArgs->source; in ucnv_MBCSToUnicodeWithOffsets()
2502 sourceLimit=(const uint8_t *)pArgs->sourceLimit; in ucnv_MBCSToUnicodeWithOffsets()
2503 target=pArgs->target; in ucnv_MBCSToUnicodeWithOffsets()
2504 targetLimit=pArgs->targetLimit; in ucnv_MBCSToUnicodeWithOffsets()
2505 offsets=pArgs->offsets; in ucnv_MBCSToUnicodeWithOffsets()
2823 int32_t bytesFromThisBuffer=(int32_t)(source-(const uint8_t *)pArgs->source); in ucnv_MBCSToUnicodeWithOffsets()
2832 source=(const uint8_t *)pArgs->source; in ucnv_MBCSToUnicodeWithOffsets()
2839 pArgs->source=(const char *)source; in ucnv_MBCSToUnicodeWithOffsets()
2844 pArgs->flush, in ucnv_MBCSToUnicodeWithOffsets()
2846 sourceIndex=nextSourceIndex+=(int32_t)(source-(const uint8_t *)pArgs->source); in ucnv_MBCSToUnicodeWithOffsets()
2861 pArgs->source=(const char *)source; in ucnv_MBCSToUnicodeWithOffsets()
2862 pArgs->target=target; in ucnv_MBCSToUnicodeWithOffsets()
2863 pArgs->offsets=offsets; in ucnv_MBCSToUnicodeWithOffsets()
2871 ucnv_MBCSSingleGetNextUChar(UConverterToUnicodeArgs *pArgs, in ucnv_MBCSSingleGetNextUChar() argument
2881 cnv=pArgs->converter; in ucnv_MBCSSingleGetNextUChar()
2882 source=(const uint8_t *)pArgs->source; in ucnv_MBCSSingleGetNextUChar()
2883 sourceLimit=(const uint8_t *)pArgs->sourceLimit; in ucnv_MBCSSingleGetNextUChar()
2896 pArgs->source=(const char *)source; in ucnv_MBCSSingleGetNextUChar()
2933 pArgs->source=(const char *)source-1; in ucnv_MBCSSingleGetNextUChar()
2956 ucnv_MBCSGetNextUChar(UConverterToUnicodeArgs *pArgs, in ucnv_MBCSGetNextUChar() argument
2972 cnv=pArgs->converter; in ucnv_MBCSGetNextUChar()
2987 return ucnv_MBCSSingleGetNextUChar(pArgs, pErrorCode); in ucnv_MBCSGetNextUChar()
2991 source=lastSource=(const uint8_t *)pArgs->source; in ucnv_MBCSGetNextUChar()
2992 sourceLimit=(const uint8_t *)pArgs->sourceLimit; in ucnv_MBCSGetNextUChar()
3129 pArgs->source=(const char *)lastSource; in ucnv_MBCSGetNextUChar()
3180 pArgs->source=(const char *)source; in ucnv_MBCSGetNextUChar()
3395 ucnv_MBCSDoubleFromUnicodeWithOffsets(UConverterFromUnicodeArgs *pArgs, in ucnv_MBCSDoubleFromUnicodeWithOffsets() argument
3417 cnv=pArgs->converter; in ucnv_MBCSDoubleFromUnicodeWithOffsets()
3421 source=pArgs->source; in ucnv_MBCSDoubleFromUnicodeWithOffsets()
3422 sourceLimit=pArgs->sourceLimit; in ucnv_MBCSDoubleFromUnicodeWithOffsets()
3423 target=(uint8_t *)pArgs->target; in ucnv_MBCSDoubleFromUnicodeWithOffsets()
3424 targetCapacity=(int32_t)(pArgs->targetLimit-pArgs->target); in ucnv_MBCSDoubleFromUnicodeWithOffsets()
3425 offsets=pArgs->offsets; in ucnv_MBCSDoubleFromUnicodeWithOffsets()
3547 pArgs->source=source; in ucnv_MBCSDoubleFromUnicodeWithOffsets()
3552 pArgs->flush, in ucnv_MBCSDoubleFromUnicodeWithOffsets()
3554 nextSourceIndex+=(int32_t)(source-pArgs->source); in ucnv_MBCSDoubleFromUnicodeWithOffsets()
3563 targetCapacity=(int32_t)(pArgs->targetLimit-(char *)target); in ucnv_MBCSDoubleFromUnicodeWithOffsets()
3620 pArgs->source=source; in ucnv_MBCSDoubleFromUnicodeWithOffsets()
3621 pArgs->target=(char *)target; in ucnv_MBCSDoubleFromUnicodeWithOffsets()
3622 pArgs->offsets=offsets; in ucnv_MBCSDoubleFromUnicodeWithOffsets()
3627 ucnv_MBCSSingleFromUnicodeWithOffsets(UConverterFromUnicodeArgs *pArgs, in ucnv_MBCSSingleFromUnicodeWithOffsets() argument
3646 cnv=pArgs->converter; in ucnv_MBCSSingleFromUnicodeWithOffsets()
3647 source=pArgs->source; in ucnv_MBCSSingleFromUnicodeWithOffsets()
3648 sourceLimit=pArgs->sourceLimit; in ucnv_MBCSSingleFromUnicodeWithOffsets()
3649 target=(uint8_t *)pArgs->target; in ucnv_MBCSSingleFromUnicodeWithOffsets()
3650 targetCapacity=(int32_t)(pArgs->targetLimit-pArgs->target); in ucnv_MBCSSingleFromUnicodeWithOffsets()
3651 offsets=pArgs->offsets; in ucnv_MBCSSingleFromUnicodeWithOffsets()
3753 pArgs->source=source; in ucnv_MBCSSingleFromUnicodeWithOffsets()
3758 pArgs->flush, in ucnv_MBCSSingleFromUnicodeWithOffsets()
3760 nextSourceIndex+=(int32_t)(source-pArgs->source); in ucnv_MBCSSingleFromUnicodeWithOffsets()
3769 targetCapacity=(int32_t)(pArgs->targetLimit-(char *)target); in ucnv_MBCSSingleFromUnicodeWithOffsets()
3786 pArgs->source=source; in ucnv_MBCSSingleFromUnicodeWithOffsets()
3787 pArgs->target=(char *)target; in ucnv_MBCSSingleFromUnicodeWithOffsets()
3788 pArgs->offsets=offsets; in ucnv_MBCSSingleFromUnicodeWithOffsets()
3803 ucnv_MBCSSingleFromBMPWithOffsets(UConverterFromUnicodeArgs *pArgs, in ucnv_MBCSSingleFromBMPWithOffsets() argument
3822 cnv=pArgs->converter; in ucnv_MBCSSingleFromBMPWithOffsets()
3823 source=pArgs->source; in ucnv_MBCSSingleFromBMPWithOffsets()
3824 sourceLimit=pArgs->sourceLimit; in ucnv_MBCSSingleFromBMPWithOffsets()
3825 target=(uint8_t *)pArgs->target; in ucnv_MBCSSingleFromBMPWithOffsets()
3826 targetCapacity=(int32_t)(pArgs->targetLimit-pArgs->target); in ucnv_MBCSSingleFromBMPWithOffsets()
3827 offsets=pArgs->offsets; in ucnv_MBCSSingleFromBMPWithOffsets()
3966 if (pArgs->flush) { in ucnv_MBCSSingleFromBMPWithOffsets()
4001 &target, (const uint8_t *)(pArgs->targetLimit), in ucnv_MBCSSingleFromBMPWithOffsets()
4003 pArgs->flush, in ucnv_MBCSSingleFromBMPWithOffsets()
4015 targetCapacity=(int32_t)(pArgs->targetLimit-(char *)target); in ucnv_MBCSSingleFromBMPWithOffsets()
4028 if(U_SUCCESS(*pErrorCode) && source<sourceLimit && target>=(uint8_t *)pArgs->targetLimit) { in ucnv_MBCSSingleFromBMPWithOffsets()
4054 pArgs->source=source; in ucnv_MBCSSingleFromBMPWithOffsets()
4055 pArgs->target=(char *)target; in ucnv_MBCSSingleFromBMPWithOffsets()
4056 pArgs->offsets=offsets; in ucnv_MBCSSingleFromBMPWithOffsets()
4060 ucnv_MBCSFromUnicodeWithOffsets(UConverterFromUnicodeArgs *pArgs, in ucnv_MBCSFromUnicodeWithOffsets() argument
4087 cnv=pArgs->converter; in ucnv_MBCSFromUnicodeWithOffsets()
4094 ucnv_extContinueMatchFromU(cnv, pArgs, -1, pErrorCode); in ucnv_MBCSFromUnicodeWithOffsets()
4106 ucnv_MBCSSingleFromBMPWithOffsets(pArgs, pErrorCode); in ucnv_MBCSFromUnicodeWithOffsets()
4108 ucnv_MBCSSingleFromUnicodeWithOffsets(pArgs, pErrorCode); in ucnv_MBCSFromUnicodeWithOffsets()
4112 ucnv_MBCSDoubleFromUnicodeWithOffsets(pArgs, pErrorCode); in ucnv_MBCSFromUnicodeWithOffsets()
4117 source=pArgs->source; in ucnv_MBCSFromUnicodeWithOffsets()
4118 sourceLimit=pArgs->sourceLimit; in ucnv_MBCSFromUnicodeWithOffsets()
4119 target=(uint8_t *)pArgs->target; in ucnv_MBCSFromUnicodeWithOffsets()
4120 targetCapacity=(int32_t)(pArgs->targetLimit-pArgs->target); in ucnv_MBCSFromUnicodeWithOffsets()
4121 offsets=pArgs->offsets; in ucnv_MBCSFromUnicodeWithOffsets()
4600 pArgs->source=source; in ucnv_MBCSFromUnicodeWithOffsets()
4605 pArgs->flush, in ucnv_MBCSFromUnicodeWithOffsets()
4607 nextSourceIndex+=(int32_t)(source-pArgs->source); in ucnv_MBCSFromUnicodeWithOffsets()
4617 targetCapacity=(int32_t)(pArgs->targetLimit-(char *)target); in ucnv_MBCSFromUnicodeWithOffsets()
4751 pArgs->flush && source>=sourceLimit && c==0 in ucnv_MBCSFromUnicodeWithOffsets()
4786 pArgs->source=source; in ucnv_MBCSFromUnicodeWithOffsets()
4787 pArgs->target=(char *)target; in ucnv_MBCSFromUnicodeWithOffsets()
4788 pArgs->offsets=offsets; in ucnv_MBCSFromUnicodeWithOffsets()
5640 ucnv_MBCSWriteSub(UConverterFromUnicodeArgs *pArgs, in ucnv_MBCSWriteSub() argument
5643 UConverter *cnv=pArgs->converter; in ucnv_MBCSWriteSub()
5696 ucnv_cbFromUWriteBytes(pArgs, subchar, length, offsetIndex, pErrorCode); in ucnv_MBCSWriteSub()