/external/openfst/src/test/ |
weight-tester.h | 43 Weight w2 = weight_generator_(); local 48 VLOG(1) << "w2 = " << w2; 51 TestSemiring(w1, w2, w3); 53 TestDivision(w1, w2); 54 TestReverse(w1, w2); 55 TestEquality(w1, w2, w3); 66 void TestSemiring(Weight w1, Weight w2, Weight w3) { 68 CHECK(Plus(w1, w2).Member()); 69 CHECK(Times(w1, w2).Member()) [all...] |
/external/openfst/src/include/fst/ |
float-weight.h | 111 const FloatWeightTpl<T> &w2) { 115 volatile T v2 = w2.Value(); 120 const FloatWeightTpl<double> &w2) { 121 return operator==<double>(w1, w2); 125 const FloatWeightTpl<float> &w2) { 126 return operator==<float>(w1, w2); 131 const FloatWeightTpl<T> &w2) { 132 return !(w1 == w2); 136 const FloatWeightTpl<double> &w2) { 137 return operator!=<double>(w1, w2); [all...] |
string-weight.h | 297 const StringWeight<L, S> &w2) { 298 if (w1.Size() != w2.Size()) 302 StringWeightIterator<L, S> iter2(w2); 313 const StringWeight<L, S> &w2) { 314 return !(w1 == w2); 319 const StringWeight<L, S> &w2, 321 return w1 == w2; 371 const StringWeight<L, S> &w2) { 372 if (!w1.Member() || !w2.Member()) 375 return w2; 383 << " w2 = " << w2; local [all...] |
sparse-power-weight.h | 151 const SparsePowerWeight<W, K> &w2) { 154 SparseTupleWeightMap(&ret, w1, w2, operator_mapper); 161 const SparsePowerWeight<W, K> &w2) { 164 SparseTupleWeightMap(&ret, w1, w2, operator_mapper); 171 const SparsePowerWeight<W, K> &w2, 175 SparseTupleWeightMap(&ret, w1, w2, operator_mapper); 182 const SparsePowerWeight<W, K> &w2) { 183 const SparsePowerWeight<W, K>& product = Times(w1, w2); 193 const SparsePowerWeight<W, K> &w2, 197 SparseTupleWeightMap(&ret, w1, w2, operator_mapper) [all...] |
signed-log-weight.h | 109 const SignedLogWeightTpl<T> &w2) { 110 if (!w1.Member() || !w2.Member()) 113 bool s2 = w2.Value1().Value() > 0.0; 115 T f2 = w2.Value2().Value(); 117 return w2; 131 w2.Value1(), (f2 - log(1.0F - exp(f2 - f1)))); 136 w2.Value1(), (f1 - log(1.0F + exp(f1 - f2)))); 146 const SignedLogWeightTpl<T> &w2) { 147 SignedLogWeightTpl<T> minus_w2(-w2.Value1().Value(), w2.Value2()) [all...] |
weight.h | 142 bool operator()(const W &w1, const W &w2) const { 143 return (Plus(w1, w2) == w1) && w1 != w2; 162 template <class W1, class W2> 164 W2 operator()(W1 w1) const { 166 << W1::Type() << "\" to \"" << W2::Type(); 167 return W2::NoWeight();
|
pair-weight.h | 37 template<class W1, class W2> class PairWeight; 38 template <class W1, class W2> 39 istream &operator>>(istream &strm, PairWeight<W1, W2> &w); 41 template<class W1, class W2> 44 friend istream &operator>><W1, W2>(istream&, PairWeight<W1, W2>&); 47 typename W2::ReverseWeight> 54 PairWeight(W1 w1, W2 w2) : value1_(w1), value2_(w2) {} 136 W2 w2 = W2::Zero(); local 137 strm >> w2; local 199 W2 w2 = W2::Zero(); local 200 strm2 >> w2; local [all...] |
power-weight.h | 100 const PowerWeight<W, n> &w2) { 103 w.SetValue(i, Plus(w1.Value(i), w2.Value(i))); 110 const PowerWeight<W, n> &w2) { 113 w.SetValue(i, Times(w1.Value(i), w2.Value(i))); 120 const PowerWeight<W, n> &w2, 124 w.SetValue(i, Divide(w1.Value(i), w2.Value(i), type)); 149 const PowerWeight<W, n> &w2) { 152 w = Plus(w, Times(w1.Value(i), w2.Value(i)));
|
/bionic/libc/arch-arm/bionic/ |
strcmp.S | 141 w2 .req r5 168 ldr w2, [wp2], #4 177 cmp t1, w2, SHFT2LSB #8 183 ldreq w2, [wp2], #4 186 cmp t1, w2, SHFT2MSB #24 191 SHFT2LSB w2, w2, #8 208 ldrb w2, [wp2] 211 lsl w2, w2, #2 [all...] |
/external/srec/tools/thirdparty/OpenFst/fst/lib/ |
float-weight.h | 68 inline bool operator==(const FloatWeight &w1, const FloatWeight &w2) { 72 volatile float v2 = w2.Value(); 76 inline bool operator!=(const FloatWeight &w1, const FloatWeight &w2) { 77 return !(w1 == w2); 80 inline bool ApproxEqual(const FloatWeight &w1, const FloatWeight &w2, 82 return w1.Value() <= w2.Value() + delta && w2.Value() <= w1.Value() + delta; 153 const TropicalWeight &w2) { 154 return w1.Value() < w2.Value() ? w1 : w2; [all...] |
weight.h | 132 bool operator()(const W &w1, const W &w2) const { 133 return (Plus(w1, w2) == w1) && w1 != w2;
|
string-weight.h | 289 const StringWeight<L, S> &w2) { 290 if (w1.Size() != w2.Size()) 294 StringWeightIterator<L, S> iter2(w2); 305 const StringWeight<L, S> &w2) { 306 return !(w1 == w2); 311 const StringWeight<L, S> &w2, 313 return w1 == w2; 363 const StringWeight<L, S> &w2) { 365 return w2; 366 if (w2 == StringWeight<L, S>::Zero() [all...] |
product-weight.h | 28 // Product semiring: W1 * W2 29 template<class W1, class W2> 32 typedef ProductWeight<typename W1::ReverseWeight, typename W2::ReverseWeight> 37 ProductWeight(W1 w1, W2 w2) : value1_(w1), value2_(w2) {} 39 static const ProductWeight<W1, W2> &Zero() { 40 static const ProductWeight<W1, W2> zero(W1::Zero(), W2::Zero()); 44 static const ProductWeight<W1, W2> &One() 163 W2 w2 = W2::Zero(); local 164 strm >> w2; local [all...] |
/external/dropbear/libtommath/ |
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, 145 /* w2 = (a2 + a1 + a0)(b2 + b1 + b0) */ 158 if ((res = mp_mul(&tmp1, &tmp2, &w2)) != MP_OKAY) { 191 if ((res = mp_sub(&w2, &w0, &w2)) != MP_OKAY) { 194 if ((res = mp_sub(&w2, &w4, &w2)) != MP_OKAY) { 198 if ((res = mp_sub(&w1, &w2, &w1)) != MP_OKAY) { 202 if ((res = mp_sub(&w3, &w2, &w3)) != MP_OKAY) [all...] |
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) { 96 /* w2 = (a2 + a1 + a0)**2 */ 103 if ((res = mp_sqr(&tmp1, &w2)) != MP_OKAY) { 135 if ((res = mp_sub(&w2, &w0, &w2)) != MP_OKAY) { 138 if ((res = mp_sub(&w2, &w4, &w2)) != MP_OKAY) { 142 if ((res = mp_sub(&w1, &w2, &w1)) != MP_OKAY) { 146 if ((res = mp_sub(&w3, &w2, &w3)) != MP_OKAY) [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/gem/ |
SDL_gemevents.c | 82 short x2,y2,w2,h2; local 86 x2=y2=w2=h2 = 0; 90 wind_get (GEM_handle, WF_WORKXYWH, &x2, &y2, &w2, &h2); 99 mouse_event,x2,y2,w2,h2, 172 short x2,y2,w2,h2; local 229 wind_get (message[3], WF_WORKXYWH, &x2, &y2, &w2, &h2); 232 SDL_PrivateResize(w2, h2); 249 wind_get (message[3], WF_WORKXYWH, &x2, &y2, &w2, &h2); 251 SDL_PrivateResize(w2, h2); 296 short x2, y2, w2, h2 local [all...] |
/external/dropbear/libtomcrypt/src/ciphers/ |
skipjack.c | 93 w4 = w3; w3 = w2; \ 94 w2 = tmp; 99 w3 = w1 ^ w2 ^ x; \ 100 w1 = tmp1; w2 = tmp; 103 tmp = w1 ^ w2 ^ x; \ 104 w1 = ig_func(w2, &kp, skey->skipjack.key); \ 105 w2 = w3; w3 = w4; w4 = tmp; 108 tmp = ig_func(w2, &kp, skey->skipjack.key); \ 109 w2 = tmp ^ w3 ^ x; \ 149 unsigned w1,w2,w3,w4,tmp,tmp1 local 213 unsigned w1,w2,w3,w4,tmp; local [all...] |
/frameworks/av/media/libstagefright/codecs/aacdec/ |
esc_iquant_scaling.cpp | 199 w2 = inverseQuantTable[index+1]; 201 deltaOneThird = (w2 - w1) * (absX - x1); 449 UInt32 w1, w2; local 554 w2 = inverseQuantTable[index+1]; 557 deltaOneThird = (w2 - w1) * (absX - x1); 580 w2 = inverseQuantTable[index+1]; 583 deltaOneThird = (w2 - w1) * (absX - x1); 603 w2 = inverseQuantTable[index+1]; 606 deltaOneThird = (w2 - w1) * (absX - x1); 627 w2 = inverseQuantTable[index+1] [all...] |
/external/clang/test/SemaCXX/ |
default-assignment-operator.cpp | 53 W w1, w2; variable 56 w1 = w2;
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
chvr_filter.cpp | 40 int w1, w2, w3, w4; local 57 w2 = width << 1; /* Offset to two rows in pixels */ 58 w3 = w1 + w2; /* Offset to three rows in pixels */ 59 w4 = w2 << 1; /* Offset to four rows in pixels */ 133 v[1] = (int)(*(ptr_c - w2)); 143 + (*(ptr_c + w2)) 187 a3_0 += ((*(ptr - w2) - *(ptr + w1)) << 1) + (a3_0 << 2); 192 a3_1 = *(ptr - w2) - *(ptr - w3); 195 a3_2 = *(ptr + w2) - *(ptr + w1);
|
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/ |
ChunkedIntArray.java | 71 int appendSlot(int w0, int w1, int w2, int w3) 79 fastArray[newoffset+2] = w2; 97 chunk[slotpos+2] = w2; 218 * @param w2 int 221 void writeSlot(int position, int w0, int w1, int w2, int w3) 233 chunk[slotpos + 2] = w2;
|
/external/opencv/cv/src/ |
_cvmatrix.h | 284 const float* src2, int w2, int h2, 295 for( i = 0; i < h1; i++, src1 += w1, dst += w2 ) 296 for( j = 0; j < w2; j++ ) 300 s += src1[k]*src2[j + k*w2]; 304 icvCheckVector_32f( dst, h1*w2 ); 309 const double* src2, int w2, int h2, 320 for( i = 0; i < h1; i++, src1 += w1, dst += w2 ) 321 for( j = 0; j < w2; j++ ) 325 s += src1[k]*src2[j + k*w2]; 329 icvCheckVector_64f( dst, h1*w2 ); [all...] |
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; 326 w2 = ptr21[j]->area / area2; 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/chromium/net/websockets/ |
websocket_throttle_unittest.cc | 106 scoped_refptr<WebSocketJob> w2(new WebSocketJob(&delegate)); 108 new SocketStream(GURL("ws://host2/"), w2.get())); 109 w2->InitSocketStream(s2.get()); 116 EXPECT_EQ(ERR_IO_PENDING, w2->OnStartOpenConnection(s2, &callback_s2)); 119 // 1.2.3.4 | w1 w2 137 // 1.2.3.4 | w1 w2 153 // Trying to open connection to host4 will wait for w1, w2. 156 // 1.2.3.4 | w1 w2 w4 174 // 1.2.3.4 | w1 w2 w4 192 // 1.2.3.4 | w1 w2 w [all...] |
/dalvik/dx/src/com/android/dx/command/dump/ |
BaseDumper.java | 277 int w2 = getWidth2(); local 283 IndentingWriter iw = new IndentingWriter(sw, w2, separator); 293 return TwoColumnOutput.toString(s1, w1, separator, s2, w2);
|