Searched refs:c_char_p (Results 1 – 25 of 39) sorted by relevance
12
/external/llvm/bindings/python/llvm/ |
D | disassembler.py | 14 from ctypes import c_char_p 76 ptr = lib.LLVMCreateDisasm(c_char_p(triple), c_void_p(None), c_int(0), 101 buf = cast(c_char_p(source), POINTER(c_ubyte)) 102 out_str = cast((c_byte * 255)(), c_char_p) 122 source_bytes = c_char_p(source) 123 out_str = cast((c_byte * 255)(), c_char_p) 150 library.LLVMCreateDisasm.argtypes = [c_char_p, c_void_p, c_int, 157 c_uint64, c_uint64, c_char_p, c_size_t] 166 callbacks['symbol_lookup'] = CFUNCTYPE(c_char_p, c_void_p, c_uint64, 168 POINTER(c_char_p))
|
D | core.py | 18 from ctypes import c_char_p 159 out = c_char_p(None) 263 out = c_char_p(None) 492 library.LLVMCreateMemoryBufferWithContentsOfFile.argtypes = [c_char_p, 493 POINTER(c_object_p), POINTER(c_char_p)] 501 library.LLVMModuleCreateWithName.argtypes = [c_char_p] 508 library.LLVMGetDataLayout.restype = c_char_p 510 library.LLVMSetDataLayout.argtypes = [Module, c_char_p] 514 library.LLVMGetTarget.restype = c_char_p 516 library.LLVMSetTarget.argtypes = [Module, c_char_p] [all …]
|
D | object.py | 80 from ctypes import c_char_p 459 library.LLVMGetSectionName.restype = c_char_p 485 library.LLVMGetSymbolName.restype = c_char_p 503 library.LLVMGetRelocationTypeName.restype = c_char_p 506 library.LLVMGetRelocationValueString.restype = c_char_p
|
D | bit_reader.py | 11 from ctypes import c_char_p
|
/external/python/cpython2/Lib/ctypes/test/ |
D | 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)(
|
D | test_prototypes.py | 81 func.argtypes = c_char_p, 92 func.restype = c_char_p 97 self.assertEqual(None, func(c_char_p(None))) 98 self.assertEqual("123", func(c_char_p("123"))) 107 func.restype = c_char_p 108 func.argtypes = c_char_p, 112 self.assertEqual(None, func(c_char_p(None))) 113 self.assertEqual("123", func(c_char_p("123"))) 122 func.restype = c_char_p 127 self.assertEqual("123", func(c_char_p("123"))) [all …]
|
D | test_parameters.py | 25 from ctypes import c_void_p, c_char_p 32 class CCHARP(c_char_p): 53 from ctypes import c_char_p, byref 58 self.assertIs(c_char_p.from_param(s)._obj, s) 61 self.assertEqual(c_char_p.from_param(u"123")._obj, "123") 62 self.assertRaises(UnicodeEncodeError, c_char_p.from_param, u"123\377") 64 self.assertRaises(TypeError, c_char_p.from_param, 42) 68 a = c_char_p("123") 69 self.assertIs(c_char_p.from_param(a), a)
|
D | test_keeprefs.py | 14 x = c_char_p() 18 x = c_char_p("spam") 35 _fields_ = [("a", c_char_p), 36 ("b", c_char_p)] 100 _fields_ = [("p", POINTER(c_char_p))] 102 i = c_char_p("abc def")
|
D | test_funcptr.py | 54 LPCTSTR = c_char_p 98 strchr.restype = c_char_p 99 strchr.argtypes = (c_char_p, c_char) 105 strtok.restype = c_char_p
|
D | test_cast.py | 35 array = (c_char_p * 5)() 40 p = cast(array, POINTER(c_char_p)) 75 s = c_char_p("hiho") 76 self.assertEqual(cast(cast(s, c_void_p), c_char_p).value,
|
D | test_stringptr.py | 32 _fields_ = [("str", c_char_p)] 46 strchr.restype = c_char_p 50 strchr.argtypes = c_char_p, c_char
|
D | test_internals.py | 34 cs = c_char_p(s) 68 _fields_ = [("a", c_char_p), ("b", c_char_p)]
|
D | test_python_api.py | 24 PyString_FromStringAndSize.argtypes = c_char_p, c_py_ssize_t 30 pythonapi.PyString_FromString.argtypes = (c_char_p,) 72 PyOS_snprintf.argtypes = POINTER(c_char), c_size_t, c_char_p
|
D | test_random_things.py | 16 windll.kernel32.GetProcAddress.argtypes = c_void_p, c_char_p 67 cb = CFUNCTYPE(c_int, c_char_p)(callback_func)
|
D | test_pickling.py | 15 _fields_ = [("str", c_char_p)] 60 c_char_p(),
|
D | test_errno.py | 21 libc_open.argtypes = c_char_p, c_int 38 libc_open.argtypes = c_char_p, c_int
|
D | test_unicode.py | 87 func.argtypes = [ctypes.c_char_p] 88 func.restype = ctypes.c_char_p
|
D | test_incomplete.py | 14 _fields_ = [("name", c_char_p),
|
D | test_pointers.py | 145 func.restype = c_char_p 146 argv = (c_char_p * 2)()
|
D | test_values.py | 54 _fields_ = [("name", c_char_p),
|
/external/autotest/client/common_lib/ |
D | smogcheck_tpm.py | 29 c_char_p, addressof, c_char, pointer 364 pResult = c_char_p() 400 pResult = c_char_p() 436 pSecret = c_char_p(addressof(well_known_secret)) 520 pSecret = c_char_p(addressof(well_known_secret)) 568 pSecret = c_char_p(addressof(well_known_secret))
|
/external/vulkan-validation-layers/ |
D | vk-layer-introspect.py | 82 … VkResult, ctypes.c_char_p, ctypes.POINTER(ctypes.c_uint32), ctypes.POINTER(VkExtensionProperties)) 84 …VkResult, VkPhysicalDevice, ctypes.c_char_p, ctypes.POINTER(ctypes.c_uint32), ctypes.POINTER(VkExt… 90 PFN_vkVoidFunction, VkInstance, ctypes.c_char_p) 92 PFN_vkVoidFunction, VkDevice, ctypes.c_char_p)
|
/external/chromium-trace/catapult/third_party/pyserial/serial/tools/ |
D | list_ports_osx.py | 58 cf.CFStringCreateWithCString.argtypes = [ctypes.c_void_p, ctypes.c_char_p, ctypes.c_int32] 62 cf.CFStringGetCStringPtr.restype = ctypes.c_char_p
|
/external/clang/bindings/python/clang/ |
D | cindex.py | 150 _fields_ = [("spelling", c_char_p), ("free", c_int)] 1975 return conf.lib.clang_Type_getOffsetOf(self, c_char_p(fieldname)) 2034 _fields_ = [("name", c_char_p), ("contents", c_char_p), ('length', c_ulong)] 2389 args_array = (c_char_p * len(args))(* args) 2911 [c_char_p, POINTER(c_uint)], 2921 [c_object_p, c_char_p], 2956 [TranslationUnit, c_char_p, c_int, c_int, c_void_p, c_int, c_int], 2972 [Index, c_char_p], 3114 c_char_p), 3261 [TranslationUnit, c_char_p], [all …]
|
/external/autotest/client/cros/graphics/ |
D | drm.py | 63 ("name", c_char_p), 65 ("date", c_char_p), 67 ("desc", c_char_p),
|
12