/external/clang/test/CodeGen/ |
block-3.c | 6 __attribute__((__blocks__(byref))) int index = ({ int __a; int __b; __a < __b ? __b : __a; });
|
/external/llvm/bindings/python/llvm/ |
bit_reader.py | 10 from ctypes import byref 19 result = lib.LLVMParseBitcode2(mem_buffer, byref(module))
|
/external/swiftshader/third_party/llvm-7.0/llvm/bindings/python/llvm/ |
bit_reader.py | 10 from ctypes import byref 19 result = lib.LLVMParseBitcode2(mem_buffer, byref(module))
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
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/chromium-trace/catapult/third_party/pyserial/serial/tools/ |
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...] |
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/python/cpython2/Lib/test/ |
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/ |
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/python/cpython2/Lib/ctypes/test/ |
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] [all...] |
test_parameters.py | 54 from ctypes import c_char_p, byref 74 from ctypes import byref, c_wchar_p 106 # returned by byref(obj), it type(obj) == typ 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))) [all...] |
test_functions.py | 88 self.assertEqual(None, f(1, 2, byref(result))) 201 arg = byref(v) 205 self.assertRaises(ArgumentError, f, byref(c_short(22))) 209 result = f(byref(c_int(99))) 319 result = dll._testfunc_byval(ptin, byref(ptout)) 329 result = dll._testfunc_byval(ptin, byref(ptout))
|
test_win32.py | 101 self.assertEqual(1, PointInRect(byref(rect), pt)) 109 byref(rect), pt, rect)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/pybench/ |
systimes.py | 137 ctypes.byref(creationtime),
138 ctypes.byref(exittime),
139 ctypes.byref(kerneltime),
140 ctypes.byref(usertime))
|
/external/python/cpython2/Tools/pybench/ |
systimes.py | 137 ctypes.byref(creationtime), 138 ctypes.byref(exittime), 139 ctypes.byref(kerneltime), 140 ctypes.byref(usertime))
|
/external/clang/test/CXX/expr/expr.prim/expr.prim.lambda/ |
p23.cpp | 27 auto byref = [&values...]() { print(values...); }; local 28 byref();
|
/external/python/cpython3/Lib/ctypes/test/ |
test_parameters.py | 101 # returned by byref(obj), it type(obj) == typ 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))) [all...] |
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] [all...] |
test_functions.py | 88 self.assertEqual(None, f(1, 2, byref(result))) 201 arg = byref(v) 205 self.assertRaises(ArgumentError, f, byref(c_short(22))) 209 result = f(byref(c_int(99))) 319 result = dll._testfunc_byval(ptin, byref(ptout)) 329 result = dll._testfunc_byval(ptin, byref(ptout))
|
/external/chromium-trace/catapult/third_party/pyserial/serial/ |
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) [all...] |
/external/autotest/client/common_lib/ |
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) [all...] |
/external/sonivox/jet_tools/JetCreator/ |
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/chromium-trace/catapult/common/py_trace_event/py_trace_event/ |
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/clang/test/SemaCXX/ |
blocks.cpp | 50 __attribute__((__blocks__(byref))) bool hasProperty = false;
|
/external/capstone/bindings/python/capstone/ |
__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) [all...] |
/external/bcc/src/python/bcc/ |
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) [all...] |