Home
last modified time | relevance | path

Searched refs:toCharset (Results 1 – 25 of 104) sorted by relevance

12345

/dports/net-p2p/linuxdcpp/linuxdcpp-1.1.0/dcpp/
H A DText.cpp325 const string& fromUtf8(const string& str, const string& toCharset, string& tmp) throw() { in fromUtf8() argument
331 if (toCharset == utf8 || toLower(toCharset, tmp) == utf8) { in fromUtf8()
337 return convert(str, tmp, utf8, toCharset); in fromUtf8()
341 …nvert(const string& str, string& tmp, const string& fromCharset, const string& toCharset) throw() { in convert() argument
346 if (Util::stricmp(fromCharset, toCharset) == 0) in convert()
348 if(toCharset == utf8 || toLower(toCharset, tmp) == utf8) in convert()
354 dcdebug("Unknown conversion from %s to %s\n", fromCharset.c_str(), toCharset.c_str()); in convert()
359 iconv_t cd = iconv_open(toCharset.c_str(), fromCharset.c_str()); in convert()
H A DText.h116 …onvert(const string& str, string& tmp, const string& fromCharset, const string& toCharset) throw();
117 …inline string convert(const string& str, const string& fromCharset, const string& toCharset) throw… in convert() argument
119 return convert(str, tmp, fromCharset, toCharset); in convert()
128 const string& fromUtf8(const string& str, const string& toCharset, string& tmp) throw();
129 inline string fromUtf8(const string& str, const string& toCharset = systemCharset) throw() { in throw()
131 return fromUtf8(str, toCharset, tmp); in throw()
/dports/net-p2p/eiskaltdcpp-cli/eiskaltdcpp-2.2.10/dcpp/
H A DText.cpp325 const string& fromUtf8(const string& str, const string& toCharset, string& tmp) noexcept { in fromUtf8() argument
331 if (toCharset == utf8 || toLower(toCharset, tmp) == utf8) { in fromUtf8()
337 return convert(str, tmp, utf8, toCharset); in fromUtf8()
341 …vert(const string& str, string& tmp, const string& fromCharset, const string& toCharset) noexcept { in convert() argument
346 if (Util::stricmp(fromCharset, toCharset) == 0) in convert()
348 if(toCharset == utf8 || toLower(toCharset, tmp) == utf8) in convert()
354 dcdebug("Unknown conversion from %s to %s\n", fromCharset.c_str(), toCharset.c_str()); in convert()
359 iconv_t cd = iconv_open(toCharset.c_str(), fromCharset.c_str()); in convert()
H A DText.h132 …nvert(const string& str, string& tmp, const string& fromCharset, const string& toCharset) noexcept;
133 …inline string convert(const string& str, const string& fromCharset, const string& toCharset) noexc… in convert() argument
135 return convert(str, tmp, fromCharset, toCharset); in convert()
144 const string& fromUtf8(const string& str, const string& toCharset, string& tmp) noexcept;
145 inline string fromUtf8(const string& str, const string& toCharset = systemCharset) noexcept {
147 return fromUtf8(str, toCharset, tmp);
/dports/net-p2p/eiskaltdcpp-daemon/eiskaltdcpp-2.2.10/dcpp/
H A DText.cpp325 const string& fromUtf8(const string& str, const string& toCharset, string& tmp) noexcept { in fromUtf8() argument
331 if (toCharset == utf8 || toLower(toCharset, tmp) == utf8) { in fromUtf8()
337 return convert(str, tmp, utf8, toCharset); in fromUtf8()
341 …vert(const string& str, string& tmp, const string& fromCharset, const string& toCharset) noexcept { in convert() argument
346 if (Util::stricmp(fromCharset, toCharset) == 0) in convert()
348 if(toCharset == utf8 || toLower(toCharset, tmp) == utf8) in convert()
354 dcdebug("Unknown conversion from %s to %s\n", fromCharset.c_str(), toCharset.c_str()); in convert()
359 iconv_t cd = iconv_open(toCharset.c_str(), fromCharset.c_str()); in convert()
H A DText.h132 …nvert(const string& str, string& tmp, const string& fromCharset, const string& toCharset) noexcept;
133 …inline string convert(const string& str, const string& fromCharset, const string& toCharset) noexc… in convert() argument
135 return convert(str, tmp, fromCharset, toCharset); in convert()
144 const string& fromUtf8(const string& str, const string& toCharset, string& tmp) noexcept;
145 inline string fromUtf8(const string& str, const string& toCharset = systemCharset) noexcept {
147 return fromUtf8(str, toCharset, tmp);
/dports/net-p2p/eiskaltdcpp-gtk/eiskaltdcpp-2.2.10/dcpp/
H A DText.cpp325 const string& fromUtf8(const string& str, const string& toCharset, string& tmp) noexcept { in fromUtf8() argument
331 if (toCharset == utf8 || toLower(toCharset, tmp) == utf8) { in fromUtf8()
337 return convert(str, tmp, utf8, toCharset); in fromUtf8()
341 …vert(const string& str, string& tmp, const string& fromCharset, const string& toCharset) noexcept { in convert() argument
346 if (Util::stricmp(fromCharset, toCharset) == 0) in convert()
348 if(toCharset == utf8 || toLower(toCharset, tmp) == utf8) in convert()
354 dcdebug("Unknown conversion from %s to %s\n", fromCharset.c_str(), toCharset.c_str()); in convert()
359 iconv_t cd = iconv_open(toCharset.c_str(), fromCharset.c_str()); in convert()
H A DText.h132 …nvert(const string& str, string& tmp, const string& fromCharset, const string& toCharset) noexcept;
133 …inline string convert(const string& str, const string& fromCharset, const string& toCharset) noexc… in convert() argument
135 return convert(str, tmp, fromCharset, toCharset); in convert()
144 const string& fromUtf8(const string& str, const string& toCharset, string& tmp) noexcept;
145 inline string fromUtf8(const string& str, const string& toCharset = systemCharset) noexcept {
147 return fromUtf8(str, toCharset, tmp);
/dports/net-p2p/eiskaltdcpp-lib/eiskaltdcpp-2.2.10/dcpp/
H A DText.cpp325 const string& fromUtf8(const string& str, const string& toCharset, string& tmp) noexcept { in fromUtf8() argument
331 if (toCharset == utf8 || toLower(toCharset, tmp) == utf8) { in fromUtf8()
337 return convert(str, tmp, utf8, toCharset); in fromUtf8()
341 …vert(const string& str, string& tmp, const string& fromCharset, const string& toCharset) noexcept { in convert() argument
346 if (Util::stricmp(fromCharset, toCharset) == 0) in convert()
348 if(toCharset == utf8 || toLower(toCharset, tmp) == utf8) in convert()
354 dcdebug("Unknown conversion from %s to %s\n", fromCharset.c_str(), toCharset.c_str()); in convert()
359 iconv_t cd = iconv_open(toCharset.c_str(), fromCharset.c_str()); in convert()
H A DText.h132 …nvert(const string& str, string& tmp, const string& fromCharset, const string& toCharset) noexcept;
133 …inline string convert(const string& str, const string& fromCharset, const string& toCharset) noexc… in convert() argument
135 return convert(str, tmp, fromCharset, toCharset); in convert()
144 const string& fromUtf8(const string& str, const string& toCharset, string& tmp) noexcept;
145 inline string fromUtf8(const string& str, const string& toCharset = systemCharset) noexcept {
147 return fromUtf8(str, toCharset, tmp);
/dports/net-p2p/eiskaltdcpp-data/eiskaltdcpp-2.2.10/dcpp/
H A DText.cpp325 const string& fromUtf8(const string& str, const string& toCharset, string& tmp) noexcept { in fromUtf8() argument
331 if (toCharset == utf8 || toLower(toCharset, tmp) == utf8) { in fromUtf8()
337 return convert(str, tmp, utf8, toCharset); in fromUtf8()
341 …vert(const string& str, string& tmp, const string& fromCharset, const string& toCharset) noexcept { in convert() argument
346 if (Util::stricmp(fromCharset, toCharset) == 0) in convert()
348 if(toCharset == utf8 || toLower(toCharset, tmp) == utf8) in convert()
354 dcdebug("Unknown conversion from %s to %s\n", fromCharset.c_str(), toCharset.c_str()); in convert()
359 iconv_t cd = iconv_open(toCharset.c_str(), fromCharset.c_str()); in convert()
H A DText.h132 …nvert(const string& str, string& tmp, const string& fromCharset, const string& toCharset) noexcept;
133 …inline string convert(const string& str, const string& fromCharset, const string& toCharset) noexc… in convert() argument
135 return convert(str, tmp, fromCharset, toCharset); in convert()
144 const string& fromUtf8(const string& str, const string& toCharset, string& tmp) noexcept;
145 inline string fromUtf8(const string& str, const string& toCharset = systemCharset) noexcept {
147 return fromUtf8(str, toCharset, tmp);
/dports/mail/libvmime/vmime-0.9.2/tests/parser/
H A DcharsetFilteredOutputStreamTest.cpp106 testName << i << ": " << entry.fromCharset << " -> " << entry.toCharset; in testStreamCopy()
118 vmime::charsetConverter::create(entry.fromCharset, entry.toCharset); in testStreamCopy()
143 testName << i << ": " << entry.fromCharset << " -> " << entry.toCharset; in testOneByteAtTime()
155 vmime::charsetConverter::create(entry.fromCharset, entry.toCharset); in testOneByteAtTime()
183 testName << i << ": " << entry.fromCharset << " -> " << entry.toCharset; in testVariableInputChunk()
195 vmime::charsetConverter::create(entry.fromCharset, entry.toCharset); in testVariableInputChunk()
H A DcharsetTest.cpp62 testName << i << ": " << entry.fromCharset << " -> " << entry.toCharset; in VMIME_TEST_SUITE_BEGIN()
73 (in, actualOut, entry.fromCharset, entry.toCharset); in VMIME_TEST_SUITE_BEGIN()
86 testName << i << ": " << entry.fromCharset << " -> " << entry.toCharset; in testConvertStreamValid()
100 (is, os, entry.fromCharset, entry.toCharset); in testConvertStreamValid()
/dports/graphics/dcmtk/dcmtk-DCMTK-3.6.6/dcmdata/include/dcmtk/dcmdata/
H A Ddcspchrs.h137 const OFString &toCharset = "ISO_IR 192");
164 const OFString &toCharset = "ISO_IR 192");
236 OFCondition determineDestinationEncoding(const OFString &toCharset);
/dports/www/typo3-9/typo3_src-9.5.31/typo3/sysext/core/Classes/Charset/
H A DCharsetConverter.php231 * @param string $toCharset To charset (the output charset wanted)
236 public function conv($inputString, $fromCharset, $toCharset, $useEntityForNoChar = null) argument
238 if ($fromCharset === $toCharset) {
249 if ($toCharset === 'utf-8' || !$useEntityForNoChar) {
251 $convertedString = mb_convert_encoding($inputString, $toCharset, $fromCharset);
259 if ($toCharset !== 'utf-8') {
260 $inputString = $this->utf8_decode($inputString, $toCharset, $useEntityForNoChar);
271 * @param string $toCharset To charset (the output charset wanted)
276 public function convArray(&$array, $fromCharset, $toCharset, $useEntityForNoChar = false) argument
281 $this->convArray($array[$key], $fromCharset, $toCharset, $useEntityForNoChar);
[all …]
/dports/deskutils/syncthingtray/c++utilities/conversion/
H A Dstringconversion.cpp59 ConversionDescriptor(const char *fromCharset, const char *toCharset) in ConversionDescriptor() argument
60 : m_ptr(iconv_open(toCharset, fromCharset)) in ConversionDescriptor()
68 …ConversionDescriptor(const char *fromCharset, const char *toCharset, OutputSizeHint outputSizeHint) in ConversionDescriptor() argument
69 : m_ptr(iconv_open(toCharset, fromCharset)) in ConversionDescriptor()
135 …const char *fromCharset, const char *toCharset, const char *inputBuffer, std::size_t inputBufferSi… in convertString() argument
137 …return ConversionDescriptor<Factor>(fromCharset, toCharset, outputBufferSizeFactor).convertString(… in convertString()
/dports/deskutils/pinot/pinot-1.20/Tokenize/
H A DTextConverter.cpp46 string &fromCharset, const string &toCharset) in convert() argument
57 IConv converter(toCharset, fromCharset); in convert()
131 outputText = convert(text, fromCharset, toCharset); in convert()
/dports/www/typo3-11/typo3_src-11.5.7/typo3/sysext/core/Classes/Charset/
H A DCharsetConverter.php107 * @param string $toCharset To charset (the output charset wanted)
110 public function conv($inputString, $fromCharset, $toCharset) argument
112 if ($fromCharset === $toCharset) {
116 if ($toCharset === 'utf-8') {
118 $convertedString = mb_convert_encoding($inputString, $toCharset, $fromCharset);
126 if ($toCharset !== 'utf-8') {
127 $inputString = $this->utf8_decode($inputString, $toCharset, true);
/dports/www/typo3-10/typo3_src-10.4.25/typo3/sysext/core/Classes/Charset/
H A DCharsetConverter.php107 * @param string $toCharset To charset (the output charset wanted)
110 public function conv($inputString, $fromCharset, $toCharset) argument
112 if ($fromCharset === $toCharset) {
116 if ($toCharset === 'utf-8') {
118 $convertedString = mb_convert_encoding($inputString, $toCharset, $fromCharset);
126 if ($toCharset !== 'utf-8') {
127 $inputString = $this->utf8_decode($inputString, $toCharset, true);
/dports/java/openjdk8/jdk8u-jdk8u312-b07.1/jdk/src/share/classes/java/io/
H A DPrintStream.java88 private static Charset toCharset(String csn) in toCharset() method in PrintStream
177 toCharset(encoding)); in PrintStream()
248 this(false, toCharset(csn), new FileOutputStream(fileName)); in PrintStream()
319 this(false, toCharset(csn), new FileOutputStream(file)); in PrintStream()
/dports/java/openjdk8-jre/jdk8u-jdk8u312-b07.1/jdk/src/share/classes/java/io/
H A DPrintStream.java88 private static Charset toCharset(String csn) in toCharset() method in PrintStream
177 toCharset(encoding)); in PrintStream()
248 this(false, toCharset(csn), new FileOutputStream(fileName)); in PrintStream()
319 this(false, toCharset(csn), new FileOutputStream(file)); in PrintStream()
/dports/graphics/dcmtk/dcmtk-DCMTK-3.6.6/dcmdata/libsrc/
H A Ddcspchrs.cc120 const OFString &toCharset) in selectCharacterSet() argument
125 OFCondition status = determineDestinationEncoding(toCharset); in selectCharacterSet()
158 const OFString &toCharset) in selectCharacterSet() argument
164 return selectCharacterSet(fromCharset, toCharset); in selectCharacterSet()
168 OFCondition DcmSpecificCharacterSet::determineDestinationEncoding(const OFString &toCharset) in determineDestinationEncoding() argument
172 DestinationCharacterSet = toCharset; in determineDestinationEncoding()
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/src/java.base/share/classes/java/io/
H A DPrintStream.java94 private static Charset toCharset(String csn) in toCharset() method in PrintStream
172 this(requireNonNull(out, "Null output stream"), autoFlush, toCharset(encoding)); in PrintStream()
266 this(false, toCharset(csn), new FileOutputStream(fileName)); in PrintStream()
367 this(false, toCharset(csn), new FileOutputStream(file)); in PrintStream()
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/src/java.base/share/classes/java/io/
H A DPrintStream.java94 private static Charset toCharset(String csn) in toCharset() method in PrintStream
172 this(requireNonNull(out, "Null output stream"), autoFlush, toCharset(encoding)); in PrintStream()
266 this(false, toCharset(csn), new FileOutputStream(fileName)); in PrintStream()
367 this(false, toCharset(csn), new FileOutputStream(file)); in PrintStream()

12345