| /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/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/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 | multibytecodec_support.py | 29 self.encode = self.codec.encode 48 self.assertEqual(native, self.encode(u)[0]) 55 func = self.encode 67 '%a.encode(%r, %r)=%a != %a' 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, [all …]
|
| /third_party/node/deps/npm/node_modules/strict-uri-encode/ |
| D | package.json | 2 "_from": "strict-uri-encode@^2.0.0", 3 "_id": "strict-uri-encode@2.0.0", 6 "_location": "/strict-uri-encode", 11 "raw": "strict-uri-encode@^2.0.0", 12 "name": "strict-uri-encode", 13 "escapedName": "strict-uri-encode", 21 "_resolved": "https://registry.npmjs.org/strict-uri-encode/-/strict-uri-encode-2.0.0.tgz", 23 "_spec": "strict-uri-encode@^2.0.0", 31 "url": "https://github.com/kevva/strict-uri-encode/issues" 35 "description": "A stricter URI encode adhering to RFC 3986", [all …]
|
| D | readme.md | 1 …rict-uri-encode []… 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/node/test/fixtures/wpt/encoding/ |
| D | big5-encoder.html | 7 function encode(input, output, desc) { 16 encode("ab", "ab", "very basic") 18 encode("\u9EA6", "%26%2340614%3B", "Highest-pointer BMP character excluded from encoder"); 19 encode("\uD858\uDE6B", "%26%23156267%3B", "Highest-pointer character excluded from encoder"); 20 encode("\u3000", "%A1@", "Lowest-pointer character included in encoder"); 21 …encode("\u20AC", "%A3%E1", "Euro; the highest-pointer character before a range of 30 unmapped poin… 22 encode("\u4E00", "%A4@", "The lowest-pointer character after the range of 30 unmapped pointers"); 23 …encode("\uD85D\uDE07", "%C8%A4", "The highest-pointer character before a range of 41 unmapped poin… 24 encode("\uFFE2", "%C8%CD", "The lowest-pointer character after the range of 41 unmapped pointers"); 25 encode("\u79D4", "%FE%FE", "The last character in the index"); [all …]
|
| D | iso-2022-jp-encoder.html | 7 function encode(input, output, desc) { 15 encode("s", "s", "very basic"); 16 encode("\u00A5\u203Es\\\uFF90\u4F69", "%1B(J\\~s%1B(B\\%1B$B%_PP%1B(B", "basics"); 17 encode("\uFF61", "%1B$B!%23%1B(B", "Katakana"); 18 encode("\u0393", "%1B$B&%23%1B(B", "jis0208"); 19 encode("\x0E\x0F\x1Bx", "%26%2365533%3B%26%2365533%3B%26%2365533%3Bx", "SO/SI ESC"); 20 …encode("\u203E\x0E\x0F\x1Bx", "%1B(J~%26%2365533%3B%26%2365533%3B%26%2365533%3Bx%1B(B", "Roman SO/… 21 …encode("\uFF61\x0E\x0F\x1Bx", "%1B$B!%23%1B(B%26%2365533%3B%26%2365533%3B%26%2365533%3Bx", "Kataka… 22 …encode("\u0393\x0E\x0F\x1Bx", "%1B$B&%23%1B(B%26%2365533%3B%26%2365533%3B%26%2365533%3Bx", "jis020… 23 encode("\uFFFD", "%26%2365533%3B", "U+FFFD"); [all …]
|
| D | gb18030-encoder.html | 7 function encode(input, output, desc) { 15 encode("s", "s", "very basic") 16 encode("\u20AC", "%A2%E3", "Euro") 17 encode("\u4E02", "%81@", "character") 18 encode("\uE4C6", "%A1@", "PUA") 19 encode("\uE4C5", "%FE%FE", "PUA #2") 20 encode("\ud83d\udca9", "%949%DA3", "poo")
|
| D | gbk-encoder.html | 7 function encode(input, output, desc) { 15 encode("s", "s", "very basic") 16 encode("\u20AC", "%80", "Euro") 17 encode("\u4E02", "%81@", "character") 18 encode("\uE4C6", "%A1@", "PUA") 19 encode("\uE4C5", "%FE%FE", "PUA #2") 20 encode("\ud83d\udca9", "%26%23128169%3B", "poo")
|
| /third_party/libcoap/include/coap3/ |
| D | encode.h | 2 * encode.h -- encoding and decoding of CoAP data types 38 * @defgroup encode Encode / Decode API 68 * to encode. 69 * Returns the number of bytes used to encode @p value or 0 on error. 71 * @param buf The output buffer to encode into 72 * @param length The output buffer size to encode into (must be sufficient) 73 * @param value The value to encode into the buffer 75 * @return The number of bytes used to encode @p value or @c 0 on error. 84 * to encode. 85 * Returns the number of bytes used to encode @p value or 0 on error. [all …]
|
| /third_party/alsa-lib/test/lsb/ |
| D | midi_event.c | 184 #define ENCODE(str) snd_midi_event_encode(midi_event, \ in test_encode() macro 187 TEST_CHECK(ENCODE("\x81\x02\x03") == 3); in test_encode() 194 TEST_CHECK(ENCODE("\x94\x05\x06") == 3); in test_encode() 200 TEST_CHECK(ENCODE("\xa7\x08\x09") == 3); in test_encode() 206 TEST_CHECK(ENCODE("\xba\x0b\x0c") == 3); in test_encode() 212 TEST_CHECK(ENCODE("\xcd\x0e") == 2); in test_encode() 217 TEST_CHECK(ENCODE("\xdf\x10") == 2); in test_encode() 222 TEST_CHECK(ENCODE("\xe1\x22\x33") == 3); in test_encode() 227 TEST_CHECK(ENCODE("\xf0\x7f\x7f\x04\x01\x7f\x7f\xf7") == 8); in test_encode() 233 TEST_CHECK(ENCODE("\xf1\x04") == 2); in test_encode() [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() 645 /* regardless of encode/decode, open up channels if applicable */ in gst_ff_aud_caps_new() 777 * encode is a special parameter. gstffmpegdec will say 783 * but encode: audio/mpeg,mpegversion=1,layer=3,bitrate=x, 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() [all …]
|
| /third_party/protobuf/csharp/src/Google.Protobuf/ |
| D | CodedOutputStream.ComputeSize.cs | 50 /// Computes the number of bytes that would be needed to encode a 59 /// Computes the number of bytes that would be needed to encode a 68 /// Computes the number of bytes that would be needed to encode a 77 /// Computes the number of bytes that would be needed to encode an 86 /// Computes the number of bytes that would be needed to encode an 103 /// Computes the number of bytes that would be needed to encode a 112 /// Computes the number of bytes that would be needed to encode a 121 /// Computes the number of bytes that would be needed to encode a 130 /// Computes the number of bytes that would be needed to encode a 140 /// Computes the number of bytes that would be needed to encode a [all …]
|
| /third_party/node/deps/npm/node_modules/query-string/ |
| D | index.js | 2 const strictUriEncode = require('strict-uri-encode'); 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 [all …]
|
| /third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/ |
| D | IceRegistersARM32.h | 28 /// to binary encode register operands in instructions. 30 #define X(val, encode, name, cc_arg, scratch, preserved, stackptr, frameptr, \ argument 42 /// binary encode register operands in instructions. 44 #define X(val, encode, name, cc_arg, scratch, preserved, stackptr, frameptr, \ argument 46 Encoded_##val = encode, 53 /// to binary encode register operands in instructions. 55 #define X(val, encode, name, cc_arg, scratch, preserved, stackptr, frameptr, \ argument 57 Encoded_##val = encode, 64 /// to binary encode register operands in instructions. 66 #define X(val, encode, name, cc_arg, scratch, preserved, stackptr, frameptr, \ argument [all …]
|
| D | IceRegistersX8632.h | 33 /// to binary encode register operands in instructions. 35 #define X(val, encode, name, base, scratch, preserved, stackptr, frameptr, \ argument 45 /// binary encode register operands in instructions. 47 #define X(val, encode, name, base, scratch, preserved, stackptr, frameptr, \ argument 50 Encoded_##val = encode, 57 /// binary encode register operands in instructions. 59 #define X(val, encode, name, base, scratch, preserved, stackptr, frameptr, \ argument 62 Encoded_##val = encode, 69 /// binary encode register operands in instructions. 71 #define X(val, encode, name, base, scratch, preserved, stackptr, frameptr, \ argument [all …]
|
| /third_party/flutter/engine/flutter/fml/ |
| D | message.h | 21 if (!message.Encode(value)) { \ 26 if (!message.Encode<traits>(value)) { \ 53 // The traits passed to the encode/decode calls that accept traits should be 68 // Utility class to encode and decode |Serializable| types to and from a buffer. 90 FML_WARN_UNUSED_RESULT bool Encode(const T& value) { in Encode() function 98 FML_WARN_UNUSED_RESULT bool Encode(const MessageSerializable& value) { in Encode() function 106 FML_WARN_UNUSED_RESULT bool Encode(const std::unique_ptr<T>& value) { in Encode() function 107 // Encode if null. in Encode() 108 if (!Encode(static_cast<bool>(value))) { in Encode() 116 // Encode the type. in Encode() [all …]
|
| /third_party/protobuf/js/experimental/runtime/kernel/ |
| D | writer_test.js | 59 it('encode tag', () => { 130 it('encode singular boolean value', () => { 137 it('encode length delimited', () => { 146 it('encode BufferDecoder containing a varint value', () => { 156 it('encode BufferDecoder containing a fixed64 value', () => { 167 it('encode BufferDecoder containing a length delimited value', () => { 178 it('encode BufferDecoder containing a group', () => { 189 it('encode BufferDecoder containing a fixed32 value', () => { 253 it(`encode ${pair.name}`, () => { 269 it('encode NaN', () => { [all …]
|
| /third_party/protobuf/ruby/tests/ |
| D | encode_decode_test.rb | 17 from = A::B::C::TestUnknown.encode(unknown_msg) 20 to = A::B::C::TestMessage.encode(m) 27 from = A::B::C::TestUnknown.encode(unknown_msg) 30 to = A::B::C::TestMessage.encode(m.optional_msg) 37 from = A::B::C::TestUnknown.encode(unknown_msg) 40 to = A::B::C::TestMessage.encode(m.repeated_msg[0]) 47 from = A::B::C::TestUnknown.encode(unknown_msg) 50 to = A::B::C::TestMessage.encode(m.map_string_msg['']) 57 from = A::B::C::TestUnknown.encode(unknown_msg) 60 to = A::B::C::TestMessage.encode(m.oneof_msg) [all …]
|
| /third_party/skia/src/utils/ |
| D | SkBase64.cpp | 109 size_t SkBase64::Encode(const void* srcv, size_t length, void* dstv, const char* encodeMap) { in Encode() function in SkBase64 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() [all …]
|
| /third_party/libsnd/src/G72x/ |
| D | README.original | 64 encode.c CCITT ADPCM encoder 75 encode [-3|4|5] [-a|u|l] <infile >outfile 78 -3 encode to (decode from) G.723 24kbps (3-bit) data 79 -4 encode to (decode from) G.721 32kbps (4-bit) data [the default] 80 -5 encode to (decode from) G.723 40kbps (5-bit) data 81 -a encode from (decode to) A-law data 82 -u encode from (decode to) u-law data [the default] 83 -l encode from (decode to) 16-bit linear data 87 encode -4 -l <pcmfile >g721file 93 encode -3 <ulawin | deoced -3 >ulawout
|