Home
last modified time | relevance | path

Searched refs:from_param (Results 1 – 25 of 26) sorted by relevance

12

/external/python/cpython3/Lib/ctypes/test/
Dtest_parameters.py28 def from_param(cls, value): member in SimpleTypesTestCase.test_subclasses.CVOIDP
30 from_param = classmethod(from_param) variable in SimpleTypesTestCase.test_subclasses.CVOIDP
33 def from_param(cls, value): member in SimpleTypesTestCase.test_subclasses.CCHARP
35 from_param = classmethod(from_param) variable in SimpleTypesTestCase.test_subclasses.CCHARP
37 self.assertEqual(CVOIDP.from_param("abc"), "abcabc")
38 self.assertEqual(CCHARP.from_param("abc"), "abcabcabcabc")
45 def from_param(cls, value): member in SimpleTypesTestCase.test_subclasses_c_wchar_p.CWCHARP
47 from_param = classmethod(from_param) variable in SimpleTypesTestCase.test_subclasses_c_wchar_p.CWCHARP
49 self.assertEqual(CWCHARP.from_param("abc"), "abcabcabc")
58 self.assertIs(c_char_p.from_param(s)._obj, s)
[all …]
Dtest_bytes.py13 c_char.from_param(b"x")
14 self.assertRaises(TypeError, c_char.from_param, "x")
15 self.assertIn('xbd', repr(c_char.from_param(b"\xbd")))
25 c_wchar.from_param("x")
26 self.assertRaises(TypeError, c_wchar.from_param, b"x")
Dtest_prototypes.py193 c_wchar_p.from_param("123")
Dtest_as_parameter.py202 c_int.from_param(a)
Dtest_numbers.py97 self.assertEqual(ArgType, type(t.from_param(0)))
/external/python/cpython2/Lib/ctypes/test/
Dtest_parameters.py29 def from_param(cls, value): member in SimpleTypesTestCase.test_subclasses.CVOIDP
31 from_param = classmethod(from_param) variable in SimpleTypesTestCase.test_subclasses.CVOIDP
34 def from_param(cls, value): member in SimpleTypesTestCase.test_subclasses.CCHARP
36 from_param = classmethod(from_param) variable in SimpleTypesTestCase.test_subclasses.CCHARP
38 self.assertEqual(CVOIDP.from_param("abc"), "abcabc")
39 self.assertEqual(CCHARP.from_param("abc"), "abcabcabcabc")
46 def from_param(cls, value): member in SimpleTypesTestCase.test_subclasses_c_wchar_p.CWCHARP
48 from_param = classmethod(from_param) variable in SimpleTypesTestCase.test_subclasses_c_wchar_p.CWCHARP
50 self.assertEqual(CWCHARP.from_param("abc"), "abcabcabc")
59 self.assertIs(c_char_p.from_param(s)._obj, s)
[all …]
Dtest_prototypes.py190 c_wchar_p.from_param(u"123")
Dtest_as_parameter.py198 c_int.from_param(a)
Dtest_numbers.py97 self.assertEqual(ArgType, type(t.from_param(0)))
/external/python/cpython3/Lib/ctypes/
D__init__.py268 POINTER(c_wchar).from_param = c_wchar_p.from_param
270 POINTER(c_char).from_param = c_char_p.from_param
/external/python/cpython2/Lib/ctypes/
D__init__.py268 POINTER(c_wchar).from_param = c_wchar_p.from_param
270 POINTER(c_char).from_param = c_char_p.from_param
/external/llvm-project/polly/lib/External/isl/python/
Disl.py.top27 def from_param(self):
/external/llvm/bindings/python/llvm/
Dcommon.py60 def from_param(self): member in LLVMObject
/external/llvm-project/llvm/bindings/python/llvm/
Dcommon.py59 def from_param(self): member in LLVMObject
/external/python/setuptools/setuptools/command/
Dinstall_scripts.py47 cmd = writer.command_spec_class.best().from_param(exec_param)
Deasy_install.py1983 def from_param(cls, param): member in CommandSpec
2088 cmd = cls.command_spec_class.best().from_param(executable)
2143 cmd = cls.command_spec_class.best().from_param(executable)
/external/llvm-project/clang/bindings/python/clang/
Dcindex.py92 def from_param(cls, param): member in c_interop_string
501 def from_param(self): member in Diagnostic
634 def from_param(self): member in BaseEnumeration
1938 def from_param(self): member in StorageClass
1999 def from_param(self): member in AccessSpecifier
2134 def from_param(self): member in RefQualifierKind
2151 def from_param(self): member in LinkageKind
2170 def from_param(self): member in TLSKind
2455 def from_param(self): member in ClangObject
2659 def from_param(self): member in CodeCompletionResults
/external/llvm-project/polly/utils/pyscop/
Disl.py17 def from_param(self): member in Context
48 def from_param(self): member in IslObject
236 def from_param(self): member in Printer
/external/clang/bindings/python/clang/
Dcindex.py406 def from_param(self): member in Diagnostic
539 def from_param(self): member in BaseEnumeration
1630 def from_param(self): member in StorageClass
1673 def from_param(self): member in AccessSpecifier
1763 def from_param(self): member in RefQualifierKind
2028 def from_param(self): member in ClangObject
2232 def from_param(self): member in CodeCompletionResults
/external/python/setuptools/setuptools/tests/
Dtest_easy_install.py731 cmd_new = ei.CommandSpec.from_param(cmd)
747 cmd = ei.CommandSpec.from_param('/usr/bin/env my-python')
/external/python/cpython2/Doc/library/
Dctypes.rst428 to implement a :meth:`from_param` class method for them to be able to use them
429 in the :attr:`argtypes` sequence. The :meth:`from_param` class method receives
1576 :meth:`from_param` class method of the items in the :attr:`argtypes`
1583 types, but each item must have a :meth:`from_param` method which returns a
2096 .. method:: from_param(obj)
/external/python/cpython3/Doc/library/
Dctypes.rst432 to implement a :meth:`from_param` class method for them to be able to use them
433 in the :attr:`argtypes` sequence. The :meth:`from_param` class method receives
1586 :meth:`from_param` class method of the items in the :attr:`argtypes`
1593 types, but each item must have a :meth:`from_param` method which returns a
2101 .. method:: from_param(obj)
/external/python/cpython3/Modules/_ctypes/
D_ctypes.c2377 _Py_IDENTIFIER(from_param); in converters_from_argtypes()
/external/llvm-project/polly/lib/External/isl/interface/
Disl.py28 def from_param(self): member in Context
/external/python/cpython2/Misc/
DHISTORY500 foreign function argtypes sequence as long as they provide a from_param

12