Home
last modified time | relevance | path

Searched refs:_encoder (Results 1 – 25 of 31) sorted by relevance

12

/external/lzma/CPP/7zip/Compress/
DLzma2Encoder.cpp24 _encoder = NULL; in CEncoder()
25 _encoder = Lzma2Enc_Create(&g_AlignedAlloc, &g_BigAlloc); in CEncoder()
26 if (!_encoder) in CEncoder()
32 if (_encoder) in ~CEncoder()
33 Lzma2Enc_Destroy(_encoder); in ~CEncoder()
70 return SResToHRESULT(Lzma2Enc_SetProps(_encoder, &lzma2Props)); in SetCoderProperties()
83 Lzma2Enc_SetDataSize(_encoder, prop.uhVal.QuadPart); in SetCoderPropertiesOpt()
91 Byte prop = Lzma2Enc_WriteProperties(_encoder); in WriteCoderProperties()
110 SRes res = Lzma2Enc_Encode2(_encoder, in Code()
DLzmaEncoder.cpp17 _encoder = NULL; in CEncoder()
18 _encoder = LzmaEnc_Create(&g_AlignedAlloc); in CEncoder()
19 if (!_encoder) in CEncoder()
25 if (_encoder) in ~CEncoder()
26 LzmaEnc_Destroy(_encoder, &g_AlignedAlloc, &g_BigAlloc); in ~CEncoder()
128 return SResToHRESULT(LzmaEnc_SetProps(_encoder, &props)); in SetCoderProperties()
141 LzmaEnc_SetDataSize(_encoder, prop.uhVal.QuadPart); in SetCoderPropertiesOpt()
151 RINOK(LzmaEnc_WriteProperties(_encoder, props, &size)); in WriteCoderProperties()
170 SRes res = LzmaEnc_Encode(_encoder, &outWrap.vt, &inWrap.vt, in Code()
DXzEncoder.cpp33 _encoder = NULL; in CEncoder()
34 _encoder = XzEnc_Create(&g_Alloc, &g_BigAlloc); in CEncoder()
35 if (!_encoder) in CEncoder()
41 if (_encoder) in ~CEncoder()
42 XzEnc_Destroy(_encoder); in ~CEncoder()
212 XzEnc_SetDataSize(_encoder, prop.uhVal.QuadPart); in SetCoderPropertiesOpt()
232 SRes res = XzEnc_SetProps(_encoder, &xzProps); in Code()
234 res = XzEnc_Encode(_encoder, &outWrap.vt, &inWrap.vt, progress ? &progressWrap.vt : NULL); in Code()
DLzmaEncoder.h22 CLzmaEncHandle _encoder; variable
41 bool IsWriteEndMark() const { return LzmaEnc_IsWriteEndMark(_encoder) != 0; } in IsWriteEndMark()
DLzma2Encoder.h22 CLzma2EncHandle _encoder; variable
DXzEncoder.h22 CXzEncHandle _encoder; variable
/external/python/cpython2/Lib/json/
Dencoder.py227 _encoder = encode_basestring_ascii
229 _encoder = encode_basestring
231 def _encoder(o, _orig_encoder=_encoder, _encoding=self.encoding): function
262 markers, self.default, _encoder, self.indent,
267 markers, self.default, _encoder, self.indent, floatstr,
272 def _make_iterencode(markers, _default, _encoder, _indent, _floatstr, argument
313 yield buf + _encoder(value)
387 yield _encoder(key)
390 yield _encoder(value)
419 yield _encoder(o)
/external/python/cpython3/Lib/json/
Dencoder.py219 _encoder = encode_basestring_ascii
221 _encoder = encode_basestring
249 markers, self.default, _encoder, self.indent,
254 markers, self.default, _encoder, self.indent, floatstr,
259 def _make_iterencode(markers, _default, _encoder, _indent, _floatstr, argument
302 yield buf + _encoder(value)
382 yield _encoder(key)
385 yield _encoder(value)
415 yield _encoder(o)
/external/owasp/java-encoder/core/src/test/java/org/owasp/encoder/
DEncoderTestSuiteBuilder.java64 private Encoder _encoder; field in EncoderTestSuiteBuilder
97 _encoder = encoder; in EncoderTestSuiteBuilder()
114 _encoder = encoder; in EncoderTestSuiteBuilder()
177 String actual = Encode.encode(_encoder, input); in checkEncode()
192 EncodedWriter encodedWriter = new EncodedWriter(testWriter, _encoder); in checkEncode()
203 encodedWriter = new EncodedWriter(testWriter, _encoder); in checkEncode()
230 CoderResult cr = _encoder.encode(in, out, true); in checkBoundaryEncodes()
234 CoderResult cr2 = _encoder.encode(in, out, true); in checkBoundaryEncodes()
285 String escapedAffix = Encode.encode(_encoder, _unsafeAffix); in encode()
451 String actual = Encode.encode(_encoder, input);
[all …]
/external/owasp/java-encoder/core/src/main/java/org/owasp/encoder/
DEncodedWriter.java67 private Encoder _encoder; field in EncodedWriter
107 _encoder = encoder; in EncodedWriter()
134 CoderResult cr = _encoder.encode(input, _buffer, false); in write()
181 CoderResult cr = _encoder.encode(_leftOverBuffer, _buffer, input == null); in flushLeftOver()
/external/python/cpython2/Lib/email/mime/
Dapplication.py17 _encoder=encoders.encode_base64, **_params): argument
36 _encoder(self)
Dimage.py20 _encoder=encoders.encode_base64, **_params): argument
46 _encoder(self)
Daudio.py46 _encoder=encoders.encode_base64, **_params): argument
73 _encoder(self)
/external/python/cpython3/Lib/email/mime/
Dapplication.py17 _encoder=encoders.encode_base64, *, policy=None, **_params): argument
37 _encoder(self)
Dimage.py20 _encoder=encoders.encode_base64, *, policy=None, **_params): argument
47 _encoder(self)
Daudio.py46 _encoder=encoders.encode_base64, *, policy=None, **_params): argument
74 _encoder(self)
/external/python/cpython2/Doc/library/
Demail.mime.rst93 .. class:: MIMEApplication(_data[, _subtype[, _encoder[, **_params]]])
103 Optional *_encoder* is a callable (i.e. function) which will perform the actual
120 .. class:: MIMEAudio(_audiodata[, _subtype[, _encoder[, **_params]]])
133 Optional *_encoder* is a callable (i.e. function) which will perform the actual
148 .. class:: MIMEImage(_imagedata[, _subtype[, _encoder[, **_params]]])
161 Optional *_encoder* is a callable (i.e. function) which will perform the actual
Demail.rst140 have been removed. These include the *_encoder* argument to the
209 * The *_encoder* argument to the :class:`~email.mime.text.MIMEText` constructor
/external/python/cpython3/Doc/library/
Demail.mime.rst110 _encoder=email.encoders.encode_base64, \
121 Optional *_encoder* is a callable (i.e. function) which will perform the actual
141 _encoder=email.encoders.encode_base64, \
155 Optional *_encoder* is a callable (i.e. function) which will perform the actual
175 _encoder=email.encoders.encode_base64, \
189 Optional *_encoder* is a callable (i.e. function) which will perform the actual
/external/python/cpython2/Lib/
D_pyio.py1520 self._encoder = None
1616 encoder = self._encoder or self._get_encoder()
1630 self._encoder = make_encoder(self._errors)
1631 return self._encoder
1853 encoder = self._encoder or self._get_encoder()
/external/cronet/third_party/protobuf/python/google/protobuf/internal/
Dpython_message.py314 field_descriptor._encoder = field_encoder
1109 descriptor.fields_by_name['key']._encoder(
1111 descriptor.fields_by_name['value']._encoder(
1115 field_descriptor._encoder(write_bytes, field_value, deterministic)
/external/protobuf/python/google/protobuf/internal/
Dpython_message.py314 field_descriptor._encoder = field_encoder
1109 descriptor.fields_by_name['key']._encoder(
1111 descriptor.fields_by_name['value']._encoder(
1115 field_descriptor._encoder(write_bytes, field_value, deterministic)
/external/libvpx/
Dconfigure480 if enabled ${cf}_encoder && enabled ${cf}_decoder; then
482 elif enabled ${cf}_encoder; then
/external/lzma/CPP/7zip/UI/Common/
DBench.cpp664 CMyComPtr<ICompressCoder> _encoder; member
861 coder = _encoder; in Generate()
910 RINOK(_encoder->Code(inStream, crcStream, 0, 0, NULL)); in Generate()
970 coder = _encoder; in Encode()
1006 RINOK(_encoder->Code(inStream, outStream, NULL, NULL, progressInfo[0])); in Encode()
1022 _encoder.Release(); in Encode()
1278 encoder._encoder = cod.Coder; in MethodBench()
1279 if (!encoder._encoder && !encoder._encoderFilter) in MethodBench()
/external/python/cpython3/Lib/
D_pyio.py2082 self._encoder = None
2239 encoder = self._encoder or self._get_encoder()
2253 self._encoder = make_encoder(self._errors)
2254 return self._encoder
2464 encoder = self._encoder or self._get_encoder()

12