/prebuilts/go/darwin-x86/test/fixedbugs/issue4326.dir/ |
q1.go | 3 func Deref(typ interface{}) interface{} { 4 if typ, ok := typ.(*int); ok { 5 return *typ 7 return typ
|
/prebuilts/go/linux-x86/test/fixedbugs/issue4326.dir/ |
q1.go | 3 func Deref(typ interface{}) interface{} { 4 if typ, ok := typ.(*int); ok { 5 return *typ 7 return typ
|
/external/python/cpython2/Lib/ctypes/ |
_endian.py | 6 def _other_endian(typ): 12 # check _OTHER_ENDIAN attribute (present if typ is primitive type) 13 if hasattr(typ, _OTHER_ENDIAN): 14 return getattr(typ, _OTHER_ENDIAN) 15 # if typ is array 16 if isinstance(typ, _array_type): 17 return _other_endian(typ._type_) * typ._length_ 18 # if typ is structure 19 if issubclass(typ, Structure) [all...] |
/external/python/cpython3/Lib/ctypes/ |
_endian.py | 6 def _other_endian(typ): 12 # check _OTHER_ENDIAN attribute (present if typ is primitive type) 13 if hasattr(typ, _OTHER_ENDIAN): 14 return getattr(typ, _OTHER_ENDIAN) 15 # if typ is array 16 if isinstance(typ, _array_type): 17 return _other_endian(typ._type_) * typ._length_ 18 # if typ is structure 19 if issubclass(typ, Structure) [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/ctypes/ |
_endian.py | 9 def _other_endian(typ): 15 # check _OTHER_ENDIAN attribute (present if typ is primitive type) 16 if hasattr(typ, _OTHER_ENDIAN): 17 return getattr(typ, _OTHER_ENDIAN) 18 # if typ is array 19 if isinstance(typ, _array_type): 20 return _other_endian(typ._type_) * typ._length_ 21 # if typ is structure 22 if issubclass(typ, Structure) [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/ctypes/ |
_endian.py | 9 def _other_endian(typ): 15 # check _OTHER_ENDIAN attribute (present if typ is primitive type) 16 if hasattr(typ, _OTHER_ENDIAN): 17 return getattr(typ, _OTHER_ENDIAN) 18 # if typ is array 19 if isinstance(typ, _array_type): 20 return _other_endian(typ._type_) * typ._length_ 21 # if typ is structure 22 if issubclass(typ, Structure) [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ctypes/ |
_endian.py | 9 def _other_endian(typ): 15 # check _OTHER_ENDIAN attribute (present if typ is primitive type) 16 if hasattr(typ, _OTHER_ENDIAN): 17 return getattr(typ, _OTHER_ENDIAN) 18 # if typ is array 19 if isinstance(typ, _array_type): 20 return _other_endian(typ._type_) * typ._length_ 21 # if typ is structure 22 if issubclass(typ, Structure) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ctypes/ |
_endian.py | 9 def _other_endian(typ): 15 # check _OTHER_ENDIAN attribute (present if typ is primitive type) 16 if hasattr(typ, _OTHER_ENDIAN): 17 return getattr(typ, _OTHER_ENDIAN) 18 # if typ is array 19 if isinstance(typ, _array_type): 20 return _other_endian(typ._type_) * typ._length_ 21 # if typ is structure 22 if issubclass(typ, Structure) [all...] |
/external/python/cpython2/Lib/ctypes/test/ |
test_unaligned_structures.py | 13 for typ in [c_short, c_int, c_long, c_longlong, 19 ("value", typ)] 23 ("value", typ)] 29 for typ in structures: 30 ## print typ.value 31 self.assertEqual(typ.value.offset, 1) 32 o = typ() 37 for typ in byteswapped_structures: 38 ## print >> sys.stderr, typ.value 39 self.assertEqual(typ.value.offset, 1 [all...] |
/external/python/cpython3/Lib/ctypes/test/ |
test_unaligned_structures.py | 13 for typ in [c_short, c_int, c_long, c_longlong, 19 ("value", typ)] 23 ("value", typ)] 29 for typ in structures: 30 ## print typ.value 31 self.assertEqual(typ.value.offset, 1) 32 o = typ() 37 for typ in byteswapped_structures: 38 ## print >> sys.stderr, typ.value 39 self.assertEqual(typ.value.offset, 1 [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/ctypes/test/ |
test_unaligned_structures.py | 13 for typ in [c_short, c_int, c_long, c_longlong, 19 ("value", typ)] 23 ("value", typ)] 29 for typ in structures: 30 ## print typ.value 31 self.assertEqual(typ.value.offset, 1) 32 o = typ() 37 for typ in byteswapped_structures: 38 ## print >> sys.stderr, typ.value 39 self.assertEqual(typ.value.offset, 1 [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/ctypes/test/ |
test_unaligned_structures.py | 13 for typ in [c_short, c_int, c_long, c_longlong, 19 ("value", typ)] 23 ("value", typ)] 29 for typ in structures: 30 ## print typ.value 31 self.assertEqual(typ.value.offset, 1) 32 o = typ() 37 for typ in byteswapped_structures: 38 ## print >> sys.stderr, typ.value 39 self.assertEqual(typ.value.offset, 1 [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ctypes/test/ |
test_unaligned_structures.py | 13 for typ in [c_short, c_int, c_long, c_longlong, 19 ("value", typ)] 23 ("value", typ)] 29 for typ in structures: 30 ## print typ.value 31 self.assertEqual(typ.value.offset, 1) 32 o = typ() 37 for typ in byteswapped_structures: 38 ## print >> sys.stderr, typ.value 39 self.assertEqual(typ.value.offset, 1 [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ctypes/test/ |
test_unaligned_structures.py | 13 for typ in [c_short, c_int, c_long, c_longlong, 19 ("value", typ)] 23 ("value", typ)] 29 for typ in structures: 30 ## print typ.value 31 self.assertEqual(typ.value.offset, 1) 32 o = typ() 37 for typ in byteswapped_structures: 38 ## print >> sys.stderr, typ.value 39 self.assertEqual(typ.value.offset, 1 [all...] |
/external/compiler-rt/lib/tsan/rtl/ |
tsan_suppressions.h | 33 uptr IsSuppressed(ReportType typ, const ReportStack *stack, Suppression **sp); 34 uptr IsSuppressed(ReportType typ, const ReportLocation *loc, Suppression **sp);
|
tsan_suppressions.cc | 68 static const char *conv(ReportType typ) { 69 if (typ == ReportTypeRace) 71 else if (typ == ReportTypeVptrRace) 73 else if (typ == ReportTypeUseAfterFree) 75 else if (typ == ReportTypeVptrUseAfterFree) 77 else if (typ == ReportTypeThreadLeak) 79 else if (typ == ReportTypeMutexDestroyLocked) 81 else if (typ == ReportTypeMutexDoubleLock) 83 else if (typ == ReportTypeMutexInvalidAccess) 85 else if (typ == ReportTypeMutexBadUnlock [all...] |
/prebuilts/go/darwin-x86/src/cmd/compile/internal/ssa/ |
rewritedec64.go | 138 typ := &b.Func.Config.Types 139 _ = typ 142 // result: (Int64Make (Add32withcarry <typ.Int32> (Int64Hi x) (Int64Hi y) (Select1 <types.TypeFlags> (Add32carry (Int64Lo x) (Int64Lo y)))) (Select0 <typ.UInt32> (Add32carry (Int64Lo x) (Int64Lo y)))) 148 v0 := b.NewValue0(v.Pos, OpAdd32withcarry, typ.Int32) 149 v1 := b.NewValue0(v.Pos, OpInt64Hi, typ.UInt32) 152 v2 := b.NewValue0(v.Pos, OpInt64Hi, typ.UInt32) 156 v4 := b.NewValue0(v.Pos, OpAdd32carry, types.NewTuple(typ.UInt32, types.TypeFlags)) 157 v5 := b.NewValue0(v.Pos, OpInt64Lo, typ.UInt32) 160 v6 := b.NewValue0(v.Pos, OpInt64Lo, typ.UInt32 [all...] |
/prebuilts/go/linux-x86/src/cmd/compile/internal/ssa/ |
rewritedec64.go | 138 typ := &b.Func.Config.Types 139 _ = typ 142 // result: (Int64Make (Add32withcarry <typ.Int32> (Int64Hi x) (Int64Hi y) (Select1 <types.TypeFlags> (Add32carry (Int64Lo x) (Int64Lo y)))) (Select0 <typ.UInt32> (Add32carry (Int64Lo x) (Int64Lo y)))) 148 v0 := b.NewValue0(v.Pos, OpAdd32withcarry, typ.Int32) 149 v1 := b.NewValue0(v.Pos, OpInt64Hi, typ.UInt32) 152 v2 := b.NewValue0(v.Pos, OpInt64Hi, typ.UInt32) 156 v4 := b.NewValue0(v.Pos, OpAdd32carry, types.NewTuple(typ.UInt32, types.TypeFlags)) 157 v5 := b.NewValue0(v.Pos, OpInt64Lo, typ.UInt32) 160 v6 := b.NewValue0(v.Pos, OpInt64Lo, typ.UInt32 [all...] |
/external/python/cpython2/Mac/Modules/carbonevt/ |
CarbonEvtsupport.py | 10 for typ in RefObjectTypes: 11 execstr = "%(name)s = OpaqueByValueType('%(name)s')" % {"name": typ} 25 for typ in StructObjectTypes: 26 execstr = "%(name)s = OpaqueType('%(name)s')" % {"name": typ} 202 for typ in RefObjectTypes: 203 if typ == 'EventHandlerRef': 206 execstr = typ + 'object = MyGlobalObjectDefinition(typ)' 208 module.addobject(eval(typ + 'object')) 212 for typ in RefObjectTypes: ## go thru all ObjectTypes as defined in CarbonEventsscan.p [all...] |
/prebuilts/go/darwin-x86/src/go/internal/gccgoimporter/ |
parser_test.go | 16 id, typ, want, underlying, methods string 18 {id: "foo", typ: "<type -1>", want: "int8"}, 19 {id: "foo", typ: "<type 1 *<type -19>>", want: "*error"}, 20 {id: "foo", typ: "<type 1 *any>", want: "unsafe.Pointer"}, 21 {id: "foo", typ: "<type 1 \"Bar\" <type 2 *<type 1>>>", want: "foo.Bar", underlying: "*foo.Bar"}, 22 {id: "foo", typ: "<type 1 \"bar.Foo\" \"bar\" <type -1> func (? <type 1>) M (); >", want: "bar.Foo", underlying: "int8", methods: "func (bar.Foo).M()"}, 23 {id: "foo", typ: "<type 1 \".bar.foo\" \"bar\" <type -1>>", want: "bar.foo", underlying: "int8"}, 24 {id: "foo", typ: "<type 1 []<type -1>>", want: "[]int8"}, 25 {id: "foo", typ: "<type 1 [42]<type -1>>", want: "[42]int8"}, 26 {id: "foo", typ: "<type 1 map [<type -1>] <type -2>>", want: "map[int8]int16"} [all...] |
/prebuilts/go/linux-x86/src/go/internal/gccgoimporter/ |
parser_test.go | 16 id, typ, want, underlying, methods string 18 {id: "foo", typ: "<type -1>", want: "int8"}, 19 {id: "foo", typ: "<type 1 *<type -19>>", want: "*error"}, 20 {id: "foo", typ: "<type 1 *any>", want: "unsafe.Pointer"}, 21 {id: "foo", typ: "<type 1 \"Bar\" <type 2 *<type 1>>>", want: "foo.Bar", underlying: "*foo.Bar"}, 22 {id: "foo", typ: "<type 1 \"bar.Foo\" \"bar\" <type -1> func (? <type 1>) M (); >", want: "bar.Foo", underlying: "int8", methods: "func (bar.Foo).M()"}, 23 {id: "foo", typ: "<type 1 \".bar.foo\" \"bar\" <type -1>>", want: "bar.foo", underlying: "int8"}, 24 {id: "foo", typ: "<type 1 []<type -1>>", want: "[]int8"}, 25 {id: "foo", typ: "<type 1 [42]<type -1>>", want: "[42]int8"}, 26 {id: "foo", typ: "<type 1 map [<type -1>] <type -2>>", want: "map[int8]int16"} [all...] |
/prebuilts/go/darwin-x86/src/sync/atomic/ |
value.go | 22 typ unsafe.Pointer 30 typ := LoadPointer(&vp.typ) 31 if typ == nil || uintptr(typ) == ^uintptr(0) { 37 xp.typ = typ 52 typ := LoadPointer(&vp.typ) 53 if typ == nil [all...] |
/prebuilts/go/linux-x86/src/sync/atomic/ |
value.go | 22 typ unsafe.Pointer 30 typ := LoadPointer(&vp.typ) 31 if typ == nil || uintptr(typ) == ^uintptr(0) { 37 xp.typ = typ 52 typ := LoadPointer(&vp.typ) 53 if typ == nil [all...] |
/external/libvpx/libvpx/vpx_ports/ |
mem.h | 18 #define DECLARE_ALIGNED(n, typ, val) typ val __attribute__((aligned(n))) 20 #define DECLARE_ALIGNED(n, typ, val) __declspec(align(n)) typ val 23 #define DECLARE_ALIGNED(n, typ, val) typ val
|
/prebuilts/go/darwin-x86/test/fixedbugs/issue19028.dir/ |
main.go | 22 typ := reflect.TypeOf(x) 23 for i := 0; i < typ.NumMethod(); i++ { 24 _ = typ.Method(i) // must not crash
|