/third_party/node/test/parallel/ |
D | test-whatwg-encoding-custom-interop.js | 17 assert(TextEncoder); 21 const enc = new TextEncoder(); 29 const enc = new TextEncoder(); 35 const enc = new TextEncoder(); 41 const inspectFn = TextEncoder.prototype[inspect]; 42 const encodeFn = TextEncoder.prototype.encode; 44 Object.getOwnPropertyDescriptor(TextEncoder.prototype, 'encoding').get; 46 const instance = new TextEncoder();
|
D | test-global-encoder.js | 8 strictEqual(TextEncoder, util.TextEncoder);
|
D | test-whatwg-encoding-custom-api-basics.js | 33 const encoded = new TextEncoder().encode(string);
|
D | test-whatwg-encoding-custom-textdecoder.js | 175 const invalidThisArgs = [{}, [], true, 1, '', new TextEncoder()];
|
/third_party/node/test/fixtures/wpt/encoding/ |
D | encodeInto.any.js | 83 encoder = new TextEncoder(), 128 …assert_throws(new TypeError(), () => new TextEncoder().encodeInto("", new view(new ArrayBuffer(0))… 133 assert_throws(new TypeError(), () => new TextEncoder().encodeInto("", new ArrayBuffer(10))); 139 let { read, written } = new TextEncoder().encodeInto("", view); 143 ({ read, written } = new TextEncoder().encodeInto("", view)); 146 ({ read, written } = new TextEncoder().encodeInto("test", view));
|
D | api-basics.any.js | 4 assert_equals((new TextEncoder).encoding, 'utf-8', 'default encoding is utf-8'); 9 assert_array_equals(new TextEncoder().encode(), [], 'input default should be empty string') 10 …assert_array_equals(new TextEncoder().encode(undefined), [], 'input default should be empty string… 30 var encoded = new TextEncoder().encode(string);
|
D | textencoder-utf16-surrogates.any.js | 38 var encoded = new TextEncoder().encode(t.input); 45 assert_equals(new TextEncoder().encode().length, 0, 'Should default to empty string');
|
D | idlharness.any.js | 10 TextEncoder: ['new TextEncoder()'], property
|
D | textencoder-constructor-non-utf.any.js | 13 assert_equals(new TextEncoder(encoding.name).encoding, 'utf-8');
|
D | api-surrogates-utf8.any.js | 44 var encoded = new TextEncoder().encode(t.input);
|
/third_party/node/test/fixtures/wpt/FileAPI/blob/ |
D | Blob-array-buffer.any.js | 6 const input_arr = new TextEncoder().encode("PASS"); 14 const input_arr = new TextEncoder().encode(""); 22 const input_arr = new TextEncoder().encode("\u08B8\u000a"); 37 const input_arr = new TextEncoder().encode("PASS");
|
D | Blob-text.any.js | 25 const input_arr = new TextEncoder().encode(non_unicode); 39 const input_arr = new TextEncoder().encode(non_unicode);
|
/third_party/node/lib/internal/ |
D | encoding.js | 321 class TextEncoder { class 351 constructor: ctor === null ? TextEncoder : ctor 360 TextEncoder.prototype, { 583 TextEncoder field
|
/third_party/node/test/fixtures/wpt/interfaces/ |
D | encoding.idl | 39 interface TextEncoder { 45 TextEncoder includes TextEncoderCommon;
|
/third_party/node/lib/ |
D | util.js | 55 const { TextDecoder, TextEncoder } = require('internal/encoding'); 364 TextEncoder, property
|
/third_party/node/doc/api/ |
D | globals.md | 299 ## `TextEncoder` 306 The WHATWG `TextEncoder` class. See the [`TextEncoder`][] section. 341 [`TextEncoder`]: util.md#util_class_util_textencoder
|
D | util.md | 1260 ## Class: `util.TextEncoder` 1269 An implementation of the [WHATWG Encoding Standard][] `TextEncoder` API. All 1270 instances of `TextEncoder` only support UTF-8 encoding. 1273 const encoder = new TextEncoder(); 1277 The `TextEncoder` class is also available on the global object. 1299 const encoder = new TextEncoder(); 1309 The encoding supported by the `TextEncoder` instance. Always set to `'utf-8'`.
|
/third_party/node/lib/internal/bootstrap/ |
D | node.js | 133 TextEncoder, TextDecoder 136 exposeInterface(globalThis, 'TextEncoder', TextEncoder);
|
/third_party/protobuf/js/experimental/runtime/kernel/ |
D | textencoding_test.js | 33 const textEncoder = new TextEncoder('utf-8');
|
D | reader_test.js | 241 if (typeof TextEncoder !== 'undefined') { 242 const textEncoder = new TextEncoder('utf-8');
|
/third_party/jsframework/runtime/main/extend/systemplugin/napi/ |
D | ohos_util.js | 39 const TextEncoderClass = class TextEncoder { class 530 TextEncoder : TextEncoderClass, property
|
/third_party/typescript/tests/baselines/reference/ |
D | globalThisBlockscopedProperties.types | 67 …pto" | "SyncManager" | "Text" | "TextDecoder" | "TextDecoderStream" | "TextEncoder" | "TextEncoder…
|
/third_party/typescript/lib/ |
D | lib.webworker.d.ts | 3146 interface TextEncoder extends TextEncoderCommon { interface 3157 declare var TextEncoder: { variable 3158 prototype: TextEncoder; 3159 new(): TextEncoder;
|
D | lib.dom.d.ts | 15612 interface TextEncoder extends TextEncoderCommon { interface 15623 declare var TextEncoder: { variable 15624 prototype: TextEncoder; 15625 new(): TextEncoder;
|
/third_party/typescript/src/lib/ |
D | webworker.generated.d.ts | 3126 interface TextEncoder extends TextEncoderCommon { interface 3137 declare var TextEncoder: { variable 3138 prototype: TextEncoder; 3139 new(): TextEncoder;
|