/external/dropbear/libtommath/ |
H A D | bn_mp_toom_sqr.c | 22 mp_int w0, w1, w2, w3, w4, tmp1, a0, a1, a2; local 26 if ((res = mp_init_multi(&w0, &w1, &w2, &w3, &w4, &a0, &a1, &a2, &tmp1, NULL)) != MP_OKAY) { 59 /* w1 = (a2 + 2(a1 + 2a0))**2 */ 73 if ((res = mp_sqr(&tmp1, &w1)) != MP_OKAY) { 119 if ((res = mp_sub(&w1, &w4, &w1)) != MP_OKAY) { 127 if ((res = mp_div_2(&w1, &w1)) != MP_OKAY) { 142 if ((res = mp_sub(&w1, &w2, &w1)) ! [all...] |
H A D | bn_mp_toom_mul.c | 27 mp_int w0, w1, w2, w3, w4, tmp1, tmp2, a0, a1, a2, b0, b1, b2; local 31 if ((res = mp_init_multi(&w0, &w1, &w2, &w3, &w4, 82 /* w1 = (a2 + 2(a1 + 2a0))(b2 + 2(b1 + 2b0)) */ 109 if ((res = mp_mul(&tmp1, &tmp2, &w1)) != MP_OKAY) { 175 if ((res = mp_sub(&w1, &w4, &w1)) != MP_OKAY) { 183 if ((res = mp_div_2(&w1, &w1)) != MP_OKAY) { 198 if ((res = mp_sub(&w1, &w2, &w1)) ! [all...] |
/external/srec/tools/thirdparty/OpenFst/fst/lib/ |
H A D | weight.h | 132 bool operator()(const W &w1, const W &w2) const { argument 133 return (Plus(w1, w2) == w1) && w1 != w2;
|
H A D | random-weight.h | 135 W1 w1 = generator1_(); local 137 return Weight(w1, w2);
|
H A D | float-weight.h | 68 inline bool operator==(const FloatWeight &w1, const FloatWeight &w2) { argument 71 volatile float v1 = w1.Value(); 76 inline bool operator!=(const FloatWeight &w1, const FloatWeight &w2) { argument 77 return !(w1 == w2); 80 inline bool ApproxEqual(const FloatWeight &w1, const FloatWeight &w2, argument 82 return w1.Value() <= w2.Value() + delta && w2.Value() <= w1.Value() + delta; 152 inline TropicalWeight Plus(const TropicalWeight &w1, argument 154 return w1.Value() < w2.Value() ? w1 157 Times(const TropicalWeight &w1, const TropicalWeight &w2) argument 168 Divide(const TropicalWeight &w1, const TropicalWeight &w2, DivideType typ = DIVIDE_ANY) argument 219 Plus(const LogWeight &w1, const LogWeight &w2) argument 231 Times(const LogWeight &w1, const LogWeight &w2) argument 241 Divide(const LogWeight &w1, const LogWeight &w2, DivideType typ = DIVIDE_ANY) argument [all...] |
H A D | product-weight.h | 37 ProductWeight(W1 w1, W2 w2) : value1_(w1), value2_(w2) {} argument 111 inline bool operator!=(const ProductWeight<W1, W2> &w1, argument 113 return w1.Value1() != w2.Value1() || w1.Value2() != w2.Value2(); 118 inline bool ApproxEqual(const ProductWeight<W1, W2> &w1, argument 121 return w1 == w2; 159 W1 w1 = W1::Zero(); local 160 strm1 >> w1; local 166 w = ProductWeight<W1, W2>(w1, w [all...] |
/external/chromium/chrome/browser/history/ |
H A D | query_parser_unittest.cc | 142 const std::string w1; member in struct:TestData2 157 EXPECT_EQ(data[i].w1, UTF16ToUTF8(results[0]));
|
/external/openfst/src/include/fst/ |
H A D | lexicographic-weight.h | 61 LexicographicWeight(W1 w1, W2 w2) : PairWeight<W1, W2>(w1, w2) { argument
|
H A D | product-weight.h | 50 ProductWeight(W1 w1, W2 w2) : PairWeight<W1, W2>(w1, w2) {} argument
|
H A D | weight.h | 142 bool operator()(const W &w1, const W &w2) const { argument 143 return (Plus(w1, w2) == w1) && w1 != w2; 164 W2 operator()(W1 w1) const {
|
H A D | power-weight.h | 99 inline PowerWeight<W, n> Plus(const PowerWeight<W, n> &w1, argument 103 w.SetValue(i, Plus(w1.Value(i), w2.Value(i))); 109 inline PowerWeight<W, n> Times(const PowerWeight<W, n> &w1, argument 113 w.SetValue(i, Times(w1.Value(i), w2.Value(i))); 119 inline PowerWeight<W, n> Divide(const PowerWeight<W, n> &w1, argument 124 w.SetValue(i, Divide(w1.Value(i), w2.Value(i), type)); 148 inline W DotProduct(const PowerWeight<W, n> &w1, argument 152 w = Plus(w, Times(w1.Value(i), w2.Value(i)));
|
H A D | random-weight.h | 196 W1 w1 = generator1_(); local 198 return Weight(w1, w2); 228 W1 w1 = generator1_(); local 230 return Weight(w1, w2);
|
H A D | pair-weight.h | 54 PairWeight(W1 w1, W2 w2) : value1_(w1), value2_(w2) {} argument 132 W1 w1 = W1::Zero(); local 133 strm1 >> w1; local 139 w = PairWeight<W1, W2>(w1, w2); 181 W1 w1 = W1::Zero(); local 182 strm1 >> w1; local 202 w = PairWeight<W1, W2>(w1, w2); 219 inline bool operator!=(const PairWeight<W1, W2> &w1, argument 221 return w1 226 ApproxEqual(const PairWeight<W1, W2> &w1, const PairWeight<W1, W2> &w2, float delta = kDelta) argument [all...] |
H A D | signed-log-weight.h | 108 inline SignedLogWeightTpl<T> Plus(const SignedLogWeightTpl<T> &w1, argument 110 if (!w1.Member() || !w2.Member()) 112 bool s1 = w1.Value1().Value() > 0.0; 114 T f1 = w1.Value2().Value(); 119 return w1; 122 return SignedLogWeightTpl<T>(w1.Value1(), (f2 - log(2.0F))); 128 w1.Value1(), (f2 - log(1.0F + exp(f2 - f1)))); 139 w1.Value1(), (f1 - log(1.0F - exp(f1 - f2)))); 145 inline SignedLogWeightTpl<T> Minus(const SignedLogWeightTpl<T> &w1, argument 148 return Plus(w1, minus_w 152 Times(const SignedLogWeightTpl<T> &w1, const SignedLogWeightTpl<T> &w2) argument 167 Divide(const SignedLogWeightTpl<T> &w1, const SignedLogWeightTpl<T> &w2, DivideType typ = DIVIDE_ANY) argument 189 ApproxEqual(const SignedLogWeightTpl<T> &w1, const SignedLogWeightTpl<T> &w2, float delta = kDelta) argument 203 operator ==(const SignedLogWeightTpl<T> &w1, const SignedLogWeightTpl<T> &w2) argument [all...] |
H A D | sparse-power-weight.h | 150 inline SparsePowerWeight<W, K> Plus(const SparsePowerWeight<W, K> &w1, argument 154 SparseTupleWeightMap(&ret, w1, w2, operator_mapper); 160 inline SparsePowerWeight<W, K> Times(const SparsePowerWeight<W, K> &w1, argument 164 SparseTupleWeightMap(&ret, w1, w2, operator_mapper); 170 inline SparsePowerWeight<W, K> Divide(const SparsePowerWeight<W, K> &w1, argument 175 SparseTupleWeightMap(&ret, w1, w2, operator_mapper); 181 inline const W& DotProduct(const SparsePowerWeight<W, K> &w1, argument 183 const SparsePowerWeight<W, K>& product = Times(w1, w2); 192 inline bool ApproxEqual(const SparsePowerWeight<W, K> &w1, argument 197 SparseTupleWeightMap(&ret, w1, w 209 Times(const SparsePowerWeight<W, K> &w1, const W &k) argument 216 Divide(const SparsePowerWeight<W, K> &w1, const W &k, DivideType divide_type = DIVIDE_ANY) argument [all...] |
H A D | tuple-weight.h | 246 inline bool operator==(const TupleWeight<W, n> &w1, argument 250 equal = equal && (w1.Value(i) == w2.Value(i)); 255 inline bool operator!=(const TupleWeight<W, n> &w1, argument 259 not_equal = not_equal || (w1.Value(i) != w2.Value(i)); 264 inline bool ApproxEqual(const TupleWeight<W, n> &w1, argument 270 ApproxEqual(w1.Value(i), w2.Value(i), delta);
|
/external/openfst/src/test/ |
H A D | weight-tester.h | 42 Weight w1 = weight_generator_(); local 47 VLOG(1) << "w1 = " << w1; 51 TestSemiring(w1, w2, w3); 53 TestDivision(w1, w2); 54 TestReverse(w1, w2); 55 TestEquality(w1, w2, w3); 56 TestIO(w1); 57 TestCopy(w1); 66 void TestSemiring(Weight w1, Weigh argument 77 CHECK(Plus(Weight::Zero(), w1) == w1); local 79 CHECK(Times(Weight::One(), w1) == w1); local 129 TestDivision(Weight w1, Weight w2) argument 156 TestReverse(Weight w1, Weight w2) argument 168 TestEquality(Weight w1, Weight w2, Weight w3) argument [all...] |
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/ |
H A D | ChunkedIntArray.java | 71 int appendSlot(int w0, int w1, int w2, int w3) argument 78 fastArray[newoffset+1] = w1; 96 chunk[slotpos+1] = w1; 217 * @param w1 int 221 void writeSlot(int position, int w0, int w1, int w2, int w3) argument 232 chunk[slotpos + 1] = w1;
|
/external/clang/test/SemaCXX/ |
H A D | default-assignment-operator.cpp | 53 W w1, w2; variable 56 w1 = w2;
|
/external/dropbear/libtomcrypt/src/ciphers/ |
H A D | skipjack.c | 91 tmp = g_func(w1, &kp, skey->skipjack.key); \ 92 w1 = tmp ^ w4 ^ x; \ 97 tmp = g_func(w1, &kp, skey->skipjack.key); \ 99 w3 = w1 ^ w2 ^ x; \ 100 w1 = tmp1; w2 = tmp; 103 tmp = w1 ^ w2 ^ x; \ 104 w1 = ig_func(w2, &kp, skey->skipjack.key); \ 110 w3 = w4; w4 = w1; w1 = tmp; 149 unsigned w1,w local 213 unsigned w1,w2,w3,w4,tmp; local [all...] |
/external/quake/quake/src/QW/client/ |
H A D | net_chan.c | 228 unsigned w1, w2; local 262 w1 = chan->outgoing_sequence | (send_reliable<<31); 267 MSG_WriteLong (&send, w1);
|
/external/libvorbis/lib/ |
H A D | mdct.c | 352 DATA_TYPE *w1 = x = w0+(n>>1); local 364 w1 -= 4; 370 w1[2] = r0 - r2; 372 w1[3] = r3 - r1; 386 w1[0] = r0 - r2; 388 w1[1] = r3 - r1; 394 }while(w0<w1);
|
/external/opencv/cv/src/ |
H A D | cvmatchcontours.cpp | 231 double match_v, d12, area1, area2, r11, r12, r21, r22, w1, w2; local 284 r11 = r12 = r21 = r22 = w1 = w2 = d12 = 0; 314 w1 = ptr11[j]->area / area1; 343 t0 = fabs( r11 * w1 + r21 * w2 ); 344 t1 = fabs( r12 * w1 + r22 * w2 ); 348 t0 = fabs( r11 * w1 - r21 * w2 ); 349 t1 = fabs( r12 * w1 - r22 * w2 );
|
/external/opencv/cxcore/src/ |
H A D | cxdxt.cpp | 227 CvComplex64f w, w1; local 357 w.re = w1.re = icvDxtTab[m][0]; 358 w.im = w1.im = -icvDxtTab[m][1]; 363 w.im = w1.im = sin(t); 364 w.re = w1.re = sqrt(1. - w1.im*w1.im); 387 t = w.re*w1.re - w.im*w1.im; 388 w.im = w.re*w1 [all...] |
/external/srec/srec/cfront/ |
H A D | spec_anl.c | 455 float w1 = x - l; local 456 float w2 = 1 - w1; 460 tmpbuf[i] = (int)(w1 * inbuf[u] + w2 * inbuf[l]);
|