Searched defs:c_char_p (Results 1 - 4 of 4) sorted by relevance

/external/llvm/bindings/python/llvm/
H A Dbit_reader.py11 from ctypes import c_char_p namespace
19 out = c_char_p(None)
28 library.LLVMParseBitcode.argtypes = [MemoryBuffer, POINTER(c_object_p), POINTER(c_char_p)]
H A Ddisassembler.py14 from ctypes import c_char_p namespace
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))
[all...]
H A Dobject.py80 from ctypes import c_char_p namespace
467 library.LLVMGetSectionName.restype = c_char_p
473 # Can't use c_char_p here as it isn't a NUL-terminated string.
493 library.LLVMGetSymbolName.restype = c_char_p
514 library.LLVMGetRelocationTypeName.restype = c_char_p
517 library.LLVMGetRelocationValueString.restype = c_char_p
H A Dcore.py18 from ctypes import c_char_p namespace
159 out = c_char_p(None)
263 out = c_char_p(None)
495 library.LLVMCreateMemoryBufferWithContentsOfFile.argtypes = [c_char_p,
496 POINTER(c_object_p), POINTER(c_char_p)]
504 library.LLVMModuleCreateWithName.argtypes = [c_char_p]
511 library.LLVMGetDataLayout.restype = c_char_p
513 library.LLVMSetDataLayout.argtypes = [Module, c_char_p]
517 library.LLVMGetTarget.restype = c_char_p
519 library.LLVMSetTarget.argtypes = [Module, c_char_p]
[all...]

Completed in 306 milliseconds