/third_party/node/test/parallel/ |
H A D | test-string-decoder.js | 26 const StringDecoder = require('string_decoder').StringDecoder; 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('utf [all...] |
H A D | test-string-decoder-fuzz.js | 3 const { StringDecoder } = require('string_decoder'); 7 // Tests that, for random sequences of bytes, our StringDecoder gives the 9 // In particular, it checks that StringDecoder aligns with V8’s own output. 28 const sd = new StringDecoder(enc);
|
H A D | test-string-decoder-end.js | 29 const SD = require('string_decoder').StringDecoder;
|
/third_party/node/lib/ |
H A D | string_decoder.js | 77 * StringDecoder provides an interface for efficiently splitting a series of 82 function StringDecoder(encoding) { class 95 StringDecoder.prototype.write = function write(buf) { 103 throw new ERR_INVALID_THIS('StringDecoder'); 115 StringDecoder.prototype.end = function end(buf) { 131 StringDecoder.prototype.text = function text(buf, offset) { 137 ObjectDefineProperties(StringDecoder.prototype, { 167 exports.StringDecoder = StringDecoder;
|
H A D | assert.js | 330 const { StringDecoder } = require('string_decoder'); 331 decoder = new StringDecoder('utf8');
|
/third_party/node/src/ |
H A 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()
|
H A D | string_decoder.cc | 66 MaybeLocal<String> StringDecoder::DecodeData(Isolate* isolate, in DecodeData() 237 MaybeLocal<String> StringDecoder::FlushData(Isolate* isolate) { in FlushData() 267 StringDecoder* decoder = in DecodeData() 268 reinterpret_cast<StringDecoder*>(Buffer::Data(args[0])); in DecodeData() 282 StringDecoder* decoder = in FlushData() 283 reinterpret_cast<StringDecoder*>(Buffer::Data(args[0])); in FlushData() 300 Integer::New(isolate, StringDecoder::name)).FromJust() in InitializeStringDecoder() 329 Integer::New(isolate, sizeof(StringDecoder))).Check(); in InitializeStringDecoder()
|
H A D | string_decoder.h | 10 class StringDecoder { class 12 StringDecoder() { state_[kEncodingField] = BUFFER; } in StringDecoder() function in node::StringDecoder
|
/third_party/node/benchmark/string_decoder/ |
H A D | string-decoder-create.js | 3 const StringDecoder = require('string_decoder').StringDecoder; 15 new StringDecoder(encoding);
|
H A D | string-decoder.js | 3 const StringDecoder = require('string_decoder').StringDecoder; 33 const sd = new StringDecoder(isBase64 ? 'base64' : encoding);
|
/third_party/node/deps/npm/node_modules/iconv-lite/encodings/ |
H A 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 this.decoder = new StringDecoder(codec.enc);
|
/third_party/node/deps/undici/src/lib/fileapi/ |
H A D | util.js | 15 const { StringDecoder } = require('string_decoder') 247 const decoder = new StringDecoder('latin1') 300 const decoder = new StringDecoder('latin1')
|
/third_party/node/lib/internal/readline/ |
H A D | emitKeypressEvents.js | 22 const { StringDecoder } = require('string_decoder'); 37 stream[KEYPRESS_DECODER] = new StringDecoder('utf8');
|
H A D | interface.js | 69 const { StringDecoder } = require('string_decoder'); 299 this[kDecoder] = new StringDecoder('utf8');
|
/third_party/node/lib/internal/ |
H A D | encoding.js | 456 let StringDecoder; 458 if (StringDecoder === undefined) 459 ({ StringDecoder } = require('string_decoder')); 460 return StringDecoder; 491 // StringDecoder will normalize WHATWG encoding to Node.js encoding.
|
H A D | v8_prof_polyfill.js | 85 const dec = new (require('string_decoder').StringDecoder)('utf-8');
|
/third_party/node/lib/internal/crypto/ |
H A D | cipher.js | 64 const { StringDecoder } = require('string_decoder'); 96 decoder = decoder || new StringDecoder(encoding);
|
/third_party/node/lib/internal/streams/ |
H A D | readable.js | 76 const { StringDecoder } = require('string_decoder'); 215 this.decoder = new StringDecoder(options.encoding); 390 const decoder = new StringDecoder(enc);
|
/third_party/node/lib/internal/fs/ |
H A D | promises.js | 92 const { StringDecoder } = require('string_decoder'); 473 const decoder = encoding && new StringDecoder(encoding);
|
/third_party/protobuf/python/google/protobuf/internal/ |
H A D | type_checkers.py | 396 _FieldDescriptor.TYPE_STRING: decoder.StringDecoder,
|
H A D | decoder.py | 561 def StringDecoder(field_number, is_repeated, is_packed, key, new_default, function
|
H A D | python_message.py | 352 field_decoder = decoder.StringDecoder(
|