Home
last modified time | relevance | path

Searched refs:types_builder (Results 1 – 5 of 5) sorted by relevance

/external/python/cffi/c/
Dcdlopen.c169 ffi->types_builder.ctx.types = ntypes; in ffiobj_init()
170 ffi->types_builder.ctx.num_types = n; in ffiobj_init()
214 ffi->types_builder.ctx.globals = nglobs; in ffiobj_init()
215 ffi->types_builder.ctx.num_globals = n; in ffiobj_init()
279 ffi->types_builder.ctx.struct_unions = nstructs; in ffiobj_init()
280 ffi->types_builder.ctx.fields = nfields; in ffiobj_init()
281 ffi->types_builder.ctx.num_struct_unions = n; in ffiobj_init()
306 ffi->types_builder.ctx.enums = nenums; in ffiobj_init()
307 ffi->types_builder.ctx.num_enums = n; in ffiobj_init()
330 ffi->types_builder.ctx.typenames = ntypenames; in ffiobj_init()
[all …]
Dlib_obj.c215 builder_c_t *types_builder = lib->l_types_builder; in lib_build_and_cache_attr() local
220 index = search_in_globals(&types_builder->ctx, s, strlen(s)); in lib_build_and_cache_attr()
223 if (types_builder->included_libs != NULL) { in lib_build_and_cache_attr()
225 PyObject *included_ffis = types_builder->included_ffis; in lib_build_and_cache_attr()
226 PyObject *included_libs = types_builder->included_libs; in lib_build_and_cache_attr()
275 g = &types_builder->ctx.globals[index]; in lib_build_and_cache_attr()
296 x = realize_global_int(types_builder, index); in lib_build_and_cache_attr()
305 ct = realize_c_type(types_builder, types_builder->ctx.types, in lib_build_and_cache_attr()
357 ct = realize_c_type(types_builder, types_builder->ctx.types, in lib_build_and_cache_attr()
383 ct = realize_c_type(types_builder, types_builder->ctx.types, in lib_build_and_cache_attr()
[all …]
Dcall_python.c81 builder_c_t *types_builder; in _ffi_def_extern_decorator() local
100 types_builder = &ffi->types_builder; in _ffi_def_extern_decorator()
101 index = search_in_globals(&types_builder->ctx, s, strlen(s)); in _ffi_def_extern_decorator()
104 g = &types_builder->ctx.globals[index]; in _ffi_def_extern_decorator()
109 ct = realize_c_type(types_builder, types_builder->ctx.types, in _ffi_def_extern_decorator()
Dffi_obj.c30 builder_c_t types_builder; member
50 if (init_builder_c(&ffi->types_builder, static_ctx) < 0) { in ffi_internal_new()
57 ffi->info.ctx = &ffi->types_builder.ctx; in ffi_internal_new()
72 free_builder_c(&ffi->types_builder, ffi->ctx_is_static); in ffi_dealloc()
79 Py_VISIT(ffi->types_builder.types_dict); in ffi_traverse()
80 Py_VISIT(ffi->types_builder.included_ffis); in ffi_traverse()
81 Py_VISIT(ffi->types_builder.included_libs); in ffi_traverse()
100 index = search_in_globals(&ffi->types_builder.ctx, name, strlen(name)); in ffi_fetch_int_constant()
103 g = &ffi->types_builder.ctx.globals[index]; in ffi_fetch_int_constant()
108 return realize_global_int(&ffi->types_builder, index); in ffi_fetch_int_constant()
[all …]
Dcffi1_module.c192 &ffi->types_builder.included_ffis, in b_init_cffi_1_0_external_module()