/external/python/cpython3/Lib/ctypes/test/ |
D | test_parameters.py | 28 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 …]
|
D | test_bytes.py | 13 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")
|
D | test_prototypes.py | 193 c_wchar_p.from_param("123")
|
D | test_as_parameter.py | 202 c_int.from_param(a)
|
D | test_numbers.py | 97 self.assertEqual(ArgType, type(t.from_param(0)))
|
/external/python/cpython2/Lib/ctypes/test/ |
D | test_parameters.py | 29 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 …]
|
D | test_prototypes.py | 190 c_wchar_p.from_param(u"123")
|
D | test_as_parameter.py | 198 c_int.from_param(a)
|
D | test_numbers.py | 97 self.assertEqual(ArgType, type(t.from_param(0)))
|
/external/python/cpython3/Lib/ctypes/ |
D | __init__.py | 265 POINTER(c_wchar).from_param = c_wchar_p.from_param 267 POINTER(c_char).from_param = c_char_p.from_param
|
/external/python/cpython2/Lib/ctypes/ |
D | __init__.py | 268 POINTER(c_wchar).from_param = c_wchar_p.from_param 270 POINTER(c_char).from_param = c_char_p.from_param
|
/external/llvm/bindings/python/llvm/ |
D | common.py | 60 def from_param(self): member in LLVMObject
|
/external/swiftshader/third_party/llvm-7.0/llvm/bindings/python/llvm/ |
D | common.py | 60 def from_param(self): member in LLVMObject
|
/external/python/setuptools/setuptools/command/ |
D | install_scripts.py | 47 cmd = writer.command_spec_class.best().from_param(exec_param)
|
D | easy_install.py | 1983 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/clang/bindings/python/clang/ |
D | cindex.py | 406 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/ |
D | test_easy_install.py | 731 cmd_new = ei.CommandSpec.from_param(cmd) 747 cmd = ei.CommandSpec.from_param('/usr/bin/env my-python')
|
/external/python/cpython2/Doc/library/ |
D | ctypes.rst | 428 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/ |
D | ctypes.rst | 439 to implement a :meth:`from_param` class method for them to be able to use them 440 in the :attr:`argtypes` sequence. The :meth:`from_param` class method receives 1545 :meth:`from_param` class method of the items in the :attr:`argtypes` 1552 types, but each item must have a :meth:`from_param` method which returns a 2024 .. method:: from_param(obj)
|
/external/python/cpython2/Misc/ |
D | HISTORY | 500 foreign function argtypes sequence as long as they provide a from_param
|
/external/python/cpython3/Misc/ |
D | HISTORY | 17884 foreign function argtypes sequence as long as they provide a from_param
|