Searched refs:types_builder (Results 1 – 5 of 5) sorted by relevance
/external/python/cffi/c/ |
D | cdlopen.c | 168 ffi->types_builder.ctx.types = ntypes; in ffiobj_init() 169 ffi->types_builder.ctx.num_types = n; in ffiobj_init() 213 ffi->types_builder.ctx.globals = nglobs; in ffiobj_init() 214 ffi->types_builder.ctx.num_globals = n; in ffiobj_init() 278 ffi->types_builder.ctx.struct_unions = nstructs; in ffiobj_init() 279 ffi->types_builder.ctx.fields = nfields; in ffiobj_init() 280 ffi->types_builder.ctx.num_struct_unions = n; in ffiobj_init() 305 ffi->types_builder.ctx.enums = nenums; in ffiobj_init() 306 ffi->types_builder.ctx.num_enums = n; in ffiobj_init() 329 ffi->types_builder.ctx.typenames = ntypenames; in ffiobj_init() [all …]
|
D | lib_obj.c | 213 builder_c_t *types_builder = lib->l_types_builder; in lib_build_and_cache_attr() local 218 index = search_in_globals(&types_builder->ctx, s, strlen(s)); in lib_build_and_cache_attr() 221 if (types_builder->included_libs != NULL) { in lib_build_and_cache_attr() 223 PyObject *included_ffis = types_builder->included_ffis; in lib_build_and_cache_attr() 224 PyObject *included_libs = types_builder->included_libs; in lib_build_and_cache_attr() 273 g = &types_builder->ctx.globals[index]; in lib_build_and_cache_attr() 294 x = realize_global_int(types_builder, index); in lib_build_and_cache_attr() 303 ct = realize_c_type(types_builder, types_builder->ctx.types, in lib_build_and_cache_attr() 355 ct = realize_c_type(types_builder, types_builder->ctx.types, in lib_build_and_cache_attr() 381 ct = realize_c_type(types_builder, types_builder->ctx.types, in lib_build_and_cache_attr() [all …]
|
D | call_python.c | 67 builder_c_t *types_builder; in _ffi_def_extern_decorator() local 86 types_builder = &ffi->types_builder; in _ffi_def_extern_decorator() 87 index = search_in_globals(&types_builder->ctx, s, strlen(s)); in _ffi_def_extern_decorator() 90 g = &types_builder->ctx.globals[index]; in _ffi_def_extern_decorator() 95 ct = realize_c_type(types_builder, types_builder->ctx.types, in _ffi_def_extern_decorator()
|
D | ffi_obj.c | 30 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 …]
|
D | cffi1_module.c | 207 &ffi->types_builder.included_ffis, in b_init_cffi_1_0_external_module()
|