/external/chromium_org/third_party/skia/src/animator/ |
SkSnapshot.cpp | 43 SkImageEncoder* encoder = SkImageEncoder::Create((SkImageEncoder::Type) type); local 44 if (!encoder) { 47 SkAutoTDelete<SkImageEncoder> ad(encoder); 63 encoder->encodeFile(name.c_str(),
|
/external/google-tv-pairing-protocol/cpp/tests/polo/encoding/ |
hexadecimalencodertest.cc | 22 HexadecimalEncoder encoder; local 30 std::string result = encoder.EncodeToString(secret); 36 HexadecimalEncoder encoder; local 40 std::vector<unsigned char> result = encoder.DecodeToBytes(secret);
|
/external/skia/src/animator/ |
SkSnapshot.cpp | 43 SkImageEncoder* encoder = SkImageEncoder::Create((SkImageEncoder::Type) type); local 44 if (!encoder) { 47 SkAutoTDelete<SkImageEncoder> ad(encoder); 63 encoder->encodeFile(name.c_str(),
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/encoders/ |
Base64.java | 11 private static final Encoder encoder = new Base64Encoder(); field in class:Base64 54 encoder.encode(data, off, length, bOut); 74 return encoder.encode(data, 0, data.length, out); 89 return encoder.encode(data, off, length, out); 105 encoder.decode(data, 0, data.length, bOut); 128 encoder.decode(data, bOut); 149 return encoder.decode(data, out);
|
Hex.java | 11 private static final Encoder encoder = new HexEncoder(); field in class:Hex 53 encoder.encode(data, off, length, bOut); 73 return encoder.encode(data, 0, data.length, out); 88 return encoder.encode(data, off, length, out); 103 encoder.decode(data, 0, data.length, bOut); 125 encoder.decode(data, bOut); 146 return encoder.decode(data, out);
|
/external/chromium_org/tools/relocation_packer/src/ |
leb128_unittest.cc | 12 TEST(Leb128, Encoder) { 20 Leb128Encoder encoder; local 21 encoder.EnqueueAll(values); 24 encoder.GetEncoding(&encoding); 41 encoder.Enqueue(4294967295u); 44 encoder.GetEncoding(&encoding);
|
/external/pdfium/core/src/fxcrt/ |
fx_basic_utf.cpp | 85 CFX_UTF8Encoder encoder;
local 87 encoder.Input(*pwsStr ++);
89 return encoder.GetResult();
97 CFX_UTF8Encoder encoder(pAllocator);
99 encoder.Input(*pwsStr ++);
101 encoder.GetResult(utf8Str);
|
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
EncodedArrayItem.java | 105 ValueEncoder encoder = new ValueEncoder(addedTo.getFile(), out); local 107 encoder.writeArray(array, false); 125 ValueEncoder encoder = new ValueEncoder(file, out); local 126 encoder.writeArray(array, true);
|
AnnotationItem.java | 156 ValueEncoder encoder = new ValueEncoder(addedTo.getFile(), out); local 158 encoder.writeAnnotation(annotation, false); 214 ValueEncoder encoder = new ValueEncoder(file, out); local 215 encoder.writeAnnotation(annotation, true);
|
/dalvik/dx/src/com/android/dx/dex/file/ |
EncodedArrayItem.java | 96 ValueEncoder encoder = new ValueEncoder(addedTo.getFile(), out); local 98 encoder.writeArray(array, false); 116 ValueEncoder encoder = new ValueEncoder(file, out); local 117 encoder.writeArray(array, true);
|
AnnotationItem.java | 156 ValueEncoder encoder = new ValueEncoder(addedTo.getFile(), out); local 158 encoder.writeAnnotation(annotation, false); 214 ValueEncoder encoder = new ValueEncoder(file, out); local 215 encoder.writeAnnotation(annotation, true);
|
/external/dexmaker/src/dx/java/com/android/dx/dex/file/ |
EncodedArrayItem.java | 96 ValueEncoder encoder = new ValueEncoder(addedTo.getFile(), out); local 98 encoder.writeArray(array, false); 116 ValueEncoder encoder = new ValueEncoder(file, out); local 117 encoder.writeArray(array, true);
|
AnnotationItem.java | 154 ValueEncoder encoder = new ValueEncoder(addedTo.getFile(), out); local 156 encoder.writeAnnotation(annotation, false); 212 ValueEncoder encoder = new ValueEncoder(file, out); local 213 encoder.writeAnnotation(annotation, true);
|
/device/generic/goldfish/camera/ |
JpegStub.cpp | 44 Yuv420SpToJpegEncoder* encoder = local 48 if (encoder->encode(stream, pY, width, height, offsets, quality)) {
|
/external/chromium_org/chrome/utility/cloud_print/ |
pwg_encoder_unittest.cc | 67 PwgEncoder encoder; local 73 encoder.EncodeDocumentHeader(&output); 74 encoder.EncodePage(*image, header_info, &output);
|
/external/chromium_org/ui/ozone/platform/dri/ |
dri_util.cc | 29 // If the connector already has an encoder try to re-use. 31 drmModeEncoder* encoder = drmModeGetEncoder(fd, connector->encoder_id); local 32 if (encoder) { 33 if (encoder->crtc_id && !IsCrtcInUse(encoder->crtc_id, displays)) { 34 uint32_t crtc = encoder->crtc_id; 35 drmModeFreeEncoder(encoder); 38 drmModeFreeEncoder(encoder); 42 // Try to find an encoder for the connector. 44 drmModeEncoder* encoder = drmModeGetEncoder(fd, connector->encoders[i]) local [all...] |
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/ |
FileDescriptorBitmapDataLoadProvider.java | 6 import com.bumptech.glide.load.Encoder; 17 private final BitmapEncoder encoder; field in class:FileDescriptorBitmapDataLoadProvider 23 encoder = new BitmapEncoder(); 38 public Encoder<ParcelFileDescriptor> getSourceEncoder() { 44 return encoder;
|
ImageVideoDataLoadProvider.java | 6 import com.bumptech.glide.load.Encoder; 20 private final BitmapEncoder encoder; field in class:ImageVideoDataLoadProvider 24 encoder = new BitmapEncoder(); 25 Encoder<ParcelFileDescriptor> fileDescriptorEncoder = NullEncoder.get(); 43 public Encoder<ImageVideoWrapper> getSourceEncoder() { 49 return encoder;
|
StreamBitmapDataLoadProvider.java | 5 import com.bumptech.glide.load.Encoder; 15 private final BitmapEncoder encoder; field in class:StreamBitmapDataLoadProvider 21 encoder = new BitmapEncoder(); 35 public Encoder<InputStream> getSourceEncoder() { 41 return encoder;
|
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/gif/ |
GifDataLoadProvider.java | 5 import com.bumptech.glide.load.Encoder; 15 private final GifResourceEncoder encoder; field in class:GifDataLoadProvider 20 encoder = new GifResourceEncoder(); 35 public Encoder<InputStream> getSourceEncoder() { 41 return encoder;
|
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/gifbitmap/ |
ImageVideoGifDataLoadProvider.java | 6 import com.bumptech.glide.load.Encoder; 18 private final GifBitmapWrapperResourceEncoder encoder; field in class:ImageVideoGifDataLoadProvider 19 private final Encoder<ImageVideoWrapper> sourceEncoder; 29 encoder = new GifBitmapWrapperResourceEncoder(bitmapProvider.getEncoder(), gifProvider.getEncoder()); 31 Encoder<ParcelFileDescriptor> fileDescriptorEncoder = NullEncoder.get(); 48 public Encoder<ImageVideoWrapper> getSourceEncoder() { 54 return encoder;
|
/frameworks/av/cmds/stagefright/ |
record.cpp | 226 sp<MediaSource> encoder = 232 writer->addSource(encoder); 241 CHECK_EQ((status_t)OK, encoder->start()); 244 while (encoder->read(&buffer) == OK) { 259 err = encoder->stop(); 328 sp<MediaSource> encoder = local 331 encoder->start(); 336 while ((err = encoder->read(&buffer)) == OK) { 349 encoder->stop();
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/ |
UTF16CharsetEncoderTest.java | 63 assertTrue(encoder.canEncode('\u0077')); 64 assertTrue(encoder.canEncode('\uc2a3')); 67 assertTrue(encoder.canEncode('\uc2c0')); 72 assertTrue(encoder.canEncode("\u0077")); 73 assertTrue(encoder.canEncode("\uc2a3")); 76 assertTrue(encoder.canEncode("\uc2c0")); 82 assertTrue(encoder.canEncode("\ud800\udc00")); 84 assertFalse(encoder.canEncode("\ud800\udb00")); 88 assertEquals(encoder.averageBytesPerChar(), 2, 0.001); 89 // assertEquals(4, encoder.maxBytesPerChar()) [all...] |
/libcore/luni/src/test/java/libcore/java/nio/charset/ |
OldCharsetEncoderDecoderBufferTest.java | 28 * Checks for ICU encoder/decoder buffer corruption. 96 CharsetEncoder encoder = Charset.forName("UTF-8").newEncoder(); local 102 encoder.encode(CharBuffer.wrap("ab"), out, false); 114 encoder.encode(CharBuffer.wrap("x"), out, true); 128 CharsetEncoder encoder = Charset.forName("UTF-8").newEncoder(); local 134 encoder.encode(inWithArray, out, false); 141 encoder.encode(inWithoutArray, out, true);
|
/external/chromium_org/third_party/webrtc/video_engine/ |
encoder_state_feedback.cc | 56 bool EncoderStateFeedback::AddEncoder(uint32_t ssrc, ViEEncoder* encoder) { 63 encoders_[ssrc] = encoder; 67 void EncoderStateFeedback::RemoveEncoder(const ViEEncoder* encoder) { 71 if (it->second == encoder) { 118 ViEEncoder* encoder = it->second; local 120 encoders_[new_ssrc] = encoder; 121 encoder->OnLocalSsrcChanged(old_ssrc, new_ssrc);
|