Home | History | Annotate | Download | only in common

Lines Matching refs:converter

65  * (Note that the _MBCSHeader version is in addition to the converter formatVersion.)
356 * the converter checks for known output types, which allows
357 * adding new ones without crashing an unaware converter
657 * Internal function enumerating the toUnicode data of an MBCS converter.
1198 * - a converter name string with the swap option appended
1233 /* set the canonical converter name */
1491 * Exit as soon as we know that we can load the converter
1503 /* overwrite values with relevant ones for the extension converter */
1508 * It would be possible to share the swapLFNL data with a base converter,
1511 * It is easier to just create the data for the extension converter
1519 * The reconstitutedData must be deleted only when the base converter
1525 * Set a special, runtime-only outputType if the extension converter
1526 * is a DBCS version of a base converter that also maps single bytes.
1533 /* the base converter is SI/SO-stateful */
1552 /* non-stateful base converter, need to modify the state table */
1615 * Exit as soon as we know that we can load the converter
1634 * converter versions 6.1 and up contain a unicodeMask that is
1798 /* set a flag for KEIS converter, which changes the SI/SO character sequence */
1801 /* set a flag for JEF converter, which changes the SI/SO character sequence */
1804 /* set a flag for JIPS converter, which changes the SI/SO character sequence */
1900 cnv=pArgs->converter;
2051 cnv=pArgs->converter;
2338 cnv=pArgs->converter;
2375 /* get the converter state from UConverter */
2381 * if we are in the SBCS state for a DBCS-only converter,
2383 * (dbcsOnlyState==0 if it is not a DBCS-only converter)
2716 /* set the converter state back into UConverter */
2742 cnv=pArgs->converter;
2833 cnv=pArgs->converter;
2862 /* get the converter state from UConverter */
2866 * if we are in the SBCS state for a DBCS-only converter,
2868 * (dbcsOnlyState==0 if it is not a DBCS-only converter)
3036 /* set the converter state back into UConverter, ready for a new character */
3102 * by other converter implementations.
3104 * It does not use state from the converter, nor error codes.
3143 return 0xffff; /* illegal: more than a single byte for an SBCS converter */
3152 /* converter state */
3278 cnv=pArgs->converter;
3297 /* get the converter state from UConverter */
3477 /* set the converter state back into UConverter */
3507 cnv=pArgs->converter;
3530 /* get the converter state from UConverter */
3643 /* set the converter state back into UConverter */
3683 cnv=pArgs->converter;
3706 /* get the converter state from UConverter */
3911 /* set the converter state back into UConverter */
3947 cnv=pArgs->converter;
3996 /* get the converter state from UConverter */
4015 /* Get the SI/SO character for the converter */
4022 * A goto into the loop if the converter state contains a first surrogate
4091 * Save the old state in the converter object
4094 * is not taken, the callback code must not save the new state in the converter
4096 * However, the callback must still restore the state from the converter
4322 * Save the old state in the converter object
4325 * is not taken, the callback code must not save the new state in the converter
4327 * However, the callback must still restore the state from the converter
4641 /* set the converter state back into UConverter */
4654 * It does not use the converter state nor call callbacks.
4880 utf8=pToUArgs->converter;
4881 cnv=pFromUArgs->converter;
4905 /* get the converter state from the UTF-8 UConverter */
5045 /* store the partial UTF-8 character, compatible with the regular UTF-8 converter */
5184 utf8=pToUArgs->converter;
5185 cnv=pFromUArgs->converter;
5209 /* get the converter state from the UTF-8 UConverter */
5329 /* store the partial UTF-8 character, compatible with the regular UTF-8 converter */
5492 * This is an internal function that allows other converter implementations
5504 UConverter *cnv=pArgs->converter;
5561 ucnv_MBCSGetType(const UConverter* converter) {
5563 if(converter->sharedData->mbcs.countStates==1) {
5565 } else if((converter->sharedData->mbcs.outputType&0xff)==MBCS_OUTPUT_2_SISO) {
5567 } else if(converter->sharedData->staticData->minBytesPerChar==2 && converter->sharedData->staticData->maxBytesPerChar==2) {