/external/openfst/src/include/fst/ |
D | 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 …]
|
D | 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) { in Plus() argument 372 if (!w1.Member() || !w2.Member()) in Plus() 375 return w2; in Plus() [all …]
|
D | signed-log-weight.h | 109 const SignedLogWeightTpl<T> &w2) { in Plus() argument 110 if (!w1.Member() || !w2.Member()) in Plus() 113 bool s2 = w2.Value1().Value() > 0.0; in Plus() 115 T f2 = w2.Value2().Value(); in Plus() 117 return w2; in Plus() 131 w2.Value1(), (f2 - log(1.0F - exp(f2 - f1)))); in Plus() 136 w2.Value1(), (f1 - log(1.0F + exp(f1 - f2)))); in Plus() 146 const SignedLogWeightTpl<T> &w2) { in Minus() argument 147 SignedLogWeightTpl<T> minus_w2(-w2.Value1().Value(), w2.Value2()); in Minus() 153 const SignedLogWeightTpl<T> &w2) { in Times() argument [all …]
|
D | sparse-power-weight.h | 151 const SparsePowerWeight<W, K> &w2) { in Plus() argument 154 SparseTupleWeightMap(&ret, w1, w2, operator_mapper); in Plus() 161 const SparsePowerWeight<W, K> &w2) { in Times() argument 164 SparseTupleWeightMap(&ret, w1, w2, operator_mapper); in Times() 171 const SparsePowerWeight<W, K> &w2, 175 SparseTupleWeightMap(&ret, w1, w2, operator_mapper); 182 const SparsePowerWeight<W, K> &w2) { in DotProduct() argument 183 const SparsePowerWeight<W, K>& product = Times(w1, w2); in DotProduct() 193 const SparsePowerWeight<W, K> &w2, 197 SparseTupleWeightMap(&ret, w1, w2, operator_mapper); [all …]
|
D | pair-weight.h | 54 PairWeight(W1 w1, W2 w2) : value1_(w1), value2_(w2) {} in PairWeight() argument 136 W2 w2 = W2::Zero(); in ReadNoParen() local 137 strm >> w2; in ReadNoParen() 139 w = PairWeight<W1, W2>(w1, w2); in ReadNoParen() 199 W2 w2 = W2::Zero(); in ReadWithParen() local 200 strm2 >> w2; in ReadWithParen() 202 w = PairWeight<W1, W2>(w1, w2); in ReadWithParen() 220 const PairWeight<W1, W2> &w2) { 221 return w1.Value1() != w2.Value1() || w1.Value2() != w2.Value2(); 227 const PairWeight<W1, W2> &w2, [all …]
|
D | power-weight.h | 100 const PowerWeight<W, n> &w2) { in Plus() argument 103 w.SetValue(i, Plus(w1.Value(i), w2.Value(i))); in Plus() 110 const PowerWeight<W, n> &w2) { in Times() argument 113 w.SetValue(i, Times(w1.Value(i), w2.Value(i))); in Times() 120 const PowerWeight<W, n> &w2, 124 w.SetValue(i, Divide(w1.Value(i), w2.Value(i), type)); 149 const PowerWeight<W, n> &w2) { in DotProduct() argument 152 w = Plus(w, Times(w1.Value(i), w2.Value(i))); in DotProduct()
|
D | weight.h | 142 bool operator()(const W &w1, const W &w2) const { in operator() 143 return (Plus(w1, w2) == w1) && w1 != w2; in operator()
|
D | tuple-weight.h | 247 const TupleWeight<W, n> &w2) { 250 equal = equal && (w1.Value(i) == w2.Value(i)); 256 const TupleWeight<W, n> &w2) { 259 not_equal = not_equal || (w1.Value(i) != w2.Value(i)); 265 const TupleWeight<W, n> &w2, 270 ApproxEqual(w1.Value(i), w2.Value(i), delta);
|
/external/openfst/src/test/ |
D | weight-tester.h | 43 Weight w2 = weight_generator_(); variable 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) { in TestSemiring() argument 68 CHECK(Plus(w1, w2).Member()); in TestSemiring() 69 CHECK(Times(w1, w2).Member()); in TestSemiring() 72 CHECK(ApproxEqual(Plus(w1, Plus(w2, w3)), Plus(Plus(w1, w2), w3))); in TestSemiring() [all …]
|
/external/srec/tools/thirdparty/OpenFst/fst/lib/ |
D | 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) { in Plus() argument 154 return w1.Value() < w2.Value() ? w1 : w2; in Plus() 158 const TropicalWeight &w2) { in Times() argument 159 float f1 = w1.Value(), f2 = w2.Value(); in Times() [all …]
|
D | 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) { in Plus() argument 365 return w2; in Plus() 366 if (w2 == StringWeight<L, S>::Zero()) in Plus() [all …]
|
D | product-weight.h | 37 ProductWeight(W1 w1, W2 w2) : value1_(w1), value2_(w2) {} in ProductWeight() argument 112 const ProductWeight<W1, W2> &w2) { 113 return w1.Value1() != w2.Value1() || w1.Value2() != w2.Value2(); 119 const ProductWeight<W1, W2> &w2, 121 return w1 == w2; 163 W2 w2 = W2::Zero(); 164 strm >> w2; 166 w = ProductWeight<W1, W2>(w1, w2);
|
D | weight.h | 132 bool operator()(const W &w1, const W &w2) const { in operator() 133 return (Plus(w1, w2) == w1) && w1 != w2; in operator()
|
/external/dropbear/libtommath/ |
D | bn_mp_toom_sqr.c | 22 mp_int w0, w1, w2, w3, w4, tmp1, a0, a1, a2; in mp_toom_sqr() local 26 if ((res = mp_init_multi(&w0, &w1, &w2, &w3, &w4, &a0, &a1, &a2, &tmp1, NULL)) != MP_OKAY) { in mp_toom_sqr() 103 if ((res = mp_sqr(&tmp1, &w2)) != MP_OKAY) { in mp_toom_sqr() 135 if ((res = mp_sub(&w2, &w0, &w2)) != MP_OKAY) { in mp_toom_sqr() 138 if ((res = mp_sub(&w2, &w4, &w2)) != MP_OKAY) { in mp_toom_sqr() 142 if ((res = mp_sub(&w1, &w2, &w1)) != MP_OKAY) { in mp_toom_sqr() 146 if ((res = mp_sub(&w3, &w2, &w3)) != MP_OKAY) { in mp_toom_sqr() 164 if ((res = mp_mul_d(&w2, 3, &w2)) != MP_OKAY) { in mp_toom_sqr() 167 if ((res = mp_sub(&w2, &w1, &w2)) != MP_OKAY) { in mp_toom_sqr() 170 if ((res = mp_sub(&w2, &w3, &w2)) != MP_OKAY) { in mp_toom_sqr() [all …]
|
D | bn_mp_toom_mul.c | 27 mp_int w0, w1, w2, w3, w4, tmp1, tmp2, a0, a1, a2, b0, b1, b2; in mp_toom_mul() local 31 if ((res = mp_init_multi(&w0, &w1, &w2, &w3, &w4, in mp_toom_mul() 158 if ((res = mp_mul(&tmp1, &tmp2, &w2)) != MP_OKAY) { in mp_toom_mul() 191 if ((res = mp_sub(&w2, &w0, &w2)) != MP_OKAY) { in mp_toom_mul() 194 if ((res = mp_sub(&w2, &w4, &w2)) != MP_OKAY) { in mp_toom_mul() 198 if ((res = mp_sub(&w1, &w2, &w1)) != MP_OKAY) { in mp_toom_mul() 202 if ((res = mp_sub(&w3, &w2, &w3)) != MP_OKAY) { in mp_toom_mul() 220 if ((res = mp_mul_d(&w2, 3, &w2)) != MP_OKAY) { in mp_toom_mul() 223 if ((res = mp_sub(&w2, &w1, &w2)) != MP_OKAY) { in mp_toom_mul() 226 if ((res = mp_sub(&w2, &w3, &w2)) != MP_OKAY) { in mp_toom_mul() [all …]
|
/external/dropbear/libtomcrypt/src/ciphers/ |
D | 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; in _skipjack_ecb_encrypt() local [all …]
|
/external/qemu/distrib/sdl-1.2.15/src/video/gem/ |
D | SDL_gemevents.c | 83 short x2,y2,w2,h2; in GEM_PumpEvents() local 89 x2=y2=w2=h2 = 0; in GEM_PumpEvents() 93 wind_get (GEM_handle, WF_WORKXYWH, &x2, &y2, &w2, &h2); in GEM_PumpEvents() 102 mouse_event,x2,y2,w2,h2, in GEM_PumpEvents() 177 short x2,y2,w2,h2; in do_messages() local 234 wind_get (message[3], WF_WORKXYWH, &x2, &y2, &w2, &h2); in do_messages() 237 SDL_PrivateResize(w2, h2); in do_messages() 254 wind_get (message[3], WF_WORKXYWH, &x2, &y2, &w2, &h2); in do_messages() 256 SDL_PrivateResize(w2, h2); in do_messages() 301 short x2, y2, w2, h2; in do_mouse() local [all …]
|
/external/okhttp/src/main/java/libcore/net/spdy/ |
D | SpdyReader.java | 92 int w2 = in.readInt(); in nextFrame() local 95 flags = (w2 & 0xff000000) >>> 24; in nextFrame() 96 length = (w2 & 0xffffff); in nextFrame() 127 int w2 = in.readInt(); in readSynStream() local 130 associatedStreamId = w2 & 0x7fffffff; in readSynStream()
|
/external/opencv/cv/src/ |
D | _cvmatrix.h | 284 const float* src2, int w2, int h2, in icvMulMatrix_32f() argument 295 for( i = 0; i < h1; i++, src1 += w1, dst += w2 ) in icvMulMatrix_32f() 296 for( j = 0; j < w2; j++ ) in icvMulMatrix_32f() 300 s += src1[k]*src2[j + k*w2]; in icvMulMatrix_32f() 304 icvCheckVector_32f( dst, h1*w2 ); in icvMulMatrix_32f() 309 const double* src2, int w2, int h2, in icvMulMatrix_64d() argument 320 for( i = 0; i < h1; i++, src1 += w1, dst += w2 ) in icvMulMatrix_64d() 321 for( j = 0; j < w2; j++ ) in icvMulMatrix_64d() 325 s += src1[k]*src2[j + k*w2]; in icvMulMatrix_64d() 329 icvCheckVector_64f( dst, h1*w2 ); in icvMulMatrix_64d()
|
D | cvmatchcontours.cpp | 231 double match_v, d12, area1, area2, r11, r12, r21, r22, w1, w2; in cvMatchContourTrees() local 284 r11 = r12 = r21 = r22 = w1 = w2 = d12 = 0; in cvMatchContourTrees() 326 w2 = ptr21[j]->area / area2; in cvMatchContourTrees() 343 t0 = fabs( r11 * w1 + r21 * w2 ); in cvMatchContourTrees() 344 t1 = fabs( r12 * w1 + r22 * w2 ); in cvMatchContourTrees() 348 t0 = fabs( r11 * w1 - r21 * w2 ); in cvMatchContourTrees() 349 t1 = fabs( r12 * w1 - r22 * w2 ); in cvMatchContourTrees()
|
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/ |
D | DTMDocumentImpl.java | 206 private final int appendNode(int w0, int w1, int w2, int w3) in appendNode() argument 209 int slotnumber = nodes.appendSlot(w0, w1, w2, w3); in appendNode() 211 if (DEBUG) System.out.println(slotnumber+": "+w0+" "+w1+" "+w2+" "+w3); in appendNode() 2099 int w2 = m_char_current_start; in appendTextChild() local 2103 int ourslot = appendNode(w0, w1, w2, w3); in appendTextChild() 2122 int w2 = m_char_current_start; in appendComment() local 2126 int ourslot = appendNode(w0, w1, w2, w3); in appendComment() 2158 int w2 = 0; in appendStartElement() local 2164 int ourslot = appendNode(w0, w1, w2, w3); in appendStartElement() 2205 int w2 = 0; in appendNSDeclaration() local [all …]
|
D | ChunkedIntArray.java | 71 int appendSlot(int w0, int w1, int w2, int w3) in appendSlot() argument 97 chunk[slotpos+2] = w2; in appendSlot() 221 void writeSlot(int position, int w0, int w1, int w2, int w3) in writeSlot() argument 233 chunk[slotpos + 2] = w2; in writeSlot()
|
/external/opencv/cvaux/src/ |
D | cvmorphcontours.cpp | 384 double w1,w2; in _cvWorkEast() local 397 w2 = W[i-1][j].w_southeast + _cvBendingWork(&edges1[i-2], in _cvWorkEast() 403 if(w1<w2) in _cvWorkEast() 410 W[i][j].w_east = w2 + _cvStretchingWork( &edges1[i-1], &null_edge ); in _cvWorkEast() 422 double w1,w2,w3; in _cvWorkSouthEast() local 435 w2 = W[i-1][j-1].w_southeast + _cvBendingWork( &edges1[i-2], in _cvWorkSouthEast() 450 if( w1<w2 ) in _cvWorkSouthEast() 465 if( w2<w3) in _cvWorkSouthEast() 467 W[i][j].w_southeast = w2 + _cvStretchingWork( &edges1[i-1], &edges2[j-1] ); in _cvWorkSouthEast() 482 double w1,w2; in _cvWorkSouth() local [all …]
|
/external/chromium/net/websockets/ |
D | websocket_throttle_unittest.cc | 106 scoped_refptr<WebSocketJob> w2(new WebSocketJob(&delegate)); in TEST_F() local 108 new SocketStream(GURL("ws://host2/"), w2.get())); in TEST_F() 109 w2->InitSocketStream(s2.get()); in TEST_F() 116 EXPECT_EQ(ERR_IO_PENDING, w2->OnStartOpenConnection(s2, &callback_s2)); in TEST_F() 264 w2->OnClose(s2.get()); in TEST_F()
|
/external/clang/test/SemaCXX/ |
D | default-assignment-operator.cpp | 53 W w1, w2; variable 56 w1 = w2; in h()
|