Home
last modified time | relevance | path

Searched full:decode (Results 1 – 25 of 3355) sorted by relevance

12345678910>>...135

/third_party/ltp/testcases/kernel/syscalls/ptrace/
Dsimple_tracer.c40 #define decode(reg) _decode(#reg, pt->reg) macro
48 decode(p0); in decode_regs()
49 decode(r0); in decode_regs()
50 decode(r1); in decode_regs()
51 decode(r2); in decode_regs()
52 decode(r3); in decode_regs()
53 decode(r4); in decode_regs()
54 decode(r5); in decode_regs()
59 decode(eax); in decode_regs()
60 decode(ebx); in decode_regs()
[all …]
/third_party/vk-gl-cts/external/vulkan-docs/src/chapters/video/
Dh265_decode.adoc5 [[decode-h265]]
6 == H.265 Decode Operations
8 Video decode operations using an <<decode-h265-profile,H.265 decode
9 profile>> can: be used to decode elementary video stream sequences compliant
20 This process is performed according to the <<decode-operation-steps,video
21 decode operation steps>> with the codec-specific semantics defined in
27 <<decode-h265-active-vps,active VPS>> specifying the <<decode-h265-vps,
30 the <<decode-h265-active-sps,active SPS>> specifying the
31 <<decode-h265-sps, H.265 sequence parameter set>>.
33 <<decode-h265-active-pps,active PPS>> specifying the <<decode-h265-pps,
[all …]
Dh264_decode.adoc5 [[decode-h264]]
6 == H.264 Decode Operations
8 Video decode operations using an <<decode-h264-profile,H.264 decode
9 profile>> can: be used to decode elementary video stream sequences compliant
20 This process is performed according to the <<decode-operation-steps,video
21 decode operation steps>> with the codec-specific semantics defined in
27 the <<decode-h264-active-sps,active SPS>> specifying the
28 <<decode-h264-sps, H.264 sequence parameter set>>.
30 <<decode-h264-active-pps,active PPS>> specifying the <<decode-h264-pps,
33 <<decode-h264-picture-info,H.264 picture information>>.
[all …]
Ddecode.adoc5 [[video-decode-operations]]
6 == Video Decode Operations
8 [[decode-output-picture]]
9 Video decode operations consume compressed video data from a video bitstream
16 Such decode output pictures can be shared with the <<dpb,Decoded Picture
28 Video decode operations may: access the following resources in the
32 corresponding to the list of <<decode-active-reference-picture-info,
36 <<decode-output-picture-info,decode output picture>> and
37 <<decode-reconstructed-picture-info,reconstructed picture>> with access
41 resource>> accessed by the video decode operation is specified using a
[all …]
/third_party/mbedtls/tests/suites/
Dtest_suite_base64.data67 Base64 decode (Illegal character)
70 Base64 decode (Too much equal signs)
73 Base64 decode (Invalid char after equal signs)
76 Base64 decode (Space inside string)
79 Base64 decode "Zm9vYmFy" (no newline nor '\0' at end)
82 Base64 decode "Zm9vYmFy\n" (LF at end)
85 Base64 decode "Zm9vYmFy\r\n" (CRLF at end)
88 Base64 decode "Zm9vYmFy\r" (CR at end)
91 Base64 decode "Zm9vYmFy " (SP at end)
94 Base64 decode "Zm9vYmFy \n" (SP+LF at end)
[all …]
/third_party/openhitls/testcode/sdv/testcase/crypto/encode/
Dtest_suite_sdv_encode.data14 SDV_DECODE_SIGN_BN_FUNC_TC001:Test normal decode - rfc6979appendix-A.1.3
17 SDV_DECODE_SIGN_BN_FUNC_TC001:Test normal decode - zero data
20 SDV_DECODE_SIGN_BN_FUNC_TC001:Test normal decode - all F
23 SDV_DECODE_SIGN_BN_FUNC_TC001:Test abnormal decode - invalid integer
26 SDV_DECODE_SIGN_BN_FUNC_TC001:Test abnormal decode - negative integer
29 SDV_DECODE_SIGN_BN_FUNC_TC001:Test abnormal decode - invalid ASN.1 sequence
32 SDV_DECODE_SIGN_BN_FUNC_TC001:Test abnormal decode - content length of sequence is less than expect…
35 SDV_DECODE_SIGN_BN_FUNC_TC001:Test abnormal decode - Exceed the length of sequence
38 SDV_DECODE_SIGN_BN_FUNC_TC001:Test abnormal decode - missing required field
41 SDV_DECODE_SIGN_BN_FUNC_TC001:Test abnormal decode - r.len is zero
[all …]
/third_party/vk-gl-cts/external/vulkan-docs/src/chapters/
Dvideo_decode_extensions.adoc5 [[video-decode-operations]]
6 == Video Decode Operations
8 [[decode-output-picture]]
9 Video decode operations consume compressed video data from a video bitstream
16 Such decode output pictures can be shared with the <<dpb,Decoded Picture
28 Video decode operations may: access the following resources in the
32 corresponding to the list of <<decode-active-reference-picture-info,
36 <<decode-output-picture-info,decode output picture>> and
37 <<decode-reconstructed-picture-info,reconstructed picture>> with access
46 * If the image subresource is used in the video decode operation only as
[all …]
Dvideo_decode_extensions.txt5 [[video-decode-operations]]
6 == Video Decode Operations
9 Video Decode Operations, it must: do the following, beforehand:
11 . Ensure that the implementation can decode the Video Content by querying
43 . Create the <<video-session,video session>> to be used for video decode
45 Before creating the Decode Video Session, the decode capabilities
49 . Bind memory resources with the decode video session by calling
66 The recording of Video Decode Commands against a Vulkan command buffer
70 Decode operations in the command buffer.
71 For each Video Decode Command operation, a Video Session must: be bound
[all …]
/third_party/vk-gl-cts/external/vulkan-docs/src/proposals/
DVK_KHR_video_decode_queue.adoc10 This document outlines a proposal to enable performing video decode operations in Vulkan.
14 Integrating video decode operations into Vulkan applications enable a wide set of new usage scenari…
28 1. Rely on external sharing capabilities to interact with existing video decode APIs
39 === Video Decode Queues
43decode capable queue families in general, if needed, before querying more details about the indivi…
49 * The new video decode command introduced by this extension
51 For the full list of individual commands supported by video decode queues, and whether any command …
54 === Video Decode Profiles
56decode profiles are defined using a `VkVideoProfileInfoKHR` structure that specifies a `videoCodec…
77decode profiles that only differ in terms of video decode usage hints, and it also affects video p…
[all …]
/third_party/mindspore/mindspore-src/source/tests/ut/python/dataset/
Dtest_datasets_sbu.py73 dataset = ds.SBUDataset(DATA_DIR, decode=True, num_samples=50, shuffle=False)
90 dataset = ds.SBUDataset(DATA_DIR, decode=True)
104 dataset = ds.SBUDataset(DATA_DIR, decode=False)
106 …dataset = dataset.map(operations=[vision.Decode(), vision.Resize((224, 224))], input_columns=["ima…
128 dataset = ds.SBUDataset(DATA_DIR, decode=True)
136 dataset = ds.SBUDataset(DATA_DIR, decode=True, num_samples=5)
143 dataset = ds.SBUDataset(DATA_DIR, decode=True, num_samples=5)
151 dataset = ds.SBUDataset(DATA_DIR, decode=True, num_samples=5)
161 dataset = ds.SBUDataset(DATA_DIR, decode=True, num_samples=5)
165 dataset = ds.SBUDataset(DATA_DIR, decode=True, num_samples=5)
[all …]
Dtest_datasets_flowers102.py82 num_samples=6, decode=True, shuffle=False)
94 num_samples=2, decode=True, shuffle=False)
106 num_samples=2, decode=True, shuffle=False)
118 num_samples=2, decode=True, shuffle=False)
138 # case 1: test decode
139 …all_data = ds.Flowers102Dataset(DATA_DIR, task="Classification", usage="all", decode=False, shuffl…
140 …all_data_1 = all_data.map(operations=[c_vision.Decode()], input_columns=["image"], num_parallel_wo…
141 …all_data_2 = ds.Flowers102Dataset(DATA_DIR, task="Classification", usage="all", decode=True, shuff…
151 …all_data = ds.Flowers102Dataset(DATA_DIR, task="Classification", usage="all", decode=True, num_sam…
158 …all_data = ds.Flowers102Dataset(DATA_DIR, task="Classification", usage="all", decode=True, num_sam…
[all …]
Dtest_map_unified_approach.py23 # Decode op constants and variables
24 decode_op = vision.Decode()
26 decode_op_to_pil = vision.Decode(to_pil=True)
75 …""" For dataset pipeline with map#1 with Decode, and map#2 with transforms list, return the datase…
77 data = data.map(vision.Decode(is_pil), num_parallel_workers=2, python_multiprocessing=False)
96 Description: Test the approach for ops selected with unified ops, following Decode op in Map
99 # Test ops following Decode(), namely Decode(to_pil=False)
100 # Decode() Mix
101 # Decode() c
102 # Decode() pyfunc
[all …]
Dtest_datasets_places365.py73 …data1 = ds.Places365Dataset(dataset_dir=DATA_DIR, usage='val', small=True, decode=True, sampler=sa…
97 data1 = ds.Places365Dataset(DATA_DIR, usage='val', small=True, decode=True)
103 …data2 = ds.Places365Dataset(DATA_DIR, usage='train-standard', small=True, decode=True, num_samples…
110 data3 = ds.Places365Dataset(DATA_DIR, usage='val', small=True, decode=True, num_samples=4)
118 data4 = ds.Places365Dataset(DATA_DIR, usage='val', small=True, decode=True, num_samples=4)
130 …data5 = ds.Places365Dataset(DATA_DIR, usage='train-standard', small=True, decode=True, num_samples…
151 data = ds.Places365Dataset(DATA_DIR, usage='val', small=True, decode=True, sampler=sampler)
171 data1 = ds.Places365Dataset(DATA_DIR, usage='val', small=True, decode=True, sampler=sampler)
172 …data2 = ds.Places365Dataset(DATA_DIR, usage='val', small=True, decode=True, shuffle=False, num_sam…
192 …ds.Places365Dataset(DATA_DIR, usage='val', small=True, decode=True, shuffle=False, sampler=ds.PKSa…
[all …]
/third_party/rust/rust/compiler/rustc_middle/src/ty/
Dcodec.rs68 fn decode(d: &mut D) -> &'tcx Self; in decode() method
186 decoder.interner().arena.alloc(Decodable::decode(decoder)) in decode_arena_allocable()
200 decoder.interner().arena.alloc_from_iter(<Vec<T> as Decodable<D>>::decode(decoder)) in decode_arena_allocable_slice()
205 fn decode(decoder: &mut D) -> Ty<'tcx> { in decode() method
213 decoder.with_position(shorthand, Ty::decode) in decode()
217 tcx.mk_ty_from_kind(rustc_type_ir::TyKind::decode(decoder)) in decode()
225 fn decode(decoder: &mut D) -> ty::Binder<'tcx, ty::PredicateKind<'tcx>> { in decode() method
226 let bound_vars = Decodable::decode(decoder); in decode()
234 decoder.with_position(shorthand, ty::PredicateKind::decode) in decode()
236 ty::PredicateKind::decode(decoder) in decode()
[all …]
/third_party/rust/crates/rustix/src/backend/linux_raw/net/
Dread_sockaddr.rs66 let decode = *storage.cast::<c::sockaddr_in>(); in read_sockaddr() localVariable
68 Ipv4Addr::from(u32::from_be(decode.sin_addr.s_addr)), in read_sockaddr()
69 u16::from_be(decode.sin_port), in read_sockaddr()
76 let decode = *storage.cast::<c::sockaddr_in6>(); in read_sockaddr() localVariable
78 Ipv6Addr::from(decode.sin6_addr.in6_u.u6_addr8), in read_sockaddr()
79 u16::from_be(decode.sin6_port), in read_sockaddr()
80 u32::from_be(decode.sin6_flowinfo), in read_sockaddr()
81 decode.sin6_scope_id, in read_sockaddr()
91 let decode = *storage.cast::<c::sockaddr_un>(); in read_sockaddr() localVariable
93 decode.sun_path[len - 1 - offsetof_sun_path], in read_sockaddr()
[all …]
/third_party/rust/crates/rustix/src/backend/libc/net/
Dread_sockaddr.rs109 let decode = *storage.cast::<c::sockaddr_in>(); in read_sockaddr() localVariable
111 Ipv4Addr::from(u32::from_be(in_addr_s_addr(decode.sin_addr))), in read_sockaddr()
112 u16::from_be(decode.sin_port), in read_sockaddr()
119 let decode = *storage.cast::<c::sockaddr_in6>(); in read_sockaddr() localVariable
121 let s6_addr = decode.sin6_addr.s6_addr; in read_sockaddr()
123 let s6_addr = decode.sin6_addr.u.Byte; in read_sockaddr()
125 let sin6_scope_id = decode.sin6_scope_id; in read_sockaddr()
127 let sin6_scope_id = decode.Anonymous.sin6_scope_id; in read_sockaddr()
130 u16::from_be(decode.sin6_port), in read_sockaddr()
131 u32::from_be(decode.sin6_flowinfo), in read_sockaddr()
[all …]
/third_party/rust/rust/compiler/rustc_serialize/src/
Dcollection_impls.rs19 fn decode(d: &mut D) -> SmallVec<A> { in decode() method
21 (0..len).map(|_| Decodable::decode(d)).collect() in decode()
32 fn decode(d: &mut D) -> ThinVec<T> { in decode() method
34 (0..len).map(|_| Decodable::decode(d)).collect() in decode()
48 fn decode(d: &mut D) -> LinkedList<T> { in decode() method
50 (0..len).map(|_| Decodable::decode(d)).collect() in decode()
64 fn decode(d: &mut D) -> VecDeque<T> { in decode() method
66 (0..len).map(|_| Decodable::decode(d)).collect() in decode()
89 fn decode(d: &mut D) -> BTreeMap<K, V> { in decode() function
93 let key = Decodable::decode(d); in decode()
[all …]
Dserialize.rs167 fn decode(d: &mut D) -> Self; in decode() method
180 fn decode(d: &mut D) -> $ty {
223 fn decode(_d: &mut D) -> ! { in decode() method
235 fn decode(d: &mut D) -> Self { in decode() method
253 fn decode(d: &mut D) -> String { in decode() method
263 fn decode(_: &mut D) -> () {} in decode() method
271 fn decode(_: &mut D) -> PhantomData<T> { in decode() method
277 fn decode(d: &mut D) -> Box<[T], A> { in decode() method
278 let v: Vec<T, A> = Decodable::decode(d); in decode()
290 fn decode(d: &mut D) -> Rc<T> { in decode() method
[all …]
/third_party/rust/rust/library/proc_macro/src/bridge/
Drpc.rs16 pub(super) trait Decode<'a, 's, S>: Sized { interface
17 fn decode(r: &mut Reader<'a>, s: &'s S) -> Self; in decode() method
21 fn decode(r: &mut Reader<'a>, s: &'s mut S) -> Self; in decode() method
33 fn decode(r: &mut Reader<'_>, _: &mut S) -> Self {
54 fn decode(r: &mut Reader<'a>, s: &mut S) -> Self {
56 $($field: DecodeMut::decode(r, s)),*
85 fn decode(r: &mut Reader<'a>, s: &mut S) -> Self {
95 match u8::decode(r, s) {
97 $(let $field = DecodeMut::decode(r, s);)*
112 fn decode(_: &mut Reader<'_>, _: &mut S) -> Self {} in decode() method
[all …]
/third_party/python/Lib/test/
Dtest_uu.py47 return self.buffer.getvalue().decode(self._encoding, self._errors)
82 uu.decode(inp, out)
90 uu.decode(inp, out)
97 uu.decode(inp, out)
106 uu.decode(inp, out)
130 with self.subTest("uu.decode()"):
133 uu.decode(inp, out, quiet=True)
138 decoded = codecs.decode(encodedtext, "uu_codec")
158 uu.decode(io.BytesIO(relative_bad))
162 uu.decode(io.BytesIO(relative_bad_bs))
[all …]
Dtest_multibytecodec.py37 self.assertEqual(b''.decode(enc), '')
75 # Trying to decode a unicode string should raise a TypeError
223 text2 = encoder.encode(text).decode(encoding)
235 self.assertEqual(decoder.decode(b'\xc6\xc4\xc0\xcc\xbd'),
237 self.assertEqual(decoder.decode(b'\xe3 \xb8\xb6\xc0\xbb'),
239 self.assertEqual(decoder.decode(b''), '')
243 self.assertEqual(decoder.decode(b'\xc6\xc4\xc0'), '\ud30c')
244 self.assertRaises(UnicodeDecodeError, decoder.decode, b'', True)
245 self.assertEqual(decoder.decode(b'\xcc'), '\uc774')
247 self.assertEqual(decoder.decode(b'\xc6\xc4\xc0'), '\ud30c')
[all …]
/third_party/rust/rust/compiler/rustc_middle/src/
Darena.rs5 /// Specifying the `decode` modifier will add decode impls for `&T` and `&[T]` where `T` is the type
14 [decode] adt_def: rustc_middle::ty::AdtDefData,
17 [decode] mir: rustc_middle::mir::Body<'tcx>,
25 [decode] promoted:
30 [decode] closure_debuginfo:
35 [decode] typeck_results: rustc_middle::ty::TypeckResults<'tcx>,
36 [decode] borrowck_result:
46 [decode] unsafety_check_result: rustc_middle::mir::UnsafetyCheckResult,
47 [decode] code_region: rustc_middle::mir::coverage::CodeRegion,
101 [decode] attribute: rustc_ast::Attribute,
[all …]
/third_party/nghttp2/src/
Dbase64_test.cc79 auto out = base64::decode(std::begin(in), std::end(in)); in test_base64_decode()
81 assert_stdsv_equal("\xff"sv, StringRef{base64::decode( in test_base64_decode()
86 auto out = base64::decode(std::begin(in), std::end(in)); in test_base64_decode()
88 assert_stdsv_equal("\xff\xfe"sv, StringRef{base64::decode( in test_base64_decode()
93 auto out = base64::decode(std::begin(in), std::end(in)); in test_base64_decode()
97 StringRef{base64::decode(balloc, std::begin(in), std::end(in))}); in test_base64_decode()
101 auto out = base64::decode(std::begin(in), std::end(in)); in test_base64_decode()
105 StringRef{base64::decode(balloc, std::begin(in), std::end(in))}); in test_base64_decode()
110 auto out = base64::decode(std::begin(in), std::end(in)); in test_base64_decode()
113 ""sv, StringRef{base64::decode(balloc, std::begin(in), std::end(in))}); in test_base64_decode()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/Utils/
DX86ShuffleDecode.h1 //===-- X86ShuffleDecode.h - X86 shuffle decode logic -----------*-C++-*---===//
9 // Define several functions to decode x86 specific shuffle semantics into a
29 /// Decode a 128-bit INSERTPS instruction as a v4f32 shuffle mask.
37 /// Decode a MOVHLPS instruction as a v2f64/v4f32 shuffle mask.
41 /// Decode a MOVLHPS instruction as a v2f64/v4f32 shuffle mask.
109 /// Decode a PSHUFB mask from a raw array of constants such as from
114 /// Decode a BLEND immediate mask into a shuffle mask.
121 /// Decode a shuffle packed values at 128-bit granularity
130 /// Decode a VPPERM mask from a raw array of constants such as from
137 /// Decode a zero extension instruction as a shuffle mask.
[all …]
/third_party/skia/m133/include/codec/
DSkAvifDecoder.h27 * Attempts to decode the given bytes as an AVIF.
33 SK_API std::unique_ptr<SkCodec> Decode(std::unique_ptr<SkStream>,
36 SK_API std::unique_ptr<SkCodec> Decode(sk_sp<SkData>,
41 return { "avif", IsAvif, Decode }; in Decoder()
50 return { "avif", LibAvif::IsAvif, LibAvif::Decode }; in Decoder()
59 * Attempts to decode the given bytes as an AVIF.
65 SK_API std::unique_ptr<SkCodec> Decode(std::unique_ptr<SkStream>,
68 SK_API std::unique_ptr<SkCodec> Decode(sk_sp<SkData>,
73 return { "avif", IsAvif, Decode }; in Decoder()

12345678910>>...135