Home
last modified time | relevance | path

Searched refs:Encoder (Results 1 – 25 of 135) sorted by relevance

123456

/external/rappor/client/javatest/com/google/android/rappor/
DEncoderTest.java61 new Encoder(makeTestingUserSecret("Bar"), // userSecret in testEncoderConstruction_goodArguments()
71 new Encoder(makeTestingUserSecret("Bar"), // userSecret in testEncoderConstruction_goodArguments()
81 new Encoder(makeTestingUserSecret("Bar"), // userSecret in testEncoderConstruction_goodArguments()
95 new Encoder(tooShortSecret, // userSecret in testEncoderConstruction_userSecretTooShort()
108 new Encoder(tooLongSecret, // userSecret in testEncoderConstruction_userSecretMayBeLong()
121 new Encoder(makeTestingUserSecret("Bar"), // userSecret in testEncoderConstruction_numBitsTooLow()
134 new Encoder( in testEncoderConstruction_numBitsTooHigh()
148 new Encoder(makeTestingUserSecret("Bar"), // userSecret in testEncoderConstruction_probabilityFTooLow()
161 new Encoder(makeTestingUserSecret("Bar"), // userSecret in testEncoderConstruction_probabilityFTooHigh()
174 new Encoder(makeTestingUserSecret("Bar"), // userSecret in testEncoderConstruction_probabilityPTooLow()
[all …]
/external/glide/library/src/main/java/com/bumptech/glide/load/model/
DImageVideoWrapperEncoder.java5 import com.bumptech.glide.load.Encoder;
15 public class ImageVideoWrapperEncoder implements Encoder<ImageVideoWrapper> {
16 private final Encoder<InputStream> streamEncoder;
17 private final Encoder<ParcelFileDescriptor> fileDescriptorEncoder;
20 public ImageVideoWrapperEncoder(Encoder<InputStream> streamEncoder, in ImageVideoWrapperEncoder()
21 Encoder<ParcelFileDescriptor> fileDescriptorEncoder) { in ImageVideoWrapperEncoder()
/external/lzma/Java/SevenZip/Compression/LZMA/
DEncoder.java9 public class Encoder class
74 public void Init() { SevenZip.Compression.RangeCoder.Encoder.InitBitModels(m_Encoders); } in Init()
78 …public void Encode(SevenZip.Compression.RangeCoder.Encoder rangeEncoder, byte symbol) throws IOExc… in Encode()
89 …public void EncodeMatched(SevenZip.Compression.RangeCoder.Encoder rangeEncoder, byte matchByte, by… in EncodeMatched()
119 …price += SevenZip.Compression.RangeCoder.Encoder.GetPrice(m_Encoders[((1 + matchBit) << 8) + conte… in GetPrice()
131 price += SevenZip.Compression.RangeCoder.Encoder.GetPrice(m_Encoders[context], bit); in GetPrice()
186 SevenZip.Compression.RangeCoder.Encoder.InitBitModels(_choice); in Init()
196 …public void Encode(SevenZip.Compression.RangeCoder.Encoder rangeEncoder, int symbol, int posState)… in Encode()
222 int a0 = SevenZip.Compression.RangeCoder.Encoder.GetPrice0(_choice[0]); in SetPrices()
223 int a1 = SevenZip.Compression.RangeCoder.Encoder.GetPrice1(_choice[0]); in SetPrices()
[all …]
/external/libmojo/mojo/public/js/
Dcodec.js214 function Encoder(buffer, handles, base) { class
221 Encoder.prototype.align = function() { class
225 Encoder.prototype.skip = function(offset) {
229 Encoder.prototype.writeInt8 = function(val) {
234 Encoder.prototype.writeUint8 = function(val) {
242 Encoder.prototype.writeInt16 = function(val) {
247 Encoder.prototype.writeUint16 = function(val) {
255 Encoder.prototype.writeInt32 = function(val) {
260 Encoder.prototype.writeUint32 = function(val) {
268 Encoder.prototype.writeInt64 = function(val) {
[all …]
/external/libmojo/mojo/public/java/bindings/src/org/chromium/mojo/bindings/
DEncoder.java23 public class Encoder { class
125 public Encoder(Core core, int sizeHint) { in Encoder() method in Encoder
132 private Encoder(EncoderState bufferInformation) { in Encoder() method in Encoder
140 public Encoder getEncoderAtDataOffset(DataHeader dataHeader) { in getEncoderAtDataOffset()
141 Encoder result = new Encoder(mEncoderState); in getEncoderAtDataOffset()
321 public Encoder encodePointerArray(int length, int offset, int expectedLength) { in encodePointerArray()
328 public Encoder encodeUnionArray(int length, int offset, int expectedLength) { in encodeUnionArray()
434 Encoder e = encoderForArray( in encode()
451 Encoder e = encoderForArray( in encode()
459 public Encoder encoderForMap(int offset) { in encoderForMap()
[all …]
DStruct.java48 Encoder encoder = new Encoder(core, mEncodedBaseSize); in serialize()
78 Encoder encoder = new Encoder(core, mEncodedBaseSize + header.getSize()); in serializeWithHeader()
87 protected abstract void encode(Encoder encoder); in encode()
DUnion.java20 Encoder encoder = new Encoder(core, BindingsHelper.UNION_SIZE); in serialize()
29 protected abstract void encode(Encoder encoder, int offset); in encode()
/external/lzma/Java/SevenZip/Compression/RangeCoder/
DBitTreeEncoder.java20 public void Encode(Encoder rangeEncoder, int symbol) throws IOException in Encode()
32 public void ReverseEncode(Encoder rangeEncoder, int symbol) throws IOException in ReverseEncode()
52 price += Encoder.GetPrice(Models[m], bit); in GetPrice()
66 price += Encoder.GetPrice(Models[m], bit); in ReverseGetPrice()
81 price += Encoder.GetPrice(Models[startIndex + m], bit); in ReverseGetPrice()
88 Encoder rangeEncoder, int NumBitLevels, int symbol) throws IOException in ReverseEncode()
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/
DNullEncoder.java3 import com.bumptech.glide.load.Encoder;
12 public class NullEncoder<T> implements Encoder<T> {
21 public static <T> Encoder<T> get() { in get()
22 return (Encoder<T>) NULL_ENCODER; in get()
/external/brotli/java/org/brotli/wrapper/enc/
DBrotliOutputStream.java20 private final Encoder encoder;
29 public BrotliOutputStream(OutputStream destination, Encoder.Parameters params, int bufferSize) in BrotliOutputStream()
31 this.encoder = new Encoder(Channels.newChannel(destination), params, bufferSize); in BrotliOutputStream()
34 public BrotliOutputStream(OutputStream destination, Encoder.Parameters params) in BrotliOutputStream()
40 this(destination, new Encoder.Parameters()); in BrotliOutputStream()
DBrotliEncoderChannel.java17 public class BrotliEncoderChannel extends Encoder implements WritableByteChannel {
30 public BrotliEncoderChannel(WritableByteChannel destination, Encoder.Parameters params, in BrotliEncoderChannel()
35 public BrotliEncoderChannel(WritableByteChannel destination, Encoder.Parameters params) in BrotliEncoderChannel()
41 this(destination, new Encoder.Parameters()); in BrotliEncoderChannel()
/external/libvpx/libvpx/test/
Dcodec_factory.h40 virtual Encoder *CreateEncoder(vpx_codec_enc_cfg_t cfg,
95 class VP8Encoder : public Encoder {
99 : Encoder(cfg, deadline, init_flags, stats) {} in VP8Encoder()
130 virtual Encoder *CreateEncoder(vpx_codec_enc_cfg_t cfg, in CreateEncoder()
191 class VP9Encoder : public Encoder {
195 : Encoder(cfg, deadline, init_flags, stats) {} in VP9Encoder()
226 virtual Encoder *CreateEncoder(vpx_codec_enc_cfg_t cfg, in CreateEncoder()
Dencode_test_driver.h87 class Encoder {
89 Encoder(vpx_codec_enc_cfg_t cfg, unsigned long deadline, in Encoder() function
95 virtual ~Encoder() { vpx_codec_destroy(&encoder_); } in ~Encoder()
220 Encoder * /*encoder*/) {} in PreEncodeFrameHook() argument
222 virtual void PostEncodeFrameHook(Encoder * /*encoder*/) {} in PostEncodeFrameHook() argument
Dencode_test_driver.cc23 void Encoder::InitEncoder(VideoSource *video) { in InitEncoder()
54 void Encoder::EncodeFrame(VideoSource *video, const unsigned long frame_flags) { in EncodeFrame()
71 void Encoder::EncodeFrameInternal(const VideoSource &video, in EncodeFrameInternal()
91 void Encoder::Flush() { in Flush()
180 testing::internal::scoped_ptr<Encoder> encoder( in RunLoop()
/external/libmojo/mojo/android/javatests/src/org/chromium/mojo/bindings/
DRouterTest.java64 Encoder encoder = new Encoder(CoreImpl.getInstance(), header.getSize()); in testSendingToRouterWithResponse()
82 encoder = new Encoder(CoreImpl.getInstance(), header.getSize()); in testSendingToRouterWithResponse()
107 Encoder encoder = new Encoder(CoreImpl.getInstance(), header.getSize()); in sendMessageToRouter()
135 Encoder encoder = new Encoder(CoreImpl.getInstance(), responseHeader.getSize()); in sendResponseFromRouter()
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
DCharsetCallback.java149 public interface Encoder { interface in CharsetCallback
165 public static final Encoder FROM_U_CALLBACK_SKIP = new Encoder() {
207 public static final Encoder FROM_U_CALLBACK_SUBSTITUTE = new Encoder(){
258 public static final Encoder FROM_U_CALLBACK_STOP = new Encoder() {
299 public static final Encoder FROM_U_CALLBACK_ESCAPE = new Encoder() {
DCharsetEncoderICU.java68 private CharsetCallback.Encoder onUnmappableInput = CharsetCallback.FROM_U_CALLBACK_STOP;
70 private CharsetCallback.Encoder onMalformedInput = CharsetCallback.FROM_U_CALLBACK_STOP;
72 CharsetCallback.Encoder fromCharErrorBehaviour = new CharsetCallback.Encoder() {
182 …public final void setFromUCallback(CoderResult err, CharsetCallback.Encoder newCallback, Object ne… in setFromUCallback()
207 private static CharsetCallback.Encoder getCallback(CodingErrorAction action) { in getCallback()
/external/glide/library/src/main/java/com/bumptech/glide/provider/
DChildLoadProvider.java3 import com.bumptech.glide.load.Encoder;
27 private Encoder<T> sourceEncoder;
81 public void setSourceEncoder(Encoder<T> sourceEncoder) { in setSourceEncoder()
113 public Encoder<T> getSourceEncoder() { in getSourceEncoder()
DDataLoadProvider.java3 import com.bumptech.glide.load.Encoder;
31 Encoder<T> getSourceEncoder(); in getSourceEncoder()
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/file/
DStreamFileDataLoadProvider.java3 import com.bumptech.glide.load.Encoder;
22 private final Encoder<InputStream> encoder;
40 public Encoder<InputStream> getSourceEncoder() { in getSourceEncoder()
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
DFileDescriptorBitmapDataLoadProvider.java7 import com.bumptech.glide.load.Encoder;
25 private final Encoder<ParcelFileDescriptor> sourceEncoder;
45 public Encoder<ParcelFileDescriptor> getSourceEncoder() { in getSourceEncoder()
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/gifbitmap/
DImageVideoGifDrawableLoadProvider.java5 import com.bumptech.glide.load.Encoder;
26 private final Encoder<ImageVideoWrapper> sourceEncoder;
55 public Encoder<ImageVideoWrapper> getSourceEncoder() { in getSourceEncoder()
/external/spirv-llvm/lib/SPIRV/libSPIRV/
DSPIRVDecorate.cpp98 SPIRVEncoder Encoder = getEncoder(O); in encode() local
99 Encoder << Target << Dec; in encode()
101 SPIRVDecorateLinkageAttr::encodeLiterals(Encoder, Literals); in encode()
103 Encoder << Literals; in encode()
DSPIRVDecorate.h170 static void encodeLiterals(SPIRVEncoder& Encoder, in encodeLiterals() argument
174 Encoder << getString(Literals.cbegin(), Literals.cend() - 1); in encodeLiterals()
175 Encoder.OS << " "; in encodeLiterals()
176 Encoder << (SPIRVLinkageTypeKind)Literals.back(); in encodeLiterals()
179 Encoder << Literals; in encodeLiterals()
/external/apache-http/src/org/apache/commons/codec/
DStringEncoderComparator.java78 Comparable s1 = (Comparable) ((Encoder) this.stringEncoder).encode(o1); in compare()
79 Comparable s2 = (Comparable) ((Encoder) this.stringEncoder).encode(o2); in compare()

123456