Home
last modified time | relevance | path

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

12345678910>>...34

/third_party/mingw-w64/mingw-w64-headers/include/
Dntddpsch.h13 #pragma pack(1)
27 #pragma pack()
29 #pragma pack(1)
33 #pragma pack()
35 #pragma pack(1)
41 #pragma pack()
43 #pragma pack(1)
51 #pragma pack()
53 #pragma pack(1)
62 #pragma pack()
[all …]
/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 …]
Dunpack.cpp28 …static_assert(noexcept(boost::hof::unpack(unary_class())(boost::hof::pack(3))), "noexcept unpack"); in BOOST_HOF_TEST_CASE()
29 static_assert(noexcept(unary_unpack(boost::hof::pack(3))), "noexcept unpack"); in BOOST_HOF_TEST_CASE()
30 …static_assert(noexcept(binary_unpack(boost::hof::pack(3), boost::hof::pack(2))), "noexcept unpack"… in BOOST_HOF_TEST_CASE()
51 BOOST_HOF_TEST_CHECK(3 == boost::hof::unpack(unary_class())(boost::hof::pack(3))); in BOOST_HOF_TEST_CASE()
52 BOOST_HOF_TEST_CHECK(3 == unary_unpack(boost::hof::pack(3))); in BOOST_HOF_TEST_CASE()
53 BOOST_HOF_TEST_CHECK(3 == unary_unpack_reveal(boost::hof::pack(3))); in BOOST_HOF_TEST_CASE()
57 BOOST_HOF_STATIC_TEST_CHECK(3 == boost::hof::unpack(unary_class())(boost::hof::pack(3))); in BOOST_HOF_TEST_CASE()
58 BOOST_HOF_STATIC_TEST_CHECK(3 == unary_unpack_constexpr(boost::hof::pack(3))); in BOOST_HOF_TEST_CASE()
59 BOOST_HOF_STATIC_TEST_CHECK(3 == unary_unpack_reveal(boost::hof::pack(3))); in BOOST_HOF_TEST_CASE()
117 auto p3 = boost::hof::pack(1, 2); in BOOST_HOF_TEST_CASE()
[all …]
/third_party/python/Lib/test/
Dtest_wave.py122 b = b'SPAM' + struct.pack('<L', 0)
128 b = b'RIFF' + struct.pack('<L', 4) + b'SPAM'
134 b = b'RIFF' + struct.pack('<L', 4) + b'WAVE'
140 b = b'RIFF' + struct.pack('<L', 28) + b'WAVE'
141 b += b'fmt ' + struct.pack('<LHHLLHH', 16, 1, 1, 11025, 11025, 1, 8)
147 b = b'RIFF' + struct.pack('<L', 12) + b'WAVE'
148 b += b'data' + struct.pack('<L', 0)
153 b = b'RIFF' + struct.pack('<L', 36) + b'WAVE'
154 b += b'fmt ' + struct.pack('<LHHLLHH', 16, 2, 1, 11025, 11025, 1, 1)
155 b += b'data' + struct.pack('<L', 0)
[all …]
Dtest_aifc.py259 b1 = io.BytesIO(b'WRNG' + struct.pack('>L', 0))
260 b2 = io.BytesIO(b'FORM' + struct.pack('>L', 4) + b'WRNG')
265 b = io.BytesIO(b'FORM' + struct.pack('>L', 4) + b'AIFF')
269 b = b'FORM' + struct.pack('>L', 4) + b'AIFC'
270 b += b'COMM' + struct.pack('>LhlhhLL', 38, 1, 0, 8,
272 b += b'NONE' + struct.pack('B', 14) + b'not compressed' + b'\x00'
278 b = b'FORM' + struct.pack('>L', 4) + b'AIFC'
279 b += b'COMM' + struct.pack('>LhlhhLL', 23, 1, 0, 8,
281 b += b'WRNG' + struct.pack('B', 0)
286 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/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
Dbuild_packages_dotnetcli.bat35 %DOTNET% pack --configuration Release Grpc.Core.Api --output ..\..\..\artifacts || goto :error
36 %DOTNET% pack --configuration Release Grpc.Core --output ..\..\..\artifacts || goto :error
37 %DOTNET% pack --configuration Release Grpc.Core.Testing --output ..\..\..\artifacts || goto :error
38 %DOTNET% pack --configuration Release Grpc.Auth --output ..\..\..\artifacts || goto :error
39 %DOTNET% pack --configuration Release Grpc.HealthCheck --output ..\..\..\artifacts || goto :error
40 %DOTNET% pack --configuration Release Grpc.Reflection --output ..\..\..\artifacts || goto :error
41 %DOTNET% pack --configuration Release Grpc.Tools --output ..\..\..\artifacts || goto :error
43 %DOTNET% pack --configuration Release Grpc --output ..\..\..\artifacts || goto :error
44 %DOTNET% pack --configuration Release Grpc.Core.NativeDebug --output ..\..\..\artifacts || goto :er…
/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/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/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/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/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/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/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/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/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/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/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/python/Lib/idlelib/
Dconfigdialog.py126 note.pack(side=TOP, expand=TRUE, fill=BOTH)
127 self.create_action_buttons().pack(side=BOTTOM)
163 self.buttons[txt].pack(side=LEFT, padx=5)
165 Frame(outer, height=2, borderwidth=0).pack(side=TOP)
166 buttons_frame.pack(side=BOTTOM)
585 frame_font_name.pack(side=TOP, padx=5, pady=5, fill=X)
586 frame_font_param.pack(side=TOP, padx=5, pady=5, fill=X)
587 font_name_title.pack(side=TOP, anchor=W)
588 self.fontlist.pack(side=LEFT, expand=TRUE, fill=X)
589 scroll_font.pack(side=LEFT, fill=Y)
[all …]
/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/gstreamer/gstplugins_good/gst/rtp/
Dgstrtph263pay.c398 static void gst_rtp_h263_pay_package_destroy (GstRtpH263PayPackage * pack);
587 gst_rtp_h263_pay_package_destroy (GstRtpH263PayPackage * pack) in gst_rtp_h263_pay_package_destroy() argument
589 if (pack) in gst_rtp_h263_pay_package_destroy()
590 g_free (pack); in gst_rtp_h263_pay_package_destroy()
1341 GstRtpH263PayPackage *pack; in gst_rtp_h263_pay_A_fragment_push() local
1343 pack = gst_rtp_h263_pay_package_new_empty (); in gst_rtp_h263_pay_A_fragment_push()
1345 pack->payload_start = context->gobs[first]->start; in gst_rtp_h263_pay_A_fragment_push()
1346 pack->sbit = context->gobs[first]->sbit; in gst_rtp_h263_pay_A_fragment_push()
1347 pack->ebit = context->gobs[last]->ebit; in gst_rtp_h263_pay_A_fragment_push()
1348 pack->payload_len = in gst_rtp_h263_pay_A_fragment_push()
[all …]
/third_party/python/Tools/unittestgui/
Dunittestgui.py266 self.top.pack(fill=tk.BOTH, expand=1)
297 statusFrame.pack(anchor=tk.SW, fill=tk.X, side=tk.BOTTOM)
298 tk.Label(statusFrame, width=1, textvariable=self.statusVar).pack(side=tk.TOP, fill=tk.X)
302 leftFrame.pack(fill=tk.BOTH, side=tk.LEFT, anchor=tk.NW, expand=1)
304 suiteNameFrame.pack(fill=tk.X)
308 progressFrame.pack(fill=tk.X, expand=0, anchor=tk.NW)
309 tk.Label(progressFrame, text="Progress:").pack(anchor=tk.W)
312 self.progressBar.pack(fill=tk.X, expand=1)
317 buttonFrame.pack(side=tk.LEFT, anchor=tk.NW, fill=tk.Y)
320 command=self.discoverClicked).pack(fill=tk.X)
[all …]
/third_party/openssl/external/perl/Text-Template-1.46/lib/Text/
DTemplate.pm39 my $pack = shift;
40 my $old = $GLOBAL_PREPEND{$pack};
41 $GLOBAL_PREPEND{$pack} = shift;
51 my $pack = shift;
61 Carp::croak("Usage: $ {pack}::new(TYPE => ..., SOURCE => ...)");
79 bless $self => $pack;
120 my $pack = ref $self;
121 die "Can only acquire data for $pack objects of subtype STRING, but this is $type; aborting";
147 my $pack = ref $self;
150 die "Can only compile $pack objects of subtype STRING, but this is $self->{TYPE}; aborting";
[all …]
/third_party/python/Lib/tkinter/test/test_tkinter/
Dtest_geometry_managers.py18 pack = tkinter.Toplevel(self.root, name='pack')
19 pack.wm_geometry('300x200+0+0')
20 pack.wm_minsize(1, 1)
21 a = tkinter.Frame(pack, name='a', width=20, height=40, bg='red')
22 b = tkinter.Frame(pack, name='b', width=50, height=30, bg='blue')
23 c = tkinter.Frame(pack, name='c', width=80, height=80, bg='green')
24 d = tkinter.Frame(pack, name='d', width=40, height=30, bg='yellow')
25 return pack, a, b, c, d
28 pack, a, b, c, d = self.create2()
37 self.assertEqual(pack.pack_slaves(), [a, b, c, d])
[all …]

12345678910>>...34