Lines Matching defs:method

80 static int find_oload_champ (struct type **arg_types, int nargs, int method,
86 static int oload_method_static (int method, struct fn_field *fns_ptr,
118 static struct fn_field *find_method_list (struct value ** argp, char *method,
1554 error ("cannot resolve overloaded method `%s': no arguments supplied", name);
1658 an appropriate method. Also, handle derived types.
1710 return it as a pointer to a method. */
1718 error ("Cannot take address of a method");
1722 error ("There is no member or method named %s.", name);
1773 * to find a specified method. Return the pointer to the
1777 * METHOD is a string containing the method name
1781 * BASETYPE is set to the actual type of the subobject where the method is found
1782 * BOFFSET is the offset of the base subobject where the method is found */
1785 find_method_list (struct value **argp, char *method, int offset,
1800 if (fn_field_name && (strcmp_iw (fn_field_name, method) == 0))
1851 f = find_method_list (argp, method, base_offset + offset,
1862 * METHOD is the method name
1865 * BASETYPE is set to the type of the base subobject that defines the method
1866 * BOFFSET is the offset of the base subobject which defines the method */
1869 value_find_oload_method_list (struct value **argp, char *method, int offset,
1894 return find_method_list (argp, method, 0, t, num_fns, basetype, boffset);
1899 arguments NARGS, the NAME of a function whether it's a method or
1908 In the case of non-method functions, the parameter FSYM is a symbol
1914 If a method is being searched for, VALP will hold the value.
1915 If a non-method is being searched for, SYMP will hold the symbol for it.
1917 If a method is being searched for, and it is a static method,
1926 find_overload_match (struct type **arg_types, int nargs, char *name, int method,
1951 if (method)
1964 error ("Couldn't find method %s%s%s",
1968 /* If we are dealing with stub method types, they should have
1972 oload_champ = find_oload_champ (arg_types, nargs, method, num_fns,
2003 oload_method_static (method, fns_ptr,
2008 if (method)
2009 error ("Cannot resolve method %s%s%s to any overloaded instance",
2019 if (method)
2020 warning ("Using non-standard conversion to match method %s%s%s to supplied arguments",
2029 if (method)
2032 *staticp = oload_method_static (method, fns_ptr, oload_champ);
2212 find_oload_champ (struct type **arg_types, int nargs, int method,
2229 int static_offset = oload_method_static (method, fns_ptr, ix);
2233 if (method)
2239 /* If it's not a method, this is the proper place */
2246 parm_types[jj] = (method
2282 if (method)
2283 fprintf_filtered (gdb_stderr,"Overloaded method instance %s, # of parms %d\n", fns_ptr[ix].physname, nparms);
2295 /* Return 1 if we're looking at a static method, 0 if we're looking at
2296 a non-static method or a function that isn't a method. */
2299 oload_method_static (int method, struct fn_field *fns_ptr, int index)
2301 if (method && TYPE_FN_FIELD_STATIC_P (fns_ptr, index))
2371 return it as a pointer to a method. */
2499 return it as a pointer to a method. */