Home
last modified time | relevance | path

Searched refs:coder (Results 1 – 25 of 66) sorted by relevance

123

/external/protobuf/java/core/src/test/java/com/google/protobuf/
DCodedOutputStreamTest.java321 Coder coder = outputType.newCoder(message.getSerializedSize()); in testWriteWholeMessage() local
322 message.writeTo(coder.stream()); in testWriteWholeMessage()
323 coder.stream().flush(); in testWriteWholeMessage()
324 byte[] rawBytes = coder.toByteArray(); in testWriteWholeMessage()
330 Coder coder = OutputType.STREAM.newCoder(blockSize); in testWriteWholeMessage() local
331 message.writeTo(coder.stream()); in testWriteWholeMessage()
332 coder.stream().flush(); in testWriteWholeMessage()
333 assertEqualBytes(OutputType.STREAM, expectedBytes, coder.toByteArray()); in testWriteWholeMessage()
346 Coder coder = outputType.newCoder(message.getSerializedSize()); in testWriteWholePackedFieldsMessage() local
347 message.writeTo(coder.stream()); in testWriteWholePackedFieldsMessage()
[all …]
/external/clang/test/Analysis/
Dsuperclass.m42 - (void)restoreStateWithCoder:(NSCoder *)coder;
43 - (void)encodeRestorableStateWithCoder:(NSCoder *)coder;
46 - (void)restoreStateWithCoder:(NSCoder *)coder;
47 - (void)encodeRestorableStateWithCoder:(NSCoder *)coder;
68 - (void)restoreStateWithCoder:(NSCoder *)coder {}
69 - (void)encodeRestorableStateWithCoder:(NSCoder *)coder {}
200 - (void)restoreStateWithCoder:(NSCoder *)coder {
202 - (void)encodeRestorableStateWithCoder:(NSCoder *)coder {
211 - (void)restoreStateWithCoder:(NSCoder *)coder {
212 [super restoreStateWithCoder:coder];
[all …]
/external/lzma/CPP/7zip/Archive/Common/
DCoderMixer2.cpp77 const CCoderStreamsInfo &coder = BindInfo->Coders[coderIndex]; in CheckCoder() local
85 for (unsigned i = 0; i < coder.NumStreams; i++) in CheckCoder()
319 const CCoder &coder = _coders[coderIndex]; in GetInStream2() local
322 coder.QueryInterface(IID_ISequentialInStream, (void **)&seqInStream); in GetInStream2()
326 UInt32 numInStreams = EncodeMode ? 1 : coder.NumStreams; in GetInStream2()
334 coder.QueryInterface(IID_ICompressSetInStream, (void **)&setStream); in GetInStream2()
347 coder.QueryInterface(IID_ICompressSetInStream2, (void **)&setStream2); in GetInStream2()
456 CCoder &coder = _coders[coderIndex]; in GetOutStream() local
463 coder.QueryInterface(IID_ISequentialOutStream, (void **)&seqOutStream); in GetOutStream()
467 UInt32 numOutStreams = EncodeMode ? coder.NumStreams : 1; in GetOutStream()
[all …]
/external/lzma/C/
D7zDec.c387 const CSzCoderInfo *coder = &folder->Coders[ci]; in SzFolder_Decode2() local
389 if (IS_MAIN_METHOD((UInt32)coder->MethodID)) in SzFolder_Decode2()
427 if (coder->MethodID == k_Copy) in SzFolder_Decode2()
433 else if (coder->MethodID == k_LZMA) in SzFolder_Decode2()
435 …RINOK(SzDecodeLzma(propsData + coder->PropsOffset, coder->PropsSize, inSize, inStream, outBufCur, … in SzFolder_Decode2()
438 else if (coder->MethodID == k_LZMA2) in SzFolder_Decode2()
440 …RINOK(SzDecodeLzma2(propsData + coder->PropsOffset, coder->PropsSize, inSize, inStream, outBufCur,… in SzFolder_Decode2()
444 else if (coder->MethodID == k_PPMD) in SzFolder_Decode2()
446 …RINOK(SzDecodePpmd(propsData + coder->PropsOffset, coder->PropsSize, inSize, inStream, outBufCur, … in SzFolder_Decode2()
452 else if (coder->MethodID == k_BCJ2) in SzFolder_Decode2()
[all …]
DXzDec.c369 IStateCoder *coder = &p->coders[i]; in MixCoder_Init() local
370 coder->Init(coder->p); in MixCoder_Init()
423 IStateCoder *coder = &p->coders[i]; in MixCoder_Code() local
456 …res = coder->Code(coder->p, destCur, &destLenCur, srcCur, &srcLenCur, srcFinishedCur, finishMode, … in MixCoder_Code()
/external/python/cpython2/Lib/plat-mac/Carbon/
DControlAccessor.py35 structfmt, coder, decoder = _codingdict[selector]
36 if coder:
37 data = coder(data)
48 structfmt, coder, decoder = _codingdict[selector]
/external/toolchain-utils/automation/common/
Dlogger.py70 def __init__(self, coder, display_flags={}): argument
78 items.append(coder('cyan') + '[%(threadName)s:%(name)s]' + coder('reset'))
83 self._coder = coder
/external/webrtc/webrtc/modules/audio_coding/neteq/test/
DRTPencode.cc91 int NetEQTest_init_coders(webrtc::NetEqDecoder coder,
98 int NetEQTest_free_coders(webrtc::NetEqDecoder coder, size_t numChannels);
99 size_t NetEQTest_encode(webrtc::NetEqDecoder coder,
909 int NetEQTest_init_coders(webrtc::NetEqDecoder coder, in NetEQTest_init_coders() argument
946 switch (coder) { in NetEQTest_init_coders()
1459 int NetEQTest_free_coders(webrtc::NetEqDecoder coder, size_t numChannels) { in NetEQTest_free_coders() argument
1467 switch (coder) { in NetEQTest_free_coders()
1592 size_t NetEQTest_encode(webrtc::NetEqDecoder coder, in NetEQTest_encode() argument
1664 if (coder == webrtc::NetEqDecoder::kDecoderPCMu) { /*g711 u-law */ in NetEQTest_encode()
1668 } else if (coder == webrtc::NetEqDecoder::kDecoderPCMa) { /*g711 A-law */ in NetEQTest_encode()
[all …]
/external/ImageMagick/
DAUTHORS.txt33 Authored the Cineon image coder (based on the existing DPX source).
36 Original author of the JP2 coder.
49 Authored the CUT, ART, and MATLAB coder modules.
52 Ported the WMF coder to the libwmf 0.2 API.
69 Authored the PALM coder.
102 Original author of PerlMagick. Author of the LOCALE coder.
106 and re-wrote the PS3 coder.
DChangeLog9 * Initialize index channel to get expected results from the stegano coder.
23 * The histogram coder now returns the correct extent.
37 * Added support for GROUP4 compression to the FAX coder.
88 * Security improvements to TEXT coder broke it (reference
141 * Remove support for internal ephemeral coder.
/external/tensorflow/tensorflow/contrib/coder/python/ops/
Dcoder_ops.py22 from tensorflow.contrib.coder.python.ops import gen_coder_ops
23 from tensorflow.contrib.coder.python.ops.gen_coder_ops import *
/external/lzma/CPP/7zip/Archive/7z/
D7zEncode.cpp36 const NCoderMixer2::CCoderStreamsInfo &coder = _bindInfo.Coders[i]; in InitBindConv() local
39 numOut -= coder.NumStreams; in InitBindConv()
46 for (UInt32 j = 0; j < coder.NumStreams; j++, destIn++) in InitBindConv()
89 static HRESULT SetCoderProps2(const CProps &props, const UInt64 *dataSizeReduce, IUnknown *coder) in SetCoderProps2() argument
92 coder->QueryInterface(IID_ICompressSetCoderProperties, (void **)&setCoderProperties); in SetCoderProps2()
364 IUnknown *coder = _mixer->GetCoder(i).GetUnknown(); in Encode() local
367 coder->QueryInterface(IID_ICryptoResetInitVector, (void **)&resetInitVector); in Encode()
374 coder->QueryInterface(IID_ICompressWriteCoderProperties, (void **)&writeCoderProperties); in Encode()
D7zOut.cpp260 const CCoderInfo &coder = folder.Coders[i]; in WriteFolder() local
262 UInt64 id = coder.MethodID; in WriteFolder()
273 bool isComplex = !coder.IsSimpleCoder(); in WriteFolder()
276 size_t propsSize = coder.Props.Size(); in WriteFolder()
282 WriteNumber(coder.NumStreams); in WriteFolder()
288 WriteBytes(coder.Props, propsSize); in WriteFolder()
D7zIn.cpp369 CCoderInfo &coder = folder.Coders[i]; in ParseFolder() local
382 coder.MethodID = id; in ParseFolder()
386 coder.NumStreams = ReadNum(); in ParseFolder()
391 coder.NumStreams = 1; in ParseFolder()
397 coder.Props.Alloc((size_t)propsSize); in ParseFolder()
398 ReadBytes((Byte *)coder.Props, (size_t)propsSize); in ParseFolder()
401 coder.Props.Free(); in ParseFolder()
403 numInStreams += coder.NumStreams; in ParseFolder()
/external/ImageMagick/config/
DMakefile.am35 config/coder.xml \
52 config/coder.xml \
/external/webrtc/webrtc/modules/utility/
Dutility.gypi29 'source/coder.cc',
30 'source/coder.h',
DBUILD.gn20 "source/coder.cc",
21 "source/coder.h",
/external/deqp/framework/platform/ios/
DtcuEAGLView.m36 - (id)initWithCoder:(NSCoder*)coder
38 self = [super initWithCoder:coder];
/external/tensorflow/tensorflow/contrib/coder/
DREADME.md1 # Entropy coder
62 encoded = coder.range_encode(data, cdf, precision=14)
63 decoded = coder.range_decode(encoded, tf.shape(data), cdf, precision=14)
D__init__.py22 from tensorflow.contrib.coder.python.ops.coder_ops import *
/external/lzma/CPP/7zip/UI/Common/
DLoadCodecs.cpp855 STDMETHODIMP CCodecs::CreateDecoder(UInt32 index, const GUID *iid, void **coder) in CreateDecoder() argument
859 return CreateDecoder(index, iid, coder); in CreateDecoder()
868 return lib.CreateDecoder(ci.CodecIndex, iid, (void **)coder); in CreateDecoder()
869 return lib.CreateObject(&ci.Decoder, iid, (void **)coder); in CreateDecoder()
877 STDMETHODIMP CCodecs::CreateEncoder(UInt32 index, const GUID *iid, void **coder) in CreateEncoder() argument
881 return CreateEncoder(index, iid, coder); in CreateEncoder()
890 return lib.CreateEncoder(ci.CodecIndex, iid, (void **)coder); in CreateEncoder()
891 return lib.CreateObject(&ci.Encoder, iid, (void **)coder); in CreateEncoder()
DBench.cpp884 CMyComPtr<IUnknown> coder; in Init() local
886 coder = _encoderFilter; in Init()
888 coder = _encoder; in Init()
891 coder.QueryInterface(IID_ICompressSetCoderProperties, &scp); in Init()
904 coder.QueryInterface(IID_ICompressWriteCoderProperties, &writeCoderProps); in Init()
912 coder.QueryInterface(IID_ICryptoSetPassword, &sp); in Init()
971 CMyComPtr<IUnknown> coder; in Encode() local
973 coder = _encoderFilter; in Encode()
975 coder = _encoder; in Encode()
976 coder.QueryInterface(IID_ICryptoProperties, &cp); in Encode()
[all …]
/external/python/cpython2/Lib/plat-mac/
Dic.py158 coder = _decoder_table[key2][1]
160 coder = _code_default
161 return coder(data, key)
/external/tensorflow/tensorflow/contrib/
DBUILD30 "//tensorflow/contrib/coder:coder_ops_py",
121 "//tensorflow/contrib/coder:all_kernels",
144 "//tensorflow/contrib/coder:all_ops",
/external/webrtc/webrtc/modules/video_render/ios/
Dvideo_render_ios_view.mm35 - (id)initWithCoder:(NSCoder*)coder {
37 self = [super initWithCoder:coder];

123