Lines Matching refs:global_functions
1104 static funcentry_T global_functions[] = variable
2307 size_t funcCnt = ARRAY_LENGTH(global_functions); in sortFunctions()
2309 qsort(global_functions, funcCnt, sizeof(funcentry_T), compare_func_name); in sortFunctions()
2336 if (++intidx < (int)ARRAY_LENGTH(global_functions)) in get_function_name()
2338 STRCPY(IObuff, global_functions[intidx].f_name); in get_function_name()
2340 if (global_functions[intidx].f_max_argc == 0) in get_function_name()
2382 last = (int)ARRAY_LENGTH(global_functions) - 1; in find_internal_func_opt()
2388 cmp = STRCMP(name, global_functions[x].f_name); in find_internal_func_opt()
2393 else if (implemented && global_functions[x].f_func == NULL) in find_internal_func_opt()
2426 return global_functions[idx].f_name; in internal_func_name()
2441 argcheck_T *argchecks = global_functions[idx].f_argcheck; in internal_func_check_arg_types()
2470 *argcount = global_functions[idx].f_max_argc; in internal_func_get_argcount()
2471 *min_argcount = global_functions[idx].f_min_argc; in internal_func_get_argcount()
2483 return global_functions[idx].f_retfunc(argcount, argtypes); in internal_func_ret_type()
2492 return global_functions[idx].f_func == f_map; in internal_func_is_map()
2507 if (argcount < global_functions[idx].f_min_argc) in check_internal_func()
2509 else if (argcount > global_functions[idx].f_max_argc) in check_internal_func()
2512 return global_functions[idx].f_argtype; in check_internal_func()
2534 if (argcount < global_functions[i].f_min_argc) in call_internal_func()
2536 if (argcount > global_functions[i].f_max_argc) in call_internal_func()
2539 global_functions[i].f_func(argvars, rettv); in call_internal_func()
2549 global_functions[idx].f_func(argvars, rettv); in call_internal_func_by_idx()
2570 if (global_functions[fi].f_argtype == 0) in call_internal_method()
2572 if (argcount + 1 < global_functions[fi].f_min_argc) in call_internal_method()
2574 if (argcount + 1 > global_functions[fi].f_max_argc) in call_internal_method()
2577 if (global_functions[fi].f_argtype == FEARG_LAST) in call_internal_method()
2584 else if (global_functions[fi].f_argtype == FEARG_2) in call_internal_method()
2592 else if (global_functions[fi].f_argtype == FEARG_3) in call_internal_method()
2601 else if (global_functions[fi].f_argtype == FEARG_4) in call_internal_method()
2620 global_functions[fi].f_func(argv, rettv); in call_internal_method()