Home
last modified time | relevance | path

Searched full:unpack (Results 1 – 25 of 2013) sorted by relevance

12345678910>>...81

/external/oboe/samples/RhythmGame/third_party/glm/gtc/
Dpacking.inl282 int16 const Unpack(detail::toFloat16(v.x)); local
284 memcpy(&Packed, &Unpack, sizeof(Packed));
288 GLM_FUNC_QUALIFIER static tvec1<float, P> unpack(tvec1<uint16, P> const & v) function
290 i16vec1 Unpack(uninitialize); local
291 memcpy(&Unpack, &v, sizeof(Unpack));
301 tvec2<int16, P> const Unpack(detail::toFloat16(v.x), detail::toFloat16(v.y)); local
303 memcpy(&Packed, &Unpack, sizeof(Packed));
307 GLM_FUNC_QUALIFIER static tvec2<float, P> unpack(tvec2<uint16, P> const & v) function
309 i16vec2 Unpack(uninitialize); local
310 memcpy(&Unpack, &v, sizeof(Unpack));
[all …]
/external/llvm/lib/Fuzzer/test/
DFuzzerFnAdapterUnittest.cpp12 bool Unpack(std::tuple<Args...> *Tuple, std::initializer_list<uint8_t> data) { in Unpack() function
14 return Unpack(V.data(), V.size(), Tuple); in Unpack()
17 TEST(Unpack, Bool) { in TEST() argument
19 EXPECT_TRUE(Unpack(&T, {1})); in TEST()
22 EXPECT_TRUE(Unpack(&T, {0})); in TEST()
25 EXPECT_FALSE(Unpack(&T, {})); in TEST()
28 TEST(Unpack, BoolBool) { in TEST() argument
30 EXPECT_TRUE(Unpack(&T, {1, 0})); in TEST()
34 EXPECT_TRUE(Unpack(&T, {0, 1})); in TEST()
38 EXPECT_FALSE(Unpack(&T, {})); in TEST()
[all …]
/external/mesa3d/src/mesa/main/
Dpbo.c147 const struct gl_pixelstore_attrib *unpack, in _mesa_map_pbo_source() argument
152 if (unpack->BufferObj) { in _mesa_map_pbo_source()
153 /* unpack from PBO */ in _mesa_map_pbo_source()
155 unpack->BufferObj->Size, in _mesa_map_pbo_source()
157 unpack->BufferObj, in _mesa_map_pbo_source()
165 /* unpack from normal memory */ in _mesa_map_pbo_source()
179 const struct gl_pixelstore_attrib *unpack, in _mesa_validate_pbo_source() argument
187 if (!_mesa_validate_pbo_access(dimensions, unpack, width, height, depth, in _mesa_validate_pbo_source()
189 if (unpack->BufferObj) { in _mesa_validate_pbo_source()
201 if (!unpack->BufferObj) { in _mesa_validate_pbo_source()
[all …]
Dpixelstore.c139 ctx->Unpack.SwapBytes = param ? GL_TRUE : GL_FALSE; in pixel_storei()
144 ctx->Unpack.LsbFirst = param ? GL_TRUE : GL_FALSE; in pixel_storei()
151 ctx->Unpack.RowLength = param; in pixel_storei()
158 ctx->Unpack.ImageHeight = param; in pixel_storei()
165 ctx->Unpack.SkipPixels = param; in pixel_storei()
172 ctx->Unpack.SkipRows = param; in pixel_storei()
179 ctx->Unpack.SkipImages = param; in pixel_storei()
184 ctx->Unpack.Alignment = param; in pixel_storei()
191 ctx->Unpack.CompressedBlockWidth = param; in pixel_storei()
198 ctx->Unpack.CompressedBlockHeight = param; in pixel_storei()
[all …]
Dpbo.h45 const struct gl_pixelstore_attrib *unpack,
51 const struct gl_pixelstore_attrib *unpack,
58 const struct gl_pixelstore_attrib *unpack);
68 const struct gl_pixelstore_attrib *unpack,
82 const struct gl_pixelstore_attrib *unpack,
94 const struct gl_pixelstore_attrib *unpack);
99 const struct gl_pixelstore_attrib *unpack,
107 const struct gl_pixelstore_attrib *unpack,
/external/python/cpython3/Lib/test/
Dtest_unpack.py7 Unpack tuple
14 Unpack list
21 Unpack implied tuple
27 Unpack string... fun!
33 Unpack generic sequence
62 TypeError: cannot unpack non-iterable int object
69 ValueError: too many values to unpack (expected 2)
76 ValueError: too many values to unpack (expected 2)
83 ValueError: not enough values to unpack (expected 4, got 3)
90 ValueError: too many values to unpack (expected 2)
[all …]
/external/libpng/contrib/pngexif/
Dbytepack.py18 """Unpack an unsigned int from its 32-bit big-endian representation."""
19 return struct.unpack(">I", buffer[offset:offset + 4])[0]
23 """Unpack an unsigned int from its 32-bit little-endian representation."""
24 return struct.unpack("<I", buffer[offset:offset + 4])[0]
28 """Unpack an unsigned int from its 16-bit big-endian representation."""
29 return struct.unpack(">H", buffer[offset:offset + 2])[0]
33 """Unpack an unsigned int from its 16-bit little-endian representation."""
34 return struct.unpack("<H", buffer[offset:offset + 2])[0]
38 """Unpack an unsigned int from its 8-bit representation."""
39 return struct.unpack("B", buffer[offset:offset + 1])[0]
/external/python/cpython2/Lib/plat-mac/
Daepack.py5 unpack(desc) does the reverse
131 def unpack(desc, formodulename=""): function
132 """Unpack an AE descriptor to a python object"""
143 l.append(unpack(item, formodulename))
149 d[keyword] = unpack(item, formodulename)
153 return mkaetext(unpack(record, formodulename))
158 return struct.unpack('b', desc.data)[0]
174 return struct.unpack('d', data)[0]
181 return mkinsertionloc(unpack(record, formodulename))
184 script, language = struct.unpack('hh', desc.data[:4])
[all …]
/external/python/setuptools/setuptools/_vendor/packaging/
D_manylinux.py36 def unpack(fmt: str) -> int: function
39 result: Tuple[int, ...] = struct.unpack(fmt, data)
44 self.e_ident_magic = unpack(">I")
47 self.e_ident_class = unpack("B")
50 self.e_ident_data = unpack("B")
53 self.e_ident_version = unpack("B")
54 self.e_ident_osabi = unpack("B")
55 self.e_ident_abiversion = unpack("B")
61 self.e_type = unpack(format_h)
62 self.e_machine = unpack(format_h)
[all …]
/external/python/setuptools/pkg_resources/_vendor/packaging/
D_manylinux.py36 def unpack(fmt: str) -> int: function
39 result: Tuple[int, ...] = struct.unpack(fmt, data)
44 self.e_ident_magic = unpack(">I")
47 self.e_ident_class = unpack("B")
50 self.e_ident_data = unpack("B")
53 self.e_ident_version = unpack("B")
54 self.e_ident_osabi = unpack("B")
55 self.e_ident_abiversion = unpack("B")
61 self.e_type = unpack(format_h)
62 self.e_machine = unpack(format_h)
[all …]
/external/python/cpython2/Lib/test/
Dtest_unpack.py3 Unpack tuple
10 Unpack list
17 Unpack implied tuple
23 Unpack string... fun!
29 Unpack generic sequence
65 ValueError: too many values to unpack
72 ValueError: too many values to unpack
79 ValueError: need more than 3 values to unpack
86 ValueError: too many values to unpack
104 Trigger code while not expecting an IndexError (unpack sequence too long, wrong
[all …]
Dtest_aepack.py31 unpacked = aepack.unpack(packed)
37 unpacked = aepack.unpack(packed)
43 unpacked = aepack.unpack(packed)
49 unpacked = aepack.unpack(packed)
55 unpacked = aepack.unpack(packed)
68 unpacked = aepack.unpack(packed)
80 unpacked = aepack.unpack(packed)
/external/tensorflow/tensorflow/core/ir/importexport/tests/roundtrip/
Dtest21.pbtxt28 op: "Unpack"
75 op: "Unpack"
122 op: "Unpack"
169 op: "Unpack"
216 op: "Unpack"
263 op: "Unpack"
310 op: "Unpack"
358 op: "Unpack"
405 op: "Unpack"
452 op: "Unpack"
[all …]
/external/sdk-platform-java/gax-java/gax/src/main/java/com/google/api/gax/rpc/
DErrorDetails.java60 return unpack(ErrorInfo.class); in getErrorInfo()
69 return unpack(RetryInfo.class); in getRetryInfo()
75 return unpack(DebugInfo.class); in getDebugInfo()
81 return unpack(QuotaFailure.class); in getQuotaFailure()
87 return unpack(PreconditionFailure.class); in getPreconditionFailure()
96 return unpack(BadRequest.class); in getBadRequest()
105 return unpack(RequestInfo.class); in getRequestInfo()
111 return unpack(ResourceInfo.class); in getResourceInfo()
117 return unpack(Help.class); in getHelp()
126 return unpack(LocalizedMessage.class); in getLocalizedMessage()
[all …]
/external/tensorflow/tensorflow/python/distribute/parallel_device/
Dparallel_device_test.py131 outputs = self.device.unpack(e)
167 self.assertAllEqual([1], device.unpack(y))
190 device_ids = self.device.unpack(self.device.device_ids)
200 for component in self.device.unpack(x):
210 same_unpacked = self.device.unpack(same)
211 different_unpacked = self.device.unpack(different)
223 outputs = self.device.unpack(reduced)
239 outputs = self.device.unpack(reduced)
252 outputs = self.device.unpack(reduced)
270 outputs = self.device.unpack(reduced)
[all …]
/external/antlr/runtime/Ruby/lib/antlr3/template/
Dgroup-file-lexer.rb912 EOT = unpack( 1, -1, 1, 11, 14, -1, 1, 11, 1, 20, 1, 11, 2, -1, 1,
914 EOF = unpack( 24, -1 )
915 MIN = unpack( 1, 9, 1, 114, 1, 58, 13, -1, 1, 111, 1, 61, 1, 117,
917 MAX = unpack( 1, 122, 1, 114, 1, 58, 13, -1, 1, 111, 1, 61, 1, 117,
919 ACCEPT = unpack( 3, -1, 1, 3, 1, 5, 1, 6, 1, 7, 1, 8, 1, 9, 1, 10,
922 SPECIAL = unpack( 24, -1 )
924 unpack( 2, 15, 1, -1, 2, 15, 18, -1, 1, 15, 1, -1, 1, 13, 1, 14,
928 unpack( 1, 16 ),
929 unpack( 1, 17 ),
930 unpack( ),
[all …]
/external/clang/tools/libclang/
DCXCursor.h66 /// \brief Unpack an ObjCSuperClassRef cursor into the interface it references
76 /// \brief Unpack an ObjCProtocolRef cursor into the protocol it references
86 /// \brief Unpack an ObjCClassRef cursor into the class it references
95 /// \brief Unpack a TypeRef cursor into the class it references
103 /// \brief Unpack a TemplateRef cursor into the template it references and
113 /// \brief Unpack a NamespaceRef cursor into the namespace or namespace alias
121 /// \brief Unpack a VariableRef cursor into the variable it references and the
129 /// \brief Unpack a MemberRef cursor into the field it references and the
137 /// \brief Unpack a CXXBaseSpecifier cursor into a CXXBaseSpecifier.
144 /// \brief Unpack a given preprocessing directive to retrieve its source range.
[all …]
/external/mesa3d/src/broadcom/qpu/
Dqpu_pack.c1074 /* Some big clusters of opcodes are replicated with unpack in v3d33_qpu_add_unpack()
1141 &instr->alu.add.a.unpack)) { in v3d33_qpu_add_unpack()
1146 &instr->alu.add.b.unpack)) { in v3d33_qpu_add_unpack()
1160 &instr->alu.add.a.unpack)) { in v3d33_qpu_add_unpack()
1172 &instr->alu.add.a.unpack)) { in v3d33_qpu_add_unpack()
1180 &instr->alu.add.a.unpack)) { in v3d33_qpu_add_unpack()
1185 instr->alu.add.b.unpack = V3D_QPU_UNPACK_NONE; in v3d33_qpu_add_unpack()
1190 instr->alu.add.a.unpack = V3D_QPU_UNPACK_NONE; in v3d33_qpu_add_unpack()
1191 instr->alu.add.b.unpack = V3D_QPU_UNPACK_NONE; in v3d33_qpu_add_unpack()
1293 &instr->alu.add.a.unpack)) { in v3d71_qpu_add_unpack()
[all …]
/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_qpu_emit.c167 struct qinst *inst, uint64_t *unpack) in fixup_raddr_conflict() argument
191 /* If we had an unpack on this A-file source, we need to put in fixup_raddr_conflict()
195 *last_inst(block) |= *unpack; in fixup_raddr_conflict()
196 *unpack = 0; in fixup_raddr_conflict()
210 ASSERTED uint32_t unpack = QPU_GET_FIELD(*last_inst(block), QPU_UNPACK); in set_last_dst_pack() local
218 assert(!unpack || had_pm); in set_last_dst_pack()
221 assert(!unpack || !had_pm); in set_last_dst_pack()
297 uint64_t unpack = 0; in vc4_generate_code_block() local
309 assert(!unpack || in vc4_generate_code_block()
310 unpack == qinst->src[i].pack); in vc4_generate_code_block()
[all …]
/external/armnn/delegate/classic/src/
DUnpack.hpp37 // Get Unpack Axis in VisitUnpackOperator()
48 "TfLiteArmnnDelegate: The unpack axis #%d cannot be greater than or equal to " in VisitUnpackOperator()
54 // Get Unpack Num in VisitUnpackOperator()
63 // If unpack number cannot be inferred and is still zero, return kTfLiteError. in VisitUnpackOperator()
68 … "TfLiteArmnnDelegate: Number to unpack must greater than zero in operator #%d node #%d: ", in VisitUnpackOperator()
90 "TfLiteArmnnDelegate: Number to unpack must be the same as length " in VisitUnpackOperator()
91 "of the dimension to unpack along in operator #%d node #%d: ", in VisitUnpackOperator()
141 FORWARD_LAYER_SUPPORT_FUNC("UNPACK", in VisitUnpackOperator()
174 std::string splitterLayerName("Unpack Splitter"); in VisitUnpackOperator()
189 …// Create reshape to remove the unpacked dimension for unpack operator of each output from Splitte… in VisitUnpackOperator()
[all …]
/external/rust/crates/rand_chacha/src/
Dguts.rs78 let d: M::u32x4 = m.unpack(self.d); in pos64()
121 let d0: Mach::u32x4 = m.unpack(state.d);
129 let b = m.unpack(state.b);
130 let c = m.unpack(state.c);
135 d: m.unpack(Mach::u32x4x4::from_lanes([d0, d1, d2, d3]).into()),
142 let d0: Mach::u32x4 = m.unpack(state.d);
158 let sb = m.unpack(state.b);
159 let sc = m.unpack(state.c);
160 let sd = [m.unpack(state.d), d1, d2, d3];
184 b: m.unpack(state.b),
[all …]
/external/python/cpython3/Doc/c-api/
Dfloat.rst81 Pack and Unpack functions
84 The pack and unpack functions provide an efficient platform-independent way to
86 string from a C :c:expr:`double`, and the Unpack routines produce a C
96 attempting to unpack a bytes string containing an IEEE INF or NaN will raise an
137 Unpack functions
140 The unpack routines read 2, 4 or 8 bytes, starting at *p*. *le* is an
151 Note that on a non-IEEE platform this will refuse to unpack a bytes string that
156 Unpack the IEEE 754 binary16 half-precision format as a C double.
160 Unpack the IEEE 754 binary32 single precision format as a C double.
164 Unpack the IEEE 754 binary64 double precision format as a C double.
/external/libvpx/vpx_dsp/x86/
Dtranspose_sse2.h19 // Unpack 8 bit elements. Goes from: in transpose_8bit_4x4()
30 // Unpack 16 bit elements resulting in: in transpose_8bit_4x4()
37 // Unpack 8 bit elements. Goes from: in transpose_8bit_8x8()
56 // Unpack 16 bit elements resulting in: in transpose_8bit_8x8()
66 // Unpack 32 bit elements resulting in: in transpose_8bit_8x8()
76 // Unpack 64 bit elements resulting in: in transpose_8bit_8x8()
97 // Unpack 16 bit elements. Goes from: in transpose_16bit_4x4()
108 // Unpack 32 bit elements resulting in: in transpose_16bit_4x4()
117 // Unpack 16 bit elements. Goes from: in transpose_16bit_4x8()
136 // Unpack 32 bit elements resulting in: in transpose_16bit_4x8()
[all …]
/external/rust/crates/tokio/src/runtime/io/
Dscheduled_io.rs220 debug_assert_eq!(0, SHUTDOWN.unpack(current)); in set_readiness()
231 if TICK.unpack(current) as u8 != t { in set_readiness()
317 tick: TICK.unpack(curr) as u8, in ready_event()
318 ready: interest.mask() & Ready::from_usize(READINESS.unpack(curr)), in ready_event()
319 is_shutdown: SHUTDOWN.unpack(curr) != 0, in ready_event()
335 let ready = direction.mask() & Ready::from_usize(READINESS.unpack(curr)); in poll_readiness()
336 let is_shutdown = SHUTDOWN.unpack(curr) != 0; in poll_readiness()
362 let ready = direction.mask() & Ready::from_usize(READINESS.unpack(curr)); in poll_readiness()
363 let is_shutdown = SHUTDOWN.unpack(curr) != 0; in poll_readiness()
366 tick: TICK.unpack(curr) as u8, in poll_readiness()
[all …]
/external/libaom/aom_dsp/x86/
Dtranspose_sse2.h20 // Unpack 8 bit elements. Goes from: in transpose_8bit_4x4()
31 // Unpack 16 bit elements resulting in: in transpose_8bit_4x4()
38 // Unpack 8 bit elements. Goes from: in transpose_8bit_8x8()
57 // Unpack 16 bit elements resulting in: in transpose_8bit_8x8()
67 // Unpack 32 bit elements resulting in: in transpose_8bit_8x8()
77 // Unpack 64 bit elements resulting in: in transpose_8bit_8x8()
98 // Unpack 16 bit elements. Goes from: in transpose_16bit_4x4()
109 // Unpack 32 bit elements resulting in: in transpose_16bit_4x4()
126 // Unpack 16 bit elements. Goes from: in transpose_16bit_4x8()
145 // Unpack 32 bit elements resulting in: in transpose_16bit_4x8()
[all …]

12345678910>>...81