Lines Matching refs:ffi1
1675 ffi1 = FFI()
1676 ffi1.cdef("typedef struct { int x; ...; } foo_t;")
1677 ffi1.verify("typedef struct { int y, x; } foo_t;")
1679 ffi2.include(ffi1)
1685 res = lib.myfunc(ffi1.new("foo_t *", {'x': -10}))
1689 ffi1 = FFI()
1690 ffi1.cdef("enum foo_e { AA, ... };")
1691 lib1 = ffi1.verify("enum foo_e { CC, BB, AA };")
1693 ffi2.include(ffi1)
2106 ffi1 = FFI()
2107 ffi1.cdef("int foo_verify_dlopen_flags_1;")
2108 sys.setdlopenflags(ffi1.RTLD_GLOBAL | ffi1.RTLD_NOW)
2109 lib1 = ffi1.verify("int foo_verify_dlopen_flags_1;")
2120 assert ffi1.addressof(lib1, 'foo_verify_dlopen_flags_1') == p
2275 ffi1 = FFI()
2276 ffi1.cdef("void do_stuff(FILE *);")
2277 lib1 = ffi1.verify("void do_stuff(FILE *f) { (void)f; }")