Home
last modified time | relevance | path

Searched refs:FFI (Results 1 – 25 of 113) sorted by relevance

12345

/external/python/cffi/testing/cffi1/
Dtest_verify1.py2 from cffi import FFI, FFIError, VerificationError, VerificationMissing, model
27 class FFI(FFI): class
28 error = _cffi_backend.FFI.error
34 FFI._verify_counter += 1
35 module_name = 'verify%d' % FFI._verify_counter
44 class FFI_warnings_not_error(FFI):
51 ffi = FFI()
69 ffi = FFI()
77 ffi = FFI()
112 ffi = FFI()
[all …]
Dtest_ffi_obj.py6 ffi = _cffi1_backend.FFI()
10 assert type(ffi) is ffi.__class__ is _cffi1_backend.FFI
13 class FOO(_cffi1_backend.FFI):
23 py.test.raises(TypeError, _cffi1_backend.FFI, 42)
26 ffi = _cffi1_backend.FFI()
36 ffi = _cffi1_backend.FFI()
45 ffi = _cffi1_backend.FFI()
48 ffi = _cffi1_backend.FFI()
57 ffi = _cffi1_backend.FFI()
61 ffi1 = _cffi1_backend.FFI()
[all …]
Dtest_recompiler.py3 from cffi import FFI, VerificationError, FFIError, CDefError
16 ffi = FFI()
18 ffi1 = FFI()
41 ffi = FFI()
135 ffi = FFI()
141 ffi = FFI()
146 ffi = FFI()
152 ffi = FFI()
159 ffi = FFI()
167 ffi = FFI()
[all …]
Dtest_dlopen.py2 from cffi import FFI, VerificationError, CDefError
8 ffi = FFI()
23 ffi = FFI()
38 ffi = FFI()
44 ffi = FFI()
53 ffi = FFI()
68 ffi = FFI()
84 ffi = FFI()
99 ffi = FFI()
114 ffi2 = FFI()
[all …]
Dtest_unicode_literals.py10 from _cffi_backend import FFI
14 ffi = FFI()
18 ffi = FFI()
22 ffi = FFI()
27 ffi = FFI()
31 ffi = FFI()
35 ffi = FFI()
40 ffi = FFI()
Dtest_zdist.py109 ffi = cffi.FFI()
116 ffi = cffi.FFI()
122 ffi = cffi.FFI()
129 ffi = cffi.FFI()
137 ffi = cffi.FFI()
146 ffi = cffi.FFI()
156 ffi = cffi.FFI()
163 ffi = cffi.FFI()
169 ffi = cffi.FFI()
176 ffi = cffi.FFI()
[all …]
Dtest_re_python.py3 from cffi import FFI
58 ffi = FFI()
101 assert type(lib.add42) is _cffi_backend.FFI.CData
108 assert type(lib.add43) is _cffi_backend.FFI.CData
162 sub_ffi = FFI()
226 e = py.test.raises(ImportError, _cffi_backend.FFI,
232 ffi = FFI()
/external/python/cffi/testing/cffi0/
Dtest_verify.py3 from cffi import FFI, VerificationError, VerificationMissing, model, FFIError
25 class FFI(FFI): class
27 return super(FFI, self).verify(
55 ffi = FFI()
69 ffi = FFI()
85 test_missing_function(ffi=cffi.FFI())
88 ffi = FFI()
96 ffi = FFI()
131 ffi = FFI()
139 ffi = FFI()
[all …]
Dtest_unicode_literals.py11 from cffi import FFI
22 ffi = FFI()
26 ffi = FFI()
30 ffi = FFI()
35 ffi = FFI()
39 ffi = FFI()
43 ffi = FFI()
48 ffi = FFI()
52 ffi = FFI()
57 ffi = FFI()
[all …]
Dtest_parsing.py2 from cffi import FFI, FFIError, CDefError, VerificationError
85 ffi = FFI(backend=FakeBackend())
93 ffi = FFI(backend=FakeBackend())
102 ffi = FFI(backend=FakeBackend())
111 ffi = FFI(backend=FakeBackend())
120 ffi = FFI(backend=FakeBackend())
132 ffi = FFI(backend=FakeBackend())
145 ffi = FFI(backend=FakeBackend())
155 ffi = FFI(backend=FakeBackend())
172 ffi = FFI(backend=FakeBackend())
[all …]
Dbackend_tests.py4 from cffi import FFI, CDefError, FFIError, VerificationMissing
21 ffi = FFI(backend=self.Backend())
41 ffi = FFI(backend=self.Backend())
87 ffi = FFI(backend=self.Backend())
92 ffi = FFI(backend=self.Backend())
102 ffi = FFI(backend=self.Backend())
109 ffi = FFI(backend=self.Backend())
121 ffi = FFI(backend=self.Backend())
140 ffi = FFI(backend=self.Backend())
159 ffi = FFI(backend=self.Backend())
[all …]
Dtest_ffi_backend.py5 from cffi import FFI
19 ffi = FFI(backend=self.Backend())
27 ffi = FFI(backend=self.Backend())
34 ffi = FFI(backend=self.Backend())
43 ffi = FFI(backend=self.Backend())
62 ffi = FFI(backend=self.Backend())
94 ffi = FFI(backend=self.Backend())
107 ffi = FFI(backend=self.Backend())
138 ffi = FFI()
142 ffi1 = FFI()
[all …]
Dtest_function.py2 from cffi import FFI, CDefError
27 ffi = FFI(backend=self.Backend())
38 ffi = FFI(backend=self.Backend())
50 ffi = FFI(backend=self.Backend())
63 ffi = FFI(backend=self.Backend())
76 ffi = FFI(backend=self.Backend())
85 ffi = FFI(backend=self.Backend())
100 ffi = FFI(backend=self.Backend())
111 ffi = FFI(backend=self.Backend())
128 ffi = FFI(backend=self.Backend())
[all …]
Dtest_zdistutils.py3 from cffi import FFI, FFIError
24 cls = _locate_engine_class(FFI(), self.generic)
37 ffi = FFI()
48 ffi = FFI()
61 ffi = FFI()
75 ffi = FFI()
87 ffi = FFI()
104 ffi = FFI()
115 ffi = FFI()
122 ffi = FFI()
[all …]
Dtest_ownlib.py3 from cffi import FFI
173 ffi = FFI(backend=self.Backend())
189 ffi = FFI(backend=self.Backend())
202 ffi = FFI(backend=self.Backend())
224 ffi = FFI(backend=self.Backend())
242 ffi = FFI(backend=self.Backend())
260 ffi = FFI(backend=self.Backend())
280 ffi = FFI(backend=self.Backend())
323 ffi = FFI(backend=self.Backend())
341 ffi = FFI(backend=self.Backend())
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DFaultMaps.cpp77 for (const auto &FFI : FunctionInfos) in serializeToFaultMapSection() local
78 emitFunctionInfo(FFI.first, FFI.second); in serializeToFaultMapSection()
82 const FunctionFaultInfos &FFI) { in emitFunctionInfo() argument
88 LLVM_DEBUG(dbgs() << WFMP << " #faulting PCs: " << FFI.size() << "\n"); in emitFunctionInfo()
89 OS.EmitIntValue(FFI.size(), 4); in emitFunctionInfo()
93 for (auto &Fault : FFI) { in emitFunctionInfo()
123 const FaultMapParser::FunctionFaultInfoAccessor &FFI) { in operator <<() argument
125 << FaultMaps::faultTypeToString((FaultMaps::FaultKind)FFI.getFaultKind()) in operator <<()
126 << ", faulting PC offset: " << FFI.getFaultingPCOffset() in operator <<()
127 << ", handling PC offset: " << FFI.getHandlerPCOffset(); in operator <<()
/external/llvm/lib/CodeGen/
DFaultMaps.cpp74 for (const auto &FFI : FunctionInfos) in serializeToFaultMapSection() local
75 emitFunctionInfo(FFI.first, FFI.second); in serializeToFaultMapSection()
79 const FunctionFaultInfos &FFI) { in emitFunctionInfo() argument
85 DEBUG(dbgs() << WFMP << " #faulting PCs: " << FFI.size() << "\n"); in emitFunctionInfo()
86 OS.EmitIntValue(FFI.size(), 4); in emitFunctionInfo()
90 for (auto &Fault : FFI) { in emitFunctionInfo()
118 const FaultMapParser::FunctionFaultInfoAccessor &FFI) { in operator <<() argument
120 << FaultMaps::faultTypeToString((FaultMaps::FaultKind)FFI.getFaultKind()) in operator <<()
121 << ", faulting PC offset: " << FFI.getFaultingPCOffset() in operator <<()
122 << ", handling PC offset: " << FFI.getHandlerPCOffset(); in operator <<()
/external/python/cffi/demo/
Dapi.py2 from cffi import FFI
4 class PythonFFI(FFI):
7 FFI.__init__(self, backend=backend)
30 lib = FFI.verify(self, source, **kwargs)
Dreaddir2_build.py1 from cffi import FFI
3 ffi = FFI()
Dpwuid_build.py1 from cffi import FFI
2 ffi = FFI()
Dwinclipboard_build.py1 from cffi import FFI
3 ffi = FFI()
Dbsdopendirtype_build.py1 from cffi import FFI
3 ffibuilder = FFI()
Dxclient_build.py1 from cffi import FFI
2 ffi = FFI()
/external/llvm/lib/Target/PowerPC/
DPPCFrameLowering.cpp794 MachineFrameInfo *FFI = MF.getFrameInfo(); in emitPrologue() local
797 FPOffset = FFI->getObjectOffset(FPIndex); in emitPrologue()
806 MachineFrameInfo *FFI = MF.getFrameInfo(); in emitPrologue() local
809 BPOffset = FFI->getObjectOffset(BPIndex); in emitPrologue()
817 MachineFrameInfo *FFI = MF.getFrameInfo(); in emitPrologue() local
820 PBPOffset = FFI->getObjectOffset(PBPIndex); in emitPrologue()
1161 MachineFrameInfo *FFI = MF.getFrameInfo(); in emitEpilogue() local
1164 FPOffset = FFI->getObjectOffset(FPIndex); in emitEpilogue()
1173 MachineFrameInfo *FFI = MF.getFrameInfo(); in emitEpilogue() local
1176 BPOffset = FFI->getObjectOffset(BPIndex); in emitEpilogue()
[all …]
/external/python/cffi/testing/cffi0/snippets/distutils_module/
Dsnip_basic_verify.py2 from cffi import FFI
5 ffi = FFI()

12345