/external/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | CodedOutputStreamTest.java | 360 Coder coder = outputType.newCoder(message.getSerializedSize()); in testWriteWholeMessage() local 361 message.writeTo(coder.stream()); in testWriteWholeMessage() 362 coder.stream().flush(); in testWriteWholeMessage() 363 byte[] rawBytes = coder.toByteArray(); in testWriteWholeMessage() 369 Coder coder = OutputType.STREAM.newCoder(blockSize); in testWriteWholeMessage() local 370 message.writeTo(coder.stream()); in testWriteWholeMessage() 371 coder.stream().flush(); in testWriteWholeMessage() 372 assertEqualBytes(OutputType.STREAM, expectedBytes, coder.toByteArray()); in testWriteWholeMessage() 386 Coder coder = outputType.newCoder(message.getSerializedSize()); in testWriteWholePackedFieldsMessage() local 387 message.writeTo(coder.stream()); in testWriteWholePackedFieldsMessage() [all …]
|
/external/cronet/third_party/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | CodedOutputStreamTest.java | 360 Coder coder = outputType.newCoder(message.getSerializedSize()); in testWriteWholeMessage() local 361 message.writeTo(coder.stream()); in testWriteWholeMessage() 362 coder.stream().flush(); in testWriteWholeMessage() 363 byte[] rawBytes = coder.toByteArray(); in testWriteWholeMessage() 369 Coder coder = OutputType.STREAM.newCoder(blockSize); in testWriteWholeMessage() local 370 message.writeTo(coder.stream()); in testWriteWholeMessage() 371 coder.stream().flush(); in testWriteWholeMessage() 372 assertEqualBytes(OutputType.STREAM, expectedBytes, coder.toByteArray()); in testWriteWholeMessage() 386 Coder coder = outputType.newCoder(message.getSerializedSize()); in testWriteWholePackedFieldsMessage() local 387 message.writeTo(coder.stream()); in testWriteWholePackedFieldsMessage() [all …]
|
/external/cronet/net/third_party/quiche/src/quiche/quic/core/ |
D | quic_socket_address_coder_test.cc | 22 QuicSocketAddressCoder coder(QuicSocketAddress(ip, 0x1234)); in TEST_F() local 23 std::string serialized = coder.Encode(); in TEST_F() 31 QuicSocketAddressCoder coder(QuicSocketAddress(ip, 0x5678)); in TEST_F() local 32 std::string serialized = coder.Encode(); in TEST_F() 44 QuicSocketAddressCoder coder; in TEST_F() local 45 ASSERT_TRUE(coder.Decode(serialized.data(), serialized.length())); in TEST_F() 46 EXPECT_EQ(IpAddressFamily::IP_V4, coder.ip().address_family()); in TEST_F() 48 EXPECT_EQ(expected_addr, coder.ip().ToPackedString()); in TEST_F() 49 EXPECT_EQ(0x1234, coder.port()); in TEST_F() 59 QuicSocketAddressCoder coder; in TEST_F() local [all …]
|
/external/lzma/C/ |
D | XzDec.c | 497 IStateCoder *coder = &p->coders[i]; in MixCoder_Init() local 498 coder->Init(coder->p); in MixCoder_Init() 576 IStateCoder *coder = &p->coders[0]; in MixCoder_Code() local 577 res = coder->Code2(coder->p, NULL, &destLen2, src, &srcLen2, srcWasFinished, finishMode, in MixCoder_Code() 613 IStateCoder *coder = &p->coders[i]; in MixCoder_Code() local 614 processed = coder->Filter(coder->p, p->outBuf, processed); in MixCoder_Code() 654 IStateCoder *coder = &p->coders[i]; in MixCoder_Code() local 698 res = coder->Code2(coder->p, in MixCoder_Code() 1541 CXzDecMtThread *coder = &p->coders[i]; in XzDecMt_Create() local 1542 coder->dec_created = False; in XzDecMt_Create() [all …]
|
D | 7zDec.c | 387 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 …]
|
/external/ImageMagick/coders/ |
D | coders-private.h | 19 #define MagickCoderHeader(coder,offset,magic) { coder, offset, \ argument 22 #define MagickCoderAlias(coder,alias) { alias, coder }, argument 24 #define MagickCoderExports(coder) \ argument 26 Register ## coder ## Image(void); \ 28 Unregister ## coder ## Image(void);
|
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/sevenz/ |
D | DeltaDecoder.java | 34 final Coder coder, final byte[] password) throws IOException { in decode() argument 35 return new DeltaOptions(getOptionsFromCoder(coder)).getInputStream(in); in decode() 57 Object getOptionsFromCoder(final Coder coder, final InputStream in) { in getOptionsFromCoder() argument 58 return getOptionsFromCoder(coder); in getOptionsFromCoder() 61 private int getOptionsFromCoder(final Coder coder) { in getOptionsFromCoder() argument 62 if (coder.properties == null || coder.properties.length == 0) { in getOptionsFromCoder() 65 return (0xff & coder.properties[0]) + 1; in getOptionsFromCoder()
|
D | LZMADecoder.java | 37 final Coder coder, final byte[] password) throws IOException { in decode() argument 38 final byte propsByte = coder.properties[0]; in decode() 39 final int dictSize = getDictionarySize(coder); in decode() 66 Object getOptionsFromCoder(final Coder coder, final InputStream in) throws IOException { in getOptionsFromCoder() argument 67 final byte propsByte = coder.properties[0]; in getOptionsFromCoder() 76 opts.setDictSize(getDictionarySize(coder)); in getOptionsFromCoder() 80 private int getDictionarySize(final Coder coder) throws IllegalArgumentException { in getDictionarySize() argument 81 return (int) ByteUtils.fromLittleEndian(coder.properties, 1, 4); in getDictionarySize()
|
D | LZMA2Decoder.java | 36 final Coder coder, final byte[] password) throws IOException { in decode() argument 38 final int dictionarySize = getDictionarySize(coder); in decode() 64 Object getOptionsFromCoder(final Coder coder, final InputStream in) { in getOptionsFromCoder() argument 65 return getDictionarySize(coder); in getOptionsFromCoder() 75 private int getDictionarySize(final Coder coder) throws IllegalArgumentException { in getDictionarySize() argument 76 final int dictionarySizeBits = 0xff & coder.properties[0]; in getDictionarySize()
|
D | AES256SHA256Decoder.java | 35 final Coder coder, final byte[] passwordBytes) throws IOException { in decode() argument 44 final int byte0 = 0xff & coder.properties[0]; in decode() 46 final int byte1 = 0xff & coder.properties[1]; in decode() 49 if (2 + saltSize + ivSize > coder.properties.length) { in decode() 53 System.arraycopy(coder.properties, 2, salt, 0, saltSize); in decode() 55 System.arraycopy(coder.properties, 2 + saltSize, iv, 0, ivSize); in decode()
|
D | Coders.java | 72 final Coder coder, final byte[] password) throws IOException { in addDecoder() argument 73 final CoderBase cb = findByMethod(SevenZMethod.byId(coder.decompressionMethodId)); in addDecoder() 76 Arrays.toString(coder.decompressionMethodId) in addDecoder() 79 return cb.decode(archiveName, is, uncompressedLength, coder, password); in addDecoder() 94 final Coder coder, final byte[] password) throws IOException { in decode() argument 111 final Coder coder, final byte[] password) throws IOException { in decode() argument 138 final Coder coder, final byte[] password) in decode() argument 239 final Coder coder, final byte[] password) in decode() argument 252 final Coder coder, final byte[] password) in decode() argument
|
D | CoderBase.java | 60 Object getOptionsFromCoder(final Coder coder, final InputStream in) throws IOException { in getOptionsFromCoder() argument 69 final Coder coder, byte[] password) throws IOException; in decode() argument
|
D | Folder.java | 95 long getUnpackSizeForCoder(final Coder coder) { in getUnpackSizeForCoder() argument 98 if (coders[i] == coder) { in getUnpackSizeForCoder()
|
D | SevenZFile.java | 433 for (final Coder coder : folder.getOrderedCoders()) { in readEncodedHeader() 434 if (coder.numInStreams != 1 || coder.numOutStreams != 1) { in readEncodedHeader() 438 folder.getUnpackSizeForCoder(coder), coder, password); in readEncodedHeader() 1027 for (final Coder coder : folder.getOrderedCoders()) { in buildDecoderStack() 1028 if (coder.numInStreams != 1 || coder.numOutStreams != 1) { in buildDecoderStack() 1031 final SevenZMethod method = SevenZMethod.byId(coder.decompressionMethodId); in buildDecoderStack() 1033 folder.getUnpackSizeForCoder(coder), coder, password); in buildDecoderStack() 1035 Coders.findByMethod(method).getOptionsFromCoder(coder, inputStreamStack))); in buildDecoderStack()
|
/external/clang/test/Analysis/ |
D | superclass.m | 42 - (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/ |
D | CoderMixer2.cpp | 134 const CCoderStreamsInfo &coder = BindInfo->Coders[coderIndex]; in CheckCoder() local 142 for (unsigned i = 0; i < coder.NumStreams; i++) in CheckCoder() 378 const CCoder &coder = _coders[coderIndex]; in GetInStream2() local 381 coder.QueryInterface(IID_ISequentialInStream, (void **)&seqInStream); in GetInStream2() 385 UInt32 numInStreams = EncodeMode ? 1 : coder.NumStreams; in GetInStream2() 393 coder.QueryInterface(IID_ICompressSetInStream, (void **)&setStream); in GetInStream2() 406 coder.QueryInterface(IID_ICompressSetInStream2, (void **)&setStream2); in GetInStream2() 515 CCoder &coder = _coders[coderIndex]; in GetOutStream() local 522 coder.QueryInterface(IID_ISequentialOutStream, (void **)&seqOutStream); in GetOutStream() 526 UInt32 numOutStreams = EncodeMode ? coder.NumStreams : 1; in GetOutStream() [all …]
|
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/sevenz/ |
D | AES256SHA256DecoderTest.java | 45 Coder coder = new Coder(); in testDecodeWithNonEmptyString() local 48 coder.properties = byteArray; in testDecodeWithNonEmptyString() 49 … inputStream = aES256SHA256Decoder.decode("x", bufferedInputStream, 3138, coder, coder.properties); in testDecodeWithNonEmptyString()
|
D | FolderTest.java | 40 Coder coder = new Coder(); in testGetUnpackSizeForCoderOne() local 43 assertEquals(0L, folder.getUnpackSizeForCoder(coder)); in testGetUnpackSizeForCoderOne()
|
/external/python/cpython2/Lib/plat-mac/Carbon/ |
D | ControlAccessor.py | 35 structfmt, coder, decoder = _codingdict[selector] 36 if coder: 37 data = coder(data) 48 structfmt, coder, decoder = _codingdict[selector]
|
/external/ImageMagick/MagickCore/ |
D | static.c | 56 #define AddMagickCoder(coder) { #coder, MagickFalse, \ argument 57 Register ## coder ## Image, Unregister ## coder ## Image },
|
/external/ImageMagick/ |
D | AUTHORS.txt | 33 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.
|
/external/lzma/CPP/7zip/Archive/7z/ |
D | 7zEncode.cpp | 36 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() 373 IUnknown *coder = _mixer->GetCoder(i).GetUnknown(); in Encode() local 376 coder->QueryInterface(IID_ICryptoResetInitVector, (void **)&resetInitVector); in Encode() 384 coder->QueryInterface(IID_ICompressSetCoderPropertiesOpt, (void **)&optProps); in Encode() 394 coder->QueryInterface(IID_ICompressWriteCoderProperties, (void **)&writeCoderProperties); in Encode()
|
/external/golang-protobuf/internal/cmd/generate-types/ |
D | impl.go | 122 var coder{{.Name}} = pointerCoderFuncs{ 158 var coder{{.Name}}ValidateUTF8 = pointerCoderFuncs{ 205 var coder{{.Name}}NoZero = pointerCoderFuncs{ 247 var coder{{.Name}}NoZeroValidateUTF8 = pointerCoderFuncs{ 292 var coder{{.Name}}Ptr = pointerCoderFuncs{ 334 var coder{{.Name}}PtrValidateUTF8 = pointerCoderFuncs{ 400 var coder{{.Name}}Slice = pointerCoderFuncs{ 439 var coder{{.Name}}SliceValidateUTF8 = pointerCoderFuncs{ 487 var coder{{.Name}}PackedSlice = pointerCoderFuncs{ 523 var coder{{.Name}}Value = valueCoderFuncs{ [all …]
|
/external/deqp/framework/platform/ios/ |
D | tcuEAGLView.m | 36 - (id)initWithCoder:(NSCoder*)coder 38 self = [super initWithCoder:coder];
|
/external/lzma/CPP/7zip/UI/Common/ |
D | LoadCodecs.cpp | 855 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() 870 return lib.CreateObject(&ci.Decoder, iid, (void **)coder); in CreateDecoder() 878 STDMETHODIMP CCodecs::CreateEncoder(UInt32 index, const GUID *iid, void **coder) in CreateEncoder() argument 882 return CreateEncoder(index, iid, coder); in CreateEncoder() 891 return lib.CreateEncoder(ci.CodecIndex, iid, (void **)coder); in CreateEncoder() 893 return lib.CreateObject(&ci.Encoder, iid, (void **)coder); in CreateEncoder()
|