Home
last modified time | relevance | path

Searched refs:decoder (Results 1 – 25 of 282) sorted by relevance

12345678910>>...12

/external/flac/libFLAC/
Dstream_decoder.c105 static void set_defaults_(FLAC__StreamDecoder *decoder);
107 static FLAC__bool allocate_output_(FLAC__StreamDecoder *decoder, unsigned size, unsigned channels);
108 static FLAC__bool has_id_filtered_(FLAC__StreamDecoder *decoder, FLAC__byte *id);
109 static FLAC__bool find_metadata_(FLAC__StreamDecoder *decoder);
110 static FLAC__bool read_metadata_(FLAC__StreamDecoder *decoder);
111 static FLAC__bool read_metadata_streaminfo_(FLAC__StreamDecoder *decoder, FLAC__bool is_last, unsig…
112 static FLAC__bool read_metadata_seektable_(FLAC__StreamDecoder *decoder, FLAC__bool is_last, unsign…
113 static FLAC__bool read_metadata_vorbiscomment_(FLAC__StreamDecoder *decoder, FLAC__StreamMetadata_V…
114 static FLAC__bool read_metadata_cuesheet_(FLAC__StreamDecoder *decoder, FLAC__StreamMetadata_CueShe…
115 static FLAC__bool read_metadata_picture_(FLAC__StreamDecoder *decoder, FLAC__StreamMetadata_Picture…
[all …]
/external/apache-harmony/nio_char/src/test/java/tests/api/java/nio/charset/
DCharsetDecoderTest.java47 protected static CharsetDecoder decoder; field in CharsetDecoderTest
53 decoder = cs.newDecoder(); in setUp()
70 assertSame(cs, decoder.charset()); in testDefaultValues()
72 decoder.detectedCharset(); in testDefaultValues()
77 assertTrue(decoder.isCharsetDetected()); in testDefaultValues()
81 assertFalse(decoder.isAutoDetecting()); in testDefaultValues()
82 assertSame(CodingErrorAction.REPORT, decoder.malformedInputAction()); in testDefaultValues()
83 assertSame(CodingErrorAction.REPORT, decoder in testDefaultValues()
85 assertEquals(decoder.replacement(), "\ufffd"); in testDefaultValues()
93 decoder = new MockCharsetDecoder(cs, (float) AVER_BYTES, MAX_BYTES); in testCharsetDecoder()
[all …]
DUTF16CharsetDecoderTest.java71 decoder.onMalformedInput(CodingErrorAction.REPORT); in testMultiStepDecode()
72 decoder.onUnmappableCharacter(CodingErrorAction.REPORT); in testMultiStepDecode()
74 assertTrue(decoder.decode( in testMultiStepDecode()
78 decoder.flush(out); in testMultiStepDecode()
79 decoder.reset(); in testMultiStepDecode()
81 assertSame(CoderResult.UNDERFLOW, decoder.decode(ByteBuffer in testMultiStepDecode()
83 assertTrue(decoder.decode(ByteBuffer.wrap(new byte[] { 98 }), out, in testMultiStepDecode()
86 decoder.flush(out); in testMultiStepDecode()
87 decoder.reset(); in testMultiStepDecode()
89 assertSame(CoderResult.UNDERFLOW, decoder.decode(ByteBuffer in testMultiStepDecode()
[all …]
/external/flac/include/FLAC/
Dstream_decoder.h516 …ReadStatus (*FLAC__StreamDecoderReadCallback)(const FLAC__StreamDecoder *decoder, FLAC__byte buffe…
551 …SeekStatus (*FLAC__StreamDecoderSeekCallback)(const FLAC__StreamDecoder *decoder, FLAC__uint64 abs…
589 …TellStatus (*FLAC__StreamDecoderTellCallback)(const FLAC__StreamDecoder *decoder, FLAC__uint64 *ab…
627 …thStatus (*FLAC__StreamDecoderLengthCallback)(const FLAC__StreamDecoder *decoder, FLAC__uint64 *st…
654 typedef FLAC__bool (*FLAC__StreamDecoderEofCallback)(const FLAC__StreamDecoder *decoder, void *clie…
682 …iteStatus (*FLAC__StreamDecoderWriteCallback)(const FLAC__StreamDecoder *decoder, const FLAC__Fram…
709 typedef void (*FLAC__StreamDecoderMetadataCallback)(const FLAC__StreamDecoder *decoder, const FLAC_…
726 typedef void (*FLAC__StreamDecoderErrorCallback)(const FLAC__StreamDecoder *decoder, FLAC__StreamDe…
750 FLAC_API void FLAC__stream_decoder_delete(FLAC__StreamDecoder *decoder);
775 FLAC_API FLAC__bool FLAC__stream_decoder_set_ogg_serial_number(FLAC__StreamDecoder *decoder, long s…
[all …]
/external/freetype/src/psaux/
Dt1decode.c130 t1_lookup_glyph_by_stdcharcode( T1_Decoder decoder, in t1_lookup_glyph_by_stdcharcode() argument
135 FT_Service_PsCMaps psnames = decoder->psnames; in t1_lookup_glyph_by_stdcharcode()
145 for ( n = 0; n < decoder->num_glyphs; n++ ) in t1_lookup_glyph_by_stdcharcode()
147 FT_String* name = (FT_String*)decoder->glyph_names[n]; in t1_lookup_glyph_by_stdcharcode()
185 t1operator_seac( T1_Decoder decoder, in t1operator_seac() argument
196 FT_Outline* base = decoder->builder.base; in t1operator_seac()
201 T1_Face face = (T1_Face)decoder->builder.face; in t1operator_seac()
205 if ( decoder->seac ) in t1operator_seac()
212 adx += decoder->builder.left_bearing.x; in t1operator_seac()
217 if ( decoder->glyph_names == 0 && in t1operator_seac()
[all …]
/external/webkit/Source/WebKit2/Shared/
DWebProcessCreationParameters.cpp84 bool WebProcessCreationParameters::decode(CoreIPC::ArgumentDecoder* decoder, WebProcessCreationPara… in decode() argument
86 if (!decoder->decode(parameters.injectedBundlePath)) in decode()
88 if (!decoder->decode(parameters.injectedBundlePathExtensionHandle)) in decode()
90 if (!decoder->decode(parameters.applicationCacheDirectory)) in decode()
92 if (!decoder->decode(parameters.databaseDirectory)) in decode()
94 if (!decoder->decode(parameters.localStorageDirectory)) in decode()
96 if (!decoder->decode(parameters.urlSchemesRegistererdAsEmptyDocument)) in decode()
98 if (!decoder->decode(parameters.urlSchemesRegisteredAsSecure)) in decode()
100 if (!decoder->decode(parameters.urlSchemesForWhichDomainRelaxationIsForbidden)) in decode()
102 if (!decoder->decode(parameters.mimeTypesWithCustomRepresentation)) in decode()
[all …]
DWebPageCreationParameters.cpp65 bool WebPageCreationParameters::decode(CoreIPC::ArgumentDecoder* decoder, WebPageCreationParameters… in decode() argument
67 if (!decoder->decode(parameters.viewSize)) in decode()
69 if (!decoder->decode(parameters.isActive)) in decode()
71 if (!decoder->decode(parameters.isFocused)) in decode()
73 if (!decoder->decode(parameters.isVisible)) in decode()
75 if (!decoder->decode(parameters.isInWindow)) in decode()
77 if (!decoder->decode(parameters.store)) in decode()
79 if (!decoder->decodeEnum(parameters.drawingAreaType)) in decode()
81 if (!decoder->decode(parameters.pageGroupData)) in decode()
83 if (!decoder->decode(parameters.drawsBackground)) in decode()
[all …]
DWebCoreArgumentCoders.h73 static bool decode(ArgumentDecoder* decoder, WebCore::MimeClassInfo& mimeClassInfo)
75 if (!decoder->decode(mimeClassInfo.type))
77 if (!decoder->decode(mimeClassInfo.desc))
79 if (!decoder->decode(mimeClassInfo.extensions))
95 static bool decode(ArgumentDecoder* decoder, WebCore::PluginInfo& pluginInfo)
97 if (!decoder->decode(pluginInfo.name))
99 if (!decoder->decode(pluginInfo.file))
101 if (!decoder->decode(pluginInfo.desc))
103 if (!decoder->decode(pluginInfo.mimes))
116 static bool decode(ArgumentDecoder* decoder, WebCore::HTTPHeaderMap& headerMap)
[all …]
DPlatformPopupMenuData.cpp68 bool PlatformPopupMenuData::decode(CoreIPC::ArgumentDecoder* decoder, PlatformPopupMenuData& data) in decode() argument
71 if (!decoder->decode(data.m_clientPaddingLeft)) in decode()
73 if (!decoder->decode(data.m_clientPaddingRight)) in decode()
75 if (!decoder->decode(data.m_clientInsetLeft)) in decode()
77 if (!decoder->decode(data.m_clientInsetRight)) in decode()
79 if (!decoder->decode(data.m_popupWidth)) in decode()
81 if (!decoder->decode(data.m_itemHeight)) in decode()
85 if (!decoder->decode(notSelectedBackingStoreHandle)) in decode()
90 if (!decoder->decode(selectedBackingStoreHandle)) in decode()
94 if (!decoder->decode(data.fontInfo)) in decode()
[all …]
DUserMessageCoders.h188 static bool baseDecode(CoreIPC::ArgumentDecoder* decoder, Owner& coder, APIObject::Type& type) in baseDecode() argument
191 if (!decoder->decode(typeAsUInt32)) in baseDecode()
199 if (!decoder->decode(size)) in baseDecode()
206 if (!decoder->decode(messageCoder)) in baseDecode()
216 if (!decoder->decode(size)) in baseDecode()
222 if (!decoder->decode(key)) in baseDecode()
227 if (!decoder->decode(messageCoder)) in baseDecode()
240 if (!decoder->decode(string)) in baseDecode()
247 if (!decoder->decodeBytes(buffer)) in baseDecode()
254 if (!decoder->decode(value)) in baseDecode()
[all …]
DWebWheelEvent.cpp83 bool WebWheelEvent::decode(CoreIPC::ArgumentDecoder* decoder, WebWheelEvent& t) in decode() argument
85 if (!WebEvent::decode(decoder, t)) in decode()
87 if (!decoder->decode(t.m_position)) in decode()
89 if (!decoder->decode(t.m_globalPosition)) in decode()
91 if (!decoder->decode(t.m_delta)) in decode()
93 if (!decoder->decode(t.m_wheelTicks)) in decode()
95 if (!decoder->decode(t.m_granularity)) in decode()
98 if (!decoder->decode(t.m_phase)) in decode()
100 if (!decoder->decode(t.m_momentumPhase)) in decode()
102 if (!decoder->decode(t.m_hasPreciseScrollingDeltas)) in decode()
DUpdateInfo.cpp43 bool UpdateInfo::decode(CoreIPC::ArgumentDecoder* decoder, UpdateInfo& result) in decode() argument
45 if (!decoder->decode(result.viewSize)) in decode()
47 if (!decoder->decode(result.scrollRect)) in decode()
49 if (!decoder->decode(result.scrollOffset)) in decode()
51 if (!decoder->decode(result.updateRectBounds)) in decode()
53 if (!decoder->decode(result.updateRects)) in decode()
55 if (!decoder->decode(result.bitmapHandle)) in decode()
/external/libvpx/vp8/
Dvp8dx.mk51 VP8_DX_SRCS-yes += decoder/dboolhuff.c
52 VP8_DX_SRCS-yes += decoder/decodemv.c
53 VP8_DX_SRCS-yes += decoder/decodframe.c
54 VP8_DX_SRCS-yes += decoder/dequantize.c
55 VP8_DX_SRCS-yes += decoder/detokenize.c
56 VP8_DX_SRCS-yes += decoder/generic/dsystemdependent.c
57 VP8_DX_SRCS-yes += decoder/dboolhuff.h
58 VP8_DX_SRCS-yes += decoder/decodemv.h
59 VP8_DX_SRCS-yes += decoder/decoderthreading.h
60 VP8_DX_SRCS-yes += decoder/dequantize.h
[all …]
Dvp8dx_arm.mk14 VP8_DX_SRCS-$(ARCH_ARM) += decoder/arm/arm_dsystemdependent.c
15 VP8_CX_SRCS-$(ARCH_ARM) += decoder/asm_dec_offsets.c
17 VP8_DX_SRCS-$(HAVE_ARMV6) += decoder/arm/dequantize_arm.c
20 VP8_DX_SRCS-$(HAVE_ARMV6) += decoder/arm/armv6/dequant_dc_idct_v6$(ASM)
21 VP8_DX_SRCS-$(HAVE_ARMV6) += decoder/arm/armv6/dequant_idct_v6$(ASM)
22 VP8_DX_SRCS-$(HAVE_ARMV6) += decoder/arm/armv6/dequantize_v6$(ASM)
23 VP8_DX_SRCS-$(HAVE_ARMV6) += decoder/arm/armv6/idct_blk_v6.c
26 VP8_DX_SRCS-$(HAVE_ARMV7) += decoder/arm/neon/idct_dequant_dc_full_2x_neon$(ASM)
27 VP8_DX_SRCS-$(HAVE_ARMV7) += decoder/arm/neon/idct_dequant_dc_0_2x_neon$(ASM)
28 VP8_DX_SRCS-$(HAVE_ARMV7) += decoder/arm/neon/dequant_idct_neon$(ASM)
[all …]
/external/freetype/src/sfnt/
Dttsbit0.c182 tt_sbit_decoder_init( TT_SBitDecoder decoder, in tt_sbit_decoder_init() argument
198 decoder->face = face; in tt_sbit_decoder_init()
199 decoder->stream = stream; in tt_sbit_decoder_init()
200 decoder->bitmap = &face->root.glyph->bitmap; in tt_sbit_decoder_init()
201 decoder->metrics = metrics; in tt_sbit_decoder_init()
203 decoder->metrics_loaded = 0; in tt_sbit_decoder_init()
204 decoder->bitmap_allocated = 0; in tt_sbit_decoder_init()
206 decoder->ebdt_start = FT_STREAM_POS(); in tt_sbit_decoder_init()
207 decoder->ebdt_size = ebdt_size; in tt_sbit_decoder_init()
209 decoder->eblc_base = face->sbit_table; in tt_sbit_decoder_init()
[all …]
/external/webkit/Source/WebKit2/Platform/CoreIPC/
DArgumentCoders.h47 static bool decode(ArgumentDecoder* decoder, T& t) in decode()
49 return decoder->decodeBytes(reinterpret_cast<uint8_t*>(&t), sizeof(T)); in decode()
60 static bool decode(ArgumentDecoder* decoder, std::pair<T, U>& pair)
63 if (!decoder->decode(first))
67 if (!decoder->decode(second))
86 static bool decode(ArgumentDecoder* decoder, Vector<T>& vector)
89 if (!decoder->decodeUInt64(size))
95 if (!decoder->decode(element))
116 static bool decode(ArgumentDecoder* decoder, Vector<T>& vector)
119 if (!decoder->decodeUInt64(size))
[all …]
/external/freetype/src/cff/
Dcffgload.c377 cff_decoder_init( CFF_Decoder* decoder, in cff_decoder_init() argument
388 FT_MEM_ZERO( decoder, sizeof ( *decoder ) ); in cff_decoder_init()
391 cff_builder_init( &decoder->builder, face, size, slot, hinting ); in cff_decoder_init()
394 decoder->cff = cff; in cff_decoder_init()
395 decoder->num_globals = cff->global_subrs_index.count; in cff_decoder_init()
396 decoder->globals = cff->global_subrs; in cff_decoder_init()
397 decoder->globals_bias = cff_compute_bias( in cff_decoder_init()
399 decoder->num_globals ); in cff_decoder_init()
401 decoder->hint_mode = hint_mode; in cff_decoder_init()
408 cff_decoder_prepare( CFF_Decoder* decoder, in cff_decoder_prepare() argument
[all …]
/external/webkit/Source/WebKit2/Shared/cf/
DArgumentCodersCF.cpp134 static bool decode(ArgumentDecoder* decoder, RetainPtr<CFTypeRef>& result) in decode() argument
137 if (!decoder->decodeEnum(type)) in decode()
143 if (!decode(decoder, array)) in decode()
150 if (!decode(decoder, boolean)) in decode()
157 if (!decode(decoder, data)) in decode()
164 if (!decode(decoder, dictionary)) in decode()
174 if (!decode(decoder, number)) in decode()
181 if (!decode(decoder, string)) in decode()
188 if (!decode(decoder, url)) in decode()
196 if (!decode(decoder, certificate)) in decode()
[all …]
/external/libvpx/
DAndroid.mk46 vp8/decoder/arm/arm_dsystemdependent.c \
47 vp8/decoder/dboolhuff.c \
48 vp8/decoder/decodemv.c \
49 vp8/decoder/decodframe.c \
50 vp8/decoder/dequantize.c \
51 vp8/decoder/detokenize.c \
52 vp8/decoder/generic/dsystemdependent.c \
53 vp8/decoder/onyxd_if.c \
54 vp8/decoder/reconintra_mt.c \
55 vp8/decoder/threading.c \
[all …]
/external/protobuf/python/google/protobuf/internal/
Dtype_checkers.py48 from google.protobuf.internal import decoder
243 _FieldDescriptor.TYPE_DOUBLE: decoder.DoubleDecoder,
244 _FieldDescriptor.TYPE_FLOAT: decoder.FloatDecoder,
245 _FieldDescriptor.TYPE_INT64: decoder.Int64Decoder,
246 _FieldDescriptor.TYPE_UINT64: decoder.UInt64Decoder,
247 _FieldDescriptor.TYPE_INT32: decoder.Int32Decoder,
248 _FieldDescriptor.TYPE_FIXED64: decoder.Fixed64Decoder,
249 _FieldDescriptor.TYPE_FIXED32: decoder.Fixed32Decoder,
250 _FieldDescriptor.TYPE_BOOL: decoder.BoolDecoder,
251 _FieldDescriptor.TYPE_STRING: decoder.StringDecoder,
[all …]
/external/webkit/Source/WebKit2/WebProcess/Plugins/
DPlugin.cpp44 bool Plugin::Parameters::decode(CoreIPC::ArgumentDecoder* decoder, Parameters& parameters) in decode() argument
47 if (!decoder->decode(urlString)) in decode()
52 if (!decoder->decode(parameters.names)) in decode()
54 if (!decoder->decode(parameters.values)) in decode()
56 if (!decoder->decode(parameters.mimeType)) in decode()
58 if (!decoder->decode(parameters.loadManually)) in decode()
62 decoder->markInvalid(); in decode()
/external/webkit/Source/WebKit/android/
DRenderSkinNinePatch.cpp53 SkImageDecoder* decoder = SkImageDecoder::Factory(&stream); in decodeAsset() local
54 if (!decoder) { in decodeAsset()
60 decoder->setSampleSize(1); in decodeAsset()
61 decoder->setDitherImage(true); in decodeAsset()
62 decoder->setPreferQualityOverSpeed(false); in decodeAsset()
64 NinePatchPeeker peeker(decoder); in decodeAsset()
66 SkAutoTDelete<SkImageDecoder> add(decoder); in decodeAsset()
68 decoder->setPeeker(&peeker); in decodeAsset()
69 if (!decoder->decode(&stream, &ninepatch->m_bitmap, prefConfig, mode, true)) { in decodeAsset()
/external/protobuf/src/google/protobuf/
Dmessage_lite.cc169 io::CodedInputStream decoder(input); in ParseFromZeroCopyStream() local
170 return ParseFromCodedStream(&decoder) && decoder.ConsumedEntireMessage(); in ParseFromZeroCopyStream()
175 io::CodedInputStream decoder(input); in ParsePartialFromZeroCopyStream() local
176 return ParsePartialFromCodedStream(&decoder) && in ParsePartialFromZeroCopyStream()
177 decoder.ConsumedEntireMessage(); in ParsePartialFromZeroCopyStream()
182 io::CodedInputStream decoder(input); in ParseFromBoundedZeroCopyStream() local
183 decoder.PushLimit(size); in ParseFromBoundedZeroCopyStream()
184 return ParseFromCodedStream(&decoder) && in ParseFromBoundedZeroCopyStream()
185 decoder.ConsumedEntireMessage() && in ParseFromBoundedZeroCopyStream()
186 decoder.BytesUntilLimit() == 0; in ParseFromBoundedZeroCopyStream()
[all …]
/external/webkit/Source/WebKit2/Shared/mac/
DArgumentCodersMac.mm102 static bool decode(ArgumentDecoder* decoder, RetainPtr<id>& result)
105 if (!decoder->decodeEnum(type))
111 if (!decode(decoder, string))
118 if (!decode(decoder, color))
125 if (!decode(decoder, dictionary))
132 if (!decode(decoder, font))
139 if (!decode(decoder, number))
146 if (!decode(decoder, string))
192 bool decode(ArgumentDecoder* decoder, RetainPtr<NSAttributedString>& result)
195 if (!CoreIPC::decode(decoder, plainString))
[all …]
/external/webkit/Source/WebKit2/Shared/win/
DWebCoreArgumentCodersWin.cpp54 bool decodeResourceRequest(ArgumentDecoder* decoder, WebCore::ResourceRequest& resourceRequest) in decodeResourceRequest() argument
58 if (!decoder->decode(requestIsPresent)) in decodeResourceRequest()
67 if (!decode(decoder, dictionary)) in decodeResourceRequest()
95 bool decodeResourceResponse(ArgumentDecoder* decoder, WebCore::ResourceResponse& resourceResponse) in decodeResourceResponse() argument
99 if (!decoder->decode(responseIsPresent)) in decodeResourceResponse()
108 if (!decode(decoder, dictionary)) in decodeResourceResponse()
131 bool decodeResourceError(ArgumentDecoder* decoder, WebCore::ResourceError& resourceError) in decodeResourceError() argument
137 if (!decoder->decode(CoreIPC::Out(domain, errorCode, failingURL, localizedDescription))) in decodeResourceError()
142 if (!decoder->decode(certificate)) in decodeResourceError()

12345678910>>...12