Searched defs:w1 (Results 1 - 25 of 70) sorted by relevance

123

/external/dropbear/libtommath/
H A Dbn_mp_toom_sqr.c22 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 Dbn_mp_toom_mul.c27 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 Dweight.h132 bool operator()(const W &w1, const W &w2) const { argument
133 return (Plus(w1, w2) == w1) && w1 != w2;
H A Drandom-weight.h135 W1 w1 = generator1_(); local
137 return Weight(w1, w2);
H A Dfloat-weight.h68 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 Dproduct-weight.h37 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 Dquery_parser_unittest.cc142 const std::string w1; member in struct:TestData2
157 EXPECT_EQ(data[i].w1, UTF16ToUTF8(results[0]));
/external/openfst/src/include/fst/
H A Dlexicographic-weight.h61 LexicographicWeight(W1 w1, W2 w2) : PairWeight<W1, W2>(w1, w2) { argument
H A Dproduct-weight.h50 ProductWeight(W1 w1, W2 w2) : PairWeight<W1, W2>(w1, w2) {} argument
H A Dweight.h142 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 Dpower-weight.h99 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 Drandom-weight.h196 W1 w1 = generator1_(); local
198 return Weight(w1, w2);
228 W1 w1 = generator1_(); local
230 return Weight(w1, w2);
H A Dpair-weight.h54 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 Dsigned-log-weight.h108 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 Dsparse-power-weight.h150 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 Dtuple-weight.h246 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 Dweight-tester.h42 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 DChunkedIntArray.java71 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 Ddefault-assignment-operator.cpp53 W w1, w2; variable
56 w1 = w2;
/external/dropbear/libtomcrypt/src/ciphers/
H A Dskipjack.c91 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 Dnet_chan.c228 unsigned w1, w2; local
262 w1 = chan->outgoing_sequence | (send_reliable<<31);
267 MSG_WriteLong (&send, w1);
/external/libvorbis/lib/
H A Dmdct.c352 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 Dcvmatchcontours.cpp231 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 Dcxdxt.cpp227 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 Dspec_anl.c455 float w1 = x - l; local
456 float w2 = 1 - w1;
460 tmpbuf[i] = (int)(w1 * inbuf[u] + w2 * inbuf[l]);

Completed in 689 milliseconds

123