Lines Matching defs:component
76 static char mask_char(int8_t component) {
77 switch (component) {
102 for (int8_t component : components) {
103 result += mask_char(component);
193 // This argument is a component from a vector.
203 // component set.
205 // Build up the current argument with one more component.
262 String::printf("invalid swizzle component '%c'", field));
344 // The swizzle component references a field that doesn't exist in the base type.
346 String::printf("invalid swizzle component '%c'",
444 // Confirm that the component array only contains X/Y/Z/W. (Call MakeWith01 if you want support
447 SkASSERT(std::all_of(components.begin(), components.end(), [](int8_t component) {
448 return component >= SwizzleComponent::X &&
449 component <= SwizzleComponent::W;