Lines Matching refs:a

56     public void add(Byte4 a) {  in add()  argument
57 this.x += a.x; in add()
58 this.y += a.y; in add()
59 this.z += a.z; in add()
60 this.w += a.w; in add()
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()
114 public void sub(Byte4 a) { in sub() argument
115 this.x -= a.x; in sub()
116 this.y -= a.y; in sub()
117 this.z -= a.z; in sub()
118 this.w -= a.w; in sub()
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()
172 public void mul(Byte4 a) { in mul() argument
173 this.x *= a.x; in mul()
174 this.y *= a.y; in mul()
175 this.z *= a.z; in mul()
176 this.w *= a.w; in mul()
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()
230 public void div(Byte4 a) { in div() argument
231 this.x /= a.x; in div()
232 this.y /= a.y; in div()
233 this.z /= a.z; in div()
234 this.w /= a.w; in div()
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()
308 public byte dotProduct(Byte4 a) { in dotProduct() argument
309 return (byte)((x * a.x) + (y * a.y) + (z * a.z) + (w * a.w)); in dotProduct()
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()
329 public void addMultiple(Byte4 a, byte factor) { in addMultiple() argument
330 x += a.x * factor; in addMultiple()
331 y += a.y * factor; in addMultiple()
332 z += a.z * factor; in addMultiple()
333 w += a.w * factor; in addMultiple()
341 public void set(Byte4 a) { in set() argument
342 this.x = a.x; in set()
343 this.y = a.y; in set()
344 this.z = a.z; in set()
345 this.w = a.w; in set()
356 public void setValues(byte a, byte b, byte c, byte d) { in setValues() argument
357 this.x = a; in setValues()