Home
last modified time | relevance | path

Searched refs:funcbuilder (Results 1 – 2 of 2) sorted by relevance

/external/python/cffi/c/
Dlib_obj.c132 struct funcbuilder_s funcbuilder; in lib_build_cpython_func() local
158 memset(&funcbuilder, 0, sizeof(funcbuilder)); in lib_build_cpython_func()
159 if (fb_build_name(&funcbuilder, g->name, pfargs, nargs, fresult, 0) < 0) in lib_build_cpython_func()
172 funcbuilder.nb_bytes + in lib_build_cpython_func()
188 funcbuilder.bufferp = xfunc->doc; in lib_build_cpython_func()
189 if (fb_build_name(&funcbuilder, g->name, pfargs, nargs, fresult, 0) < 0) in lib_build_cpython_func()
191 sprintf(funcbuilder.bufferp - 1, format, libname); in lib_build_cpython_func()
D_cffi_backend.c5634 struct funcbuilder_s funcbuilder; in new_function_type() local
5649 fct = fb_prepare_ctype(&funcbuilder, fargs, fresult, ellipsis, fabi); in new_function_type()
5674 fct->ct_stuff = PyTuple_New(2 + funcbuilder.nargs); in new_function_type()
5684 for (i=0; i<funcbuilder.nargs; i++) { in new_function_type()
5694 unique_key = alloca((3 + funcbuilder.nargs) * sizeof(void *)); in new_function_type()
5697 unique_key[2] = (const void *)(Py_ssize_t)(funcbuilder.nargs); in new_function_type()
5698 for (i=0; i<funcbuilder.nargs; i++) in new_function_type()
5700 return get_unique_type(fct, unique_key, 3 + funcbuilder.nargs); in new_function_type()