Lines Matching refs:b

66     public static Byte4 add(Byte4 a, Byte4 b) {  in add()  argument
68 result.x = (byte)(a.x + b.x); in add()
69 result.y = (byte)(a.y + b.y); in add()
70 result.z = (byte)(a.z + b.z); in add()
71 result.w = (byte)(a.w + b.w); in add()
95 public static Byte4 add(Byte4 a, byte b) { in add() argument
97 result.x = (byte)(a.x + b); in add()
98 result.y = (byte)(a.y + b); in add()
99 result.z = (byte)(a.z + b); in add()
100 result.w = (byte)(a.w + b); in add()
124 public static Byte4 sub(Byte4 a, Byte4 b) { in sub() argument
126 result.x = (byte)(a.x - b.x); in sub()
127 result.y = (byte)(a.y - b.y); in sub()
128 result.z = (byte)(a.z - b.z); in sub()
129 result.w = (byte)(a.w - b.w); in sub()
153 public static Byte4 sub(Byte4 a, byte b) { in sub() argument
155 result.x = (byte)(a.x - b); in sub()
156 result.y = (byte)(a.y - b); in sub()
157 result.z = (byte)(a.z - b); in sub()
158 result.w = (byte)(a.w - b); in sub()
182 public static Byte4 mul(Byte4 a, Byte4 b) { in mul() argument
184 result.x = (byte)(a.x * b.x); in mul()
185 result.y = (byte)(a.y * b.y); in mul()
186 result.z = (byte)(a.z * b.z); in mul()
187 result.w = (byte)(a.w * b.w); in mul()
211 public static Byte4 mul(Byte4 a, byte b) { in mul() argument
213 result.x = (byte)(a.x * b); in mul()
214 result.y = (byte)(a.y * b); in mul()
215 result.z = (byte)(a.z * b); in mul()
216 result.w = (byte)(a.w * b); in mul()
240 public static Byte4 div(Byte4 a, Byte4 b) { in div() argument
242 result.x = (byte)(a.x / b.x); in div()
243 result.y = (byte)(a.y / b.y); in div()
244 result.z = (byte)(a.z / b.z); in div()
245 result.w = (byte)(a.w / b.w); in div()
269 public static Byte4 div(Byte4 a, byte b) { in div() argument
271 result.x = (byte)(a.x / b); in div()
272 result.y = (byte)(a.y / b); in div()
273 result.z = (byte)(a.z / b); in div()
274 result.w = (byte)(a.w / b); in div()
315 public static byte dotProduct(Byte4 a, Byte4 b) { in dotProduct() argument
316 return (byte)((b.x * a.x) + (b.y * a.y) + (b.z * a.z) + (b.w * a.w)); in dotProduct()
352 public void setValues(byte a, byte b, byte c, byte d) { in setValues() argument
354 this.y = b; in setValues()