/prebuilts/gdb/darwin-x86/lib/python2.7/ctypes/test/ |
test_stringptr.py | 12 _fields_ = [("str", POINTER(c_char))] 23 # POINTER(c_char) and Python string is NOT compatible 24 # POINTER(c_char) and c_buffer() is compatible 50 strchr.argtypes = c_char_p, c_char 54 # POINTER(c_char) and Python string is NOT compatible 55 # POINTER(c_char) and c_buffer() is compatible 56 strchr.argtypes = POINTER(c_char), c_char 65 strchr.restype = POINTER(c_char)
|
test_libc.py | 17 comparefunc = CFUNCTYPE(c_int, POINTER(c_char), POINTER(c_char)) 25 lib.my_qsort(chars, len(chars)-1, sizeof(c_char), comparefunc(sort))
|
test_repr.py | 12 class X(c_char): 25 self.assertEqual("c_char('x')", repr(c_char('x')))
|
test_delattr.py | 14 delattr, (c_char * 5)(), "value")
|
test_returnfuncptrs.py | 14 get_strchr.restype = CFUNCTYPE(c_char_p, c_char_p, c_char) 29 strchr = CFUNCTYPE(c_char_p, c_char_p, c_char)(addr) 39 strchr = CFUNCTYPE(c_char_p, c_char_p, c_char)(("my_strchr", dll)) 57 strchr = CFUNCTYPE(c_char_p, c_char_p, c_char)(
|
test_buffers.py | 9 self.assertEqual(sizeof(b), 32 * sizeof(c_char)) 14 self.assertEqual(sizeof(b), 4 * sizeof(c_char)) 30 self.assertEqual(sizeof(b), 4 * sizeof(c_char))
|
test_structures.py | 46 formats = {"c": c_char, 64 _fields_ = [("x", c_char), 72 _fields_ = [("x", c_char), 79 _fields_ = [("x", c_char * 3)] 84 _fields_ = [("x", c_char * 3), 133 ("y", c_char)] 139 self.assertEqual(X.y.size, sizeof(c_char)) 147 ("y", c_char)] 153 self.assertEqual(X.y.size, sizeof(c_char)) 213 _fields_ = [("name", c_char*6) [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/ctypes/test/ |
test_stringptr.py | 12 _fields_ = [("str", POINTER(c_char))] 23 # POINTER(c_char) and Python string is NOT compatible 24 # POINTER(c_char) and c_buffer() is compatible 50 strchr.argtypes = c_char_p, c_char 54 # POINTER(c_char) and Python string is NOT compatible 55 # POINTER(c_char) and c_buffer() is compatible 56 strchr.argtypes = POINTER(c_char), c_char 65 strchr.restype = POINTER(c_char)
|
test_libc.py | 17 comparefunc = CFUNCTYPE(c_int, POINTER(c_char), POINTER(c_char)) 25 lib.my_qsort(chars, len(chars)-1, sizeof(c_char), comparefunc(sort))
|
test_repr.py | 12 class X(c_char): 25 self.assertEqual("c_char('x')", repr(c_char('x')))
|
test_delattr.py | 14 delattr, (c_char * 5)(), "value")
|
test_returnfuncptrs.py | 14 get_strchr.restype = CFUNCTYPE(c_char_p, c_char_p, c_char) 29 strchr = CFUNCTYPE(c_char_p, c_char_p, c_char)(addr) 39 strchr = CFUNCTYPE(c_char_p, c_char_p, c_char)(("my_strchr", dll)) 57 strchr = CFUNCTYPE(c_char_p, c_char_p, c_char)(
|
test_buffers.py | 9 self.assertEqual(sizeof(b), 32 * sizeof(c_char)) 14 self.assertEqual(sizeof(b), 4 * sizeof(c_char)) 30 self.assertEqual(sizeof(b), 4 * sizeof(c_char))
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ctypes/test/ |
test_stringptr.py | 12 _fields_ = [("str", POINTER(c_char))] 23 # POINTER(c_char) and Python string is NOT compatible 24 # POINTER(c_char) and c_buffer() is compatible 50 strchr.argtypes = c_char_p, c_char 54 # POINTER(c_char) and Python string is NOT compatible 55 # POINTER(c_char) and c_buffer() is compatible 56 strchr.argtypes = POINTER(c_char), c_char 65 strchr.restype = POINTER(c_char)
|
test_libc.py | 17 comparefunc = CFUNCTYPE(c_int, POINTER(c_char), POINTER(c_char)) 25 lib.my_qsort(chars, len(chars)-1, sizeof(c_char), comparefunc(sort))
|
test_repr.py | 12 class X(c_char): 25 self.assertEqual("c_char('x')", repr(c_char('x')))
|
test_delattr.py | 14 delattr, (c_char * 5)(), "value")
|
test_returnfuncptrs.py | 14 get_strchr.restype = CFUNCTYPE(c_char_p, c_char_p, c_char) 29 strchr = CFUNCTYPE(c_char_p, c_char_p, c_char)(addr) 39 strchr = CFUNCTYPE(c_char_p, c_char_p, c_char)(("my_strchr", dll)) 57 strchr = CFUNCTYPE(c_char_p, c_char_p, c_char)(
|
test_buffers.py | 9 self.assertEqual(sizeof(b), 32 * sizeof(c_char)) 14 self.assertEqual(sizeof(b), 4 * sizeof(c_char)) 30 self.assertEqual(sizeof(b), 4 * sizeof(c_char))
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ctypes/test/ |
test_stringptr.py | 12 _fields_ = [("str", POINTER(c_char))] 23 # POINTER(c_char) and Python string is NOT compatible 24 # POINTER(c_char) and c_buffer() is compatible 50 strchr.argtypes = c_char_p, c_char 54 # POINTER(c_char) and Python string is NOT compatible 55 # POINTER(c_char) and c_buffer() is compatible 56 strchr.argtypes = POINTER(c_char), c_char 65 strchr.restype = POINTER(c_char)
|
test_libc.py | 17 comparefunc = CFUNCTYPE(c_int, POINTER(c_char), POINTER(c_char)) 25 lib.my_qsort(chars, len(chars)-1, sizeof(c_char), comparefunc(sort))
|
test_repr.py | 12 class X(c_char): 25 self.assertEqual("c_char('x')", repr(c_char('x')))
|
test_delattr.py | 14 delattr, (c_char * 5)(), "value")
|
test_returnfuncptrs.py | 14 get_strchr.restype = CFUNCTYPE(c_char_p, c_char_p, c_char) 29 strchr = CFUNCTYPE(c_char_p, c_char_p, c_char)(addr) 39 strchr = CFUNCTYPE(c_char_p, c_char_p, c_char)(("my_strchr", dll)) 57 strchr = CFUNCTYPE(c_char_p, c_char_p, c_char)(
|
test_buffers.py | 9 self.assertEqual(sizeof(b), 32 * sizeof(c_char)) 14 self.assertEqual(sizeof(b), 4 * sizeof(c_char)) 30 self.assertEqual(sizeof(b), 4 * sizeof(c_char))
|