/prebuilts/misc/common/swig/include/2.0.11/typemaps/ |
implicit.swg | 90 %typemap_traits_ptr(%checkcode(POINTER),Type); 126 %typemap_traits_ptr(%checkcode(POINTER),Type); 165 %typemap_traits_ptr(%checkcode(POINTER),Type); 207 %typemap_traits_ptr(%checkcode(POINTER),Type);
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ctypes/test/ |
test_values.py | 45 # pointer to an array of struct _frozen entries. The end of the 54 ("code", POINTER(c_ubyte)), 56 FrozenTable = POINTER(struct_frozen) 59 # ft is a pointer to the struct_frozen entries: 62 # This is dangerous. We *can* iterate over a pointer, but 64 # violation;-) because the pointer instance has no size.
|
test_prototypes.py | 19 # and the pointer passed to (and returned by) the function would 76 func.argtypes = POINTER(c_int), 83 func.argtypes = POINTER(c_short), 86 func.argtypes = POINTER(c_double), 92 func.argtypes = POINTER(c_char), 101 self.assertEqual("a", func(pointer(ca))[0]) 116 self.assertEqual("a", func(pointer(ca))[0]) 131 self.assertEqual("a", func(pointer(ca))[0]) 135 func(pointer(c_int())) 175 func.argtypes = POINTER(c_wchar) [all...] |
test_slicing.py | 69 dll.my_strdup.restype = POINTER(c_char) 95 dll.my_strdup.restype = POINTER(c_byte) 143 dll.my_wcsdup.restype = POINTER(c_wchar) 144 dll.my_wcsdup.argtypes = POINTER(c_wchar), 160 dll.my_wcsdup.restype = POINTER(c_short) 162 dll.my_wcsdup.restype = POINTER(c_int) 164 dll.my_wcsdup.restype = POINTER(c_long)
|
test_as_parameter.py | 34 f.restype = POINTER(c_int) 35 f.argtypes = [POINTER(c_int)] 38 # function is still alive while the pointer (the result) is 43 self.assertEqual(pointer(v).contents.value, 42) 44 result = f(self.wrap(pointer(v))) 45 self.assertEqual(type(result), POINTER(c_int)) 49 result = f(self.wrap(pointer(v))) 52 p = pointer(c_int(99)) 158 dll._testfunc_byval.argtypes = (POINT, POINTER(POINT))
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ctypes/test/ |
test_values.py | 45 # pointer to an array of struct _frozen entries. The end of the 54 ("code", POINTER(c_ubyte)), 56 FrozenTable = POINTER(struct_frozen) 59 # ft is a pointer to the struct_frozen entries: 62 # This is dangerous. We *can* iterate over a pointer, but 64 # violation;-) because the pointer instance has no size.
|
test_prototypes.py | 19 # and the pointer passed to (and returned by) the function would 76 func.argtypes = POINTER(c_int), 83 func.argtypes = POINTER(c_short), 86 func.argtypes = POINTER(c_double), 92 func.argtypes = POINTER(c_char), 101 self.assertEqual("a", func(pointer(ca))[0]) 116 self.assertEqual("a", func(pointer(ca))[0]) 131 self.assertEqual("a", func(pointer(ca))[0]) 135 func(pointer(c_int())) 175 func.argtypes = POINTER(c_wchar) [all...] |
test_slicing.py | 69 dll.my_strdup.restype = POINTER(c_char) 95 dll.my_strdup.restype = POINTER(c_byte) 143 dll.my_wcsdup.restype = POINTER(c_wchar) 144 dll.my_wcsdup.argtypes = POINTER(c_wchar), 160 dll.my_wcsdup.restype = POINTER(c_short) 162 dll.my_wcsdup.restype = POINTER(c_int) 164 dll.my_wcsdup.restype = POINTER(c_long)
|
test_as_parameter.py | 34 f.restype = POINTER(c_int) 35 f.argtypes = [POINTER(c_int)] 38 # function is still alive while the pointer (the result) is 43 self.assertEqual(pointer(v).contents.value, 42) 44 result = f(self.wrap(pointer(v))) 45 self.assertEqual(type(result), POINTER(c_int)) 49 result = f(self.wrap(pointer(v))) 52 p = pointer(c_int(99)) 158 dll._testfunc_byval.argtypes = (POINT, POINTER(POINT))
|
/external/chromium-trace/catapult/telemetry/third_party/pyserial/serial/ |
win32.py | 18 # ULONG_PTR is a an ordinary number, not a pointer and contrary to the name it 31 LPSECURITY_ATTRIBUTES = POINTER(_SECURITY_ATTRIBUTES) 78 LPOVERLAPPED = POINTER(_OVERLAPPED) 79 LPDWORD = POINTER(DWORD) 109 LPCOMSTAT = POINTER(_COMSTAT) 127 LPDCB = POINTER(_DCB) 133 LPCOMMTIMEOUTS = POINTER(_COMMTIMEOUTS) 233 ('Pointer', PVOID),
|
/prebuilts/gdb/darwin-x86/lib/python2.7/ctypes/test/ |
test_prototypes.py | 19 # and the pointer passed to (and returned by) the function would 76 func.argtypes = POINTER(c_int), 83 func.argtypes = POINTER(c_short), 86 func.argtypes = POINTER(c_double), 92 func.argtypes = POINTER(c_char), 101 self.assertEqual("a", func(pointer(ca))[0]) 116 self.assertEqual("a", func(pointer(ca))[0]) 131 self.assertEqual("a", func(pointer(ca))[0]) 135 func(pointer(c_int())) 175 func.argtypes = POINTER(c_wchar) [all...] |
test_slicing.py | 69 dll.my_strdup.restype = POINTER(c_char) 95 dll.my_strdup.restype = POINTER(c_byte) 143 dll.my_wcsdup.restype = POINTER(c_wchar) 144 dll.my_wcsdup.argtypes = POINTER(c_wchar), 160 dll.my_wcsdup.restype = POINTER(c_short) 162 dll.my_wcsdup.restype = POINTER(c_int) 164 dll.my_wcsdup.restype = POINTER(c_long)
|
test_as_parameter.py | 34 f.restype = POINTER(c_int) 35 f.argtypes = [POINTER(c_int)] 38 # function is still alive while the pointer (the result) is 43 self.assertEqual(pointer(v).contents.value, 42) 44 result = f(self.wrap(pointer(v))) 45 self.assertEqual(type(result), POINTER(c_int)) 49 result = f(self.wrap(pointer(v))) 52 p = pointer(c_int(99)) 158 dll._testfunc_byval.argtypes = (POINT, POINTER(POINT))
|
test_keeprefs.py | 93 x = pointer(i) 99 _fields_ = [("p", POINTER(c_char_p))] 104 x.p = pointer(i) 132 _fields_ = [("a", POINTER(POINT)), 133 ("b", POINTER(POINT))] 137 r.a = pointer(p1) 138 r.b = pointer(p1)
|
/prebuilts/gdb/linux-x86/lib/python2.7/ctypes/test/ |
test_prototypes.py | 19 # and the pointer passed to (and returned by) the function would 76 func.argtypes = POINTER(c_int), 83 func.argtypes = POINTER(c_short), 86 func.argtypes = POINTER(c_double), 92 func.argtypes = POINTER(c_char), 101 self.assertEqual("a", func(pointer(ca))[0]) 116 self.assertEqual("a", func(pointer(ca))[0]) 131 self.assertEqual("a", func(pointer(ca))[0]) 135 func(pointer(c_int())) 175 func.argtypes = POINTER(c_wchar) [all...] |
test_slicing.py | 69 dll.my_strdup.restype = POINTER(c_char) 95 dll.my_strdup.restype = POINTER(c_byte) 143 dll.my_wcsdup.restype = POINTER(c_wchar) 144 dll.my_wcsdup.argtypes = POINTER(c_wchar), 160 dll.my_wcsdup.restype = POINTER(c_short) 162 dll.my_wcsdup.restype = POINTER(c_int) 164 dll.my_wcsdup.restype = POINTER(c_long)
|
test_as_parameter.py | 34 f.restype = POINTER(c_int) 35 f.argtypes = [POINTER(c_int)] 38 # function is still alive while the pointer (the result) is 43 self.assertEqual(pointer(v).contents.value, 42) 44 result = f(self.wrap(pointer(v))) 45 self.assertEqual(type(result), POINTER(c_int)) 49 result = f(self.wrap(pointer(v))) 52 p = pointer(c_int(99)) 158 dll._testfunc_byval.argtypes = (POINT, POINTER(POINT))
|
test_keeprefs.py | 93 x = pointer(i) 99 _fields_ = [("p", POINTER(c_char_p))] 104 x.p = pointer(i) 132 _fields_ = [("a", POINTER(POINT)), 133 ("b", POINTER(POINT))] 137 r.a = pointer(p1) 138 r.b = pointer(p1)
|
/external/opencv3/3rdparty/jinja2/ |
debug.py | 287 ('ob_type', ctypes.POINTER(_PyObject)) 295 ('_ob_next', ctypes.POINTER(_PyObject)), 296 ('_ob_prev', ctypes.POINTER(_PyObject)), 298 ('ob_type', ctypes.POINTER(_PyObject)) 304 ('tb_next', ctypes.POINTER(_Traceback)), 305 ('tb_frame', ctypes.POINTER(_PyObject)), 320 obj.tb_next = ctypes.POINTER(_Traceback)() 324 obj.tb_next = ctypes.pointer(next)
|
/external/autotest/client/deps/pyxinput/src/ |
xi2reader.py | 36 ctypes.POINTER(ctypes.c_ubyte)) 44 xi2.XISelectEvents(self._display, self._window, ctypes.pointer(mask), 1) 69 ctypes.pointer(num_devices)).contents 75 ctypes.POINTER(xi2.XIValuatorClassInfo)).contents 108 xlib.XNextEvent(self._display, ctypes.pointer(xevent)) 112 result = xlib.XGetEventData(self._display, ctypes.pointer(cookie)) 117 ctypes.POINTER(xi2.XIRawEvent))
|
/external/libchrome/base/strings/ |
safe_sprintf.h | 62 // It is still not legal to mix-and-match integer-like values with pointer 63 // values. For instance, you cannot pass a pointer to %x, nor can you pass an 138 enum Type { INT, UINT, STRING, POINTER }; 186 // Any pointer value that can be cast to a "void*". 187 template<class T> Arg(T* p) : ptr((void*)p), type(POINTER) { } 199 // A pointer to an arbitrary object.
|
/external/llvm/bindings/python/llvm/ |
common.py | 10 from ctypes import POINTER 26 c_object_p = POINTER(c_void_p)
|
/external/chromium-trace/catapult/telemetry/third_party/pyserial/serial/tools/ |
list_ports_windows.py | 27 LPDWORD = PDWORD = ctypes.POINTER(DWORD) 28 #~ LPBYTE = PBYTE = ctypes.POINTER(BYTE) 72 PSP_DEVINFO_DATA = ctypes.POINTER(SP_DEVINFO_DATA) 82 SetupDiClassGuidsFromName.argtypes = [PCTSTR, ctypes.POINTER(GUID), DWORD, PDWORD] 90 SetupDiGetClassDevs.argtypes = [ctypes.POINTER(GUID), PCTSTR, HWND, DWORD]
|
/external/autotest/client/common_lib/ |
smogcheck_tpm.py | 27 from ctypes import c_uint, c_uint32, cdll, c_bool, Structure, POINTER, \ 29 c_char_p, addressof, c_char, pointer namespace 97 ('vendorSpecific', POINTER(c_ubyte))] 108 vi.vendorSpecific = cast(pointer(vendorDetail), POINTER(c_ubyte)) 136 pResult: a c_char_p, pointer to result. 189 # Calling the pointer type without an argument creates a NULL pointer 191 POINTER(c_byte)()) != 0: 239 POINTER(c_uint16)()) != 0 [all...] |
/external/v8/src/ |
string-stream.h | 79 FmtElm(void* value) : type_(POINTER) { // NOLINT 85 enum Type { INT, DOUBLE, C_STR, LC_STR, OBJ, HANDLE, POINTER };
|