/third_party/mesa3d/src/amd/common/ |
H A D | sid_tables.py | 76 string_to_chars(te[0].encode('unicode_escape').decode()), 77 te[0].encode('unicode_escape').decode(),
|
/third_party/node/deps/base64/base64/bin/ |
H A D | base64.c | 300 encode (const struct config *config, struct buffer *buf) in encode() function 578 : encode(&config, &buf); in main()
|
/third_party/node/deps/v8/src/codegen/ |
H A D | source-position-table.cc | 29 // - we use zig-zag encoding to encode both positive and negative numbers. 68 MoreBit::encode(more) | ValueBits::encode(encoded & ValueBits::kMask); in EncodeInt() 82 // Since code_offset is not negative, we use sign to encode is_statement. in EncodeEntry()
|
/third_party/python/Lib/email/ |
H A D | contentmanager.py | 145 lines = string.encode(charset).splitlines() 146 linesep = policy.linesep.encode('ascii') 237 # XXX: quoprimime.body_encode won't encode newline characters in data,
|
/third_party/skia/tools/ |
H A D | remote_demo.cpp | 241 auto encode = [](SkTypeface* tf, void* ctx) -> sk_sp<SkData> { in renderer() local 244 procs.fTypefaceProc = encode; in renderer()
|
/third_party/protobuf/ruby/src/main/java/com/google/protobuf/jruby/ |
H A D | Utils.java | 173 // encode to UINT32 in num2uint() 195 value = ((RubyString)value).encode(context, context.runtime.evalScriptlet("Encoding::ASCII_8BIT")); in validateStringEncoding() 198 value = ((RubyString)value).encode(context, context.runtime.evalScriptlet("Encoding::UTF_8")); in validateStringEncoding()
|
/third_party/rust/crates/regex/regex-syntax/src/ |
H A D | utf8.rs | 22 This is simple enough: simply encode the boundaries, `0400` encodes to 382 let n = r.encode(&mut start, &mut end); in fmt() 426 /// byte to encode any scalar value). 431 /// encode writes the UTF-8 encoding of the start and end of this range 436 fn encode(&self, start: &mut [u8], end: &mut [u8]) -> usize { in encode() functions
|
/third_party/python/Lib/ |
H A D | pickle.py | 523 return PUT + repr(idx).encode("ascii") + b'\n' 533 return GET + repr(i).encode("ascii") + b'\n' 616 self.write(PERSID + str(pid).encode("ascii") + b'\n') 777 self.write(INT + repr(obj).encode("ascii") + b'\n') 779 self.write(LONG + repr(obj).encode("ascii") + b'L\n') 786 self.write(FLOAT + repr(obj).encode("ascii") + b'\n') 794 self.save_reduce(codecs.encode, 853 encoded = obj.encode('utf-8', 'surrogatepass') 869 self.write(UNICODE + obj.encode('raw-unicode-escape') +
|
/third_party/python/Lib/test/ |
H A D | test_sax.py | 34 TEST_XMLFILE.encode("utf-8") 35 TEST_XMLFILE_OUT.encode("utf-8") 42 os_helper.TESTFN_UNICODE.encode(sys.getfilesystemencoding()) 114 return xml_str(doc, decl_encoding).encode(encoding, 'xmlcharrefreplace') 590 gen.characters("\u20ac".encode(encoding)) 591 gen.ignorableWhitespace(" ".encode(encoding)) 801 (encoding, doc)).encode(encoding, 'xmlcharrefreplace') 827 (encoding, doc)).encode('ascii', 'xmlcharrefreplace') 849 (encoding, doc)).encode('ascii', 'xmlcharrefreplace')
|
H A D | test_mailbox.py | 99 key = self._box.add(self._nonascii_msg.encode('latin-1')) 102 self._nonascii_msg.encode('latin-1')) 106 key = self._box.add(subj.encode('latin-1')) 138 """).encode('utf-8') 147 os.linesep.encode())) 271 (self._template % 0).encode('ascii')) 548 _bytes_sample_message.replace(b'\n', os.linesep.encode())) 1001 (self._template % 0).encode('ascii')) 1005 (unixfrom + self._template % 0).encode('ascii')) 1007 unixfrom.encode('asci [all...] |
H A D | test_format.py | 55 b_format = formatstr.encode('ascii') 67 b_output = output.encode('ascii') 94 test_exc(formatstr.encode('ascii'), args, exception, excmsg) 343 # repr(some_obj).encode('ascii', 'backslashreplace')
|
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/ |
H A D | CodedOutputStream.java | 505 * Compute the number of bytes that would be needed to encode an {@code int32} field, including 513 * Compute the number of bytes that would be needed to encode a {@code uint32} field, including 521 * Compute the number of bytes that would be needed to encode an {@code sint32} field, including 529 * Compute the number of bytes that would be needed to encode a {@code fixed32} field, including 537 * Compute the number of bytes that would be needed to encode an {@code sfixed32} field, including 545 * Compute the number of bytes that would be needed to encode an {@code int64} field, including 553 * Compute the number of bytes that would be needed to encode a {@code uint64} field, including 561 * Compute the number of bytes that would be needed to encode an {@code sint64} field, including 569 * Compute the number of bytes that would be needed to encode a {@code fixed64} field, including 577 * Compute the number of bytes that would be needed to encode a 1863 private void encode(String value) throws IOException { encode() method in CodedOutputStream.SafeDirectNioEncoder [all...] |
/third_party/curl/tests/server/ |
H A D | mqttd.c | 331 // if there are more data to encode, set the top bit of this byte 350 unsigned char encode; in encode_length() local 353 encode = packetlen % 0x80; in encode_length() 356 encode |= 0x80; in encode_length() 358 remlength[bytes++] = encode; in encode_length()
|
/third_party/libcoap/src/ |
H A D | coap_debug.c | 715 int encode = 0, have_options = 0; in coap_show_pdu() local 954 encode = 0; in coap_show_pdu() 956 encode = 1; in coap_show_pdu() 960 buf, sizeof(buf), encode); in coap_show_pdu()
|
/third_party/node/deps/v8/third_party/test262-harness/src/ |
H A D | test262.py | 174 msg = msg.encode(encoding='ascii', errors='strict') 563 if self.ShouldRun (unicode(EXCLUDE_LIST[x].encode('utf-8','ignore')), tests): 565 SkipCaseElement.attrib["classname"] = unicode(EXCLUDE_LIST[x]).encode('utf-8','ignore') 566 SkipCaseElement.attrib["name"] = unicode(EXCLUDE_LIST[x]).encode('utf-8','ignore')
|
/third_party/node/deps/v8/third_party/jinja2/ |
H A D | environment.py | 738 py_header = imp.get_magic() + u"\xff\xff\xff\xff".encode("iso-8859-15") 742 py_header += u"\x00\x00\x00\x00".encode("iso-8859-15") 751 data = data.encode("utf8") 1294 Per default unicode strings are written, if you want to encode 1309 iterable = (x.encode(encoding, errors) for x in self)
|
/third_party/node/deps/v8/src/maglev/ |
H A D | maglev-graph-builder.cc | 27 int config = LoadHandler::KindBits::encode(LoadHandler::Kind::kField) | in LoadSimpleFieldHandler() 28 LoadHandler::IsInobjectBits::encode(field_index.is_inobject()) | in LoadSimpleFieldHandler() 29 LoadHandler::IsDoubleBits::encode(field_index.is_double()) | in LoadSimpleFieldHandler() 30 LoadHandler::FieldIndexBits::encode(field_index.index()); in LoadSimpleFieldHandler()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ |
H A D | vktCustomInstancesDevices.cpp | 977 const bool encode = isVideoEncodeOperation(m_videoCodecOperation); in getQueueFamilyVideo() local 980 DE_ASSERT((encode && !decode) || (!encode && decode)); in getQueueFamilyVideo() 983 return encode ? getQueueFamilyIndexEncode() : getQueueFamilyIndexDecode(); in getQueueFamilyVideo()
|
/third_party/skia/third_party/externals/jinja2/ |
H A D | environment.py | 738 py_header = imp.get_magic() + u"\xff\xff\xff\xff".encode("iso-8859-15") 742 py_header += u"\x00\x00\x00\x00".encode("iso-8859-15") 751 data = data.encode("utf8") 1294 Per default unicode strings are written, if you want to encode 1309 iterable = (x.encode(encoding, errors) for x in self)
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ |
H A D | vktCustomInstancesDevices.cpp | 940 const bool encode = isVideoEncodeOperation(m_videoCodecOperation); in getQueueFamilyVideo() local 943 DE_ASSERT((encode && !decode) || (!encode && decode)); in getQueueFamilyVideo() 946 return encode ? getQueueFamilyIndexEncode() : getQueueFamilyIndexDecode(); in getQueueFamilyVideo()
|
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
H A D | radeon_vcn_enc_2_0.c | 431 static void encode(struct radeon_encoder *enc) in encode() function 454 enc->encode = encode; in radeon_enc_2_0_init()
|
/third_party/node/deps/v8/src/ic/ |
H A D | handler-configuration.cc | 247 int config = KindBits::encode(Kind::kNormal); in StoreOwnTransition() 290 int config = KindBits::encode(Kind::kNormal) | in StoreTransition() 291 LookupOnLookupStartObjectBits::encode(true); in StoreTransition()
|
/third_party/node/deps/openssl/openssl/crypto/encode_decode/ |
H A D | encoder_meth.c | 279 if (encoder->encode == NULL) in encoder_from_algorithm() 280 encoder->encode = OSSL_FUNC_encoder_encode(fns); in encoder_from_algorithm() 303 || encoder->encode == NULL) { in encoder_from_algorithm()
|
/third_party/openssl/crypto/encode_decode/ |
H A D | encoder_meth.c | 279 if (encoder->encode == NULL) in encoder_from_algorithm() 280 encoder->encode = OSSL_FUNC_encoder_encode(fns); in encoder_from_algorithm() 303 || encoder->encode == NULL) { in encoder_from_algorithm()
|
/third_party/node/deps/v8/src/compiler/ |
H A D | js-operator.h | 119 : bit_field_(ArityField::encode(arity) | in ConstructForwardVarargsParameters() 120 StartIndexField::encode(start_index)) {} in ConstructForwardVarargsParameters() 199 : bit_field_(ArityField::encode(arity) | in CallForwardVarargsParameters() 200 StartIndexField::encode(start_index)) {} in CallForwardVarargsParameters() 242 : bit_field_(ArityField::encode(arity) | in CallParameters() 243 CallFeedbackRelationField::encode(feedback_relation) | in CallParameters() 244 SpeculationModeField::encode(speculation_mode) | in CallParameters() 245 ConvertReceiverModeField::encode(convert_mode)), in CallParameters()
|