Home
last modified time | relevance | path

Searched refs:iconv (Results 1 – 25 of 290) sorted by relevance

12345678910>>...12

/third_party/node/deps/npm/node_modules/iconv-lite/lib/
Dindex.js8 iconv = module.exports; variable
12 iconv.encodings = null;
15 iconv.defaultCharUnicode = '�';
16 iconv.defaultCharSingleByte = '?';
19 iconv.encode = function encode(str, encoding, options) {
22 var encoder = iconv.getEncoder(encoding, options);
30 iconv.decode = function decode(buf, encoding, options) {
32 if (!iconv.skipDecodeWarning) {
34 iconv.skipDecodeWarning = true;
40 var decoder = iconv.getDecoder(encoding, options);
[all …]
Dextend-node.js7 module.exports = function (iconv) { argument
13 iconv.supportsNodeEncodingsExtension = !(Buffer.from || new Buffer(0) instanceof Uint8Array);
15 iconv.extendNodeEncodings = function extendNodeEncodings() {
19 if (!iconv.supportsNodeEncodingsExtension) {
48 return iconv.decode(this.slice(start, end), encoding);
87 var buf = iconv.encode(string, encoding);
97 return Buffer.isNativeEncoding(encoding) || iconv.encodingExists(encoding);
109 return iconv.encode(str, encoding).length;
123 return iconv.decode(this.slice(start, end), encoding);
164 var buf = iconv.encode(string, encoding);
[all …]
Dstreams.js8 module.exports = function(iconv) { argument
11 iconv.encodeStream = function encodeStream(encoding, options) {
12 return new IconvLiteEncoderStream(iconv.getEncoder(encoding, options), options);
15 iconv.decodeStream = function decodeStream(encoding, options) {
16 return new IconvLiteDecoderStream(iconv.getDecoder(encoding, options), options);
19 iconv.supportsStreams = true;
23 iconv.IconvLiteEncoderStream = IconvLiteEncoderStream;
24 iconv.IconvLiteDecoderStream = IconvLiteDecoderStream;
25 iconv._collect = IconvLiteDecoderStream.prototype.collect;
/third_party/gettext/libtextstyle/gnulib-local/modules/
Diconv-ostream5 lib/iconv-ostream.oo.h
6 lib/iconv-ostream.oo.c
14 iconv
20 lib_SOURCES += iconv-ostream.c
23 $(srcdir)/iconv-ostream.h : $(top_srcdir)/build-aux/moopp iconv-ostream.oo.h iconv-ostream.oo.c ost…
24 …$(top_srcdir)/build-aux/moopp $(MOOPPFLAGS) $(srcdir)/iconv-ostream.oo.c $(srcdir)/iconv-ostream.o…
25 $(srcdir)/iconv-ostream.c $(srcdir)/iconv_ostream.priv.h $(srcdir)/iconv_ostream.vt.h : iconv-ostre…
27 trap 'rm -rf iconv-ostream.lock' 1 2 13 15; \
28 if mkdir iconv-ostream.lock 2>/dev/null; then \
29 …echo "$(top_srcdir)/build-aux/moopp $(MOOPPFLAGS) $(srcdir)/iconv-ostream.oo.c $(srcdir)/iconv-ost…
[all …]
/third_party/node/deps/npm/node_modules/iconv-lite/encodings/
Dutf7.js9 function Utf7Codec(codecOptions, iconv) { argument
10 this.iconv = iconv;
23 this.iconv = codec.iconv;
31 this.iconv.encode(chunk, 'utf16-be').toString('base64').replace(/=+$/, ''))
43 this.iconv = codec.iconv;
68 res += this.iconv.decode(buf.slice(lastI, i), "ascii"); // Write direct chars.
78 res += this.iconv.decode(Buffer.from(b64str, 'base64'), "utf16-be");
92 res += this.iconv.decode(buf.slice(lastI), "ascii"); // Write direct chars.
100 res += this.iconv.decode(Buffer.from(b64str, 'base64'), "utf16-be");
112 res = this.iconv.decode(Buffer.from(this.base64Accum, 'base64'), "utf16-be");
[all …]
Dutf16.js76 function Utf16Codec(codecOptions, iconv) { argument
77 this.iconv = iconv;
90 this.encoder = codec.iconv.getEncoder('utf-16le', options);
110 this.iconv = codec.iconv;
125 this.decoder = this.iconv.getDecoder(encoding, this.options);
136 this.decoder = this.iconv.getDecoder(encoding, this.options);
Dsbcs-codec.js8 function SBCSCodec(codecOptions, iconv) { argument
26 var encodeBuf = new Buffer.alloc(65536, iconv.defaultCharSingleByte.charCodeAt(0));
/third_party/node/deps/npm/node_modules/iconv-lite/
DREADME.md1 … Status](https://travis-ci.org/ashtuchkin/iconv-lite.svg?branch=master)](https://travis-ci.org/ash…
6 …* Faster than [node-iconv](https://github.com/bnoordhuis/node-iconv) (see below for performance co…
9 …* [Deprecated] Can extend Node.js primitives (buffers, streams) to support all iconv-lite encoding…
11 …* Typescript [type definition file](https://github.com/ashtuchkin/iconv-lite/blob/master/lib/index…
15 [![NPM Stats](https://nodei.co/npm/iconv-lite.png?downloads=true&downloadRank=true)](https://npmjs.…
20 var iconv = require('iconv-lite');
23 str = iconv.decode(Buffer.from([0x68, 0x65, 0x6c, 0x6c, 0x6f]), 'win1251');
26 buf = iconv.encode("Sample input string", 'win1251');
29 iconv.encodingExists("us-ascii")
37 var converterStream = iconv.decodeStream('win1251');
[all …]
DChangelog.md29 * Re-generated windows1255 codec, because it was updated in iconv project
30 * Fixed grammar in error message when iconv-lite is loaded with encoding other than utf8
49 * Added a warning if iconv-lite is loaded not as utf-8 (see #142)
97 * Added io.js testing on Travis; updated node-iconv version to test against.
98 Now we just skip testing SBCS encodings that node-iconv doesn't support.
/third_party/gettext/os2/iconv/
DMakefile35 ICONV.OBJECTS = iconv.o
45 all: iconv.dll iconv.a iconv_s.a
48 rm -rf *.o iconv.dll iconv*.a iconv.def
53 $(OUT)iconv.def: $(ICONV.OBJECTS)
60 $(OUT)iconv.dll: $(ICONV.OBJECTS) $(OUT)iconv.def
/third_party/node/deps/npm/node_modules/encoding/
DREADME.md3iconv](https://github.com/bnoordhuis/node-iconv) and [iconv-lite](https://github.com/ashtuchkin/ic…
4 iconv-lite will be used instead of it as a fallback.
38 ## iconv support
40 By default only iconv-lite is bundled. If you need node-iconv support, you need to add it
46 "iconv": "*"
/third_party/gettext/gettext-runtime/m4/
Diconv.m41 # iconv.m4 serial 21
18 AC_LIB_LINKFLAGS_BODY([iconv])
23 dnl Some systems have iconv in libc, some have it in libiconv (OSF/1 and
38 AC_CACHE_CHECK([for iconv], [am_cv_func_iconv], [
45 #include <iconv.h>
48 iconv(cd,NULL,NULL,NULL,NULL);
58 #include <iconv.h>
61 iconv(cd,NULL,NULL,NULL,NULL);
69 AC_CACHE_CHECK([for working iconv], [am_cv_func_iconv_works], [
81 #include <iconv.h>
[all …]
DChangeLog.030 * extern-inline.m4, iconv.m4: Update from Gnulib.
91 * iconv.m4: Likewise.
165 * iconv.m4: Likewise.
216 iconv.m4: Add support for MSVC compiler.
217 * iconv.m4 (AM_ICONV): Use ISO C declaration syntax on MSVC.
258 * iconv.m4 (AM_ICONV_LINK): Likewise.
262 * iconv.m4 (AM_ICONV): If the gnulib module 'iconv-h' is present, set
299 * iconv.m4 (gl_iconv_AC_DEFUN): Use AC_DEFUN_ONCE if gl_00GNULIB is
312 iconv: Work around AIX 6.1..7.1 bug.
313 * iconv.m4 (AM_ICONV_LINK): Test against AIX 6.1, 7.1 bug. When
[all …]
/third_party/glib/gio/
Dgcharsetconverter.c62 GIConv iconv; member
82 if (conv->iconv)
83 g_iconv_close (conv->iconv);
226 if (conv->iconv == NULL) in g_charset_converter_reset()
232 g_iconv (conv->iconv, NULL, NULL, NULL, NULL); in g_charset_converter_reset()
257 if (conv->iconv == NULL) in g_charset_converter_convert()
288 res = g_iconv (conv->iconv, in g_charset_converter_convert()
292 res = g_iconv (conv->iconv, in g_charset_converter_convert()
449 conv->iconv = g_iconv_open (conv->to, conv->from); in g_charset_converter_initable_init()
452 if (conv->iconv == (GIConv)-1) in g_charset_converter_initable_init()
/third_party/boost/libs/locale/build/
DJamfile.v219 feature.feature boost.locale.iconv : on off : optional propagated ;
27 ## iconv
35 lib iconv
42 explicit iconv ;
44 obj has_iconv_libc_ext : ../build/has_iconv.cpp iconv ;
45 exe has_external_iconv : has_iconv_libc_ext iconv ;
210 local found-iconv ;
212 if <boost.locale.iconv>on in $(properties)
213 || ! <boost.locale.iconv> in $(properties:G)
216 # See if iconv is bundled with standard library.
[all …]
/third_party/boost/libs/locale/doc/
Dbuilding_boost_locale.txt28 - If no ICU library is given, iconv support is required under POSIX platforms.
39 - The AIX's iconv misses important character sets that Boost.Locale requires,
40 so you need to either use GNU iconv or link with ICU library.
41 - If iconv library is not found on Darwin/Mac OS X builds make sure there
42 is no multiple iconv installations and provide -sICONV_PATH build option
43 to point to correct location of iconv library.
98 - \c boost.locale.iconv=off or \c boost.locale.iconv=on enable or disable use of iconv
109 - \c -sICONV_PATH=/path/to/location/of/iconv - the location of custom iconv library
133 or using iconv or not, does not affect binary compatibility. So if a dynamic library was built
Dtested_compilers_and_paltforms.txt37 - The native iconv library on AIX platform does not support
38 required character encodings, thus either ICU or GNU iconv
44 - In some cases the build system fails to link with iconv library
46 location of iconv library should be given using -sICONV_PATH
/third_party/libxml2/os400/
Dlibxmlmain.c63 j = iconv(cd, in main()
68 iconv(cd, NULL, &inbytesleft, &outbuf, &outbytesleft); in main()
82 iconv(cd, &inbuf, &inbytesleft, &outbuf, &outbytesleft); in main()
83 iconv(cd, NULL, &inbytesleft, &outbuf, &outbytesleft); in main()
/third_party/glib/
DINSTALL.in30 GLib requires an implementation of the standard iconv() routine.
32 many older systems lack an iconv() implementation. On such systems,
37 If your system has an iconv implementation but you want to use
44 iconv.h that libiconv installs hides the system iconv.
46 If you are using the native iconv implementation on Solaris
53 The native iconv on Compaq Tru64 doesn't contain support for
/third_party/node/deps/npm/node_modules/encoding/lib/
Dencoding.js75 var response, iconv;
76 iconv = new Iconv(from, to + '//TRANSLIT//IGNORE');
77 response = iconv.convert(str);
/third_party/gettext/os2/
DREADME.OS297 Since gettext 0.11 iconv emulation layer supports correctly UTF-8. Also
113 This package provides additionaly the iconv() API that can be used by
114 developers for doing more feature-full Unix ports. The iconv() API is used
116 the prototypes and definitions needed for iconv(); if you configure software
119 All these functions are exported from INTL.DLL. The iconv.a import library
120 imports all the iconv* functions from INTL.DLL. So, like on Unix, now you can
121 #include <iconv.h>, then link with -liconv and you will get a fully functional
122 iconv implementation.
151 zip warning: name not matched: emx/src/gettext-0.10.40/support/os2/iconv.h
181 source code, wrote the dedicated OS/2 makefile, wrote the iconv wrapper
/third_party/musl/libc-test/src/regression/
Diconv-roundtrips.c39 int r1 = iconv(there, in main()
43 int r2 = iconv(andback, in main()
/third_party/musl/libc-test/src/functional/
Diconv_open.c30 r = iconv(cd, &inbuf, &inlen, &outbuf, &outlen); in main()
38 r = iconv(cd, &inbuf, &inlen, &outbuf, &outlen); in main()
/third_party/gettext/gettext-tools/tests/
Dxgettext-c-escape-130 : ${ICONV=iconv}
31 iconv -f UTF-8 -t EUC-JP < xg-c-escape-1.in.c > xg-c-escape-1.c \
/third_party/curl/src/
Dtool_convert.c66 res = iconv(outbound_cd, &input_ptr, &in_bytes, in convert_to_network()
96 res = iconv(inbound_cd, &input_ptr, &in_bytes, in convert_from_network()

12345678910>>...12