| /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/node/deps/v8/src/ic/ |
| D | handler-configuration-inl.h | 37 int config = KindBits::encode(Kind::kNormal); in LoadNormal() 42 int config = KindBits::encode(Kind::kGlobal); in LoadGlobal() 47 int config = KindBits::encode(Kind::kInterceptor); in LoadInterceptor() 52 int config = KindBits::encode(Kind::kSlow); in LoadSlow() 57 int config = KindBits::encode(Kind::kField) | in LoadField() 58 IsInobjectBits::encode(field_index.is_inobject()) | in LoadField() 59 IsDoubleBits::encode(field_index.is_double()) | in LoadField() 60 FieldIndexBits::encode(field_index.index()); in LoadField() 66 int config = KindBits::encode(Kind::kField) | IsWasmStructBits::encode(true) | in LoadWasmStructField() 67 WasmFieldTypeBits::encode(type) | in LoadWasmStructField() [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 …]
|
| D | test_codeccallbacks.py | 75 s.encode("ascii", "xmlcharrefreplace"), 79 s.encode("latin-1", "xmlcharrefreplace"), 103 self.assertEqual(sin.encode("ascii", "test.xmlcharnamereplace"), sout) 105 self.assertEqual(sin.encode("latin-1", "test.xmlcharnamereplace"), sout) 107 self.assertEqual(sin.encode("iso-8859-15", "test.xmlcharnamereplace"), sout) 131 self.assertEqual(sin.encode("ascii", "test.uninamereplace"), sout) 134 self.assertEqual(sin.encode("latin-1", "test.uninamereplace"), sout) 137 self.assertEqual(sin.encode("iso-8859-15", "test.uninamereplace"), sout) 144 self.assertEqual(sin.encode("ascii", "backslashreplace"), sout) 147 self.assertEqual(sin.encode("latin-1", "backslashreplace"), sout) [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/v8/src/objects/ |
| D | scope-info.cc | 219 ScopeTypeBits::encode(scope->scope_type()) | in Create() 220 SloppyEvalCanExtendVarsBit::encode(sloppy_eval_can_extend_vars) | in Create() 221 LanguageModeBit::encode(scope->language_mode()) | in Create() 222 DeclarationScopeBit::encode(scope->is_declaration_scope()) | in Create() 223 ReceiverVariableBits::encode(receiver_info) | in Create() 224 ClassScopeHasPrivateBrandBit::encode(has_brand) | in Create() 225 HasSavedClassVariableBit::encode(should_save_class_variable_index) | in Create() 226 HasNewTargetBit::encode(has_new_target) | in Create() 227 FunctionVariableBits::encode(function_name_info) | in Create() 228 HasInferredFunctionNameBit::encode(has_inferred_function_name) | in Create() [all …]
|
| D | property-details.h | 271 : value_(KindField::encode(kind) | 272 LocationField::encode(PropertyLocation::kField) | 273 AttributesField::encode(attributes) | 277 ConstnessField::encode(PropertyConstness::kMutable) | 278 DictionaryStorageField::encode(dictionary_index) | 279 PropertyCellTypeField::encode(cell_type)) {} 285 : value_(KindField::encode(kind) | 286 LocationField::encode(PropertyLocation::kField) | 287 AttributesField::encode(attributes) | 288 ConstnessField::encode(constness) | [all …]
|
| /third_party/node/test/parallel/ |
| D | test-punycode.js | 35 assert.strictEqual(punycode.encode('ü'), 'tda'); 36 assert.strictEqual(punycode.encode('Goethe'), 'Goethe-'); 37 assert.strictEqual(punycode.encode('Bücher'), 'Bcher-kva'); 39 punycode.encode( 44 assert.strictEqual(punycode.encode('日本語'), 'wgv71a119e'); 45 assert.strictEqual(punycode.encode(''), 'x73l'); 218 encode: (test) => assert.strictEqual( 219 punycode.encode(test.decoded), 255 assert.strictEqual(punycode.ucs2.encode([0x61]), 'a'); 257 assert.strictEqual(punycode.ucs2.encode([0x1D306]), '\uD834\uDF06'); [all …]
|
| D | test-webcrypto-sign-verify.js | 27 }, privateKey, ec.encode(data)); 31 }, publicKey, signature, ec.encode(data))); 51 }, privateKey, ec.encode(data)); 56 }, publicKey, signature, ec.encode(data))); 74 }, privateKey, ec.encode(data)); 79 }, publicKey, signature, ec.encode(data))); 98 }, key, ec.encode(data)); 102 }, key, signature, ec.encode(data))); 118 }, privateKey, ec.encode(data)); 122 }, publicKey, signature, ec.encode(data))); [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/lzma/CPP/7zip/Common/ |
| D | CreateCoder.cpp | 163 bool encode, in FindMethod_Index() argument 171 if ((encode ? codec.CreateEncoder : codec.CreateDecoder) in FindMethod_Index() 188 if ((encode ? codec.EncoderIsAssigned : codec.DecoderIsAssigned) in FindMethod_Index() 205 CMethodId methodId, bool encode) in FindMethod_Index() argument 211 if (codec.Id == methodId && (encode ? codec.CreateEncoder : codec.CreateDecoder)) in FindMethod_Index() 223 if (codec.Id == methodId && (encode ? codec.EncoderIsAssigned : codec.DecoderIsAssigned)) in FindMethod_Index() 331 unsigned i, bool encode, in CreateCoder_Index() argument 344 if (encode) in CreateCoder_Index() 380 if (encode) in CreateCoder_Index() 423 unsigned index, bool encode, in CreateCoder_Index() argument [all …]
|
| /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/node/deps/v8/src/interpreter/ |
| D | bytecode-flags.cc | 19 uint8_t result = FlagsBits::encode(runtime_flags); in Encode() 20 result |= FastCloneSupportedBit::encode(use_fast_shallow_clone); in Encode() 27 uint8_t result = FlagsBits::encode(runtime_flags); in Encode() 28 result |= FastCloneSupportedBit::encode(fast_clone_supported); in Encode() 35 uint8_t result = PretenuredBit::encode(pretenure); in Encode() 37 result |= FastNewClosureBit::encode(true); in Encode() 83 return LanguageModeBit::encode(language_mode) | in Encode() 84 LookupHoistingModeBit::encode(static_cast<bool>(lookup_hoisting_mode)); in Encode()
|
| /third_party/elfutils/libelf/ |
| D | note_xlate.h | 30 elf_cvt_note (void *dest, const void *src, size_t len, int encode, in elf_cvt_note() argument 41 encode); in elf_cvt_note() 42 const Elf32_Nhdr *n = encode ? src : dest; in elf_cvt_note() 89 elf_cvt_note4 (void *dest, const void *src, size_t len, int encode) in elf_cvt_note4() argument 91 elf_cvt_note (dest, src, len, encode, false); in elf_cvt_note4() 95 elf_cvt_note8 (void *dest, const void *src, size_t len, int encode) in elf_cvt_note8() argument 97 elf_cvt_note (dest, src, len, encode, true); in elf_cvt_note8()
|
| /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,
|