Lines Matching refs:b
70 public static Byte4 add(Byte4 a, Byte4 b) { in add() argument
72 result.x = (byte)(a.x + b.x); in add()
73 result.y = (byte)(a.y + b.y); in add()
74 result.z = (byte)(a.z + b.z); in add()
75 result.w = (byte)(a.w + b.w); in add()
99 public static Byte4 add(Byte4 a, byte b) { in add() argument
101 result.x = (byte)(a.x + b); in add()
102 result.y = (byte)(a.y + b); in add()
103 result.z = (byte)(a.z + b); in add()
104 result.w = (byte)(a.w + b); in add()
128 public static Byte4 sub(Byte4 a, Byte4 b) { in sub() argument
130 result.x = (byte)(a.x - b.x); in sub()
131 result.y = (byte)(a.y - b.y); in sub()
132 result.z = (byte)(a.z - b.z); in sub()
133 result.w = (byte)(a.w - b.w); in sub()
157 public static Byte4 sub(Byte4 a, byte b) { in sub() argument
159 result.x = (byte)(a.x - b); in sub()
160 result.y = (byte)(a.y - b); in sub()
161 result.z = (byte)(a.z - b); in sub()
162 result.w = (byte)(a.w - b); in sub()
186 public static Byte4 mul(Byte4 a, Byte4 b) { in mul() argument
188 result.x = (byte)(a.x * b.x); in mul()
189 result.y = (byte)(a.y * b.y); in mul()
190 result.z = (byte)(a.z * b.z); in mul()
191 result.w = (byte)(a.w * b.w); in mul()
215 public static Byte4 mul(Byte4 a, byte b) { in mul() argument
217 result.x = (byte)(a.x * b); in mul()
218 result.y = (byte)(a.y * b); in mul()
219 result.z = (byte)(a.z * b); in mul()
220 result.w = (byte)(a.w * b); in mul()
244 public static Byte4 div(Byte4 a, Byte4 b) { in div() argument
246 result.x = (byte)(a.x / b.x); in div()
247 result.y = (byte)(a.y / b.y); in div()
248 result.z = (byte)(a.z / b.z); in div()
249 result.w = (byte)(a.w / b.w); in div()
273 public static Byte4 div(Byte4 a, byte b) { in div() argument
275 result.x = (byte)(a.x / b); in div()
276 result.y = (byte)(a.y / b); in div()
277 result.z = (byte)(a.z / b); in div()
278 result.w = (byte)(a.w / b); in div()
319 public static byte dotProduct(Byte4 a, Byte4 b) { in dotProduct() argument
320 return (byte)((b.x * a.x) + (b.y * a.y) + (b.z * a.z) + (b.w * a.w)); in dotProduct()
356 public void setValues(byte a, byte b, byte c, byte d) { in setValues() argument
358 this.y = b; in setValues()