Lines Matching refs:pArgs
382 UConverterLoadArgs *pArgs,
391 UConverterLoadArgs *pArgs,
395 ucnv_MBCSGetNextUChar(UConverterToUnicodeArgs *pArgs,
409 ucnv_MBCSWriteSub(UConverterFromUnicodeArgs *pArgs,
414 ucnv_MBCSGetNextUChar(UConverterToUnicodeArgs *pArgs,
1555 UConverterLoadArgs *pArgs, in ucnv_MBCSLoad() argument
1601 if(pArgs->nestedLoads!=1) { in ucnv_MBCSLoad()
1618 args.onlyTestIsLoadable=pArgs->onlyTestIsLoadable; in ucnv_MBCSLoad()
1619 args.reserved=pArgs->reserved; in ucnv_MBCSLoad()
1620 args.options=pArgs->options; in ucnv_MBCSLoad()
1621 args.pkg=pArgs->pkg; in ucnv_MBCSLoad()
1634 if(pArgs->onlyTestIsLoadable) { in ucnv_MBCSLoad()
1758 if(pArgs->onlyTestIsLoadable) { in ucnv_MBCSLoad()
1898 UConverterLoadArgs *pArgs, in ucnv_MBCSOpen() argument
1905 if(pArgs->onlyTestIsLoadable) { in ucnv_MBCSOpen()
1914 cnv->options=pArgs->options&=~UCNV_OPTION_SWAP_LFNL; in ucnv_MBCSOpen()
1917 if((pArgs->options&UCNV_OPTION_SWAP_LFNL)!=0) { in ucnv_MBCSOpen()
1932 cnv->options=pArgs->options&=~UCNV_OPTION_SWAP_LFNL; in ucnv_MBCSOpen()
1937 if(uprv_strstr(pArgs->name, "18030")!=NULL) { in ucnv_MBCSOpen()
1938 if(uprv_strstr(pArgs->name, "gb18030")!=NULL || uprv_strstr(pArgs->name, "GB18030")!=NULL) { in ucnv_MBCSOpen()
1942 … } else if((uprv_strstr(pArgs->name, "KEIS")!=NULL) || (uprv_strstr(pArgs->name, "keis")!=NULL)) { in ucnv_MBCSOpen()
1945 } else if((uprv_strstr(pArgs->name, "JEF")!=NULL) || (uprv_strstr(pArgs->name, "jef")!=NULL)) { in ucnv_MBCSOpen()
1948 … } else if((uprv_strstr(pArgs->name, "JIPS")!=NULL) || (uprv_strstr(pArgs->name, "jips")!=NULL)) { in ucnv_MBCSOpen()
2032 ucnv_MBCSSingleToUnicodeWithOffsets(UConverterToUnicodeArgs *pArgs, in ucnv_MBCSSingleToUnicodeWithOffsets() argument
2049 cnv=pArgs->converter; in ucnv_MBCSSingleToUnicodeWithOffsets()
2050 source=(const uint8_t *)pArgs->source; in ucnv_MBCSSingleToUnicodeWithOffsets()
2051 sourceLimit=(const uint8_t *)pArgs->sourceLimit; in ucnv_MBCSSingleToUnicodeWithOffsets()
2052 target=pArgs->target; in ucnv_MBCSSingleToUnicodeWithOffsets()
2053 targetLimit=pArgs->targetLimit; in ucnv_MBCSSingleToUnicodeWithOffsets()
2054 offsets=pArgs->offsets; in ucnv_MBCSSingleToUnicodeWithOffsets()
2154 pArgs->source=(const char *)source; in ucnv_MBCSSingleToUnicodeWithOffsets()
2160 pArgs->flush, in ucnv_MBCSSingleToUnicodeWithOffsets()
2162 sourceIndex+=1+(int32_t)(source-(const uint8_t *)pArgs->source); in ucnv_MBCSSingleToUnicodeWithOffsets()
2172 pArgs->source=(const char *)source; in ucnv_MBCSSingleToUnicodeWithOffsets()
2173 pArgs->target=target; in ucnv_MBCSSingleToUnicodeWithOffsets()
2174 pArgs->offsets=offsets; in ucnv_MBCSSingleToUnicodeWithOffsets()
2184 ucnv_MBCSSingleToBMPWithOffsets(UConverterToUnicodeArgs *pArgs, in ucnv_MBCSSingleToBMPWithOffsets() argument
2200 cnv=pArgs->converter; in ucnv_MBCSSingleToBMPWithOffsets()
2201 source=(const uint8_t *)pArgs->source; in ucnv_MBCSSingleToBMPWithOffsets()
2202 sourceLimit=(const uint8_t *)pArgs->sourceLimit; in ucnv_MBCSSingleToBMPWithOffsets()
2203 target=pArgs->target; in ucnv_MBCSSingleToBMPWithOffsets()
2204 targetCapacity=(int32_t)(pArgs->targetLimit-pArgs->target); in ucnv_MBCSSingleToBMPWithOffsets()
2205 offsets=pArgs->offsets; in ucnv_MBCSSingleToBMPWithOffsets()
2359 &target, pArgs->targetLimit, in ucnv_MBCSSingleToBMPWithOffsets()
2361 pArgs->flush, in ucnv_MBCSSingleToBMPWithOffsets()
2371 targetCapacity=(int32_t)(pArgs->targetLimit-target); in ucnv_MBCSSingleToBMPWithOffsets()
2384 if(U_SUCCESS(*pErrorCode) && source<sourceLimit && target>=pArgs->targetLimit) { in ucnv_MBCSSingleToBMPWithOffsets()
2399 pArgs->source=(const char *)source; in ucnv_MBCSSingleToBMPWithOffsets()
2400 pArgs->target=target; in ucnv_MBCSSingleToBMPWithOffsets()
2401 pArgs->offsets=offsets; in ucnv_MBCSSingleToBMPWithOffsets()
2464 ucnv_MBCSToUnicodeWithOffsets(UConverterToUnicodeArgs *pArgs, in ucnv_MBCSToUnicodeWithOffsets() argument
2487 cnv=pArgs->converter; in ucnv_MBCSToUnicodeWithOffsets()
2494 ucnv_extContinueMatchToU(cnv, pArgs, -1, pErrorCode); in ucnv_MBCSToUnicodeWithOffsets()
2503 ucnv_MBCSSingleToBMPWithOffsets(pArgs, pErrorCode); in ucnv_MBCSToUnicodeWithOffsets()
2505 ucnv_MBCSSingleToUnicodeWithOffsets(pArgs, pErrorCode); in ucnv_MBCSToUnicodeWithOffsets()
2511 source=(const uint8_t *)pArgs->source; in ucnv_MBCSToUnicodeWithOffsets()
2512 sourceLimit=(const uint8_t *)pArgs->sourceLimit; in ucnv_MBCSToUnicodeWithOffsets()
2513 target=pArgs->target; in ucnv_MBCSToUnicodeWithOffsets()
2514 targetLimit=pArgs->targetLimit; in ucnv_MBCSToUnicodeWithOffsets()
2515 offsets=pArgs->offsets; in ucnv_MBCSToUnicodeWithOffsets()
2833 int32_t bytesFromThisBuffer=(int32_t)(source-(const uint8_t *)pArgs->source); in ucnv_MBCSToUnicodeWithOffsets()
2842 source=(const uint8_t *)pArgs->source; in ucnv_MBCSToUnicodeWithOffsets()
2849 pArgs->source=(const char *)source; in ucnv_MBCSToUnicodeWithOffsets()
2854 pArgs->flush, in ucnv_MBCSToUnicodeWithOffsets()
2856 sourceIndex=nextSourceIndex+=(int32_t)(source-(const uint8_t *)pArgs->source); in ucnv_MBCSToUnicodeWithOffsets()
2871 pArgs->source=(const char *)source; in ucnv_MBCSToUnicodeWithOffsets()
2872 pArgs->target=target; in ucnv_MBCSToUnicodeWithOffsets()
2873 pArgs->offsets=offsets; in ucnv_MBCSToUnicodeWithOffsets()
2881 ucnv_MBCSSingleGetNextUChar(UConverterToUnicodeArgs *pArgs, in ucnv_MBCSSingleGetNextUChar() argument
2891 cnv=pArgs->converter; in ucnv_MBCSSingleGetNextUChar()
2892 source=(const uint8_t *)pArgs->source; in ucnv_MBCSSingleGetNextUChar()
2893 sourceLimit=(const uint8_t *)pArgs->sourceLimit; in ucnv_MBCSSingleGetNextUChar()
2906 pArgs->source=(const char *)source; in ucnv_MBCSSingleGetNextUChar()
2943 pArgs->source=(const char *)source-1; in ucnv_MBCSSingleGetNextUChar()
2966 ucnv_MBCSGetNextUChar(UConverterToUnicodeArgs *pArgs, in ucnv_MBCSGetNextUChar() argument
2982 cnv=pArgs->converter; in ucnv_MBCSGetNextUChar()
2997 return ucnv_MBCSSingleGetNextUChar(pArgs, pErrorCode); in ucnv_MBCSGetNextUChar()
3001 source=lastSource=(const uint8_t *)pArgs->source; in ucnv_MBCSGetNextUChar()
3002 sourceLimit=(const uint8_t *)pArgs->sourceLimit; in ucnv_MBCSGetNextUChar()
3139 pArgs->source=(const char *)lastSource; in ucnv_MBCSGetNextUChar()
3190 pArgs->source=(const char *)source; in ucnv_MBCSGetNextUChar()
3405 ucnv_MBCSDoubleFromUnicodeWithOffsets(UConverterFromUnicodeArgs *pArgs, in ucnv_MBCSDoubleFromUnicodeWithOffsets() argument
3427 cnv=pArgs->converter; in ucnv_MBCSDoubleFromUnicodeWithOffsets()
3431 source=pArgs->source; in ucnv_MBCSDoubleFromUnicodeWithOffsets()
3432 sourceLimit=pArgs->sourceLimit; in ucnv_MBCSDoubleFromUnicodeWithOffsets()
3433 target=(uint8_t *)pArgs->target; in ucnv_MBCSDoubleFromUnicodeWithOffsets()
3434 targetCapacity=(int32_t)(pArgs->targetLimit-pArgs->target); in ucnv_MBCSDoubleFromUnicodeWithOffsets()
3435 offsets=pArgs->offsets; in ucnv_MBCSDoubleFromUnicodeWithOffsets()
3557 pArgs->source=source; in ucnv_MBCSDoubleFromUnicodeWithOffsets()
3562 pArgs->flush, in ucnv_MBCSDoubleFromUnicodeWithOffsets()
3564 nextSourceIndex+=(int32_t)(source-pArgs->source); in ucnv_MBCSDoubleFromUnicodeWithOffsets()
3573 targetCapacity=(int32_t)(pArgs->targetLimit-(char *)target); in ucnv_MBCSDoubleFromUnicodeWithOffsets()
3630 pArgs->source=source; in ucnv_MBCSDoubleFromUnicodeWithOffsets()
3631 pArgs->target=(char *)target; in ucnv_MBCSDoubleFromUnicodeWithOffsets()
3632 pArgs->offsets=offsets; in ucnv_MBCSDoubleFromUnicodeWithOffsets()
3637 ucnv_MBCSSingleFromUnicodeWithOffsets(UConverterFromUnicodeArgs *pArgs, in ucnv_MBCSSingleFromUnicodeWithOffsets() argument
3656 cnv=pArgs->converter; in ucnv_MBCSSingleFromUnicodeWithOffsets()
3657 source=pArgs->source; in ucnv_MBCSSingleFromUnicodeWithOffsets()
3658 sourceLimit=pArgs->sourceLimit; in ucnv_MBCSSingleFromUnicodeWithOffsets()
3659 target=(uint8_t *)pArgs->target; in ucnv_MBCSSingleFromUnicodeWithOffsets()
3660 targetCapacity=(int32_t)(pArgs->targetLimit-pArgs->target); in ucnv_MBCSSingleFromUnicodeWithOffsets()
3661 offsets=pArgs->offsets; in ucnv_MBCSSingleFromUnicodeWithOffsets()
3763 pArgs->source=source; in ucnv_MBCSSingleFromUnicodeWithOffsets()
3768 pArgs->flush, in ucnv_MBCSSingleFromUnicodeWithOffsets()
3770 nextSourceIndex+=(int32_t)(source-pArgs->source); in ucnv_MBCSSingleFromUnicodeWithOffsets()
3779 targetCapacity=(int32_t)(pArgs->targetLimit-(char *)target); in ucnv_MBCSSingleFromUnicodeWithOffsets()
3796 pArgs->source=source; in ucnv_MBCSSingleFromUnicodeWithOffsets()
3797 pArgs->target=(char *)target; in ucnv_MBCSSingleFromUnicodeWithOffsets()
3798 pArgs->offsets=offsets; in ucnv_MBCSSingleFromUnicodeWithOffsets()
3813 ucnv_MBCSSingleFromBMPWithOffsets(UConverterFromUnicodeArgs *pArgs, in ucnv_MBCSSingleFromBMPWithOffsets() argument
3832 cnv=pArgs->converter; in ucnv_MBCSSingleFromBMPWithOffsets()
3833 source=pArgs->source; in ucnv_MBCSSingleFromBMPWithOffsets()
3834 sourceLimit=pArgs->sourceLimit; in ucnv_MBCSSingleFromBMPWithOffsets()
3835 target=(uint8_t *)pArgs->target; in ucnv_MBCSSingleFromBMPWithOffsets()
3836 targetCapacity=(int32_t)(pArgs->targetLimit-pArgs->target); in ucnv_MBCSSingleFromBMPWithOffsets()
3837 offsets=pArgs->offsets; in ucnv_MBCSSingleFromBMPWithOffsets()
3976 if (pArgs->flush) { in ucnv_MBCSSingleFromBMPWithOffsets()
4011 &target, (const uint8_t *)(pArgs->targetLimit), in ucnv_MBCSSingleFromBMPWithOffsets()
4013 pArgs->flush, in ucnv_MBCSSingleFromBMPWithOffsets()
4025 targetCapacity=(int32_t)(pArgs->targetLimit-(char *)target); in ucnv_MBCSSingleFromBMPWithOffsets()
4038 if(U_SUCCESS(*pErrorCode) && source<sourceLimit && target>=(uint8_t *)pArgs->targetLimit) { in ucnv_MBCSSingleFromBMPWithOffsets()
4064 pArgs->source=source; in ucnv_MBCSSingleFromBMPWithOffsets()
4065 pArgs->target=(char *)target; in ucnv_MBCSSingleFromBMPWithOffsets()
4066 pArgs->offsets=offsets; in ucnv_MBCSSingleFromBMPWithOffsets()
4070 ucnv_MBCSFromUnicodeWithOffsets(UConverterFromUnicodeArgs *pArgs, in ucnv_MBCSFromUnicodeWithOffsets() argument
4097 cnv=pArgs->converter; in ucnv_MBCSFromUnicodeWithOffsets()
4104 ucnv_extContinueMatchFromU(cnv, pArgs, -1, pErrorCode); in ucnv_MBCSFromUnicodeWithOffsets()
4116 ucnv_MBCSSingleFromBMPWithOffsets(pArgs, pErrorCode); in ucnv_MBCSFromUnicodeWithOffsets()
4118 ucnv_MBCSSingleFromUnicodeWithOffsets(pArgs, pErrorCode); in ucnv_MBCSFromUnicodeWithOffsets()
4122 ucnv_MBCSDoubleFromUnicodeWithOffsets(pArgs, pErrorCode); in ucnv_MBCSFromUnicodeWithOffsets()
4127 source=pArgs->source; in ucnv_MBCSFromUnicodeWithOffsets()
4128 sourceLimit=pArgs->sourceLimit; in ucnv_MBCSFromUnicodeWithOffsets()
4129 target=(uint8_t *)pArgs->target; in ucnv_MBCSFromUnicodeWithOffsets()
4130 targetCapacity=(int32_t)(pArgs->targetLimit-pArgs->target); in ucnv_MBCSFromUnicodeWithOffsets()
4131 offsets=pArgs->offsets; in ucnv_MBCSFromUnicodeWithOffsets()
4610 pArgs->source=source; in ucnv_MBCSFromUnicodeWithOffsets()
4615 pArgs->flush, in ucnv_MBCSFromUnicodeWithOffsets()
4617 nextSourceIndex+=(int32_t)(source-pArgs->source); in ucnv_MBCSFromUnicodeWithOffsets()
4627 targetCapacity=(int32_t)(pArgs->targetLimit-(char *)target); in ucnv_MBCSFromUnicodeWithOffsets()
4775 pArgs->flush && source>=sourceLimit && c==0 in ucnv_MBCSFromUnicodeWithOffsets()
4810 pArgs->source=source; in ucnv_MBCSFromUnicodeWithOffsets()
4811 pArgs->target=(char *)target; in ucnv_MBCSFromUnicodeWithOffsets()
4812 pArgs->offsets=offsets; in ucnv_MBCSFromUnicodeWithOffsets()
5664 ucnv_MBCSWriteSub(UConverterFromUnicodeArgs *pArgs, in ucnv_MBCSWriteSub() argument
5667 UConverter *cnv=pArgs->converter; in ucnv_MBCSWriteSub()
5720 ucnv_cbFromUWriteBytes(pArgs, subchar, length, offsetIndex, pErrorCode); in ucnv_MBCSWriteSub()