| /third_party/node/test/parallel/ |
| D | test-string-decoder.js | 26 const StringDecoder = require('string_decoder').StringDecoder; constant 29 let decoder = new StringDecoder(); 34 StringDecoder.call(decoder2); 90 decoder = new StringDecoder('utf8'); 111 decoder = new StringDecoder('utf8'); 115 decoder = new StringDecoder('utf8'); 119 decoder = new StringDecoder('utf8'); 124 decoder = new StringDecoder('utf8'); 128 decoder = new StringDecoder('utf8'); 134 decoder = new StringDecoder('utf8'); [all …]
|
| D | test-worker-execargv.js | 9 const { StringDecoder } = require('string_decoder'); 10 const decoder = new StringDecoder('utf8');
|
| D | test-string-decoder-fuzz.js | 3 const { StringDecoder } = require('string_decoder'); 28 const sd = new StringDecoder(enc);
|
| /third_party/node/lib/ |
| D | string_decoder.js | 71 function StringDecoder(encoding) { class 77 StringDecoder.prototype.write = function write(buf) { 87 StringDecoder.prototype.end = function end(buf) { 97 StringDecoder.prototype.text = function text(buf, offset) { 103 ObjectDefineProperties(StringDecoder.prototype, { 130 exports.StringDecoder = StringDecoder;
|
| /third_party/node/doc/api/ |
| D | string_decoder.md | 14 const { StringDecoder } = require('string_decoder'); 17 The following example shows the basic use of the `StringDecoder` class. 20 const { StringDecoder } = require('string_decoder'); 21 const decoder = new StringDecoder('utf8'); 30 When a `Buffer` instance is written to the `StringDecoder` instance, an 39 const { StringDecoder } = require('string_decoder'); 40 const decoder = new StringDecoder('utf8'); 47 ## Class: `StringDecoder` 49 ### `new StringDecoder([encoding])` argument 54 * `encoding` {string} The character [encoding][] the `StringDecoder` will use. [all …]
|
| /third_party/node/src/ |
| D | string_decoder-inl.h | 10 void StringDecoder::SetEncoding(enum encoding encoding) { in SetEncoding() 16 enum encoding StringDecoder::Encoding() const { in Encoding() 20 unsigned StringDecoder::BufferedBytes() const { in BufferedBytes() 24 unsigned StringDecoder::MissingBytes() const { in MissingBytes() 28 char* StringDecoder::IncompleteCharacterBuffer() { in IncompleteCharacterBuffer()
|
| D | string_decoder.cc | 65 MaybeLocal<String> StringDecoder::DecodeData(Isolate* isolate, in DecodeData() 236 MaybeLocal<String> StringDecoder::FlushData(Isolate* isolate) { in FlushData() 266 StringDecoder* decoder = in DecodeData() 267 reinterpret_cast<StringDecoder*>(Buffer::Data(args[0])); in DecodeData() 281 StringDecoder* decoder = in FlushData() 282 reinterpret_cast<StringDecoder*>(Buffer::Data(args[0])); in FlushData() 299 Integer::New(isolate, StringDecoder::name)).FromJust() in InitializeStringDecoder() 328 Integer::New(isolate, sizeof(StringDecoder))).Check(); in InitializeStringDecoder()
|
| D | string_decoder.h | 10 class StringDecoder { 12 StringDecoder() { state_[kEncodingField] = BUFFER; } in StringDecoder() function
|
| /third_party/node/deps/npm/node_modules/iconv-lite/encodings/ |
| D | internal.js | 49 var StringDecoder = require('string_decoder').StringDecoder; variable 51 if (!StringDecoder.prototype.end) // Node v0.8 doesn't have this method. 52 StringDecoder.prototype.end = function() {}; 56 StringDecoder.call(this, codec.enc); 59 InternalDecoder.prototype = StringDecoder.prototype;
|
| /third_party/node/deps/npm/node_modules/flush-write-stream/node_modules/string_decoder/lib/ |
| D | string_decoder.js | 78 exports.StringDecoder = StringDecoder; 79 function StringDecoder(encoding) { class 107 StringDecoder.prototype.write = function (buf) { 123 StringDecoder.prototype.end = utf8End; 126 StringDecoder.prototype.text = utf8Text; 129 StringDecoder.prototype.fillLast = function (buf) {
|
| /third_party/node/deps/npm/node_modules/string_decoder/lib/ |
| D | string_decoder.js | 78 exports.StringDecoder = StringDecoder; 79 function StringDecoder(encoding) { class 107 StringDecoder.prototype.write = function (buf) { 123 StringDecoder.prototype.end = utf8End; 126 StringDecoder.prototype.text = utf8Text; 129 StringDecoder.prototype.fillLast = function (buf) {
|
| /third_party/node/deps/npm/node_modules/fs-write-stream-atomic/node_modules/string_decoder/lib/ |
| D | string_decoder.js | 78 exports.StringDecoder = StringDecoder; 79 function StringDecoder(encoding) { class 107 StringDecoder.prototype.write = function (buf) { 123 StringDecoder.prototype.end = utf8End; 126 StringDecoder.prototype.text = utf8Text; 129 StringDecoder.prototype.fillLast = function (buf) {
|
| /third_party/node/deps/npm/node_modules/are-we-there-yet/node_modules/string_decoder/lib/ |
| D | string_decoder.js | 78 exports.StringDecoder = StringDecoder; 79 function StringDecoder(encoding) { class 107 StringDecoder.prototype.write = function (buf) { 123 StringDecoder.prototype.end = utf8End; 126 StringDecoder.prototype.text = utf8Text; 129 StringDecoder.prototype.fillLast = function (buf) {
|
| /third_party/node/deps/npm/node_modules/through2/node_modules/string_decoder/lib/ |
| D | string_decoder.js | 78 exports.StringDecoder = StringDecoder; 79 function StringDecoder(encoding) { class 107 StringDecoder.prototype.write = function (buf) { 123 StringDecoder.prototype.end = utf8End; 126 StringDecoder.prototype.text = utf8Text; 129 StringDecoder.prototype.fillLast = function (buf) {
|
| /third_party/node/deps/npm/node_modules/from2/node_modules/string_decoder/lib/ |
| D | string_decoder.js | 78 exports.StringDecoder = StringDecoder; 79 function StringDecoder(encoding) { class 107 StringDecoder.prototype.write = function (buf) { 123 StringDecoder.prototype.end = utf8End; 126 StringDecoder.prototype.text = utf8Text; 129 StringDecoder.prototype.fillLast = function (buf) {
|
| /third_party/node/deps/npm/node_modules/concat-stream/node_modules/string_decoder/lib/ |
| D | string_decoder.js | 78 exports.StringDecoder = StringDecoder; 79 function StringDecoder(encoding) { class 107 StringDecoder.prototype.write = function (buf) { 123 StringDecoder.prototype.end = utf8End; 126 StringDecoder.prototype.text = utf8Text; 129 StringDecoder.prototype.fillLast = function (buf) {
|
| /third_party/node/deps/npm/node_modules/parallel-transform/node_modules/string_decoder/lib/ |
| D | string_decoder.js | 78 exports.StringDecoder = StringDecoder; 79 function StringDecoder(encoding) { class 107 StringDecoder.prototype.write = function (buf) { 123 StringDecoder.prototype.end = utf8End; 126 StringDecoder.prototype.text = utf8Text; 129 StringDecoder.prototype.fillLast = function (buf) {
|
| /third_party/node/deps/npm/node_modules/duplexify/node_modules/string_decoder/lib/ |
| D | string_decoder.js | 78 exports.StringDecoder = StringDecoder; 79 function StringDecoder(encoding) { class 107 StringDecoder.prototype.write = function (buf) { 123 StringDecoder.prototype.end = utf8End; 126 StringDecoder.prototype.text = utf8Text; 129 StringDecoder.prototype.fillLast = function (buf) {
|
| /third_party/node/deps/npm/node_modules/stream-iterate/node_modules/string_decoder/lib/ |
| D | string_decoder.js | 78 exports.StringDecoder = StringDecoder; 79 function StringDecoder(encoding) { class 107 StringDecoder.prototype.write = function (buf) { 123 StringDecoder.prototype.end = utf8End; 126 StringDecoder.prototype.text = utf8Text; 129 StringDecoder.prototype.fillLast = function (buf) {
|
| /third_party/node/deps/npm/node_modules/sorted-union-stream/node_modules/string_decoder/ |
| D | index.js | 47 var StringDecoder = exports.StringDecoder = function(encoding) { variable 90 StringDecoder.prototype.write = function(buffer) { class 162 StringDecoder.prototype.detectIncompleteChar = function(buffer) { 194 StringDecoder.prototype.end = function(buffer) {
|
| /third_party/node/benchmark/string_decoder/ |
| D | string-decoder-create.js | 3 const StringDecoder = require('string_decoder').StringDecoder; constant 15 new StringDecoder(encoding);
|
| D | string-decoder.js | 3 const StringDecoder = require('string_decoder').StringDecoder; constant 33 const sd = new StringDecoder(isBase64 ? 'base64' : encoding);
|
| /third_party/node/lib/internal/crypto/ |
| D | cipher.js | 46 let StringDecoder; variable 79 if (StringDecoder === undefined) 80 StringDecoder = require('string_decoder').StringDecoder; 81 decoder = decoder || new StringDecoder(encoding);
|
| /third_party/node/deps/npm/node_modules/sorted-union-stream/node_modules/readable-stream/lib/ |
| D | _stream_readable.js | 50 var StringDecoder; variable 126 if (!StringDecoder) 127 StringDecoder = require('string_decoder/').StringDecoder; 128 this.decoder = new StringDecoder(options.encoding); 236 if (!StringDecoder) 237 StringDecoder = require('string_decoder/').StringDecoder; 238 this._readableState.decoder = new StringDecoder(enc);
|
| /third_party/node/lib/internal/ |
| D | encoding.js | 439 let StringDecoder; 441 if (StringDecoder === undefined) 442 ({ StringDecoder } = require('string_decoder')); field 443 return StringDecoder;
|