Searched defs:formal (Results 1 - 3 of 3) sorted by relevance

/external/guava/guava/src/com/google/common/reflect/
H A DTypeResolver.java72 * Returns a new {@code TypeResolver} with type variables in {@code formal} mapping to types in
75 * <p>For example, if {@code formal} is a {@code TypeVariable T}, and {@code actual} is {@code
76 * String.class}, then {@code new TypeResolver().where(formal, actual)} will {@linkplain
78 * {@code Map<T, Something>} to {@code Map<String, Something>} etc. Similarly, {@code formal} and
83 * @param formal The type whose type variables or itself is mapped to other type(s). It's almost
84 * always a bug if {@code formal} isn't a type variable and contains no type variable. Make
86 * @param actual The type that the formal type variable(s) are mapped to. It can be or contain yet
90 public TypeResolver where(Type formal, Type actual) { argument
92 populateTypeMappings(mappings, checkNotNull(formal), checkNotNull(actual));
/external/mesa3d/src/glsl/
H A Dast_function.cpp67 * formal (\c ir_variable) or actual (\c ir_rvalue)
98 * that 'const_in' formal parameters (an extension in our IR) correspond to
115 const ir_variable *const formal = (ir_variable *) formal_node; local
126 if (formal->mode == ir_var_const_in &&
130 formal->name);
135 if (formal->mode == ir_var_out || formal->mode == ir_var_inout) {
137 switch (formal->mode) {
150 mode, formal->name,
163 mode, formal
205 ir_variable *formal = (ir_variable *) formal_iter.get(); local
[all...]
H A Dast_to_hir.cpp3027 _mesa_glsl_error(& loc, state, "formal parameter lacks a name");
3095 bool formal,
3103 param->formal_parameter = formal;
3094 parameters_to_hir(exec_list *ast_parameters, bool formal, exec_list *ir_parameters, _mesa_glsl_parse_state *state) argument

Completed in 158 milliseconds