Home
last modified time | relevance | path

Searched refs:to_bytes (Results 1 – 25 of 82) sorted by relevance

1234

/third_party/boost/libs/asio/test/ip/
Daddress_v4.cpp70 ip::address_v4::bytes_type bytes_value = addr1.to_bytes(); in test()
181 BOOST_ASIO_CHECK(a1.to_bytes()[0] == 0); in test()
182 BOOST_ASIO_CHECK(a1.to_bytes()[1] == 0); in test()
183 BOOST_ASIO_CHECK(a1.to_bytes()[2] == 0); in test()
184 BOOST_ASIO_CHECK(a1.to_bytes()[3] == 0); in test()
192 BOOST_ASIO_CHECK(a2.to_bytes()[0] == 1); in test()
193 BOOST_ASIO_CHECK(a2.to_bytes()[1] == 2); in test()
194 BOOST_ASIO_CHECK(a2.to_bytes()[2] == 3); in test()
195 BOOST_ASIO_CHECK(a2.to_bytes()[3] == 4); in test()
208 BOOST_ASIO_CHECK(a3.to_bytes()[0] == 1); in test()
[all …]
Daddress_v6.cpp89 ip::address_v6::bytes_type bytes_value = addr1.to_bytes(); in test()
206 BOOST_ASIO_CHECK(a2.to_bytes()[0] == 1); in test()
207 BOOST_ASIO_CHECK(a2.to_bytes()[1] == 2); in test()
208 BOOST_ASIO_CHECK(a2.to_bytes()[2] == 3); in test()
209 BOOST_ASIO_CHECK(a2.to_bytes()[3] == 4); in test()
210 BOOST_ASIO_CHECK(a2.to_bytes()[4] == 5); in test()
211 BOOST_ASIO_CHECK(a2.to_bytes()[5] == 6); in test()
212 BOOST_ASIO_CHECK(a2.to_bytes()[6] == 7); in test()
213 BOOST_ASIO_CHECK(a2.to_bytes()[7] == 8); in test()
214 BOOST_ASIO_CHECK(a2.to_bytes()[8] == 9); in test()
[all …]
/third_party/libpsl/src/
Dpsl-make-dafsa248 def to_bytes(n): function
267 return to_bytes(byte ^ 0xC0), [to_nodes(word[1:], multibyte_length - 1)]
272 return to_bytes(int(word[:1], 16) & 0x0F), [None]
280 return to_bytes(0x1F), [(to_bytes(byte ^ 0x80), [to_nodes(word[1:], char_length - 1)])]
/third_party/gstreamer/gstplugins_bad/sys/d3d11/
Dgstd3d11screencapturedevice.cpp336 device_name = converter.to_bytes (minfo->szDevice); in create_device()
337 display_name = converter.to_bytes (target->monitorFriendlyDeviceName); in create_device()
338 device_path = converter.to_bytes (target->monitorDevicePath); in create_device()
339 device_description = converter.to_bytes (adapter_desc->Description); in create_device()
/third_party/boost/libs/asio/include/boost/asio/ip/impl/
Daddress_v6.ipp90 address_v6::bytes_type address_v6::to_bytes() const BOOST_ASIO_NOEXCEPT
262 address_v4::bytes_type v4_bytes = addr.to_bytes();
270 address_v4::bytes_type v4_bytes = addr.to_bytes();
331 address_v6::bytes_type v6_bytes = v6_addr.to_bytes();
340 address_v4::bytes_type v4_bytes = v4_addr.to_bytes();
Dnetwork_v6.ipp48 address_v6::bytes_type bytes(address_.to_bytes());
61 address_v6::bytes_type begin_bytes(address_.to_bytes());
62 address_v6::bytes_type end_bytes(address_.to_bytes());
/third_party/boost/boost/asio/ip/impl/
Daddress_v6.ipp90 address_v6::bytes_type address_v6::to_bytes() const BOOST_ASIO_NOEXCEPT
262 address_v4::bytes_type v4_bytes = addr.to_bytes();
270 address_v4::bytes_type v4_bytes = addr.to_bytes();
331 address_v6::bytes_type v6_bytes = v6_addr.to_bytes();
340 address_v4::bytes_type v4_bytes = v4_addr.to_bytes();
Dnetwork_v6.ipp48 address_v6::bytes_type bytes(address_.to_bytes());
61 address_v6::bytes_type begin_bytes(address_.to_bytes());
62 address_v6::bytes_type end_bytes(address_.to_bytes());
/third_party/python/Lib/test/
Dtest_long.py1109 test.to_bytes(len(expected), byteorder, signed=signed),
1190 self.assertRaises(OverflowError, (256).to_bytes, 1, 'big', signed=False)
1191 self.assertRaises(OverflowError, (256).to_bytes, 1, 'big', signed=True)
1192 self.assertRaises(OverflowError, (256).to_bytes, 1, 'little', signed=False)
1193 self.assertRaises(OverflowError, (256).to_bytes, 1, 'little', signed=True)
1194 self.assertRaises(OverflowError, (-1).to_bytes, 2, 'big', signed=False)
1195 self.assertRaises(OverflowError, (-1).to_bytes, 2, 'little', signed=False)
1196 self.assertEqual((0).to_bytes(0, 'big'), b'')
1197 self.assertEqual((1).to_bytes(5, 'big'), b'\x00\x00\x00\x00\x01')
1198 self.assertEqual((0).to_bytes(5, 'big'), b'\x00\x00\x00\x00\x00')
[all …]
/third_party/python/Lib/
Dhashlib.py238 prev = prf(salt + loop.to_bytes(4, 'big'))
246 dkey += rkey.to_bytes(inner.digest_size, 'big')
/third_party/mindspore/mindspore/dataset/text/
D__init__.py30 from .utils import to_str, to_bytes, JiebaMode, Vocab, NormalizeForm, SentencePieceVocab, SentenceP…
/third_party/mesa3d/.gitlab-ci/bare-metal/
Deth008-power-relay.py17 msg += int(relay).to_bytes(1, 'big')
/third_party/boost/libs/asio/include/boost/asio/ip/
Daddress_v6.hpp113 BOOST_ASIO_DECL bytes_type to_bytes() const BOOST_ASIO_NOEXCEPT;
353 const boost::asio::ip::address_v6::bytes_type bytes = addr.to_bytes(); in operator ()()
/third_party/boost/boost/asio/ip/
Daddress_v6.hpp113 BOOST_ASIO_DECL bytes_type to_bytes() const BOOST_ASIO_NOEXCEPT;
353 const boost::asio::ip::address_v6::bytes_type bytes = addr.to_bytes(); in operator ()()
/third_party/flutter/engine/flutter/fml/platform/win/
Dwstring_conversion.h33 return converter.to_bytes(wstr); in WideStringToString()
/third_party/boost/boost/asio/ssl/impl/
Drfc2818_verification.ipp84 ip::address_v4::bytes_type bytes = address.to_v4().to_bytes();
93 ip::address_v6::bytes_type bytes = address.to_v6().to_bytes();
/third_party/boost/libs/asio/include/boost/asio/ssl/impl/
Drfc2818_verification.ipp84 ip::address_v4::bytes_type bytes = address.to_v4().to_bytes();
93 ip::address_v6::bytes_type bytes = address.to_v6().to_bytes();
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/d3d12/
DAdapterD3D12.cpp85 mPCIInfo.name = converter.to_bytes(adapterDesc.Description); in Initialize()
/third_party/boost/libs/asio/include/boost/asio/ip/detail/
Dsocket_option.hpp403 address_v6::bytes_type bytes = ipv6_address.to_bytes(); in multicast_request()
438 address_v6::bytes_type bytes = multicast_address.to_bytes(); in multicast_request()
/third_party/boost/boost/asio/ip/detail/
Dsocket_option.hpp403 address_v6::bytes_type bytes = ipv6_address.to_bytes(); in multicast_request()
438 address_v6::bytes_type bytes = multicast_address.to_bytes(); in multicast_request()
/third_party/boost/libs/asio/include/boost/asio/detail/
Dwinrt_utils.hpp56 return converter.to_bytes(from->Data());
/third_party/glib/gio/
Dginetaddress.h56 const guint8 * (*to_bytes) (GInetAddress *address); member
/third_party/boost/boost/asio/detail/
Dwinrt_utils.hpp56 return converter.to_bytes(from->Data());
/third_party/boost/doc/html/boost_asio/example/cpp11/socks4/
Dsocks4.hpp52 address_ = endpoint.address().to_v4().to_bytes(); in request()
/third_party/boost/libs/asio/example/cpp11/socks4/
Dsocks4.hpp52 address_ = endpoint.address().to_v4().to_bytes(); in request()

1234