Home
last modified time | relevance | path

Searched refs:pack (Results 1 – 25 of 958) sorted by relevance

12345678910>>...39

/third_party/boost/libs/hof/test/
Dpack.cpp22 BOOST_HOF_STATIC_TEST_CHECK(boost::hof::pack(1, 2)(binary_class()) == 3); in BOOST_HOF_TEST_CASE()
23 BOOST_HOF_TEST_CHECK(boost::hof::pack(1, 2)(binary_class()) == 3 ); in BOOST_HOF_TEST_CASE()
40 static_assert(!noexcept(boost::hof::pack(ct, ct)(boost::hof::always())), "noexcept pack"); in BOOST_HOF_TEST_CASE()
41 static_assert(noexcept(boost::hof::pack(1, 2)(boost::hof::always())), "noexcept pack"); in BOOST_HOF_TEST_CASE()
49 static_assert(noexcept(boost::hof::pack()(boost::hof::always())), "noexcept pack"); in BOOST_HOF_TEST_CASE()
57 …static_assert(!noexcept(boost::hof::pack_join(boost::hof::pack(ct), boost::hof::pack(ct))(boost::h… in BOOST_HOF_TEST_CASE()
58 …static_assert(noexcept(boost::hof::pack_join(boost::hof::pack(1), boost::hof::pack(1))(boost::hof:… in BOOST_HOF_TEST_CASE()
59 …static_assert(noexcept(boost::hof::pack_join(boost::hof::pack(), boost::hof::pack())(boost::hof::a… in BOOST_HOF_TEST_CASE()
60 auto p = boost::hof::pack(1); in BOOST_HOF_TEST_CASE()
61 …static_assert(noexcept(boost::hof::pack_join(p, boost::hof::pack())(boost::hof::always())), "noexc… in BOOST_HOF_TEST_CASE()
[all …]
/third_party/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_pixel_read.c72 const struct gl_pixelstore_attrib *pack) in brw_readpixels_tiled_memcpy() argument
98 pack->BufferObj || in brw_readpixels_tiled_memcpy()
99 pack->Alignment > 4 || in brw_readpixels_tiled_memcpy()
100 pack->SkipPixels > 0 || in brw_readpixels_tiled_memcpy()
101 pack->SkipRows > 0 || in brw_readpixels_tiled_memcpy()
102 (pack->RowLength != 0 && pack->RowLength != width) || in brw_readpixels_tiled_memcpy()
103 pack->SwapBytes || in brw_readpixels_tiled_memcpy()
104 pack->LsbFirst || in brw_readpixels_tiled_memcpy()
105 pack->Invert) in brw_readpixels_tiled_memcpy()
173 dst_pitch = _mesa_image_row_stride(pack, width, format, type); in brw_readpixels_tiled_memcpy()
[all …]
/third_party/python/Lib/test/
Dtest_wave.py121 b = b'SPAM' + struct.pack('<L', 0)
127 b = b'RIFF' + struct.pack('<L', 4) + b'SPAM'
133 b = b'RIFF' + struct.pack('<L', 4) + b'WAVE'
139 b = b'RIFF' + struct.pack('<L', 28) + b'WAVE'
140 b += b'fmt ' + struct.pack('<LHHLLHH', 16, 1, 1, 11025, 11025, 1, 8)
146 b = b'RIFF' + struct.pack('<L', 12) + b'WAVE'
147 b += b'data' + struct.pack('<L', 0)
152 b = b'RIFF' + struct.pack('<L', 36) + b'WAVE'
153 b += b'fmt ' + struct.pack('<LHHLLHH', 16, 2, 1, 11025, 11025, 1, 1)
154 b += b'data' + struct.pack('<L', 0)
[all …]
Dtest_aifc.py261 b1 = io.BytesIO(b'WRNG' + struct.pack('>L', 0))
262 b2 = io.BytesIO(b'FORM' + struct.pack('>L', 4) + b'WRNG')
267 b = io.BytesIO(b'FORM' + struct.pack('>L', 4) + b'AIFF')
271 b = b'FORM' + struct.pack('>L', 4) + b'AIFC'
272 b += b'COMM' + struct.pack('>LhlhhLL', 38, 1, 0, 8,
274 b += b'NONE' + struct.pack('B', 14) + b'not compressed' + b'\x00'
280 b = b'FORM' + struct.pack('>L', 4) + b'AIFC'
281 b += b'COMM' + struct.pack('>LhlhhLL', 23, 1, 0, 8,
283 b += b'WRNG' + struct.pack('B', 0)
288 b = b'FORM' + struct.pack('>L', 4) + b'AIFC'
[all …]
Dtest_struct.py35 self.assertEqual((struct.pack('=i', 1)[0] == 0), ISBIGENDIAN)
49 self.assertRaises(struct.error, struct.pack, 'iii', 3)
50 self.assertRaises(struct.error, struct.pack, 'i', 3, 3, 3)
51 self.assertRaises((TypeError, struct.error), struct.pack, 'i', 'foo')
52 self.assertRaises((TypeError, struct.error), struct.pack, 'P', 'foo')
54 s = struct.pack('ii', 1, 2)
71 s = struct.pack(format, c, b, h, i, l, f, d, t)
128 res = struct.pack(xfmt, arg)
196 def test_one(self, x, pack=struct.pack, argument
219 got = pack(format, x)
[all …]
/third_party/gstreamer/gstplugins_bad/gst/mxf/
Dmxftypes.c766 mxf_partition_pack_parse (const MXFUL * ul, MXFPartitionPack * pack, in mxf_partition_pack_parse() argument
779 memset (pack, 0, sizeof (MXFPartitionPack)); in mxf_partition_pack_parse()
784 pack->type = MXF_PARTITION_PACK_HEADER; in mxf_partition_pack_parse()
786 pack->type = MXF_PARTITION_PACK_BODY; in mxf_partition_pack_parse()
788 pack->type = MXF_PARTITION_PACK_FOOTER; in mxf_partition_pack_parse()
791 (pack->type == MXF_PARTITION_PACK_HEADER) ? "header" : (pack->type == in mxf_partition_pack_parse()
794 pack->closed = (ul->u[14] == 0x02 || ul->u[14] == 0x04); in mxf_partition_pack_parse()
795 pack->complete = (ul->u[14] == 0x03 || ul->u[14] == 0x04); in mxf_partition_pack_parse()
797 GST_DEBUG (" closed = %s, complete = %s", (pack->closed) ? "yes" : "no", in mxf_partition_pack_parse()
798 (pack->complete) ? "yes" : "no"); in mxf_partition_pack_parse()
[all …]
/third_party/grpc/src/csharp/
Dbuild_nuget.sh40 dotnet pack --configuration Release Grpc.Core.Api --output ../../../artifacts
41 dotnet pack --configuration Release Grpc.Core --output ../../../artifacts
42 dotnet pack --configuration Release Grpc.Core.Testing --output ../../../artifacts
43 dotnet pack --configuration Release Grpc.Auth --output ../../../artifacts
44 dotnet pack --configuration Release Grpc.HealthCheck --output ../../../artifacts
45 dotnet pack --configuration Release Grpc.Reflection --output ../../../artifacts
46 dotnet pack --configuration Release Grpc.Tools --output ../../../artifacts
48 dotnet pack --configuration Release Grpc --output ../../../artifacts
49 dotnet pack --configuration Release Grpc.Core.NativeDebug --output ../../../artifacts
50 dotnet pack --configuration Release Grpc.Core.Xamarin --output ../../../artifacts
/third_party/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_pixel_read.c93 const struct gl_pixelstore_attrib *pack, GLvoid * pixels) in do_blit_readpixels() argument
117 if (pack->SwapBytes || pack->LsbFirst) { in do_blit_readpixels()
121 if (pack->RowLength > 0) { in do_blit_readpixels()
122 dst_rowstride = pack->RowLength; in do_blit_readpixels()
134 if (pack->BufferObj && aligned_rowstride != dst_rowstride) in do_blit_readpixels()
140 if (!pack->BufferObj) in do_blit_readpixels()
147 dst_buffer = get_radeon_buffer_object(pack->BufferObj)->bo; in do_blit_readpixels()
153 if (pack->Invert) { in do_blit_readpixels()
179 if (!pack->BufferObj) in do_blit_readpixels()
191 if (!pack->BufferObj) in do_blit_readpixels()
[all …]
/third_party/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_pixel_read.c93 const struct gl_pixelstore_attrib *pack, GLvoid * pixels) in do_blit_readpixels() argument
117 if (pack->SwapBytes || pack->LsbFirst) { in do_blit_readpixels()
121 if (pack->RowLength > 0) { in do_blit_readpixels()
122 dst_rowstride = pack->RowLength; in do_blit_readpixels()
134 if (pack->BufferObj && aligned_rowstride != dst_rowstride) in do_blit_readpixels()
140 if (!pack->BufferObj) in do_blit_readpixels()
147 dst_buffer = get_radeon_buffer_object(pack->BufferObj)->bo; in do_blit_readpixels()
153 if (pack->Invert) { in do_blit_readpixels()
179 if (!pack->BufferObj) in do_blit_readpixels()
191 if (!pack->BufferObj) in do_blit_readpixels()
[all …]
/third_party/mesa3d/src/mesa/drivers/dri/i915/
Dintel_pixel_read.c76 const struct gl_pixelstore_attrib *pack, GLvoid * pixels) in do_blit_readpixels() argument
79 struct intel_buffer_object *dst = intel_buffer_object(pack->BufferObj); in do_blit_readpixels()
87 assert(pack->BufferObj); in do_blit_readpixels()
99 if (pack->SwapBytes || pack->LsbFirst) { in do_blit_readpixels()
104 int dst_stride = _mesa_image_row_stride(pack, width, format, type); in do_blit_readpixels()
109 if (pack->Invert) { in do_blit_readpixels()
115 dst_offset += _mesa_image_offset(2, pack, width, height, in do_blit_readpixels()
160 const struct gl_pixelstore_attrib *pack, GLvoid * pixels) in intelReadPixels() argument
169 if (pack->BufferObj) { in intelReadPixels()
171 if (do_blit_readpixels(ctx, x, y, width, height, format, type, pack, in intelReadPixels()
[all …]
/third_party/typescript_eslint/tests/integration/fixtures/typescript-and-tslint-plugins-together/
Dtest.sh11 npm install $(npm pack /usr/types | tail -1)
12 npm install $(npm pack /usr/visitor-keys | tail -1)
13 npm install $(npm pack /usr/scope-manager | tail -1)
14 npm install $(npm pack /usr/typescript-estree | tail -1)
15 npm install $(npm pack /usr/parser | tail -1)
16 npm install $(npm pack /usr/experimental-utils | tail -1)
17 npm install $(npm pack /usr/eslint-plugin-tslint | tail -1)
18 npm install $(npm pack /usr/eslint-plugin | tail -1)
/third_party/python/Lib/ctypes/test/
Dtest_byteswap.py53 self.assertEqual(bin(struct.pack(">h", 0x1234)), "1234")
58 self.assertEqual(bin(struct.pack("<h", 0x1234)), "3412")
63 self.assertEqual(bin(struct.pack(">h", 0x1234)), "1234")
68 self.assertEqual(bin(struct.pack("<h", 0x1234)), "3412")
81 self.assertEqual(bin(struct.pack(">i", 0x12345678)), "12345678")
86 self.assertEqual(bin(struct.pack("<i", 0x12345678)), "78563412")
91 self.assertEqual(bin(struct.pack(">I", 0x12345678)), "12345678")
96 self.assertEqual(bin(struct.pack("<I", 0x12345678)), "78563412")
109 self.assertEqual(bin(struct.pack(">q", 0x1234567890ABCDEF)), "1234567890ABCDEF")
114 self.assertEqual(bin(struct.pack("<q", 0x1234567890ABCDEF)), "EFCDAB9078563412")
[all …]
/third_party/typescript_eslint/tests/integration/fixtures/recommended-does-not-require-program/
Dtest.sh11 npm install $(npm pack /usr/types | tail -1)
12 npm install $(npm pack /usr/visitor-keys | tail -1)
13 npm install $(npm pack /usr/scope-manager | tail -1)
14 npm install $(npm pack /usr/typescript-estree | tail -1)
15 npm install $(npm pack /usr/parser | tail -1)
16 npm install $(npm pack /usr/experimental-utils | tail -1)
17 npm install $(npm pack /usr/eslint-plugin | tail -1)
/third_party/boost/boost/range/detail/
Drange_return.hpp40 static type pack(BOOST_DEDUCED_TYPENAME range_iterator<SinglePassRange>::type found, in pack() function
52 static type pack(type found, SinglePassRange&) in pack() function
63 static type pack(type found, SinglePassRange& rng) in pack() function
76 static type pack(type found, BidirectionalRange& rng) in pack() function
90 static type pack(BOOST_DEDUCED_TYPENAME range_iterator<SinglePassRange>::type found, in pack() function
103 static type pack(BOOST_DEDUCED_TYPENAME range_iterator<SinglePassRange>::type found, in pack() function
117 static type pack(BOOST_DEDUCED_TYPENAME range_iterator<BidirectionalRange>::type found, in pack() function
131 static type pack(BOOST_DEDUCED_TYPENAME range_iterator<SinglePassRange>::type found, in pack() function
144 static type pack(BOOST_DEDUCED_TYPENAME range_iterator<SinglePassRange>::type found, in pack() function
158 static type pack(BOOST_DEDUCED_TYPENAME range_iterator<BidirectionalRange>::type found, in pack() function
[all …]
/third_party/python/Lib/idlelib/
Dconfigdialog.py131 note.pack(side=TOP, expand=TRUE, fill=BOTH)
132 self.create_action_buttons().pack(side=BOTTOM)
168 self.buttons[txt].pack(side=LEFT, padx=5)
170 Frame(outer, height=2, borderwidth=0).pack(side=TOP)
171 buttons_frame.pack(side=BOTTOM)
374 frame_font_name.pack(side=TOP, padx=5, pady=5, fill=X)
375 frame_font_param.pack(side=TOP, padx=5, pady=5, fill=X)
376 font_name_title.pack(side=TOP, anchor=W)
377 self.fontlist.pack(side=LEFT, expand=TRUE, fill=X)
378 scroll_font.pack(side=LEFT, fill=Y)
[all …]
/third_party/typescript_eslint/tests/integration/fixtures/eslint-v6/
Dtest.sh12 npm install $(npm pack /usr/types | tail -1)
13 npm install $(npm pack /usr/visitor-keys | tail -1)
14 npm install $(npm pack /usr/scope-manager | tail -1)
15 npm install $(npm pack /usr/typescript-estree | tail -1)
16 npm install $(npm pack /usr/parser | tail -1)
17 npm install $(npm pack /usr/experimental-utils | tail -1)
18 npm install $(npm pack /usr/eslint-plugin | tail -1)
/third_party/node/deps/npm/test/util/
Dmock-tarball.js13 const pack = tar.pack()
16 pack.entry({
31 pack.finalize()
34 return pipeline(pack, zlib.createGzip())
36 return pack
38 return getStream.buffer(pack).then(ret => {
/third_party/typescript_eslint/tests/integration/fixtures/markdown/
Dtest.sh11 npm install $(npm pack /usr/types | tail -1)
12 npm install $(npm pack /usr/visitor-keys | tail -1)
13 npm install $(npm pack /usr/scope-manager | tail -1)
14 npm install $(npm pack /usr/typescript-estree | tail -1)
15 npm install $(npm pack /usr/parser | tail -1)
16 npm install $(npm pack /usr/experimental-utils | tail -1)
17 npm install $(npm pack /usr/eslint-plugin | tail -1)
/third_party/node/deps/npm/node_modules/libnpmpublish/test/util/
Dmock-tarball.js12 const pack = tar.pack()
15 pack.entry({
30 pack.finalize()
34 pack.on('error', err => gz.emit('error', err)).pipe(gz)
36 return pack
38 return getStream.buffer(pack).then(ret => {
/third_party/python/Tools/demo/
Dredemo.py15 self.promptdisplay.pack(side=TOP, fill=X)
18 self.regexdisplay.pack(fill=X)
24 self.statusdisplay.pack(side=TOP, fill=X)
28 self.labeldisplay.pack(fill=X)
29 self.labeldisplay.pack(fill=X)
32 self.showframe.pack(fill=X, anchor=W)
42 self.showfirstradio.pack(side=LEFT)
49 self.showallradio.pack(side=LEFT)
52 self.stringdisplay.pack(fill=BOTH, expand=1)
56 self.grouplabel.pack(fill=X)
[all …]
/third_party/typescript_eslint/tests/integration/fixtures/vue-sfc/
Dtest.sh11 npm install $(npm pack /usr/types | tail -1)
12 npm install $(npm pack /usr/visitor-keys | tail -1)
13 npm install $(npm pack /usr/scope-manager | tail -1)
14 npm install $(npm pack /usr/typescript-estree | tail -1)
15 npm install $(npm pack /usr/parser | tail -1)
16 npm install $(npm pack /usr/experimental-utils | tail -1)
17 npm install $(npm pack /usr/eslint-plugin | tail -1)
/third_party/typescript_eslint/tests/integration/fixtures/vue-jsx/
Dtest.sh11 npm install $(npm pack /usr/types | tail -1)
12 npm install $(npm pack /usr/visitor-keys | tail -1)
13 npm install $(npm pack /usr/scope-manager | tail -1)
14 npm install $(npm pack /usr/typescript-estree | tail -1)
15 npm install $(npm pack /usr/parser | tail -1)
16 npm install $(npm pack /usr/experimental-utils | tail -1)
17 npm install $(npm pack /usr/eslint-plugin | tail -1)
/third_party/gstreamer/gstplugins_good/gst/rtp/
Dgstrtph263pay.c399 static void gst_rtp_h263_pay_package_destroy (GstRtpH263PayPackage * pack);
590 gst_rtp_h263_pay_package_destroy (GstRtpH263PayPackage * pack) in gst_rtp_h263_pay_package_destroy() argument
592 if (pack) in gst_rtp_h263_pay_package_destroy()
593 g_free (pack); in gst_rtp_h263_pay_package_destroy()
1344 GstRtpH263PayPackage *pack; in gst_rtp_h263_pay_A_fragment_push() local
1346 pack = gst_rtp_h263_pay_package_new_empty (); in gst_rtp_h263_pay_A_fragment_push()
1348 pack->payload_start = context->gobs[first]->start; in gst_rtp_h263_pay_A_fragment_push()
1349 pack->sbit = context->gobs[first]->sbit; in gst_rtp_h263_pay_A_fragment_push()
1350 pack->ebit = context->gobs[last]->ebit; in gst_rtp_h263_pay_A_fragment_push()
1351 pack->payload_len = in gst_rtp_h263_pay_A_fragment_push()
[all …]
/third_party/mesa3d/src/mesa/main/
Dpbo.c69 const struct gl_pixelstore_attrib *pack, in _mesa_validate_pbo_access() argument
82 if (!pack->BufferObj) { in _mesa_validate_pbo_access()
87 size = pack->BufferObj->Size; in _mesa_validate_pbo_access()
114 start = _mesa_image_offset(dimensions, pack, width, height, in _mesa_validate_pbo_access()
118 end = _mesa_image_offset(dimensions, pack, width, height, in _mesa_validate_pbo_access()
303 const struct gl_pixelstore_attrib *pack, in _mesa_map_pbo_dest() argument
308 if (pack->BufferObj) { in _mesa_map_pbo_dest()
311 pack->BufferObj->Size, in _mesa_map_pbo_dest()
313 pack->BufferObj, in _mesa_map_pbo_dest()
381 const struct gl_pixelstore_attrib *pack) in _mesa_unmap_pbo_dest() argument
[all …]
/third_party/flatbuffers/tests/FlatBuffers.Test.Swift/Tests/FlatBuffers.Test.SwiftTests/
Dunion_vector_generated.swift31 public func pack(builder: inout FlatBufferBuilder) -> Offset { in pack() function
35 return Attacker.pack(&builder, obj: &__obj) in pack()
38 return Rapunzel_Mutable.pack(&builder, obj: &__obj) in pack()
41 return BookReader_Mutable.pack(&builder, obj: &__obj) in pack()
44 return BookReader_Mutable.pack(&builder, obj: &__obj) in pack()
47 return String.pack(&builder, obj: &__obj) in pack()
50 return String.pack(&builder, obj: &__obj) in pack()
91 public static func pack(_ builder: inout FlatBufferBuilder, obj: inout Rapunzel?) -> Offset { in pack() function
93 return pack(&builder, obj: &obj) in pack()
96 public static func pack(_ builder: inout FlatBufferBuilder, obj: inout Rapunzel) -> Offset { in pack() function
[all …]

12345678910>>...39