/external/chromium-trace/catapult/third_party/pyserial/serial/tools/ |
D | list_ports_windows.py | 137 ctypes.byref(guids_size)): 143 ctypes.byref(GUIDs[index]), 151 while SetupDiEnumDeviceInfo(g_hdi, index, ctypes.byref(devinfo)): 157 ctypes.byref(devinfo), 169 ctypes.byref(port_name_buffer), 170 ctypes.byref(port_name_length)) 184 ctypes.byref(devinfo), 185 ctypes.byref(szHardwareID), 191 ctypes.byref(devinfo), 194 ctypes.byref(szHardwareID), [all …]
|
D | list_ports_osx.py | 117 output = cf.CFNumberGetValue(CFContainer, 2, ctypes.byref(number)) 125 ctypes.byref(pathname) 141 ctypes.byref(parent) 160 ctypes.byref(serial_port_iterator)
|
/external/chromium-trace/catapult/third_party/pyserial/serial/ |
D | serialwin32.py | 80 win32.GetCommTimeouts(self.hComPort, ctypes.byref(self._orgTimeouts)) 127 win32.SetCommTimeouts(self.hComPort, ctypes.byref(win32.COMMTIMEOUTS(*timeouts))) 134 win32.GetCommState(self.hComPort, ctypes.byref(comDCB)) 201 if not win32.SetCommState(self.hComPort, ctypes.byref(comDCB)): 238 if not win32.ClearCommError(self.hComPort, ctypes.byref(flags), ctypes.byref(comstat)): 251 if not win32.ClearCommError(self.hComPort, ctypes.byref(flags), ctypes.byref(comstat)): 258 … err = win32.ReadFile(self.hComPort, buf, n, ctypes.byref(rc), ctypes.byref(self._overlappedRead)) 268 …err = win32.ReadFile(self.hComPort, buf, size, ctypes.byref(rc), ctypes.byref(self._overlappedRead… 271 …err = win32.GetOverlappedResult(self.hComPort, ctypes.byref(self._overlappedRead), ctypes.byref(rc… 287 … err = win32.WriteFile(self.hComPort, data, len(data), ctypes.byref(n), self._overlappedWrite) [all …]
|
/external/python/cpython2/Lib/ctypes/test/ |
D | test_parameters.py | 54 from ctypes import c_char_p, byref 74 from ctypes import byref, c_wchar_p 107 from ctypes import c_short, c_uint, c_int, c_long, pointer, POINTER, byref 110 LPINT.from_param(byref(c_int(42))) 112 self.assertRaises(TypeError, LPINT.from_param, byref(c_short(22))) 114 self.assertRaises(TypeError, LPINT.from_param, byref(c_long(22))) 115 self.assertRaises(TypeError, LPINT.from_param, byref(c_uint(22))) 119 from ctypes import c_short, c_uint, c_int, c_long, pointer, POINTER, byref 122 LPLPINT.from_param(byref(pointer(c_int(42)))) 124 self.assertRaises(TypeError, LPLPINT.from_param, byref(pointer(c_short(22)))) [all …]
|
D | test_prototypes.py | 79 positive_address(func(byref(ci)))) 82 self.assertRaises(ArgumentError, func, byref(ci)) 85 self.assertRaises(ArgumentError, func, byref(ci)) 88 self.assertRaises(ArgumentError, func, byref(ci)) 103 self.assertEqual("a", func(byref(ca))[0]) 118 self.assertEqual("a", func(byref(ca))[0]) 133 self.assertEqual("a", func(byref(ca))[0]) 135 func(byref(c_int())) 183 self.assertEqual(u"a", func(byref(ca))[0]) 201 self.assertEqual("a", func(byref(ca))[0])
|
/external/python/cpython3/Lib/ctypes/test/ |
D | test_prototypes.py | 82 positive_address(func(byref(ci)))) 85 self.assertRaises(ArgumentError, func, byref(ci)) 88 self.assertRaises(ArgumentError, func, byref(ci)) 91 self.assertRaises(ArgumentError, func, byref(ci)) 106 self.assertEqual(ord(b"a"), func(byref(ca))[0]) 121 self.assertEqual(ord(b"a"), func(byref(ca))[0]) 136 self.assertEqual(ord(b"a"), func(byref(ca))[0]) 138 func(byref(c_int())) 186 self.assertEqual("a", func(byref(ca))[0]) 204 self.assertEqual("a", func(byref(ca))[0])
|
D | test_parameters.py | 102 from ctypes import c_short, c_uint, c_int, c_long, POINTER, byref 105 LPINT.from_param(byref(c_int(42))) 107 self.assertRaises(TypeError, LPINT.from_param, byref(c_short(22))) 109 self.assertRaises(TypeError, LPINT.from_param, byref(c_long(22))) 110 self.assertRaises(TypeError, LPINT.from_param, byref(c_uint(22))) 114 from ctypes import c_short, c_uint, c_int, c_long, pointer, POINTER, byref 117 LPLPINT.from_param(byref(pointer(c_int(42)))) 119 self.assertRaises(TypeError, LPLPINT.from_param, byref(pointer(c_short(22)))) 121 self.assertRaises(TypeError, LPLPINT.from_param, byref(pointer(c_long(22)))) 122 self.assertRaises(TypeError, LPLPINT.from_param, byref(pointer(c_uint(22))))
|
/external/llvm/test/Transforms/ObjCARC/ |
D | escape.ll | 20 …%byref.isa = getelementptr inbounds %struct.__block_byref_weakLogNTimes, %struct.__block_byref_wea… 21 store i8* null, i8** %byref.isa, align 8 22 …%byref.forwarding = getelementptr inbounds %struct.__block_byref_weakLogNTimes, %struct.__block_by… 23 …ref_weakLogNTimes* %weakLogNTimes, %struct.__block_byref_weakLogNTimes** %byref.forwarding, align 8 24 …%byref.flags = getelementptr inbounds %struct.__block_byref_weakLogNTimes, %struct.__block_byref_w… 25 store i32 33554432, i32* %byref.flags, align 8 26 …%byref.size = getelementptr inbounds %struct.__block_byref_weakLogNTimes, %struct.__block_byref_we… 27 store i32 48, i32* %byref.size, align 4 50 …%tmp8 = load %struct.__block_byref_weakLogNTimes*, %struct.__block_byref_weakLogNTimes** %byref.fo… 75 …%byref.isa = getelementptr inbounds %struct.__block_byref_weakLogNTimes, %struct.__block_byref_wea… [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/ObjCARC/ |
D | escape.ll | 20 …%byref.isa = getelementptr inbounds %struct.__block_byref_weakLogNTimes, %struct.__block_byref_wea… 21 store i8* null, i8** %byref.isa, align 8 22 …%byref.forwarding = getelementptr inbounds %struct.__block_byref_weakLogNTimes, %struct.__block_by… 23 …ref_weakLogNTimes* %weakLogNTimes, %struct.__block_byref_weakLogNTimes** %byref.forwarding, align 8 24 …%byref.flags = getelementptr inbounds %struct.__block_byref_weakLogNTimes, %struct.__block_byref_w… 25 store i32 33554432, i32* %byref.flags, align 8 26 …%byref.size = getelementptr inbounds %struct.__block_byref_weakLogNTimes, %struct.__block_byref_we… 27 store i32 48, i32* %byref.size, align 4 50 …%tmp8 = load %struct.__block_byref_weakLogNTimes*, %struct.__block_byref_weakLogNTimes** %byref.fo… 75 …%byref.isa = getelementptr inbounds %struct.__block_byref_weakLogNTimes, %struct.__block_byref_wea… [all …]
|
/external/clang/test/CodeGenObjCXX/ |
D | block-var-layout.mm | 40 // byref int, short, char, char, char, id, id, strong void*, byref id 53 // byref int, short, char, char, char, id, id, strong void*, byref void*, byref id 68 // byref int, short, char, char, char, id, id, byref void*, int, double, byref id
|
/external/autotest/client/common_lib/ |
D | smogcheck_tpm.py | 28 c_ubyte, c_byte, byref, c_uint16, cast, create_string_buffer, c_uint64, \ 233 if self.tspi_lib.Tspi_Context_Create(byref(self.hContext)) != 0: 245 byref(self.hTpm)) != 0: 263 byref(bValue)) 310 byref(hPolicy)) 373 byref(uiResultLen), byref(pResult)) 383 byref(offset), pResult, cast(byref(versionInfo), 414 self.hTpm, byref(uiResultLen), byref(pResult)) 453 self.hContext, TSS_OBJECT_TYPE_RSAKEY, flag, byref(hSrk))
|
/external/sonivox/jet_tools/JetCreator/ |
D | eas.py | 254 result = eas_dll.EAS_GetPriority(self.eas.handle, self.handle, byref(priority)) 281 result = eas_dll.EAS_GetPolyphony(self.eas.handle, self.handle, byref(polyphony)) 356 result = eas_dll.EAS_State(self.eas.handle, self.handle, byref(state)) 408 result = eas_dll.EAS_GetLocation(self.eas.handle, self.handle, byref(msecs)) 420 result = eas_dll.EAS_GetFileType(self.eas.handle, self.handle, byref(file_type)) 444 result = eas_dll.EAS_GetRepeat(self.eas.handle, self.handle, byref(count)) 463 result = eas_dll.EAS_ParseMetaData(self.eas.handle, self.handle, byref(length)) 485 result = eas_dll.EAS_GetWaveFmtChunk(self.eas.handle, self.handle, byref(wave_fmt_chunk)) 593 result = eas_dll.EAS_Init(byref(self.handle)) 652 result = eas_dll.EAS_OpenFile(self.handle, path, byref(stream_handle)) [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/DebugInfo/Generic/ |
D | block-asan.ll | 27 …%byref.isa = getelementptr inbounds %struct.__block_byref_x, %struct.__block_byref_x* %x, i32 0, i… 28 store i8* null, i8** %byref.isa, !dbg !24 29 …%byref.forwarding = getelementptr inbounds %struct.__block_byref_x, %struct.__block_byref_x* %x, i… 30 store %struct.__block_byref_x* %x, %struct.__block_byref_x** %byref.forwarding, !dbg !24 31 …%byref.flags = getelementptr inbounds %struct.__block_byref_x, %struct.__block_byref_x* %x, i32 0,… 32 store i32 0, i32* %byref.flags, !dbg !24 33 …%byref.size = getelementptr inbounds %struct.__block_byref_x, %struct.__block_byref_x* %x, i32 0, … 34 store i32 32, i32* %byref.size, !dbg !24
|
/external/llvm/test/DebugInfo/Generic/ |
D | block-asan.ll | 27 …%byref.isa = getelementptr inbounds %struct.__block_byref_x, %struct.__block_byref_x* %x, i32 0, i… 28 store i8* null, i8** %byref.isa, !dbg !24 29 …%byref.forwarding = getelementptr inbounds %struct.__block_byref_x, %struct.__block_byref_x* %x, i… 30 store %struct.__block_byref_x* %x, %struct.__block_byref_x** %byref.forwarding, !dbg !24 31 …%byref.flags = getelementptr inbounds %struct.__block_byref_x, %struct.__block_byref_x* %x, i32 0,… 32 store i32 0, i32* %byref.flags, !dbg !24 33 …%byref.size = getelementptr inbounds %struct.__block_byref_x, %struct.__block_byref_x* %x, i32 0, … 34 store i32 32, i32* %byref.size, !dbg !24
|
/external/clang/test/CodeGenObjC/ |
D | block-var-layout.m | 49 // byref int, short, char, char, char, id, id, strong void*, byref id 61 // byref int, short, char, char, char, id, id, strong void*, byref void*, byref id 76 // byref int, short, char, char, char, id, id, byref void*, int, double, byref id
|
D | 2008-11-25-Blocks.m | 10 __attribute__((__blocks__(byref))) bork* new = ((void *)0); 14 __attribute__((__blocks__(byref))) id var;
|
/external/python/cpython2/Tools/pybench/ |
D | systimes.py | 137 ctypes.byref(creationtime), 138 ctypes.byref(exittime), 139 ctypes.byref(kerneltime), 140 ctypes.byref(usertime))
|
/external/capstone/bindings/python/capstone/ |
D | __init__.py | 257 ctypes.memmove(ctypes.byref(dst), ctypes.byref(src), ctypes.sizeof(type(src))) 351 combined = _cs.cs_version(ctypes.byref(major), ctypes.byref(minor)) 384 status = _cs.cs_open(arch, mode, ctypes.byref(csh)) 389 res = _cs.cs_disasm(csh, code, len(code), offset, count, ctypes.byref(all_insn)) 403 status = _cs.cs_close(ctypes.byref(csh)) 425 status = _cs.cs_open(arch, mode, ctypes.byref(csh)) 430 res = _cs.cs_disasm(csh, code, len(code), offset, count, ctypes.byref(all_insn)) 445 status = _cs.cs_close(ctypes.byref(csh)) 694 status = _cs.cs_open(arch, mode, ctypes.byref(self.csh)) 726 status = _cs.cs_close(ctypes.byref(self.csh)) [all …]
|
/external/python/cpython2/Lib/test/ |
D | test_ascii_formatd.py | 11 from ctypes import pythonapi, create_string_buffer, sizeof, byref, c_double 22 PyOS_ascii_formatd(byref(buf), sizeof(buf), '%+.10f', 49 PyOS_ascii_formatd(byref(buf), sizeof(buf), format,
|
/external/python/cpython3/PC/ |
D | validate_ucrtbase.py | 8 from ctypes import (c_buffer, POINTER, byref, create_unicode_buffer, 70 if not version.VerQueryValueW(ver_block, "", byref(pvi), byref(DWORD())):
|
/external/bcc/src/python/bcc/ |
D | table.py | 178 len(buf), ct.byref(key)) 186 len(buf), ct.byref(leaf)) 194 ct.byref(key)) 202 ct.byref(leaf)) 209 res = lib.bpf_lookup_elem(self.map_fd, ct.byref(key), ct.byref(leaf)) 215 res = lib.bpf_update_elem(self.map_fd, ct.byref(key), ct.byref(leaf), 0) 221 res = lib.bpf_delete_elem(self.map_fd, ct.byref(key)) 284 res = lib.bpf_get_first_key(self.map_fd, ct.byref(next_key), 287 res = lib.bpf_get_next_key(self.map_fd, ct.byref(key), 288 ct.byref(next_key)) [all …]
|
/external/chromium-trace/catapult/common/py_trace_event/py_trace_event/ |
D | trace_time.py | 66 libc.mach_timebase_info(ctypes.byref(timebase)) 133 ctypes.byref(frequency)) 156 ctypes.byref(qpc_frequency)) 161 qpc(ctypes.byref(qpc_return))
|
/external/swiftshader/third_party/llvm-7.0/llvm/bindings/python/llvm/ |
D | bit_reader.py | 10 from ctypes import byref 19 result = lib.LLVMParseBitcode2(mem_buffer, byref(module))
|
/external/llvm/bindings/python/llvm/ |
D | bit_reader.py | 10 from ctypes import byref 19 result = lib.LLVMParseBitcode2(mem_buffer, byref(module))
|
/external/clang/test/SemaObjC/ |
D | method-encoding-2.m | 5 - (in out bycopy id) address:(byref inout void *)location with:(out oneway unsigned **)arg2; 10 - (in out bycopy id) address:(byref inout void *)location with:(out oneway unsigned **)arg2{ return…
|