/third_party/node/test/fixtures/x509-escaping/ |
D | create-certs.js | 47 const null_ = Null_.encode('der'); 53 const subjectCommonName = PrintableString.encode('evil.example.com', 'der'); 85 value: PrintableString.encode('DE', 'der') 91 value: UTF8String.encode('Hannover', 'der') 105 value: PrintableString.encode('DE', 'der') 111 value: UTF8String.encode('München', 'der') 125 value: PrintableString.encode('DE', 'der') 131 value: UTF8String.encode('Berlin, DNS:good.example.com', 'der') 145 value: PrintableString.encode('DE', 'der') 151 value: UTF8String.encode('Berlin, DNS:good.example.com\0evil.example.com', 'der') [all …]
|
/third_party/ffmpeg/tests/fate/ |
D | aac.mak | 151 FATE_AAC_ENCODE += fate-aac-aref-encode 152 fate-aac-aref-encode: ./tests/data/asynth-44100-2.wav 153 fate-aac-aref-encode: CMD = enc_dec_pcm adts wav s16le $(REF) -c:a aac -aac_is 0 -aac_pns 0 -aac_ms… 154 fate-aac-aref-encode: CMP = stddev 155 fate-aac-aref-encode: REF = ./tests/data/asynth-44100-2.wav 156 fate-aac-aref-encode: CMP_SHIFT = -4096 157 fate-aac-aref-encode: CMP_TARGET = 596 158 fate-aac-aref-encode: SIZE_TOLERANCE = 2464 159 fate-aac-aref-encode: FUZZ = 89 161 FATE_AAC_ENCODE += fate-aac-ln-encode [all …]
|
D | ac3.mak | 72 FATE_AC3-$(call ENCDEC, AC3, AC3) += fate-ac3-encode 73 fate-ac3-encode: CMD = enc_dec_pcm ac3 wav s16le $(subst $(SAMPLES),$(TARGET_SAMPLES),$(REF)) -c:a … 74 fate-ac3-encode: CMP_SHIFT = -1024 75 fate-ac3-encode: CMP_TARGET = 404.53 76 fate-ac3-encode: SIZE_TOLERANCE = 488 79 FATE_EAC3-$(call ENCDEC, EAC3, EAC3) += fate-eac3-encode 80 fate-eac3-encode: CMD = enc_dec_pcm eac3 wav s16le $(subst $(SAMPLES),$(TARGET_SAMPLES),$(REF)) -c:… 81 fate-eac3-encode: CMP_SHIFT = -1024 82 fate-eac3-encode: CMP_TARGET = 516.94 83 fate-eac3-encode: SIZE_TOLERANCE = 488 [all …]
|
D | wma.mak | 40 FATE_WMA_ENCODE-$(call ENCDEC, WMAV1, ASF) += fate-wmav1-encode 41 fate-wmav1-encode: CMD = enc_dec_pcm asf wav s16le $(subst $(SAMPLES),$(TARGET_SAMPLES),$(REF)) -c:… 42 fate-wmav1-encode: CMP_SHIFT = -8192 43 fate-wmav1-encode: CMP_TARGET = 291.06 44 fate-wmav1-encode: SIZE_TOLERANCE = 4632 46 FATE_WMA_ENCODE-$(call ENCDEC, WMAV2, ASF) += fate-wmav2-encode 47 fate-wmav2-encode: CMD = enc_dec_pcm asf wav s16le $(subst $(SAMPLES),$(TARGET_SAMPLES),$(REF)) -c:… 48 fate-wmav2-encode: CMP_SHIFT = -8192 49 fate-wmav2-encode: CMP_TARGET = 258.32 50 fate-wmav2-encode: SIZE_TOLERANCE = 4632 [all …]
|
D | voice.mak | 4 FATE_G722-$(call ENCMUX, ADPCM_G722, WAV) += fate-g722-encode 5 fate-g722-encode: tests/data/asynth-16000-1.wav 6 fate-g722-encode: SRC = tests/data/asynth-16000-1.wav 7 fate-g722-encode: CMD = enc_dec_pcm wav framemd5 s16le $(SRC) -c:a g722 39 FATE_G726 += fate-g726-encode-2bit 40 fate-g726-encode-2bit: CMD = enc_dec_pcm wav framemd5 s16le $(SRC) -c:a g726 -b:a 16k 42 FATE_G726 += fate-g726-encode-3bit 43 fate-g726-encode-3bit: CMD = enc_dec_pcm wav framemd5 s16le $(SRC) -c:a g726 -b:a 24k 45 FATE_G726 += fate-g726-encode-4bit 46 fate-g726-encode-4bit: CMD = enc_dec_pcm wav framemd5 s16le $(SRC) -c:a g726 -b:a 32k [all …]
|
/third_party/python/Lib/test/ |
D | test_multibytecodec.py | 39 self.assertEqual(''.encode(enc), b'') 43 self.assertEqual('abcd'.encode(enc), b'abcd') 57 self.assertEqual(data.encode(enc, "test.ignore"), b'') 84 self.assertEqual(encoder.encode('\ud30c\uc774\uc36c \ub9c8\uc744'), 87 self.assertEqual(encoder.encode('\u2606\u223c\u2606', True), 90 self.assertEqual(encoder.encode('', True), b'') 91 self.assertEqual(encoder.encode('', False), b'') 101 self.assertEqual(encoder.encode('\u00e6\u0300'), b'\xab\xc4') 102 self.assertEqual(encoder.encode('\u00e6'), b'') 103 self.assertEqual(encoder.encode('\u0300'), b'\xab\xc4') [all …]
|
D | test_codecs.py | 100 part1 = d.encode(u[:i]) 104 part2 = d.encode(u[i:], True) 117 for (c, partialresult) in zip(input.encode(self.encoding), partialresults, strict=True): 128 for (c, partialresult) in zip(input.encode(self.encoding), partialresults, strict=True): 138 for (c, partialresult) in zip(input.encode(self.encoding), partialresults, strict=True): 146 encoded = input.encode(self.encoding) 154 stream = io.BytesIO(input.encode(self.encoding)) 218 stream = io.BytesIO(data.encode(self.encoding)) 323 stream = io.BytesIO("".join(s).encode(self.encoding)) 360 s = (s1+s2+s3).encode(self.encoding) [all …]
|
D | multibytecodec_support.py | 29 self.encode = self.codec.encode 48 self.assertEqual(native, self.encode(u)[0]) 55 func = self.encode 79 self.encode(s, "xmlcharrefreplace")[0], 107 self.assertEqual(self.encode(sin, 114 enc = self.encode("abc" + self.unmappedunicode + "def", "test.cjktest")[0] 123 self.assertRaises(TypeError, self.encode, self.unmappedunicode, 130 self.assertEqual(self.encode('abcd' + self.unmappedunicode + 'efgh', 136 self.assertRaises(IndexError, self.encode, self.unmappedunicode, 143 self.assertRaises(TypeError, self.encode, self.unmappedunicode, [all …]
|
D | test_cgi.py | 42 fp = BytesIO(buf.encode('latin-1')) # FieldStorage expects bytes 106 fake_stdin = BytesIO(data.encode(encoding)) 119 fp = BytesIO(POSTDATA.encode('latin1')) 120 env = {'boundary': BOUNDARY.encode('latin1'), 135 fp = BytesIO(POSTDATA.encode('latin1')) 136 env = {'boundary': 'JfISa01'.encode('latin1')} 149 fp = BytesIO(POSTDATA.encode('utf8')) 150 env = {'boundary': BOUNDARY.encode('latin1'), 151 'CONTENT-LENGTH': str(len(POSTDATA.encode('utf8')))} 156 self.assertEqual("\u2603".encode('utf8'), [all …]
|
/third_party/gstreamer/gst_libav/ext/libav/ |
D | gstavcodecmap.c | 248 enum AVCodecID codec_id, gboolean encode, const char *mimetype, in gst_ff_vid_caps_new() argument 280 } else if (encode) { in gst_ff_vid_caps_new() 543 enum AVCodecID codec_id, gboolean encode, const char *mimetype, in gst_ff_aud_caps_new() argument 566 } else if (encode) { in gst_ff_aud_caps_new() 789 AVCodecContext * context, gboolean encode) in gst_ffmpeg_codecid_to_caps() argument 794 GST_LOG ("codec_id:%d, context:%p, encode:%d", codec_id, context, encode); in gst_ffmpeg_codecid_to_caps() 799 caps = gst_ff_vid_caps_new (context, NULL, codec_id, encode, "video/mpeg", in gst_ffmpeg_codecid_to_caps() 805 if (encode) { in gst_ffmpeg_codecid_to_caps() 808 gst_ff_vid_caps_new (context, NULL, codec_id, encode, "video/mpeg", in gst_ffmpeg_codecid_to_caps() 821 if (encode) { in gst_ffmpeg_codecid_to_caps() [all …]
|
/third_party/node/deps/npm/node_modules/query-string/ |
D | index.js | 16 return [...result, [encode(key, options), '[', index, ']'].join('')]; 21 [encode(key, options), '[', encode(index, options), ']=', encode(value, options)].join('') 32 return [...result, [encode(key, options), '[]'].join('')]; 35 return [...result, [encode(key, options), '[]=', encode(value, options)].join('')]; 45 return [[encode(key, options), '=', encode(value, options)].join('')]; 48 return [[result, encode(value, options)].join(',')]; 58 return [...result, encode(key, options)]; 61 return [...result, [encode(key, options), '=', encode(value, options)].join('')]; 125 function encode(value, options) { function 126 if (options.encode) { [all …]
|
/third_party/node/test/parallel/ |
D | test-punycode.js | 27 assert.strictEqual(punycode.encode('ü'), 'tda'); 28 assert.strictEqual(punycode.encode('Goethe'), 'Goethe-'); 29 assert.strictEqual(punycode.encode('Bücher'), 'Bcher-kva'); 31 punycode.encode( 36 assert.strictEqual(punycode.encode('日本語'), 'wgv71a119e'); 37 assert.strictEqual(punycode.encode(''), 'x73l'); 210 encode: (test) => assert.strictEqual( 211 punycode.encode(test.decoded), 247 assert.strictEqual(punycode.ucs2.encode([0x61]), 'a'); 249 assert.strictEqual(punycode.ucs2.encode([0x1D306]), '\uD834\uDF06'); [all …]
|
/third_party/skia/src/utils/ |
D | SkBase64.cpp | 113 const char* encode; in Encode() local 115 encode = default_encode; in Encode() 117 encode = encodeMap; in Encode() 130 *dst++ = encode[a]; in Encode() 131 *dst++ = encode[b]; in Encode() 132 *dst++ = encode[c]; in Encode() 133 *dst++ = encode[d]; in Encode() 145 *dst++ = encode[a >> 2]; in Encode() 146 *dst++ = encode[(k1 | a << 4) & 0x3F]; in Encode() 147 *dst++ = encode[k2]; in Encode() [all …]
|
/third_party/flutter/skia/src/utils/ |
D | SkBase64.cpp | 112 const char* encode; in Encode() local 114 encode = default_encode; in Encode() 116 encode = encodeMap; in Encode() 131 *dst++ = encode[a]; in Encode() 132 *dst++ = encode[b]; in Encode() 133 *dst++ = encode[c]; in Encode() 134 *dst++ = encode[d]; in Encode() 146 *dst++ = encode[a >> 2]; in Encode() 147 *dst++ = encode[(k1 | a << 4) & 0x3F]; in Encode() 148 *dst++ = encode[k2]; in Encode() [all …]
|
/third_party/node/deps/npm/node_modules/strict-uri-encode/ |
D | readme.md | 1 …rict-uri-encode [![Build Status](https://travis-ci.org/kevva/strict-uri-encode.svg?branch=master)]… 3 > A stricter URI encode adhering to [RFC 3986](http://tools.ietf.org/html/rfc3986) 9 $ npm install --save strict-uri-encode 16 const strictUriEncode = require('strict-uri-encode'); 34 String to URI encode.
|
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/ |
D | IceRegistersARM32.h | 30 #define X(val, encode, name, cc_arg, scratch, preserved, stackptr, frameptr, \ argument 44 #define X(val, encode, name, cc_arg, scratch, preserved, stackptr, frameptr, \ argument 46 Encoded_##val = encode, 55 #define X(val, encode, name, cc_arg, scratch, preserved, stackptr, frameptr, \ argument 57 Encoded_##val = encode, 66 #define X(val, encode, name, cc_arg, scratch, preserved, stackptr, frameptr, \ argument 68 Encoded_##val = encode, 77 #define X(val, encode, name, cc_arg, scratch, preserved, stackptr, frameptr, \ argument 79 Encoded_##val = encode, 117 #define X(val, encode, name, cc_arg, scratch, preserved, stackptr, frameptr, \ in getNumGPRegs() argument [all …]
|
D | IceRegistersX8632.h | 35 #define X(val, encode, name, base, scratch, preserved, stackptr, frameptr, \ argument 47 #define X(val, encode, name, base, scratch, preserved, stackptr, frameptr, \ argument 50 Encoded_##val = encode, 59 #define X(val, encode, name, base, scratch, preserved, stackptr, frameptr, \ argument 62 Encoded_##val = encode, 71 #define X(val, encode, name, base, scratch, preserved, stackptr, frameptr, \ argument 74 Encoded_8_##val = encode, 83 #define X(val, encode, name) Encoded_##val = encode, argument 97 #define X(val, encode, name, base, scratch, preserved, stackptr, frameptr, \ in getRegName() argument 110 #define X(val, encode, name, base, scratch, preserved, stackptr, frameptr, \ in getEncodedGPR() argument [all …]
|
D | IceRegistersX8664.h | 35 #define X(val, encode, name, base, scratch, preserved, stackptr, frameptr, \ argument 47 #define X(val, encode, name, base, scratch, preserved, stackptr, frameptr, \ argument 50 Encoded_##val = encode, 59 #define X(val, encode, name, base, scratch, preserved, stackptr, frameptr, \ argument 62 Encoded_##val = encode, 71 #define X(val, encode, name, base, scratch, preserved, stackptr, frameptr, \ argument 74 Encoded_8_##val = encode, 82 #define X(val, encode, name, base, scratch, preserved, stackptr, frameptr, \ in getRegName() argument 95 #define X(val, encode, name, base, scratch, preserved, stackptr, frameptr, \ in getEncodedGPR() argument 98 GPRRegister(isGPR ? encode : GPRRegister::Encoded_Not_GPR), in getEncodedGPR() [all …]
|
/third_party/flutter/engine/flutter/shell/platform/darwin/common/framework/Source/ |
D | flutter_codecs_unittest.mm | 10 ASSERT_TRUE([codec encode:nil] == nil); 16 ASSERT_TRUE([[codec encode:@""] isEqualTo:[NSData data]]); 23 NSData* encoded = [codec encode:value]; 31 NSData* encoded = [codec encode:value]; 39 NSData* encoded = [codec encode:value]; 46 ASSERT_TRUE([codec encode:nil] == nil); 53 NSData* encoded = [codec encode:value]; 61 NSData* encoded = [codec encode:value];
|
/third_party/typescript/tests/baselines/reference/ |
D | jsDeclarationsClassImplementsGenericsSerialization.js | 5 encode(value: T): Uint8Array 16 encode(value) { 44 Encoder.prototype.encode = function (value) { method in Encoder 58 encode(value: T): Uint8Array; 69 encode(value: T): Uint8Array;
|
/third_party/python/Lib/test/test_email/ |
D | test__encoded_words.py | 166 self.assertEqual(_ew.encode('foo', 'utf-8', 'q'), '=?utf-8?q?foo?=') 169 self.assertEqual(_ew.encode('foo', 'utf-8', 'b'), '=?utf-8?b?Zm9v?=') 172 self.assertEqual(_ew.encode('foo', 'utf-8'), '=?utf-8?q?foo?=') 175 self.assertEqual(_ew.encode('vi.', 'utf-8'), '=?utf-8?q?vi=2E?=') 178 self.assertEqual(_ew.encode('.....', 'utf-8'), '=?utf-8?b?Li4uLi4=?=') 181 self.assertEqual(_ew.encode('vi.vi.vi.vi.vi.', 'utf-8'), 185 self.assertEqual(_ew.encode('vi vi vi.vi ', 'utf-8'), 189 self.assertEqual(_ew.encode('foo'), '=?utf-8?q?foo?=') 192 self.assertEqual(_ew.encode('foo', lang='jive'), '=?utf-8*jive?q?foo?=') 195 self.assertEqual(_ew.encode('foo\uDCACbar', charset='unknown-8bit'),
|
/third_party/python/Lib/encodings/ |
D | utf_8_sig.py | 14 def encode(input, errors='strict'): function 31 def encode(self, input, final=False): member in IncrementalEncoder 89 del self.encode 93 def encode(self, input, errors='strict'): member in StreamWriter 94 self.encode = codecs.utf_8_encode 95 return encode(input, errors) 124 encode=encode,
|
D | utf_7.py | 9 encode = codecs.utf_7_encode variable 15 def encode(self, input, final=False): member in IncrementalEncoder 22 encode = codecs.utf_7_encode variable in StreamWriter 32 encode=encode,
|
D | utf_32_be.py | 8 encode = codecs.utf_32_be_encode variable 14 def encode(self, input, final=False): member in IncrementalEncoder 21 encode = codecs.utf_32_be_encode variable in StreamWriter 31 encode=encode,
|
D | mbcs.py | 18 encode = mbcs_encode variable 24 def encode(self, input, final=False): member in IncrementalEncoder 31 encode = mbcs_encode variable in StreamWriter 41 encode=encode,
|