/external/clang/test/CodeGenObjC/ |
2008-11-25-Blocks.m | 10 __attribute__((__blocks__(byref))) bork* new = ((void *)0); 14 __attribute__((__blocks__(byref))) id var;
|
block-byref-variable-layout.m | 23 // Inline flag for BYREF variable layout (1107296256): BLOCK_BYREF_HAS_COPY_DISPOSE BLOCK_BYREF_LAYOUT_WEAK 27 // Inline flag for BYREF variable layout (536870912): BLOCK_BYREF_LAYOUT_NON_OBJECT 31 // Inline flag for BYREF variable layout (838860800): BLOCK_BYREF_HAS_COPY_DISPOSE BLOCK_BYREF_LAYOUT_STRONG 35 // Inline flag for BYREF variable layout (268435456): BLOCK_BYREF_LAYOUT_EXTENDED 36 // BYREF variable layout: BL_NON_OBJECT_WORD:3, BL_UNRETAINED:1, BL_OPERATOR:0
|
block-byref-debuginfo.m | 5 // expression (256) that locates it inside of the byref descriptor: 15 __attribute__((__blocks__(byref))) struct Foo foo;
|
blocks-3.m | 4 // 1x for the object-pointer byref copy helper 5 // 1x for the block-pointer byref copy helper
|
/external/clang/test/SemaObjC/ |
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 0; }
|
block-on-method-param.m | 6 - (void) compileSandboxProfileAndReturnError:(__attribute__((__blocks__(byref))) id)errorp; // expected-error {{__block attribute not allowed, only allowed on local variables}} 10 - (void) compileSandboxProfileAndReturnError:(__attribute__((__blocks__(byref))) id)errorp {} // expected-error {{__block attribute not allowed, only allowed on local variables}}
|
/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...] |
/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/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...] |
/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...] |
/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...] |
/external/clang/test/CodeGenObjCXX/ |
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/llvm/bindings/python/llvm/ |
bit_reader.py | 10 from ctypes import byref 19 result = lib.LLVMParseBitcode2(mem_buffer, byref(module))
|
/external/clang/test/CodeGen/ |
block-3.c | 6 __attribute__((__blocks__(byref))) int index = ({ int __a; int __b; __a < __b ? __b : __a; });
|
/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/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/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/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/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/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/Lib/ctypes/test/ |
test_parameters.py | 100 # returned by byref(obj), it type(obj) == typ 101 from ctypes import c_short, c_uint, c_int, c_long, POINTER, byref 104 LPINT.from_param(byref(c_int(42))) 106 self.assertRaises(TypeError, LPINT.from_param, byref(c_short(22))) 108 self.assertRaises(TypeError, LPINT.from_param, byref(c_long(22))) 109 self.assertRaises(TypeError, LPINT.from_param, byref(c_uint(22))) 113 from ctypes import c_short, c_uint, c_int, c_long, pointer, POINTER, byref 116 LPLPINT.from_param(byref(pointer(c_int(42)))) 118 self.assertRaises(TypeError, LPLPINT.from_param, byref(pointer(c_short(22)))) 120 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...] |
/external/llvm/test/Transforms/ObjCARC/ |
escape.ll | 20 %byref.isa = getelementptr inbounds %struct.__block_byref_weakLogNTimes, %struct.__block_byref_weakLogNTimes* %weakLogNTimes, i64 0, i32 0 21 store i8* null, i8** %byref.isa, align 8 22 %byref.forwarding = getelementptr inbounds %struct.__block_byref_weakLogNTimes, %struct.__block_byref_weakLogNTimes* %weakLogNTimes, i64 0, i32 1 23 store %struct.__block_byref_weakLogNTimes* %weakLogNTimes, %struct.__block_byref_weakLogNTimes** %byref.forwarding, align 8 24 %byref.flags = getelementptr inbounds %struct.__block_byref_weakLogNTimes, %struct.__block_byref_weakLogNTimes* %weakLogNTimes, i64 0, i32 2 25 store i32 33554432, i32* %byref.flags, align 8 26 %byref.size = getelementptr inbounds %struct.__block_byref_weakLogNTimes, %struct.__block_byref_weakLogNTimes* %weakLogNTimes, i64 0, i32 3 27 store i32 48, i32* %byref.size, align 4 50 %tmp8 = load %struct.__block_byref_weakLogNTimes*, %struct.__block_byref_weakLogNTimes** %byref.forwarding, align 8 75 %byref.isa = getelementptr inbounds %struct.__block_byref_weakLogNTimes, %struct.__block_byref_weakLogNTi (…) [all...] |