Searched refs:create_string_buffer (Results 1 – 25 of 35) sorted by relevance
12
| /external/python/cpython3/Lib/ctypes/test/ |
| D | test_buffers.py | 8 b = create_string_buffer(32) 13 b = create_string_buffer(b"abc") 24 self.assertRaises(TypeError, create_string_buffer, "abc") 27 self.assertEqual(len(bytearray(create_string_buffer(0))), 0) 28 self.assertEqual(len(bytearray(create_string_buffer(1))), 1)
|
| D | test_unicode.py | 44 buf = ctypes.create_string_buffer(b"abc") 47 buf = ctypes.create_string_buffer(b"ab\xe4\xf6\xfc")
|
| D | test_memfunctions.py | 22 a = create_string_buffer(1000000) 33 a = create_string_buffer(1000000)
|
| D | test_libc.py | 28 chars = create_string_buffer(b"spam, spam, and spam")
|
| D | test_arrays.py | 111 p = create_string_buffer(b"foo")
|
| /external/python/cpython2/Lib/ctypes/test/ |
| D | test_buffers.py | 8 b = create_string_buffer(32) 13 b = create_string_buffer("abc") 25 self.assertEqual(len(bytearray(create_string_buffer(0))), 0) 26 self.assertEqual(len(bytearray(create_string_buffer(1))), 1) 29 b = create_string_buffer(u"abc")
|
| D | test_unicode.py | 119 buf = ctypes.create_string_buffer(u"abc") 123 buf = ctypes.create_string_buffer(u"ab���") 131 buf = ctypes.create_string_buffer(u"ab���")
|
| D | test_memfunctions.py | 21 a = create_string_buffer(1000000) 32 a = create_string_buffer(1000000)
|
| D | test_libc.py | 24 chars = create_string_buffer("spam, spam, and spam")
|
| D | test_arrays.py | 101 p = create_string_buffer("foo")
|
| /external/python/cpython2/Lib/test/ |
| D | test_ascii_formatd.py | 11 from ctypes import pythonapi, create_string_buffer, sizeof, byref, c_double 18 buf = create_string_buffer(' ' * 100) 31 buf = create_string_buffer(' ' * 100)
|
| /external/llvm-project/debuginfo-tests/dexter/dex/debugger/dbgeng/ |
| D | symgroup.py | 68 buf = create_string_buffer(256) 75 buf = create_string_buffer(256) 82 buf = create_string_buffer(256)
|
| D | symbols.py | 304 ptr = create_string_buffer(256) 332 ptr = create_string_buffer(1024) 376 arr = create_string_buffer(length) 389 arr = create_string_buffer(length) 428 text = create_string_buffer(filenamelen) 449 buf = create_string_buffer(256) 456 buf = create_string_buffer(256)
|
| D | control.py | 328 buf = create_string_buffer(command.encode('ascii'))
|
| /external/autotest/client/common_lib/ |
| D | smogcheck_tpm.py | 34 c_ubyte, c_byte, byref, c_uint16, cast, create_string_buffer, c_uint64, \ 113 vi.tpmVendorId = create_string_buffer(4) # Allocate 4 bytes 114 vendorDetail = create_string_buffer(64) # Allocate 64 bytes 442 well_known_secret = create_string_buffer(20) 526 well_known_secret = create_string_buffer(20) 574 well_known_secret = create_string_buffer(20)
|
| /external/python/cpython2/Lib/ |
| D | uuid.py | 409 buffer = ctypes.create_string_buffer(300) 508 _buffer = ctypes.create_string_buffer(16) 514 _buffer = ctypes.create_string_buffer(16) 570 _buffer = ctypes.create_string_buffer(16)
|
| /external/scapy/scapy/arch/ |
| D | pcapdnet.py | 32 err = create_string_buffer(PCAP_ERRBUF_SIZE) 75 err = create_string_buffer(PCAP_ERRBUF_SIZE) 109 err = create_string_buffer(PCAP_ERRBUF_SIZE) 132 from ctypes import POINTER, byref, create_string_buffer 136 self.errbuf = create_string_buffer(PCAP_ERRBUF_SIZE) 137 self.iface = create_string_buffer(device.encode("utf8")) 158 filter_exp = create_string_buffer(f.encode("utf8"))
|
| D | common.py | 49 str_buffer = ctypes.create_string_buffer(bpf)
|
| /external/llvm-project/lldb/test/API/ |
| D | get_darwin_real_python.py | 10 name = ctypes.create_string_buffer(b'\000', namelen.value)
|
| /external/libiio/src/bindings/python/ |
| D | iio.py | 17 c_ssize_t, c_char, c_void_p, c_bool, create_string_buffer, \ 356 buf = create_string_buffer(8) 387 buf = create_string_buffer(1024) 402 buf = create_string_buffer(1024) 416 buf = create_string_buffer(1024) 756 buf = create_string_buffer(8)
|
| /external/chromium-trace/catapult/third_party/pyserial/serial/tools/ |
| D | list_ports_osx.py | 122 pathname = ctypes.create_string_buffer(100) # TODO: Is this ok?
|
| /external/python/cpython3/Lib/ctypes/ |
| D | __init__.py | 48 def create_string_buffer(init, size=None): function 73 return create_string_buffer(init, size)
|
| /external/python/cpython2/Lib/ctypes/ |
| D | __init__.py | 49 def create_string_buffer(init, size=None): function 72 return create_string_buffer(init, size)
|
| /external/chromium-trace/catapult/third_party/pyserial/serial/ |
| D | serialwin32.py | 256 buf = ctypes.create_string_buffer(n) 266 buf = ctypes.create_string_buffer(size)
|
| /external/bcc/src/python/bcc/ |
| D | table.py | 176 buf = ct.create_string_buffer(ct.sizeof(self.Key) * 8) 184 buf = ct.create_string_buffer(ct.sizeof(self.Leaf) * 8)
|
12