Lines Matching refs:pArgs
1410 UConverterLoadArgs *pArgs,
1456 if(pArgs->nestedLoads!=1) {
1473 args.onlyTestIsLoadable=pArgs->onlyTestIsLoadable;
1474 args.reserved=pArgs->reserved;
1475 args.options=pArgs->options;
1476 args.pkg=pArgs->pkg;
1489 if(pArgs->onlyTestIsLoadable) {
1613 if(pArgs->onlyTestIsLoadable) {
1753 UConverterLoadArgs *pArgs,
1760 if(pArgs->onlyTestIsLoadable) {
1769 cnv->options=pArgs->options&=~UCNV_OPTION_SWAP_LFNL;
1772 if((pArgs->options&UCNV_OPTION_SWAP_LFNL)!=0) {
1787 cnv->options=pArgs->options&=~UCNV_OPTION_SWAP_LFNL;
1792 if(uprv_strstr(pArgs->name, "18030")!=NULL) {
1793 if(uprv_strstr(pArgs->name, "gb18030")!=NULL || uprv_strstr(pArgs->name, "GB18030")!=NULL) {
1797 } else if((uprv_strstr(pArgs->name, "KEIS")!=NULL) || (uprv_strstr(pArgs->name, "keis")!=NULL)) {
1800 } else if((uprv_strstr(pArgs->name, "JEF")!=NULL) || (uprv_strstr(pArgs->name, "jef")!=NULL)) {
1803 } else if((uprv_strstr(pArgs->name, "JIPS")!=NULL) || (uprv_strstr(pArgs->name, "jips")!=NULL)) {
1883 ucnv_MBCSSingleToUnicodeWithOffsets(UConverterToUnicodeArgs *pArgs,
1900 cnv=pArgs->converter;
1901 source=(const uint8_t *)pArgs->source;
1902 sourceLimit=(const uint8_t *)pArgs->sourceLimit;
1903 target=pArgs->target;
1904 targetLimit=pArgs->targetLimit;
1905 offsets=pArgs->offsets;
2005 pArgs->source=(const char *)source;
2011 pArgs->flush,
2013 sourceIndex+=1+(int32_t)(source-(const uint8_t *)pArgs->source);
2023 pArgs->source=(const char *)source;
2024 pArgs->target=target;
2025 pArgs->offsets=offsets;
2035 ucnv_MBCSSingleToBMPWithOffsets(UConverterToUnicodeArgs *pArgs,
2051 cnv=pArgs->converter;
2052 source=(const uint8_t *)pArgs->source;
2053 sourceLimit=(const uint8_t *)pArgs->sourceLimit;
2054 target=pArgs->target;
2055 targetCapacity=(int32_t)(pArgs->targetLimit-pArgs->target);
2056 offsets=pArgs->offsets;
2210 &target, pArgs->targetLimit,
2212 pArgs->flush,
2222 targetCapacity=(int32_t)(pArgs->targetLimit-target);
2235 if(U_SUCCESS(*pErrorCode) && source<sourceLimit && target>=pArgs->targetLimit) {
2250 pArgs->source=(const char *)source;
2251 pArgs->target=target;
2252 pArgs->offsets=offsets;
2315 ucnv_MBCSToUnicodeWithOffsets(UConverterToUnicodeArgs *pArgs,
2338 cnv=pArgs->converter;
2345 ucnv_extContinueMatchToU(cnv, pArgs, -1, pErrorCode);
2354 ucnv_MBCSSingleToBMPWithOffsets(pArgs, pErrorCode);
2356 ucnv_MBCSSingleToUnicodeWithOffsets(pArgs, pErrorCode);
2362 source=(const uint8_t *)pArgs->source;
2363 sourceLimit=(const uint8_t *)pArgs->sourceLimit;
2364 target=pArgs->target;
2365 targetLimit=pArgs->targetLimit;
2366 offsets=pArgs->offsets;
2684 int32_t bytesFromThisBuffer=(int32_t)(source-(const uint8_t *)pArgs->source);
2693 source=(const uint8_t *)pArgs->source;
2700 pArgs->source=(const char *)source;
2705 pArgs->flush,
2707 sourceIndex=nextSourceIndex+=(int32_t)(source-(const uint8_t *)pArgs->source);
2722 pArgs->source=(const char *)source;
2723 pArgs->target=target;
2724 pArgs->offsets=offsets;
2732 ucnv_MBCSSingleGetNextUChar(UConverterToUnicodeArgs *pArgs,
2742 cnv=pArgs->converter;
2743 source=(const uint8_t *)pArgs->source;
2744 sourceLimit=(const uint8_t *)pArgs->sourceLimit;
2757 pArgs->source=(const char *)source;
2794 pArgs->source=(const char *)source-1;
2817 ucnv_MBCSGetNextUChar(UConverterToUnicodeArgs *pArgs,
2833 cnv=pArgs->converter;
2848 return ucnv_MBCSSingleGetNextUChar(pArgs, pErrorCode);
2852 source=lastSource=(const uint8_t *)pArgs->source;
2853 sourceLimit=(const uint8_t *)pArgs->sourceLimit;
2990 pArgs->source=(const char *)lastSource;
3041 pArgs->source=(const char *)source;
3256 ucnv_MBCSDoubleFromUnicodeWithOffsets(UConverterFromUnicodeArgs *pArgs,
3278 cnv=pArgs->converter;
3282 source=pArgs->source;
3283 sourceLimit=pArgs->sourceLimit;
3284 target=(uint8_t *)pArgs->target;
3285 targetCapacity=(int32_t)(pArgs->targetLimit-pArgs->target);
3286 offsets=pArgs->offsets;
3408 pArgs->source=source;
3413 pArgs->flush,
3415 nextSourceIndex+=(int32_t)(source-pArgs->source);
3424 targetCapacity=(int32_t)(pArgs->targetLimit-(char *)target);
3481 pArgs->source=source;
3482 pArgs->target=(char *)target;
3483 pArgs->offsets=offsets;
3488 ucnv_MBCSSingleFromUnicodeWithOffsets(UConverterFromUnicodeArgs *pArgs,
3507 cnv=pArgs->converter;
3508 source=pArgs->source;
3509 sourceLimit=pArgs->sourceLimit;
3510 target=(uint8_t *)pArgs->target;
3511 targetCapacity=(int32_t)(pArgs->targetLimit-pArgs->target);
3512 offsets=pArgs->offsets;
3614 pArgs->source=source;
3619 pArgs->flush,
3621 nextSourceIndex+=(int32_t)(source-pArgs->source);
3630 targetCapacity=(int32_t)(pArgs->targetLimit-(char *)target);
3647 pArgs->source=source;
3648 pArgs->target=(char *)target;
3649 pArgs->offsets=offsets;
3664 ucnv_MBCSSingleFromBMPWithOffsets(UConverterFromUnicodeArgs *pArgs,
3683 cnv=pArgs->converter;
3684 source=pArgs->source;
3685 sourceLimit=pArgs->sourceLimit;
3686 target=(uint8_t *)pArgs->target;
3687 targetCapacity=(int32_t)(pArgs->targetLimit-pArgs->target);
3688 offsets=pArgs->offsets;
3827 if (pArgs->flush) {
3862 &target, (const uint8_t *)(pArgs->targetLimit),
3864 pArgs->flush,
3876 targetCapacity=(int32_t)(pArgs->targetLimit-(char *)target);
3889 if(U_SUCCESS(*pErrorCode) && source<sourceLimit && target>=(uint8_t *)pArgs->targetLimit) {
3915 pArgs->source=source;
3916 pArgs->target=(char *)target;
3917 pArgs->offsets=offsets;
3921 ucnv_MBCSFromUnicodeWithOffsets(UConverterFromUnicodeArgs *pArgs,
3947 cnv=pArgs->converter;
3954 ucnv_extContinueMatchFromU(cnv, pArgs, -1, pErrorCode);
3966 ucnv_MBCSSingleFromBMPWithOffsets(pArgs, pErrorCode);
3968 ucnv_MBCSSingleFromUnicodeWithOffsets(pArgs, pErrorCode);
3972 ucnv_MBCSDoubleFromUnicodeWithOffsets(pArgs, pErrorCode);
3977 source=pArgs->source;
3978 sourceLimit=pArgs->sourceLimit;
3979 target=(uint8_t *)pArgs->target;
3980 targetCapacity=(int32_t)(pArgs->targetLimit-pArgs->target);
3981 offsets=pArgs->offsets;
4460 pArgs->source=source;
4465 pArgs->flush,
4467 nextSourceIndex+=(int32_t)(source-pArgs->source);
4477 targetCapacity=(int32_t)(pArgs->targetLimit-(char *)target);
4611 pArgs->flush && source>=sourceLimit && c==0
4646 pArgs->source=source;
4647 pArgs->target=(char *)target;
4648 pArgs->offsets=offsets;
5501 ucnv_MBCSWriteSub(UConverterFromUnicodeArgs *pArgs,
5504 UConverter *cnv=pArgs->converter;
5557 ucnv_cbFromUWriteBytes(pArgs, subchar, length, offsetIndex, pErrorCode);