HomeSort by relevance Sort by last modified time
    Searched refs:byref (Results 1 - 25 of 41) sorted by null

1 2

  /external/clang/test/CodeGen/
block-3.c 6 __attribute__((__blocks__(byref))) int index = ({ int __a; int __b; __a < __b ? __b : __a; });
  /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))
test_numbers.py 22 ArgType = type(byref(c_int(0)))
99 # calling byref returns also a PyCArgObject instance
101 parm = byref(t())
  /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 )
test_as_parameter.py 150 result = dll._testfunc_byval(ptin, byref(ptout))
160 result = dll._testfunc_byval(self.wrap(ptin), byref(ptout))
  /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/llvm/bindings/python/llvm/
core.py 17 from ctypes import byref namespace
79 byref(memory), byref(out))
disassembler.py 13 from ctypes import byref namespace
  /external/clang/test/CXX/expr/expr.prim/expr.prim.lambda/
p23.cpp 27 auto byref = [&values...]() { print(values...); }; local
28 byref();
  /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/clang/test/SemaCXX/
blocks.cpp 50 __attribute__((__blocks__(byref))) bool hasProperty = false;
  /external/chromium_org/chrome/test/functional/media/
audio_tools.py 68 ctypes.byref(ctypes.c_long()))
  /external/chromium_org/tools/telemetry/telemetry/core/platform/
win_platform_backend.py 72 ctypes.byref(performance_info), performance_info.size)

Completed in 707 milliseconds

1 2