Lines Matching refs:b
71 public static Long4 add(Long4 a, Long4 b) { in add() argument
73 result.x = a.x + b.x; in add()
74 result.y = a.y + b.y; in add()
75 result.z = a.z + b.z; in add()
76 result.w = a.w + b.w; in add()
100 public static Long4 add(Long4 a, long b) { in add() argument
102 result.x = a.x + b; in add()
103 result.y = a.y + b; in add()
104 result.z = a.z + b; in add()
105 result.w = a.w + b; in add()
129 public static Long4 sub(Long4 a, Long4 b) { in sub() argument
131 result.x = a.x - b.x; in sub()
132 result.y = a.y - b.y; in sub()
133 result.z = a.z - b.z; in sub()
134 result.w = a.w - b.w; in sub()
158 public static Long4 sub(Long4 a, long b) { in sub() argument
160 result.x = a.x - b; in sub()
161 result.y = a.y - b; in sub()
162 result.z = a.z - b; in sub()
163 result.w = a.w - b; in sub()
187 public static Long4 mul(Long4 a, Long4 b) { in mul() argument
189 result.x = a.x * b.x; in mul()
190 result.y = a.y * b.y; in mul()
191 result.z = a.z * b.z; in mul()
192 result.w = a.w * b.w; in mul()
216 public static Long4 mul(Long4 a, long b) { in mul() argument
218 result.x = a.x * b; in mul()
219 result.y = a.y * b; in mul()
220 result.z = a.z * b; in mul()
221 result.w = a.w * b; in mul()
245 public static Long4 div(Long4 a, Long4 b) { in div() argument
247 result.x = a.x / b.x; in div()
248 result.y = a.y / b.y; in div()
249 result.z = a.z / b.z; in div()
250 result.w = a.w / b.w; in div()
274 public static Long4 div(Long4 a, long b) { in div() argument
276 result.x = a.x / b; in div()
277 result.y = a.y / b; in div()
278 result.z = a.z / b; in div()
279 result.w = a.w / b; in div()
303 public static Long4 mod(Long4 a, Long4 b) { in mod() argument
305 result.x = a.x % b.x; in mod()
306 result.y = a.y % b.y; in mod()
307 result.z = a.z % b.z; in mod()
308 result.w = a.w % b.w; in mod()
332 public static Long4 mod(Long4 a, long b) { in mod() argument
334 result.x = a.x % b; in mod()
335 result.y = a.y % b; in mod()
336 result.z = a.z % b; in mod()
337 result.w = a.w % b; in mod()
378 public static long dotProduct(Long4 a, Long4 b) { in dotProduct() argument
379 return (long)((b.x * a.x) + (b.y * a.y) + (b.z * a.z) + (b.w * a.w)); in dotProduct()
415 public void setValues(long a, long b, long c, long d) { in setValues() argument
417 this.y = b; in setValues()