Lines Matching refs:mydata
611 UConverterDataISO2022* myData =(UConverterDataISO2022 *) (converter->extraInfo);
612 UConverterSharedData **array = myData->myConverterArray;
623 ucnv_close(myData->currentConverter);
680 UConverterDataISO2022* myData= (UConverterDataISO2022*)cnv->extraInfo;
681 return myData->name;
1208 UConverterDataISO2022* myData;
1212 myData=((UConverterDataISO2022*)(saveThis->extraInfo));
1216 if(myData->key == 0) { /* are we in the middle of an escape sequence? */
1221 if(myData->currentConverter==NULL) {
1222 myData->currentConverter = ucnv_open("ASCII",err);
1227 myData->currentConverter->fromCharErrorBehaviour = UCNV_TO_U_CALLBACK_STOP;
1232 myData->isFirstBuffer=FALSE;
1235 args->converter = myData->currentConverter;
1248 length = saveThis->UCharErrorBufferLength = myData->currentConverter->UCharErrorBufferLength;
1249 myData->currentConverter->UCharErrorBufferLength = 0;
1252 myData->currentConverter->UCharErrorBuffer,
1270 (mySourceLimit < realSourceLimit && myData->currentConverter->toULength > 0))
1274 length = saveThis->invalidCharLength = myData->currentConverter->invalidCharLength;
1276 uprv_memcpy(saveThis->invalidCharBuffer, myData->currentConverter->invalidCharBuffer, length);
1279 length = saveThis->toULength = myData->currentConverter->toULength;
1281 uprv_memcpy(saveThis->toUBytes, myData->currentConverter->toUBytes, length);
2034 UConverterDataISO2022* myData;
2038 myData=(UConverterDataISO2022*)(args->converter->extraInfo);
2039 pToU2022State = &myData->toU2022State;
2041 if(myData->key != 0) {
2063 if(myData->version==3) {
2068 myData->isEmptySegment = FALSE; /* reset this, we have a different error */
2073 if(myData->version==3) {
2080 myData->isEmptySegment = FALSE; /* reset this, we have a different error */
2095 if(myData->version==0 && myData->key==0 && U_SUCCESS(*err) && myData->isEmptySegment) {
2106 myData->isEmptySegment = FALSE; /* Reset to avoid future spurious errors */
2110 if(myData->key==0) {
2111 myData->isEmptySegment = TRUE;
2129 myData->isEmptySegment = FALSE;
2131 if( (uint8_t)(mySourceChar - 0xa1) <= (0xdf - 0xa1) && myData->version==4 &&
2159 myData->myConverterArray[cs],
2210 targetUniChar = ucnv_MBCSSimpleGetNextUChar(myData->myConverterArray[cs], tempBuf, 2, FALSE);
2523 UConverterDataISO2022* myData=(UConverterDataISO2022*)(args->converter->extraInfo);
2537 subArgs.converter = myData->currentConverter;
2542 if(myData->key != 0) {
2626 UConverterDataISO2022* myData;
2630 myData=(UConverterDataISO2022*)(args->converter->extraInfo);
2631 if(myData->version==1){
2637 sharedData = myData->currentConverter->sharedData;
2640 if(myData->key != 0) {
2657 myData->toU2022State.g = 0;
2658 if (myData->isEmptySegment) {
2659 myData->isEmptySegment = FALSE; /* we are handling it, reset to avoid future spurious errors */
2671 myData->toU2022State.g = 1;
2672 myData->isEmptySegment = TRUE; /* Begin a new segment, empty so far */
2678 myData->isEmptySegment = FALSE; /* Any invalid ESC sequences will be detected separately, so just reset this */
2689 myData->isEmptySegment = FALSE; /* Any invalid char errors will be detected separately, so just reset this */
2690 if(myData->toU2022State.g == 1) {
3217 UConverterDataISO2022* myData;
3220 myData
3221 pToU2022State = &myData->toU2022State;
3223 if(myData->key != 0) {
3245 if (myData->isEmptySegment) {
3246 myData->isEmptySegment = FALSE; /* we are handling it, reset to avoid future spurious errors */
3260 myData->isEmptySegment = TRUE; /* Begin a new segment, empty so far */
3264 myData->isEmptySegment = FALSE; /* Handling a different error, reset this to avoid future spurious errs */
3279 if(myData->key==0 && U_SUCCESS(*err) && myData->isEmptySegment) {
3290 myData->isEmptySegment = FALSE; /* Reset to avoid future spurious errors */
3304 myData->isEmptySegment = FALSE;
3330 cnv = myData->myConverterArray[CNS_11643];
3337 cnv = myData->myConverterArray[tempState];
3529 UConverterDataISO2022 mydata;
3554 uprv_memcpy(&localClone->mydata, cnvData, sizeof(UConverterDataISO2022));
3555 localClone->cnv.extraInfo = &localClone->mydata; /* set pointer to extra data */
3562 localClone->mydata.currentConverter =