/external/python/cpython3/Lib/email/ |
D | charset.py | 159 def _encode(string, codec): function 293 header_bytes = _encode(string, codec) 319 header_bytes = _encode(string, codec) 343 length = encoder_module.header_length(_encode(this_line, charset)) 353 header_bytes = _encode(joined_line, codec) 358 header_bytes = _encode(joined_line, codec)
|
D | generator.py | 99 self._encoded_NL = self._encode(self._NL) 101 self._encoded_EMPTY = self._encode(self._EMPTY) 145 def _encode(self, s): member in Generator 361 payload = self._encode(payload) 411 def _encode(self, s): member in BytesGenerator
|
D | header.py | 77 return [(_charset._encode(string, str(charset)), str(charset))
|
/external/lzma/CPP/7zip/Compress/ |
D | BcjCoder.h | 21 int _encode; variable 26 CCoder(int encode): _bufferPos(0), _encode(encode) { x86_Convert_Init(_prevMask); } in CCoder()
|
D | BranchMisc.h | 24 int _encode; variable 30 CCoder(Func_Bra bra, int encode): _bufferPos(0), _encode(encode), BraFunc(bra) {} in CCoder()
|
D | BranchMisc.cpp | 18 UInt32 processed = (UInt32)BraFunc(data, size, _bufferPos, _encode); in STDMETHODIMP_()
|
D | BcjCoder.cpp | 19 UInt32 processed = (UInt32)::x86_Convert(data, size, _bufferPos, &_prevMask, _encode); in STDMETHODIMP_()
|
/external/python/setuptools/setuptools/command/ |
D | upload_docs.py | 26 def _encode(s): function 117 value = _encode(value) 119 yield _encode(title) 154 credentials = _encode(self.username + ':' + self.password)
|
/external/grpc-grpc/src/python/grpcio/grpc/_cython/_cygrpc/ |
D | metadata.pyx.pxi | 36 encoded_key = _encode(key) 37 encoded_value = value if encoded_key[-4:] == b'-bin' else _encode(value)
|
D | arguments.pyx.pxi | 57 cdef bytes encoded_key = _encode(key) 66 encoded_value = _encode(value)
|
D | grpc_string.pyx.pxi | 36 cdef bytes _encode(object string_or_none): function
|
D | channel.pyx.pxi | 143 call_state.c_call, code, _encode(details), NULL) 363 encoded_details = _encode(details)
|
D | operation.pyx.pxi | 110 self._c_details = _slice_from_bytes(_encode(self._details))
|
/external/python/cpython3/Modules/cjkcodecs/ |
D | cjkcodecs.h | 73 static Py_ssize_t encoding##_encode( \ 214 enc##_encode, \ 221 enc##_encode, NULL, NULL, \
|
/external/python/cpython2/Modules/cjkcodecs/ |
D | cjkcodecs.h | 73 static Py_ssize_t encoding##_encode( \ 215 enc##_encode, \ 222 enc##_encode, NULL, NULL, \
|
/external/markdown/markdown/ |
D | html4.py | 74 def _encode(text, encoding): function 170 write(_encode(text, encoding))
|
/external/python/cpython2/Lib/test/ |
D | test_pydoc.py | 555 self.assertEqual(pydoc._encode(self.Q.__doc__, 'ascii'), 'Rational numbers: ℚ') 565 self.assertEqual(open('pipe').read(), pydoc._encode(doc)) 581 self.assertEqual(output['content'], pydoc._encode(doc))
|
/external/python/cpython3/Lib/test/ |
D | test_urlparse.py | 182 def _encode(t): function 186 bytes_cases = [_encode(x) for x in str_cases] 211 def _encode(t): function 215 bytes_cases = [_encode(x) for x in str_cases] 485 def _encode(t): function 487 bytes_cases = [_encode(x) for x in str_cases] 515 def _encode(t): function 517 bytes_cases = [_encode(x) for x in str_cases]
|
/external/python/uritemplates/uritemplate/ |
D | variable.py | 374 def _encode(value, encoding='utf-8'): function 384 return urllib.quote(_encode(value), safe)
|
/external/python/cpython2/Lib/xml/etree/ |
D | ElementTree.py | 903 write("<!--%s-->" % _encode(text, encoding)) 905 write("<?%s?>" % _encode(text, encoding)) 994 write(_encode(text, encoding)) 1055 def _encode(text, encoding): function
|
/external/python/cpython2/Lib/ |
D | pydoc.py | 85 result = _encode(result) 198 def _encode(text, encoding='ascii'): function 204 def _encode(text, encoding=None): function 460 return _encode(''' 1419 pipe.write(_encode(text)) 1429 file.write(_encode(text)) 1438 lines = plain(_encode(plain(text), getattr(sys.stdout, 'encoding', _encoding))).split('\n') 1482 sys.stdout.write(_encode(plain(text), getattr(sys.stdout, 'encoding', _encoding)))
|
/external/python/cpython3/Lib/http/ |
D | client.py | 148 def _encode(data, name='data'): function 1274 body = _encode(body, 'body')
|