/external/lzma/Java/SevenZip/Compression/RangeCoder/ |
Encoder.java | 4 public class Encoder
77 if ((Range & Encoder.kTopMask) == 0)
|
/prebuilts/go/darwin-x86/src/vendor/golang_org/x/net/http2/hpack/ |
encode.go | 16 type Encoder struct { 22 // maxSizeLimit is the maximum table size this encoder 23 // supports. This will protect the encoder from too large 33 // NewEncoder returns a new Encoder which performs HPACK encoding. An 35 func NewEncoder(w io.Writer) *Encoder { 36 e := &Encoder{ 50 func (e *Encoder) WriteField(f HeaderField) error { 91 func (e *Encoder) searchTable(f HeaderField) (i uint64, nameValueMatch bool) { 108 func (e *Encoder) SetMaxDynamicTableSize(v uint32) { 126 func (e *Encoder) SetMaxDynamicTableSizeLimit(v uint32) [all...] |
/prebuilts/go/linux-x86/src/vendor/golang_org/x/net/http2/hpack/ |
encode.go | 16 type Encoder struct { 22 // maxSizeLimit is the maximum table size this encoder 23 // supports. This will protect the encoder from too large 33 // NewEncoder returns a new Encoder which performs HPACK encoding. An 35 func NewEncoder(w io.Writer) *Encoder { 36 e := &Encoder{ 50 func (e *Encoder) WriteField(f HeaderField) error { 91 func (e *Encoder) searchTable(f HeaderField) (i uint64, nameValueMatch bool) { 108 func (e *Encoder) SetMaxDynamicTableSize(v uint32) { 126 func (e *Encoder) SetMaxDynamicTableSizeLimit(v uint32) [all...] |
/libcore/luni/src/test/java/libcore/java/util/ |
Base64Test.java | 31 import java.util.Base64.Encoder; 83 Encoder encoder) { 91 byte[] encodedBytes = encoder.encode(bytes); 519 private static void checkEncoder_nullArgs(Encoder encoder) { 520 assertThrowsNpe(() -> encoder.encode((byte[]) null)); 521 assertThrowsNpe(() -> encoder.encodeToString(null)); 522 assertThrowsNpe(() -> encoder.encode(null, null)); 523 assertThrowsNpe(() -> encoder.encode((ByteBuffer) null)) 528 Encoder encoder = Base64.getUrlEncoder(); local 556 Encoder encoder = Base64.getMimeEncoder(); local 637 Encoder encoder = Base64.getEncoder(); local 670 Encoder encoder = Base64.getEncoder(); local 879 Encoder encoder = Base64.getEncoder(); local 885 Encoder encoder = Base64.getMimeEncoder(); local 891 Encoder encoder = Base64.getUrlEncoder(); local [all...] |
/external/libvpx/libvpx/test/ |
active_map_test.cc | 37 ::libvpx_test::Encoder *encoder) { 39 encoder->Control(VP8E_SET_CPUUSED, cpu_used_); 60 encoder->Control(VP8E_SET_ACTIVEMAP, &map); 66 encoder->Control(VP8E_SET_ACTIVEMAP, &map);
|
borders_test.cc | 33 ::libvpx_test::Encoder *encoder) { 35 encoder->Control(VP8E_SET_CPUUSED, 1); 36 encoder->Control(VP8E_SET_ENABLEAUTOALTREF, 1); 37 encoder->Control(VP8E_SET_ARNR_MAXFRAMES, 7); 38 encoder->Control(VP8E_SET_ARNR_STRENGTH, 5); 39 encoder->Control(VP8E_SET_ARNR_TYPE, 3); 52 // the encoder to producing lots of big partitions which will likely 67 // when passing in a very high min q. This pushes the encoder to producing
|
frame_size_tests.cc | 36 ::libvpx_test::Encoder *encoder) { 38 encoder->Control(VP8E_SET_CPUUSED, 7); 39 encoder->Control(VP8E_SET_ENABLEAUTOALTREF, 1); 40 encoder->Control(VP8E_SET_ARNR_MAXFRAMES, 7); 41 encoder->Control(VP8E_SET_ARNR_STRENGTH, 5); 42 encoder->Control(VP8E_SET_ARNR_TYPE, 3); 70 // 25 megabits). The encoder allocates a good number of these frames
|
aq_segment_test.cc | 33 ::libvpx_test::Encoder *encoder) { 35 encoder->Control(VP8E_SET_CPUUSED, set_cpu_used_); 36 encoder->Control(VP9E_SET_AQ_MODE, aq_mode_); 37 encoder->Control(VP8E_SET_MAX_INTRA_BITRATE_PCT, 100);
|
tile_independence_test.cc | 50 libvpx_test::Encoder *encoder) { 52 encoder->Control(VP9E_SET_TILE_COLUMNS, n_tiles_);
|
vp9_lossless_test.cc | 40 ::libvpx_test::Encoder *encoder) { 45 encoder->Control(VP9E_SET_LOSSLESS, 1);
|
vp9_motion_vector_test.cc | 61 ::libvpx_test::Encoder *encoder) { 63 encoder->Control(VP8E_SET_CPUUSED, cpu_used_); 64 encoder->Control(VP9E_ENABLE_MOTION_VECTOR_UNIT_TEST, mv_test_mode_); 66 encoder->Control(VP8E_SET_ENABLEAUTOALTREF, 1); 67 encoder->Control(VP8E_SET_ARNR_MAXFRAMES, 7); 68 encoder->Control(VP8E_SET_ARNR_STRENGTH, 5); 69 encoder->Control(VP8E_SET_ARNR_TYPE, 3);
|
/external/spirv-llvm/lib/SPIRV/libSPIRV/ |
SPIRVDecorate.cpp | 98 SPIRVEncoder Encoder = getEncoder(O); 99 Encoder << Target << Dec; 101 SPIRVDecorateLinkageAttr::encodeLiterals(Encoder, Literals); 103 Encoder << Literals;
|
/frameworks/base/core/java/android/util/ |
Base64.java | 29 * Default values for encoder/decoder flags. 34 * Encoder flag bit to omit the padding '=' characters at the end 40 * Encoder flag bit to omit all line terminators (i.e., the output 46 * Encoder flag bit to indicate lines should be terminated with a 53 * Encoder/decoder flag bit to indicate using the "URL and 510 Encoder encoder = new Encoder(flags, null); local 516 if (encoder.do_padding) { 529 if (encoder.do_newline && len > 0) [all...] |
Base64InputStream.java | 66 coder = new Base64.Encoder(flags, null);
|
Base64OutputStream.java | 41 * @param flags bit flags for controlling the encoder; see the 54 * @param flags bit flags for controlling the encoder; see the 64 coder = new Base64.Encoder(flags, null); 71 // To avoid invoking the encoder/decoder routines for single 131 * Write the given bytes to the encoder/decoder. 134 * encoder/decoder state to be finalized.
|
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/ |
CharsetEncoderICU.java | 68 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() { 74 public CoderResult call(CharsetEncoderICU encoder, Object context, 78 return onUnmappableInput.call(encoder, context, source, target, 81 return onMalformedInput.call(encoder, context, source, target, 84 // return CharsetCallback.FROM_U_CALLBACK_STOP.call(encoder, context, source, target, offsets, buffer, length, cp, cr); 90 * Construcs a new encoder for the given charset 103 * Is this Encoder allowed to use fallbacks? A fallback mapping is a mappin [all...] |
/external/brotli/java/org/brotli/wrapper/enc/ |
Encoder.java | 17 public class Encoder { 19 private final EncoderJNI.Wrapper encoder; field in class:Encoder 25 * Brotli encoder settings. 62 * Creates a Encoder wrapper. 68 Encoder(WritableByteChannel destination, Parameters params, int inputBufferSize) 77 this.encoder = new EncoderJNI.Wrapper(inputBufferSize, params.quality, params.lgwin); 78 this.inputBuffer = this.encoder.getInputBuffer(); 92 * @return true if all encoder output is consumed 120 if (!encoder.isSuccess()) { 124 } else if (encoder.hasMoreOutput()) 159 EncoderJNI.Wrapper encoder = new EncoderJNI.Wrapper(data.length, params.quality, params.lgwin); local [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/encoders/ |
Hex.java | 14 private static final Encoder encoder = new HexEncoder(); field in class:Hex 56 encoder.encode(data, off, length, bOut); 76 return encoder.encode(data, 0, data.length, out); 91 return encoder.encode(data, off, length, out); 106 encoder.decode(data, 0, data.length, bOut); 128 encoder.decode(data, bOut); 149 return encoder.decode(data, out);
|
/external/lzma/CS/7zip/Compress/RangeCoder/ |
RangeCoderBit.cs | 25 public void Encode(Encoder encoder, uint symbol)
27 // encoder.EncodeBit(Prob, kNumBitModelTotalBits, symbol);
29 uint newBound = (encoder.Range >> kNumBitModelTotalBits) * Prob;
32 encoder.Range = newBound;
37 encoder.Low += newBound;
38 encoder.Range -= newBound;
41 if (encoder.Range < Encoder.kTopValue)
43 encoder.Range <<= 8; [all...] |
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/ |
EngineKey.java | 3 import com.bumptech.glide.load.Encoder; 22 private final ResourceEncoder encoder; field in class:EngineKey 24 private final Encoder sourceEncoder; 31 ResourceDecoder decoder, Transformation transformation, ResourceEncoder encoder, 32 ResourceTranscoder transcoder, Encoder sourceEncoder) { 40 this.encoder = encoder; 83 } else if (encoder == null ^ engineKey.encoder == null) { 85 } else if (encoder != null && !encoder.getId().equals(engineKey.encoder.getId())) [all...] |
/external/rappor/client/java/com/google/android/rappor/ |
Encoder.java | 31 // TODO(bonawitz): Make encoder and interface and make this a final class implementing it. 33 public class Encoder { 37 * <p>The version number should increase any time the Encoder has a user-visible functional change 78 * A unique identifier for this Encoder, represented in UTF-8. 81 * Permanent Randomized Response stage. Therefore, for any userSecret, each Encoder must have a 149 * for the encoder with the smaller numCohorts value is a bitwise suffix of the cohort assignment 150 * for the encoder with the larger numCohorts value. It follows that, if you know maximum cohort 151 * assignment across a set of encoders, and you know the numCohorts setting for each encoder, then 152 * you can deduce the cohort assignment for each encoder by taking the bitwise-and of the max 201 * Constructs a new RAPPOR message encoder [all...] |
/prebuilts/jdk/jdk8/darwin-x86/jre/lib/ |
charsets.jar | |
/prebuilts/jdk/jdk8/linux-x86/jre/lib/ |
charsets.jar | |
/prebuilts/go/darwin-x86/src/image/png/ |
writer_test.go | 84 if err := (&Encoder{}).Encode(&b1, m); err != nil { 87 noenc := &Encoder{CompressionLevel: NoCompression} 147 e := Encoder{
|
/prebuilts/go/linux-x86/src/image/png/ |
writer_test.go | 84 if err := (&Encoder{}).Encode(&b1, m); err != nil { 87 noenc := &Encoder{CompressionLevel: NoCompression} 147 e := Encoder{
|