/external/clang/test/CodeGen/ |
block-3.c | 6 __attribute__((__blocks__(byref))) int index = ({ int __a; int __b; __a < __b ? __b : __a; });
|
/external/chromium_org/tools/telemetry/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/llvm/bindings/python/llvm/ |
bit_reader.py | 10 from ctypes import byref namespace 20 result = lib.LLVMParseBitcode(mem_buffer, byref(module), byref(out))
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ctypes/test/ |
test_parameters.py | 53 from ctypes import c_char_p, byref namespace 72 from ctypes import byref namespace 109 # returned by byref(obj), it type(obj) == typ 110 from ctypes import c_short, c_uint, c_int, c_long, pointer, POINTER, byref namespace 113 LPINT.from_param(byref(c_int(42))) 115 self.assertRaises(TypeError, LPINT.from_param, byref(c_short(22))) 117 self.assertRaises(TypeError, LPINT.from_param, byref(c_long(22))) 118 self.assertRaises(TypeError, LPINT.from_param, byref(c_uint(22))) 122 from ctypes import c_short, c_uint, c_int, c_long, pointer, POINTER, byref namespace 125 LPLPINT.from_param(byref(pointer(c_int(42))) [all...] |
test_prototypes.py | 78 positive_address(func(byref(ci)))) 81 self.assertRaises(ArgumentError, func, byref(ci)) 84 self.assertRaises(ArgumentError, func, byref(ci)) 87 self.assertRaises(ArgumentError, func, byref(ci)) 102 self.assertEqual("a", func(byref(ca))[0]) 117 self.assertEqual("a", func(byref(ca))[0]) 132 self.assertEqual("a", func(byref(ca))[0]) 134 func(byref(c_int())) 185 self.assertEqual(u"a", func(byref(ca))[0]) 203 self.assertEqual("a", func(byref(ca))[0] [all...] |
test_functions.py | 93 self.assertEqual(None, f(1, 2, byref(result))) 209 arg = byref(v) 213 self.assertRaises(ArgumentError, f, byref(c_short(22))) 217 result = f(byref(c_int(99))) 326 result = dll._testfunc_byval(ptin, byref(ptout)) 336 result = dll._testfunc_byval(ptin, byref(ptout))
|
test_win32.py | 90 self.assertEqual(1, dll.PointInRect(byref(rect), pt))
|
test_pointers.py | 29 address = func(byref(i)) 80 ## callback(byref(i)) 145 result = func( byref(argc), argv )
|
test_as_parameter.py | 150 result = dll._testfunc_byval(ptin, byref(ptout)) 160 result = dll._testfunc_byval(self.wrap(ptin), byref(ptout))
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_ascii_formatd.py | 11 from ctypes import pythonapi, create_string_buffer, sizeof, byref, c_double namespace 22 PyOS_ascii_formatd(byref(buf), sizeof(buf), '%+.10f', 49 PyOS_ascii_formatd(byref(buf), sizeof(buf), format,
|
symlink_support.py | 70 ctypes.byref(result_buffer),
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ctypes/test/ |
test_parameters.py | 53 from ctypes import c_char_p, byref namespace 72 from ctypes import byref namespace 109 # returned by byref(obj), it type(obj) == typ 110 from ctypes import c_short, c_uint, c_int, c_long, pointer, POINTER, byref namespace 113 LPINT.from_param(byref(c_int(42))) 115 self.assertRaises(TypeError, LPINT.from_param, byref(c_short(22))) 117 self.assertRaises(TypeError, LPINT.from_param, byref(c_long(22))) 118 self.assertRaises(TypeError, LPINT.from_param, byref(c_uint(22))) 122 from ctypes import c_short, c_uint, c_int, c_long, pointer, POINTER, byref namespace 125 LPLPINT.from_param(byref(pointer(c_int(42))) [all...] |
test_prototypes.py | 78 positive_address(func(byref(ci)))) 81 self.assertRaises(ArgumentError, func, byref(ci)) 84 self.assertRaises(ArgumentError, func, byref(ci)) 87 self.assertRaises(ArgumentError, func, byref(ci)) 102 self.assertEqual("a", func(byref(ca))[0]) 117 self.assertEqual("a", func(byref(ca))[0]) 132 self.assertEqual("a", func(byref(ca))[0]) 134 func(byref(c_int())) 185 self.assertEqual(u"a", func(byref(ca))[0]) 203 self.assertEqual("a", func(byref(ca))[0] [all...] |
test_functions.py | 93 self.assertEqual(None, f(1, 2, byref(result))) 209 arg = byref(v) 213 self.assertRaises(ArgumentError, f, byref(c_short(22))) 217 result = f(byref(c_int(99))) 326 result = dll._testfunc_byval(ptin, byref(ptout)) 336 result = dll._testfunc_byval(ptin, byref(ptout))
|
test_win32.py | 90 self.assertEqual(1, dll.PointInRect(byref(rect), pt))
|
test_pointers.py | 29 address = func(byref(i)) 80 ## callback(byref(i)) 145 result = func( byref(argc), argv )
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_ascii_formatd.py | 11 from ctypes import pythonapi, create_string_buffer, sizeof, byref, c_double namespace 22 PyOS_ascii_formatd(byref(buf), sizeof(buf), '%+.10f', 49 PyOS_ascii_formatd(byref(buf), sizeof(buf), format,
|
symlink_support.py | 70 ctypes.byref(result_buffer),
|
/external/clang/test/CXX/expr/expr.prim/expr.prim.lambda/ |
p23.cpp | 27 auto byref = [&values...]() { print(values...); }; local 28 byref();
|
/external/chromium_org/tools/telemetry/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/chromium_org/tools/telemetry/telemetry/core/platform/ |
msr_server_win.py | 74 ctypes.byref(low), ctypes.byref(high))
|
/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_org/build/toolchain/ |
get_concurrent_links.py | 36 ctypes.windll.kernel32.GlobalMemoryStatusEx(ctypes.byref(stat))
|
/external/clang/test/SemaCXX/ |
blocks.cpp | 50 __attribute__((__blocks__(byref))) bool hasProperty = false;
|