Searched refs:ctypes (Results 1 – 11 of 11) sorted by relevance
/aosp12/packages/modules/adb/ |
H A D | test_device.py | 1581 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 D | test_adb.py | 559 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 D | fs_config_generator.py | 15 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 D | fs_config_generator.py | 15 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 D | dt_fds_forward.py | 29 import ctypes 44 libc = ctypes.cdll.LoadLibrary("libc.so.6")
|
H A D | pylibdexfile.py | 22 from ctypes import *
|
/aosp12/bionic/libc/kernel/tools/ |
H A D | cpp.py | 4 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 D | btsnoop_live.py | 66 from ctypes import byref, c_bool, c_longlong, CDLL
|
/aosp12/art/runtime/mirror/ |
H A D | var_handle.cc | 1426 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 D | simpleperf_report_lib.py | 24 import ctypes as ct
|
/aosp12/system/sepolicy/tests/ |
H A D | policy.py | 1 from ctypes import *
|