Home
last modified time | relevance | path

Searched refs:ctypes (Results 1 – 11 of 11) sorted by relevance

/aosp12/packages/modules/adb/
H A Dtest_device.py1581 import ctypes
1582 from ctypes import wintypes
1597 raise ctypes.WinError(ctypes.get_last_error())
1602 raise ctypes.WinError(ctypes.get_last_error())
1609 class COORD(ctypes.Structure):
1626 self.cbSize = ctypes.sizeof(self)
1628 PCONSOLE_SCREEN_BUFFER_INFOEX = ctypes.POINTER(
1694 hStdOut, ctypes.byref(info))
1726 hStdOut, ctypes.byref(info))
1740 hScreen, ctypes.byref(csbi))
[all …]
H A Dtest_adb.py559 import ctypes
560 from ctypes import wintypes
565 PostMessageW = ctypes.windll.user32.PostMessageW
570 raise ctypes.WinError()
/aosp12/build/make/tools/fs_config/
H A Dfs_config_generator.py15 import ctypes
1047 length_binary = bytearray(ctypes.c_uint16(length))
1048 mode_binary = bytearray(ctypes.c_uint16(mode))
1049 user_binary = bytearray(ctypes.c_uint16(int(user, 0)))
1050 group_binary = bytearray(ctypes.c_uint16(int(group, 0)))
1051 caps_binary = bytearray(ctypes.c_uint64(caps_value))
1052 path_binary = ctypes.create_string_buffer(path,
/aosp12/bionic/libc/
H A Dfs_config_generator.py15 import ctypes
1047 length_binary = bytearray(ctypes.c_uint16(length))
1048 mode_binary = bytearray(ctypes.c_uint16(mode))
1049 user_binary = bytearray(ctypes.c_uint16(int(user, 0)))
1050 group_binary = bytearray(ctypes.c_uint16(int(group, 0)))
1051 caps_binary = bytearray(ctypes.c_uint64(caps_value))
1052 path_binary = ctypes.create_string_buffer(path,
/aosp12/art/tools/
H A Ddt_fds_forward.py29 import ctypes
44 libc = ctypes.cdll.LoadLibrary("libc.so.6")
H A Dpylibdexfile.py22 from ctypes import *
/aosp12/bionic/libc/kernel/tools/
H A Dcpp.py4 import ctypes
231 tokens_memory = ctypes.POINTER(clang.cindex.Token)()
232 tokens_count = ctypes.c_uint()
235 ctypes.byref(tokens_memory),
236 ctypes.byref(tokens_count))
246 cursors_memory = ctypes.cast(cursors, ctypes.POINTER(Cursor))
251 tokens_array = ctypes.cast(
253 ctypes.POINTER(clang.cindex.Token * count)).contents
/aosp12/system/bt/tools/scripts/
H A Dbtsnoop_live.py66 from ctypes import byref, c_bool, c_longlong, CDLL
/aosp12/art/runtime/mirror/
H A Dvar_handle.cc1426 ObjPtr<Class> ctypes[2] = { GetCoordinateType0(), GetCoordinateType1() }; in PrettyDescriptorForAccessMode() local
1427 const int32_t ptypes_count = GetNumberOfParameters(access_mode_template, ctypes[0], ctypes[1]); in PrettyDescriptorForAccessMode()
1429 for (ObjPtr<Class> ctype : ctypes) { in PrettyDescriptorForAccessMode()
/aosp12/system/extras/simpleperf/scripts/
H A Dsimpleperf_report_lib.py24 import ctypes as ct
/aosp12/system/sepolicy/tests/
H A Dpolicy.py1 from ctypes import *