Lines Matching refs:CFX_CharMap
336 void CFX_WideString::ConvertFrom(const CFX_ByteString& str, CFX_CharMap* pCharMap)
339 pCharMap = CFX_CharMap::GetDefaultMapper();
1104 static CFX_ByteString _DefMap_GetByteString(CFX_CharMap* pCharMap, const CFX_WideString& widestr)
1118 static CFX_WideString _DefMap_GetWideString(CFX_CharMap* pCharMap, const CFX_ByteString& bytestr)
1148 static const CFX_CharMap g_DefaultMapper = {&_DefMap_GetWideString, &_DefMap_GetByteString, NULL};
1149 static const CFX_CharMap g_DefaultGBKMapper = {&_DefMap_GetWideString, &_DefMap_GetByteString, &_DefMap_GetGBKCodePage};
1150 static const CFX_CharMap g_DefaultJISMapper = {&_DefMap_GetWideString, &_DefMap_GetByteString, &_DefMap_GetJISCodePage};
1151 static const CFX_CharMap g_DefaultUHCMapper = {&_DefMap_GetWideString, &_DefMap_GetByteString, &_DefMap_GetUHCCodePage};
1152 static const CFX_CharMap g_DefaultBig5Mapper = {&_DefMap_GetWideString, &_DefMap_GetByteString, &_DefMap_GetBig5CodePage};
1153 CFX_CharMap* CFX_CharMap::GetDefaultMapper(FX_INT32 codepage)
1157 return (CFX_CharMap*)&g_DefaultMapper;
1159 return (CFX_CharMap*)&g_DefaultJISMapper;
1161 return (CFX_CharMap*)&g_DefaultGBKMapper;
1163 return (CFX_CharMap*)&g_DefaultUHCMapper;
1165 return (CFX_CharMap*)&g_DefaultBig5Mapper;