/third_party/node/deps/npm/node_modules/iconv-lite/lib/ |
H A D | index.js | 6 iconv = module.exports; 9 // They are lazy loaded in `iconv.getCodec` from `encodings/index.js`. 10 iconv.encodings = null; 13 iconv.defaultCharUnicode = '�'; 14 iconv.defaultCharSingleByte = '?'; 17 iconv.encode = function encode(str, encoding, options) { 20 var encoder = iconv.getEncoder(encoding, options); 28 iconv.decode = function decode(buf, encoding, options) { 30 if (!iconv.skipDecodeWarning) { 31 console.error('Iconv-lite warning: decode()-ing strings is deprecated. Refer to https://github.com/ashtuchkin/iconv [all...] |
/third_party/node/deps/npm/node_modules/iconv-lite/encodings/ |
H A D | utf7.js | 9 function Utf7Codec(codecOptions, iconv) { 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. 77 var b64str = base64Accum + this.iconv [all...] |
H A D | utf32.js | 9 function Utf32Codec(codecOptions, iconv) { 10 this.iconv = iconv; 102 this.badChar = codec.iconv.defaultCharUnicode.charCodeAt(0); 188 // Encoder/decoder default can be changed: iconv.decode(buf, 'utf32', {defaultEncoding: 'utf-32be'}); 195 function Utf32AutoCodec(options, iconv) { 196 this.iconv = iconv; 210 this.encoder = codec.iconv.getEncoder(options.defaultEncoding || 'utf-32le', options); 228 this.iconv [all...] |
H A D | utf16.js | 72 // Decoder default can be changed: iconv.decode(buf, 'utf16', {defaultEncoding: 'utf-16be'}); 77 function Utf16Codec(codecOptions, iconv) { 78 this.iconv = iconv; 91 this.encoder = codec.iconv.getEncoder('utf-16le', options); 111 this.iconv = codec.iconv; 125 this.decoder = this.iconv.getDecoder(encoding, this.options); 141 this.decoder = this.iconv.getDecoder(encoding, this.options);
|
H A D | sbcs-codec.js | 8 function SBCSCodec(codecOptions, iconv) { 26 var encodeBuf = Buffer.alloc(65536, iconv.defaultCharSingleByte.charCodeAt(0));
|
H A D | internal.js | 25 function InternalCodec(codecOptions, iconv) { 38 this.defaultCharUnicode = iconv.defaultCharUnicode;
|
H A D | dbcs-codec.js | 22 function DBCSCodec(codecOptions, iconv) { 94 this.defaultCharUnicode = iconv.defaultCharUnicode; 134 this.defCharSB = this.encodeTable[0][iconv.defaultCharSingleByte.charCodeAt(0)]; 535 throw new Error("iconv-lite internal error: invalid decoding table value " + uCode + " at " + nodeIdx + "/" + curByte);
|
/third_party/libfuse/lib/modules/ |
H A D | iconv.c | 2 fuse iconv module: file name charset conversion 17 #include <iconv.h> 22 struct iconv { struct 32 struct iconv *ic; 37 static struct iconv *iconv_get(void) in iconv_get() 42 static int iconv_convpath(struct iconv *ic, const char *path, char **newpathp, in iconv_convpath() 68 res = iconv(fromfs ? ic->fromfs : ic->tofs, (char **) &path, in iconv_convpath() 97 iconv(fromfs ? ic->fromfs : ic->tofs, NULL, NULL, NULL, NULL); in iconv_convpath() 106 struct iconv *ic = iconv_get(); in iconv_getattr() 118 struct iconv *i in iconv_access() [all...] |
/third_party/curl/packages/OS400/ |
H A D | curlmain.c | 34 #include <iconv.h> 82 j = iconv(cd, &inbuf, &inbytesleft, &outbuf, &outbytesleft); in main() 87 iconv(cd, NULL, &inbytesleft, &outbuf, &outbytesleft); in main() 101 iconv(cd, &inbuf, &inbytesleft, &outbuf, &outbytesleft); in main() 102 iconv(cd, NULL, &inbytesleft, &outbuf, &outbytesleft); in main()
|
/third_party/musl/libc-test/src/regression/ |
H A D | iconv-roundtrips.c | 2 // fix iconv conversions for iso88592-iso885916 3 #include <iconv.h> 39 int r1 = iconv(there, in main() 43 int r2 = iconv(andback, in main()
|
/third_party/musl/libc-test/src/functional/ |
H A D | iconv_open.c | 3 #include <iconv.h> 30 r = iconv(cd, &inbuf, &inlen, &outbuf, &outlen); in main() 32 t_error("iconv() did not fail with 0 output length\n"); in main() 34 t_error("iconv() did not fail with E2BIG, got %s\n", strerror(errno)); in main() 38 r = iconv(cd, &inbuf, &inlen, &outbuf, &outlen); in main() 40 t_error("iconv() did not return 0 when converting utf8 to utf8, got %d\n", r); in main() 42 t_error("iconv() failed: %s\n", strerror(errno)); in main()
|
H A D | iconv_test.c | 17 #include <iconv.h>
49 printf("closed iconv failed, error: %s \n", strerror(errno));
in CloseIconv() 57 t_error("iconv opened failed, from: %s, to: %s, error: %s \n", param->from, param->to, strerror(errno));
in IconvTest() 65 if (iconv(cd, &input, &inputLen, &output, &outputLen)) {
in IconvTest() 66 t_error("iconv converted failed, from: %s, to: %s, error: %s \n", param->from, param->to, strerror(errno));
in IconvTest()
|
/third_party/musl/libc-test/src/api/ |
H A D | iconv.c | 1 #include <iconv.h> 7 {size_t(*p)(iconv_t,char**restrict,size_t*restrict,char**restrict,size_t*restrict) = iconv;} in f()
|
/third_party/toybox/toys/posix/ |
H A D | iconv.c | 0 /* iconv.c - Convert character encoding 5 * See http://pubs.opengroup.org/onlinepubs/9699919799/utilities/iconv.html 9 USE_ICONV(NEWTOY(iconv, "cst:f:", TOYFLAG_USR|TOYFLAG_BIN)) 12 bool "iconv" 16 usage: iconv [-f FROM] [-t TO] [FILE...] 27 #include <iconv.h> 52 iconv(TT.ic, &in, &inlen, &out, &outlen); in do_iconv()
|
/third_party/popt/src/ |
H A D | poptint.c | 99 err = iconv(cd, NULL, NULL, NULL, NULL); in strdup_locale_from_utf8() 102 err = iconv(cd, &pin, &ib, &pout, &ob); in strdup_locale_from_utf8()
|
/third_party/pulseaudio/src/pulse/ |
H A D | utf8.c | 53 #include <iconv.h> 209 inbuf = (ICONV_CONST char*) str; /* Brain dead prototype for iconv() */ in iconv_simple() 214 res = iconv(cd, &inbuf, &inbytes, &outbuf, &outbytes); in iconv_simple()
|
/third_party/musl/src/locale/ |
H A D | iconv_close.c | 1 #include <iconv.h>
|
/third_party/musl/porting/uniproton/kernel/include/ |
H A D | iconv.h | 17 size_t iconv(iconv_t, char **__restrict, size_t *__restrict, char **__restrict, size_t *__restrict);
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/ |
H A D | iconv.h | 17 size_t iconv(iconv_t, char **__restrict, size_t *__restrict, char **__restrict, size_t *__restrict);
|
/third_party/musl/porting/liteos_m/kernel/include/ |
H A D | iconv.h | 17 size_t iconv(iconv_t, char **__restrict, size_t *__restrict, char **__restrict, size_t *__restrict);
|
/third_party/musl/include/ |
H A D | iconv.h | 17 size_t iconv(iconv_t, char **__restrict, size_t *__restrict, char **__restrict, size_t *__restrict);
|
/third_party/backends/tools/ |
H A D | style-check.sh | 40 err=$(iconv -f utf-8 -t utf-8 < $1 2>&1 > /dev/null)
|
/third_party/cups-filters/filter/ |
H A D | texttotext.c | 32 #include <iconv.h> 127 between which encodings iconv in main() 129 char outbuf[4096]; /* Output buffer for iconv */ in main() 130 char inbuf[2048]; /* Input buffer for iconv */ in main() 561 /* Set conversion mode of iconv */ in main() 619 iconv (cd, NULL, NULL, &outptr, &outsize); in main() 627 nconv = iconv (cd, &inptr, &insize, &outptr, &outsize); in main() 822 fprintf (stderr, "DEBUG: Error closing iconv encoding conversion session\n"); in main()
|
/third_party/musl/porting/uniproton/kernel/src/locale/ |
H A D | iconv.c | 1 #include <iconv.h> 227 size_t iconv(iconv_t cd, char **restrict in, size_t *restrict inb, char **restrict out, size_t *restrict outb) in iconv() function 467 size_t tmpx = iconv(combine_to_from(to, find_charmap("utf8")), in iconv()
|
/third_party/musl/porting/liteos_m/kernel/src/locale/ |
H A D | iconv.c | 1 #include <iconv.h> 227 size_t iconv(iconv_t cd, char **restrict in, size_t *restrict inb, char **restrict out, size_t *restrict outb) in iconv() function 467 size_t tmpx = iconv(combine_to_from(to, find_charmap("utf8")), in iconv()
|