/third_party/python/Lib/test/ |
H A D | test_uu.py | 64 uu.encode(inp, out, "t1") 68 uu.encode(inp, out, "t1", 0o644) 72 uu.encode(inp, out, "t1", backtick=True) 75 uu.encode(inp, out, "t1", 0o644, True) 142 # Test newlines are escaped with uu.encode 147 uu.encode(inp, out, filename) 191 uu.encode("-", "-", "t1", 0o666) 207 # uu.encode() supports only ASCII file names 219 uu.encode(fin, fout, self.tmpin, mode=0o644) 226 uu.encode(sel [all...] |
H A D | test_cmd_line_script.py | 115 self.assertIn(printed_loader.encode('utf-8'), data) 116 self.assertIn(printed_file.encode('utf-8'), data) 117 self.assertIn(printed_package.encode('utf-8'), data) 118 self.assertIn(printed_argv0.encode('utf-8'), data) 121 self.assertIn(printed_path0.encode('utf-8'), data) 122 self.assertIn(printed_cwd.encode('utf-8'), data) 153 self.assertIn(expected_msg.encode('utf-8'), err) 157 expected = repr(importlib.machinery.BuiltinImporter).encode("utf-8") 170 expected = repr(importlib.machinery.BuiltinImporter).encode("utf-8") 395 self.assertIn(expected.encode('ut [all...] |
H A D | test_urlparse.py | 171 return (t[0].encode('ascii'), 172 tuple(x.encode('ascii') for x in t[1]), 173 tuple(x.encode('ascii') for x in t[2])) 200 return (t[0].encode('ascii'), 201 tuple(x.encode('ascii') for x in t[1]), 202 tuple(x.encode('ascii') for x in t[2])) 220 x.encode('ascii') for x in str_components] 225 bytes_cases = [x.encode('ascii') for x in str_cases] 474 return t[0].encode('ascii'), t[1].encode('asci [all...] |
H A D | testcodec.py | 14 def encode(self,input,errors='strict'): member in Codec 32 return (Codec().encode,Codec().decode,StreamReader,StreamWriter)
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/examples/ |
H A D | wps-nfc.py | 70 if "FAIL" in wpas.request("WPS_NFC_TAG_READ " + str(message).encode("hex")): 134 str(req).encode("hex") + " " + 135 str(sel).encode("hex")) 181 print(data.encode("hex")) 196 print(str(sel).encode("hex")) 210 print("Handover request carrier record from wpa_supplicant: " + data.encode("hex")) 222 print(str(message).encode("hex")) 261 print(str(message).encode("hex"))
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/examples/ |
H A D | wps-nfc.py | 70 if "FAIL" in wpas.request("WPS_NFC_TAG_READ " + str(message).encode("hex")): 134 str(req).encode("hex") + " " + 135 str(sel).encode("hex")) 181 print(data.encode("hex")) 196 print(str(sel).encode("hex")) 210 print("Handover request carrier record from wpa_supplicant: " + data.encode("hex")) 222 print(str(message).encode("hex")) 261 print(str(message).encode("hex"))
|
/third_party/node/deps/v8/src/compiler/backend/ |
H A D | instruction.h | 147 explicit InstructionOperand(Kind kind) : value_(KindField::encode(kind)) {} in InstructionOperand() 207 value_ |= BasicPolicyField::encode(EXTENDED_POLICY); in UnallocatedOperand() 208 value_ |= ExtendedPolicyField::encode(policy); in UnallocatedOperand() 209 value_ |= LifetimeField::encode(USED_AT_END); in UnallocatedOperand() 214 value_ |= BasicPolicyField::encode(EXTENDED_POLICY); in UnallocatedOperand() 215 value_ |= ExtendedPolicyField::encode(SAME_AS_INPUT); in UnallocatedOperand() 216 value_ |= LifetimeField::encode(USED_AT_END); in UnallocatedOperand() 217 value_ |= InputIndexField::encode(input_index); in UnallocatedOperand() 223 value_ |= BasicPolicyField::encode(policy); in UnallocatedOperand() 232 value_ |= BasicPolicyField::encode(EXTENDED_POLIC in UnallocatedOperand() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/ |
H A D | IceConditionCodesARM32.h | 30 /// match the value used to encode operands in binary instructions. 32 #define X(tag, encode, opp, emit) tag = encode,
|
H A D | IceConditionCodesX86.h | 26 /// should match the value used to encode operands in binary instructions. 28 #define X(val, encode, opp, dump, emit) val = encode, 35 /// value should match the value used to encode operands in binary
|
/third_party/node/deps/v8/src/compiler/backend/arm/ |
H A D | instruction-selector-arm.cc | 164 *opcode_return |= AddressingModeField::encode(kImmMode); in TryMatchShift() 167 *opcode_return |= AddressingModeField::encode(kRegMode); in TryMatchShift() 185 *opcode_return |= AddressingModeField::encode(kImmMode); in TryMatchShiftImmediate() 252 *opcode_return |= AddressingModeField::encode(kMode_Operand2_I); in TryMatchImmediateOrShift() 283 opcode |= AddressingModeField::encode(kMode_Operand2_R); in VisitBinop() 297 opcode |= AddressingModeField::encode(kMode_Operand2_R); in VisitBinop() 364 selector->Emit(kArmSub | AddressingModeField::encode(kMode_Operand2_R), in VisitMod() 381 op |= AddressingModeField::encode(kMode_Operand2_R); in EmitAddBeforeS128LoadStore() 383 *opcode_return |= AddressingModeField::encode(kMode_Operand2_R); in EmitAddBeforeS128LoadStore() 405 opcode |= AddressingModeField::encode(kMode_Roo in EmitLoad() [all...] |
/third_party/node/deps/v8/src/compiler/backend/x64/ |
H A D | instruction-selector-x64.cc | 418 opcode |= AddressingModeField::encode(mode); in VisitLoadLane() 425 opcode |= AccessModeField::encode(kMemoryAccessProtected); in VisitLoadLane() 477 code |= AccessModeField::encode(kMemoryAccessProtected); in VisitLoadTransform() 502 InstructionCode code = opcode | AddressingModeField::encode(mode); in VisitLoad() 504 code |= AccessModeField::encode(kMemoryAccessProtected); in VisitLoad() 531 InstructionCode code = opcode | AddressingModeField::encode(addressing_mode) | in VisitAtomicExchange() 532 AtomicWidthField::encode(width); in VisitAtomicExchange() 566 code |= AddressingModeField::encode(addressing_mode); in VisitStoreCommon() 567 code |= MiscField::encode(static_cast<int>(record_write_mode)); in VisitStoreCommon() 594 // SeqCst stores emit XCHG instead of MOV, so encode th in VisitStoreCommon() [all...] |
/third_party/protobuf/ruby/tests/ |
H A D | common_tests.rb | 50 m.optional_bytes = "world".encode!('ASCII-8BIT') 196 m.optional_bytes = "Test string ASCII".encode!('ASCII') 202 m.optional_bytes = "Test string UTF-8 \u0100".encode!('UTF-8') 214 m.optional_string = "asdf".encode!('UTF-8') 215 assert_raise(FrozenErrorType) { m.optional_string.encode!('ASCII-8BIT') } 615 d2 = proto_module::OneofMessage.decode(proto_module::OneofMessage.encode(d)) 618 encoded_field_a = proto_module::OneofMessage.encode(proto_module::OneofMessage.new(:a => "string")) 619 encoded_field_b = proto_module::OneofMessage.encode(proto_module::OneofMessage.new(:b => 1000)) 620 encoded_field_c = proto_module::OneofMessage.encode( 622 encoded_field_d = proto_module::OneofMessage.encode(proto_modul [all...] |
/third_party/node/deps/v8/src/compiler/backend/mips64/ |
H A D | instruction-selector-mips64.cc | 264 m.opcode() | AddressingModeField::encode(kMode_MRI); in TryEmitExtendingLoad() 280 *opcode_return |= AddressingModeField::encode(kMode_MRI); in TryMatchImmediate() 364 selector->Emit(opcode | AddressingModeField::encode(kMode_MRI), in EmitLoad() 369 selector->Emit(kMips64Dadd | AddressingModeField::encode(kMode_None), in EmitLoad() 372 selector->Emit(opcode | AddressingModeField::encode(kMode_MRI), in EmitLoad() 386 selector->Emit(kMips64Dadd | AddressingModeField::encode(kMode_None), in EmitAddBeforeS128LoadStore() 388 *opcode |= AddressingModeField::encode(kMode_MRI); in EmitAddBeforeS128LoadStore() 398 opcode |= MiscField::encode(f.sz); in VisitStoreLane() 415 opcode |= MiscField::encode(f.sz); in VisitLoadLane() 430 opcode |= MiscField::encode(MSASiz in VisitLoadTransform() [all...] |
/third_party/node/deps/v8/src/ast/ |
H A D | ast.h | 178 : position_(position), bit_field_(NodeTypeField::encode(type)) {} in AstNode() 343 bit_field_ |= IgnoreCompletionField::encode(ignore_completion_value) | in Block() 344 IsBreakableField::encode(is_breakable); in Block() 648 bit_field_ |= TypeField::encode(type); in ReturnStatement() 1160 DepthField::encode(kUninitialized) | in LiteralBoilerplateBuilder() 1161 NeedsInitialAllocationSiteField::encode(false) | in LiteralBoilerplateBuilder() 1162 IsSimpleField::encode(false) | in LiteralBoilerplateBuilder() 1163 BoilerplateDescriptorKindField::encode(FIRST_FAST_ELEMENTS_KIND); in LiteralBoilerplateBuilder() 1264 bit_field_ |= HasElementsField::encode(false) | in ObjectLiteralBoilerplateBuilder() 1265 HasRestPropertyField::encode(has_rest_propert in ObjectLiteralBoilerplateBuilder() [all...] |
/third_party/python/Lib/idlelib/ |
H A D | iomenu.py | 241 chars = self.encode(text) 269 def encode(self, chars): member in IOBinding 276 return chars.encode('utf-8-sig') 280 return chars.encode('ascii') 285 encoded = chars.encode('ascii', 'replace') 287 return chars.encode(enc) 298 return chars.encode('utf-8-sig')
|
/third_party/ffmpeg/libavcodec/ |
H A D | bitpacked_enc.c | 25 #include "encode.h" 31 int (*encode)(AVCodecContext *avctx, AVPacket *pkt, const AVFrame *frame); member 86 s->encode = encode_yuv422p10; in encode_init() 99 ret = s->encode(avctx, pkt, frame); in encode_frame()
|
/third_party/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/charsetdet/sbcs/ |
H A D | InputFile.java | 134 byte[] bytes = encode(key.toCharArray()); in mapKey() 146 public byte[] encode(char[] chars) in encode() method in InputFile 152 bb = encoder.encode(cb); in encode()
|
/third_party/node/deps/v8/src/objects/ |
H A D | name.h | 110 HashFieldTypeBits::encode(HashFieldType::kEmpty); 114 STATIC_ASSERT((HashFieldTypeBits::encode(HashFieldType::kForwardingIndex) & 154 STATIC_ASSERT(HashFieldTypeBits::encode(HashFieldType::kIntegerIndex) == 0);
|
/third_party/python/Lib/test/test_json/ |
H A D | test_recursion.py | 59 self.assertEqual(enc.encode(JSONTestObject), '"JSONTestObject"') 62 enc.encode(JSONTestObject) 103 EndlessJSONEncoder(check_circular=False).encode(5j)
|
/third_party/python/Lib/test/test_tools/ |
H A D | test_md5sum.py | 42 self.assertIn(part.encode(), out) 50 self.assertIn(parts[-1].encode(), out) 51 self.assertNotIn(parts[-2].encode(), out)
|
/commonlibrary/rust/ylong_http/ylong_http/src/body/mime/ |
H A D | mod.rs | 21 mod encode; modules 31 pub use encode::{MimeMultiEncoder, MimePartEncoder};
|
/third_party/elfutils/libelf/ |
H A D | gnuhash_xlate.h | 37 elf_cvt_gnuhash (void *dest, const void *src, size_t len, int encode) in elf_cvt_gnuhash() argument 53 Elf32_Word bitmask_words = encode ? src32[2] : dest32[2]; in elf_cvt_gnuhash()
|
/third_party/ffmpeg/tests/fate/ |
H A D | pcm.mak | 25 FATE_PCM-$(call ENCMUX, PCM_S24DAUD, DAUD) += fate-dcinema-encode 26 fate-dcinema-encode: tests/data/asynth-96000-6.wav 27 fate-dcinema-encode: SRC = tests/data/asynth-96000-6.wav 28 fate-dcinema-encode: CMD = enc_dec_pcm daud framemd5 s16le $(SRC) -c:a pcm_s24daud -frames:a 20
|
/third_party/node/lib/internal/ |
H A D | mime.js | 116 const encode = (value) => { 118 const encode = SafeStringPrototypeSearch(value, NOT_HTTP_TOKEN_CODE_POINT) !== -1; 119 if (!encode) return value; 183 const encoded = encode(value);
|
/third_party/node/deps/v8/tools/torque/ |
H A D | format-torque.py | 18 def encode(arg, encoding="utf-8"): function 19 return arg.encode(encoding) 109 output, err = p.communicate(encode(preprocess(content))) 122 output_file.write(encode(output))
|