/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))
|
/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...] |
/external/python/cpython2/Lib/ctypes/test/ |
test_parameters.py | 53 from ctypes import c_char_p, byref 73 from ctypes import byref, c_wchar_p 105 # returned by byref(obj), it type(obj) == typ 106 from ctypes import c_short, c_uint, c_int, c_long, pointer, POINTER, byref 109 LPINT.from_param(byref(c_int(42))) 111 self.assertRaises(TypeError, LPINT.from_param, byref(c_short(22))) 113 self.assertRaises(TypeError, LPINT.from_param, byref(c_long(22))) 114 self.assertRaises(TypeError, LPINT.from_param, byref(c_uint(22))) 118 from ctypes import c_short, c_uint, c_int, c_long, pointer, POINTER, byref 121 LPLPINT.from_param(byref(pointer(c_int(42))) [all...] |
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...] |
/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,
|
/prebuilts/gdb/darwin-x86/lib/python2.7/ctypes/test/ |
test_parameters.py | 53 from ctypes import c_char_p, byref 72 from ctypes import byref 109 # returned by byref(obj), it type(obj) == typ 110 from ctypes import c_short, c_uint, c_int, c_long, pointer, POINTER, byref 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 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...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/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,
|
/prebuilts/gdb/linux-x86/lib/python2.7/ctypes/test/ |
test_parameters.py | 53 from ctypes import c_char_p, byref 72 from ctypes import byref 109 # returned by byref(obj), it type(obj) == typ 110 from ctypes import c_short, c_uint, c_int, c_long, pointer, POINTER, byref 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 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...] |
/prebuilts/gdb/linux-x86/lib/python2.7/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,
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ctypes/test/ |
test_parameters.py | 53 from ctypes import c_char_p, byref 72 from ctypes import byref 109 # returned by byref(obj), it type(obj) == typ 110 from ctypes import c_short, c_uint, c_int, c_long, pointer, POINTER, byref 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 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...] |
/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 22 PyOS_ascii_formatd(byref(buf), sizeof(buf), '%+.10f', 49 PyOS_ascii_formatd(byref(buf), sizeof(buf), format,
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ctypes/test/ |
test_parameters.py | 53 from ctypes import c_char_p, byref 72 from ctypes import byref 109 # returned by byref(obj), it type(obj) == typ 110 from ctypes import c_short, c_uint, c_int, c_long, pointer, POINTER, byref 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 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...] |
/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 22 PyOS_ascii_formatd(byref(buf), sizeof(buf), '%+.10f', 49 PyOS_ascii_formatd(byref(buf), sizeof(buf), format,
|
/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/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...] |