Home
last modified time | relevance | path

Searched refs:_encode (Results 1 – 12 of 12) sorted by relevance

/third_party/python/Lib/email/
Dcharset.py159 def _encode(string, codec): function
291 header_bytes = _encode(string, codec)
317 header_bytes = _encode(string, codec)
341 length = encoder_module.header_length(_encode(this_line, charset))
351 header_bytes = _encode(joined_line, codec)
356 header_bytes = _encode(joined_line, codec)
Dgenerator.py99 self._encoded_NL = self._encode(self._NL)
101 self._encoded_EMPTY = self._encode(self._EMPTY)
145 def _encode(self, s): member in Generator
365 payload = self._encode(payload)
415 def _encode(self, s): member in BytesGenerator
Dheader.py77 return [(_charset._encode(string, str(charset)), str(charset))
/third_party/grpc/src/python/grpcio/grpc/_cython/_cygrpc/
Dmetadata.pyx.pxi42 encoded_key = _encode(key)
43 encoded_value = value if encoded_key[-4:] == b'-bin' else _encode(value)
Darguments.pyx.pxi36 cdef bytes encoded_key = _encode(key)
45 encoded_value = _encode(value)
Dgrpc_string.pyx.pxi32 cdef bytes _encode(object string_or_none): function
Doperation.pyx.pxi113 self._c_details = _slice_from_bytes(_encode(self._details))
Dchannel.pyx.pxi139 call_state.c_call, code, _encode(details), NULL)
398 encoded_details = _encode(details)
/third_party/python/Modules/cjkcodecs/
Dcjkcodecs.h73 static Py_ssize_t encoding##_encode( \
216 enc##_encode, \
223 enc##_encode, NULL, NULL, \
/third_party/python/Lib/test/
Dtest_urlparse.py170 def _encode(t): function
174 bytes_cases = [_encode(x) for x in str_cases]
199 def _encode(t): function
203 bytes_cases = [_encode(x) for x in str_cases]
473 def _encode(t): function
475 bytes_cases = [_encode(x) for x in str_cases]
503 def _encode(t): function
505 bytes_cases = [_encode(x) for x in str_cases]
/third_party/python/Lib/http/
Dclient.py159 def _encode(data, name='data'): function
1304 body = _encode(body, 'body')
/third_party/flutter/engine/flutter/lib/ui/
Dtext.dart289 void _encode(ByteData byteData) {
1764 … feature._encode(ByteData.view(encodedFontFeatures.buffer, byteOffset, FontFeature._kEncodedSize));