Searched refs:funcbuilder (Results 1 – 2 of 2) sorted by relevance
/external/python/cffi/c/ |
D | lib_obj.c | 134 struct funcbuilder_s funcbuilder; in lib_build_cpython_func() local 160 memset(&funcbuilder, 0, sizeof(funcbuilder)); in lib_build_cpython_func() 161 if (fb_build_name(&funcbuilder, g->name, pfargs, nargs, fresult, 0) < 0) in lib_build_cpython_func() 174 funcbuilder.nb_bytes + in lib_build_cpython_func() 190 funcbuilder.bufferp = xfunc->doc; in lib_build_cpython_func() 191 if (fb_build_name(&funcbuilder, g->name, pfargs, nargs, fresult, 0) < 0) in lib_build_cpython_func() 193 sprintf(funcbuilder.bufferp - 1, format, libname); in lib_build_cpython_func()
|
D | _cffi_backend.c | 5919 struct funcbuilder_s funcbuilder; in new_function_type() local 5934 fct = fb_prepare_ctype(&funcbuilder, fargs, fresult, ellipsis, fabi); in new_function_type() 5959 fct->ct_stuff = PyTuple_New(2 + funcbuilder.nargs); in new_function_type() 5969 for (i=0; i<funcbuilder.nargs; i++) { in new_function_type() 5979 unique_key = alloca((3 + funcbuilder.nargs) * sizeof(void *)); in new_function_type() 5982 unique_key[2] = (const void *)(Py_ssize_t)(funcbuilder.nargs); in new_function_type() 5983 for (i=0; i<funcbuilder.nargs; i++) in new_function_type() 5985 return get_unique_type(fct, unique_key, 3 + funcbuilder.nargs); in new_function_type()
|