Home
last modified time | relevance | path

Searched refs:tobytes (Results 176 – 200 of 1412) sorted by relevance

12345678910>>...57

/dports/print/py-fonttools/fonttools-4.28.2/Lib/fontTools/misc/
H A Dsstruct.py50 from fontTools.misc.textTools import tobytes, tostr
72 value = tobytes(value)
80 data = tobytes(data)
/dports/print/py-fonttools3/fonttools-3.44.0/Tests/misc/
H A DxmlWriter_test.py7 linesep = tobytes(os.linesep)
119 linesep = tobytes(os.linesep) if nls is None else tobytes(nls)
/dports/print/py-fonttools/fonttools-4.28.2/Tests/misc/
H A DxmlWriter_test.py4 from fontTools.misc.textTools import bytesjoin, tobytes
118 linesep = tobytes(os.linesep) if nls is None else tobytes(nls)
/dports/net/py-mpi4py/mpi4py-3.1.3/test/
H A Dtest_memory.py38 self.assertEqual(m.tobytes(), b"")
119 self.assertEqual(m.tobytes(), b"abc")
150 self.assertEqual(m.tobytes(), b"\1\2\3")
178 self.assertEqual(m.tobytes(), b"\1\2\3")
214 self.assertEqual(m.tobytes(), b"\1\2\3")
298 self.assertEqual(mem[1:5].tobytes(), b"abcd")
299 self.assertEqual(mem[10:13].tobytes(), b"xyz")
/dports/lang/spidermonkey78/firefox-78.9.0/third_party/python/pytest/testing/
H A Dtest_capture.py24 def tobytes(obj): function
39 os.write(fd, tobytes(obj))
806 f.write(tobytes("hello"))
809 assert s == tobytes("hello")
922 data = tobytes("hello")
962 assert x == tobytes("")
965 data1, data2 = tobytes("foo"), tobytes("bar")
982 data = tobytes("hello")
988 os.write(1, tobytes("world"))
992 os.write(1, tobytes("but now"))
/dports/lang/spidermonkey78/firefox-78.9.0/testing/web-platform/tests/tools/third_party/pytest/testing/
H A Dtest_capture.py24 def tobytes(obj): function
39 os.write(fd, tobytes(obj))
806 f.write(tobytes("hello"))
809 assert s == tobytes("hello")
922 data = tobytes("hello")
962 assert x == tobytes("")
965 data1, data2 = tobytes("foo"), tobytes("bar")
982 data = tobytes("hello")
988 os.write(1, tobytes("world"))
992 os.write(1, tobytes("but now"))
/dports/security/vault/vault-1.8.2/vendor/github.com/apache/arrow/python/pyarrow/
H A D_flight.pyx34 from pyarrow.compat import frombytes, tobytes
133 self.extra_info = tobytes(extra_info)
193 self.action.type = tobytes(action_type)
377 result.descriptor.cmd = tobytes(command)
456 self.ticket.ticket = tobytes(ticket)
524 c_string c_host = tobytes(host)
535 c_string c_host = tobytes(host)
546 c_string c_path = tobytes(path)
756 tobytes(serialized), &info.info))
2211 c_cert.pem_cert = tobytes(cert)
[all …]
/dports/games/renpy/renpy-7.4.11-sdk/renpy/compat/
H A D__init__.py120 tobytes = future.utils.tobytes variable
/dports/science/py-pydicom/pydicom-2.2.2/pydicom/pixel_data_handlers/
H A Djpeg_ls_handler.py112 pixel_bytes.extend(frame.tobytes())
116 pixel_bytes.extend(frame.tobytes())
/dports/lang/python37/Python-3.7.12/Lib/test/
H A Dtest_array.py454 b.frombytes(a.tobytes())
992 expected = m.tobytes()
993 self.assertEqual(a.tobytes(), expected)
999 self.assertEqual(m.tobytes(), expected)
1001 self.assertEqual(m.tobytes(), expected)
1003 self.assertEqual(m.tobytes(), expected)
1005 self.assertEqual(m.tobytes(), expected)
1007 self.assertEqual(m.tobytes(), expected)
1009 self.assertEqual(m.tobytes(), expected)
1027 self.assertEqual(p.tobytes(), s.tobytes())
[all …]
/dports/mail/libmilter/sendmail-8.16.1/mailstats/
H A Dmailstats.c60 long frmsgs = 0, frbytes = 0, tomsgs = 0, tobytes = 0, rejmsgs = 0; variable
324 tobytes += stats.stat_bt[i];
334 frmsgs, frbytes, tomsgs, tobytes, rejmsgs,
359 frmsgs, frbytes, tomsgs, tobytes, rejmsgs,
/dports/x11/xpra/xpra-4.3/tests/unittests/unit/server/
H A Dmotion_test.py113 def tobytes(a): function
114 return a.tobytes()
115 buf1 = tobytes(na1)
125 buf2 = tobytes(na2)
/dports/textproc/py-pyexcel-ezodf/pyexcel-ezodf-0.3.4/ezodf/
H A Dcompatibility.py32 def tobytes(element): function
61 def tobytes(element): function
H A Ddocument.py198 fp.write(self.tobytes())
200 def tobytes(self): member in FlatXMLDocument
235 def tobytes(self): member in PackagedDocument
236 return self.filemanager.tobytes()
/dports/biology/py-bx-python/bx-python-0.8.13/lib/bx/
H A Dbinned_array.py153 f.write(a.tobytes())
166 s = bin.byteswap().tobytes()
168 s = bin.tobytes()
310 self.f.write(a.tobytes())
347 s = self.buffer.byteswap().tobytes()
349 s = self.buffer.tobytes()
/dports/www/grafana8/grafana-8.3.6/vendor/github.com/apache/arrow/python/pyarrow/
H A D_flight.pyx36 from pyarrow.lib import as_buffer, frombytes, tobytes
156 self.extra_info = tobytes(extra_info)
226 self.action.type = tobytes(action_type)
492 self.ticket.ticket = tobytes(ticket)
560 c_string c_host = tobytes(host)
571 c_string c_host = tobytes(host)
582 c_string c_path = tobytes(path)
792 tobytes(serialized), &info.info))
1181 c_string user = tobytes(username)
1182 c_string pw = tobytes(password)
[all …]
/dports/databases/arrow/apache-arrow-6.0.1/python/pyarrow/
H A D_flight.pyx35 from pyarrow.lib import as_buffer, frombytes, tobytes
155 self.extra_info = tobytes(extra_info)
225 self.action.type = tobytes(action_type)
491 self.ticket.ticket = tobytes(ticket)
559 c_string c_host = tobytes(host)
570 c_string c_host = tobytes(host)
581 c_string c_path = tobytes(path)
791 tobytes(serialized), &info.info))
1239 c_string user = tobytes(username)
1240 c_string pw = tobytes(password)
[all …]
/dports/print/py-fonttools/fonttools-4.28.2/Lib/fontTools/ttLib/tables/
H A DT_S_I__1.py9 from fontTools.misc.textTools import strjoin, tobytes, tostr
93 text = tobytes(self.glyphPrograms[name], encoding="utf-8")
109 text = tobytes(self.extraPrograms[name], encoding="utf-8")
/dports/deskutils/calibre/calibre-src-5.34.0/src/calibre/utils/
H A Dimghdr.py120 q = h[:32].tobytes()
264 …if h[:4] == b'<svg' or (h[:2] == b'<?' and h[2:5].tobytes().lower() == b'xml' and b'<svg' in h.tob…
/dports/security/py-pycryptodomex/pycryptodome-3.10.1/lib/Crypto/IO/
H A DPKCS8.py137 passphrase = tobytes(passphrase)
165 passphrase = tobytes(passphrase)
/dports/security/py-pycryptodome/pycryptodome-3.10.1/lib/Crypto/IO/
H A DPKCS8.py137 passphrase = tobytes(passphrase)
165 passphrase = tobytes(passphrase)
/dports/databases/py-sqlite3/Python-3.8.12/Lib/test/
H A Dtest_array.py455 b.frombytes(a.tobytes())
993 expected = m.tobytes()
994 self.assertEqual(a.tobytes(), expected)
1000 self.assertEqual(m.tobytes(), expected)
1002 self.assertEqual(m.tobytes(), expected)
1004 self.assertEqual(m.tobytes(), expected)
1006 self.assertEqual(m.tobytes(), expected)
1008 self.assertEqual(m.tobytes(), expected)
1010 self.assertEqual(m.tobytes(), expected)
1028 self.assertEqual(p.tobytes(), s.tobytes())
[all …]
/dports/databases/py-gdbm/Python-3.8.12/Lib/test/
H A Dtest_array.py455 b.frombytes(a.tobytes())
993 expected = m.tobytes()
994 self.assertEqual(a.tobytes(), expected)
1000 self.assertEqual(m.tobytes(), expected)
1002 self.assertEqual(m.tobytes(), expected)
1004 self.assertEqual(m.tobytes(), expected)
1006 self.assertEqual(m.tobytes(), expected)
1008 self.assertEqual(m.tobytes(), expected)
1010 self.assertEqual(m.tobytes(), expected)
1028 self.assertEqual(p.tobytes(), s.tobytes())
[all …]
/dports/lang/python-tools/Python-3.8.12/Lib/test/
H A Dtest_array.py455 b.frombytes(a.tobytes())
993 expected = m.tobytes()
994 self.assertEqual(a.tobytes(), expected)
1000 self.assertEqual(m.tobytes(), expected)
1002 self.assertEqual(m.tobytes(), expected)
1004 self.assertEqual(m.tobytes(), expected)
1006 self.assertEqual(m.tobytes(), expected)
1008 self.assertEqual(m.tobytes(), expected)
1010 self.assertEqual(m.tobytes(), expected)
1028 self.assertEqual(p.tobytes(), s.tobytes())
[all …]
/dports/lang/python38/Python-3.8.12/Lib/test/
H A Dtest_array.py455 b.frombytes(a.tobytes())
993 expected = m.tobytes()
994 self.assertEqual(a.tobytes(), expected)
1000 self.assertEqual(m.tobytes(), expected)
1002 self.assertEqual(m.tobytes(), expected)
1004 self.assertEqual(m.tobytes(), expected)
1006 self.assertEqual(m.tobytes(), expected)
1008 self.assertEqual(m.tobytes(), expected)
1010 self.assertEqual(m.tobytes(), expected)
1028 self.assertEqual(p.tobytes(), s.tobytes())
[all …]

12345678910>>...57