Home
last modified time | relevance | path

Searched refs:w1 (Results 1 – 25 of 94) sorted by relevance

1234

/external/srec/tools/thirdparty/OpenFst/fst/lib/
Dfloat-weight.h68 inline bool operator==(const FloatWeight &w1, const FloatWeight &w2) {
71 volatile float v1 = w1.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;
152 inline TropicalWeight Plus(const TropicalWeight &w1, in Plus() argument
154 return w1.Value() < w2.Value() ? w1 : w2; in Plus()
157 inline TropicalWeight Times(const TropicalWeight &w1, in Times() argument
159 float f1 = w1.Value(), f2 = w2.Value(); in Times()
[all …]
Dstring-weight.h288 inline bool operator==(const StringWeight<L, S> &w1,
290 if (w1.Size() != w2.Size())
293 StringWeightIterator<L, S> iter1(w1);
304 inline bool operator!=(const StringWeight<L, S> &w1,
306 return !(w1 == w2);
310 inline bool ApproxEqual(const StringWeight<L, S> &w1,
313 return w1 == w2;
362 Plus(const StringWeight<L, S> &w1, in Plus() argument
364 if (w1 == StringWeight<L, S>::Zero()) in Plus()
367 return w1; in Plus()
[all …]
Dproduct-weight.h37 ProductWeight(W1 w1, W2 w2) : value1_(w1), value2_(w2) {} in ProductWeight() argument
111 inline bool operator!=(const ProductWeight<W1, W2> &w1,
113 return w1.Value1() != w2.Value1() || w1.Value2() != w2.Value2();
118 inline bool ApproxEqual(const ProductWeight<W1, W2> &w1,
121 return w1 == w2;
159 W1 w1 = W1::Zero();
160 strm1 >> w1;
166 w = ProductWeight<W1, W2>(w1, w2);
Dweight.h132 bool operator()(const W &w1, const W &w2) const { in operator()
133 return (Plus(w1, w2) == w1) && w1 != w2; in operator()
Ddeterminize.h51 W operator()(const W &w1, const W &w2) const { return Plus(w1, w2); } in operator()
64 Weight operator()(const Weight &w1, const Weight &w2) const { in operator()
65 StringWeightIterator<L, S> iter1(w1); in operator()
71 if (w1.Size() == 0 || w2.Size() == 0) in operator()
73 else if (w1 == Weight::Zero()) in operator()
93 Weight operator()(const Weight &w1, const Weight &w2) const { in operator()
94 return Weight(label_common_divisor_(w1.Value1(), w2.Value1()), in operator()
95 weight_common_divisor_(w1.Value2(), w2.Value2())); in operator()
Dmap.h731 SW w1 = arc.weight.Value1(); in operator() local
733 StringWeightIterator<Label, S> iter1(w1); in operator()
735 Label l = w1.Size() == 1 ? iter1.Value() : 0; in operator()
740 CHECK(w1.Size() <= 1); in operator()
785 SW w1 = arc.weight.Value1(); in operator() local
789 if (w1.Size() == 0) { in operator()
792 typename Map::iterator miter = map_.find(w1); in operator()
797 map_.insert(pair<const SW, Label>(w1, l)); in operator()
798 StringWeightIterator<Label, S> iter1(w1); in operator()
802 i < w1.Size(); in operator()
[all …]
Drandom-weight.h135 W1 w1 = generator1_(); in operator() local
137 return Weight(w1, w2); in operator()
/external/dropbear/libtommath/
Dbn_mp_toom_sqr.c22 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()
73 if ((res = mp_sqr(&tmp1, &w1)) != MP_OKAY) { in mp_toom_sqr()
119 if ((res = mp_sub(&w1, &w4, &w1)) != MP_OKAY) { in mp_toom_sqr()
127 if ((res = mp_div_2(&w1, &w1)) != MP_OKAY) { in mp_toom_sqr()
142 if ((res = mp_sub(&w1, &w2, &w1)) != MP_OKAY) { in mp_toom_sqr()
153 if ((res = mp_sub(&w1, &tmp1, &w1)) != MP_OKAY) { in mp_toom_sqr()
167 if ((res = mp_sub(&w2, &w1, &w2)) != MP_OKAY) { in mp_toom_sqr()
174 if ((res = mp_sub(&w1, &w2, &w1)) != MP_OKAY) { in mp_toom_sqr()
182 if ((res = mp_div_3(&w1, &w1, NULL)) != MP_OKAY) { in mp_toom_sqr()
[all …]
Dbn_mp_toom_mul.c27 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()
109 if ((res = mp_mul(&tmp1, &tmp2, &w1)) != MP_OKAY) { in mp_toom_mul()
175 if ((res = mp_sub(&w1, &w4, &w1)) != MP_OKAY) { in mp_toom_mul()
183 if ((res = mp_div_2(&w1, &w1)) != MP_OKAY) { in mp_toom_mul()
198 if ((res = mp_sub(&w1, &w2, &w1)) != MP_OKAY) { in mp_toom_mul()
209 if ((res = mp_sub(&w1, &tmp1, &w1)) != MP_OKAY) { in mp_toom_mul()
223 if ((res = mp_sub(&w2, &w1, &w2)) != MP_OKAY) { in mp_toom_mul()
230 if ((res = mp_sub(&w1, &w2, &w1)) != MP_OKAY) { in mp_toom_mul()
238 if ((res = mp_div_3(&w1, &w1, NULL)) != MP_OKAY) { in mp_toom_mul()
[all …]
/external/dropbear/libtomcrypt/src/ciphers/
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,w2,w3,w4,tmp,tmp1; in _skipjack_ecb_encrypt() local
157 w1 = ((unsigned)pt[0]<<8)|pt[1]; in _skipjack_ecb_encrypt()
[all …]
/external/chromium/net/websockets/
Dwebsocket_throttle_unittest.cc86 scoped_refptr<WebSocketJob> w1(new WebSocketJob(&delegate)); in TEST_F() local
88 new SocketStream(GURL("ws://host1/"), w1.get())); in TEST_F()
89 w1->InitSocketStream(s1.get()); in TEST_F()
96 EXPECT_EQ(OK, w1->OnStartOpenConnection(s1, &callback_s1)); in TEST_F()
199 w1->OnReceivedData(s1.get(), kHeader, sizeof(kHeader) - 1); in TEST_F()
215 w1->OnReceivedData(s1.get(), kHeader2, sizeof(kHeader2) - 1); in TEST_F()
218 EXPECT_EQ(WebSocketJob::OPEN, w1->state()); in TEST_F()
230 w1->OnClose(s1.get()); in TEST_F()
289 scoped_refptr<WebSocketJob> w1(new WebSocketJob(&delegate)); in TEST_F() local
291 new SocketStream(GURL("ws://localhost/"), w1.get())); in TEST_F()
[all …]
/external/tremolo/Tremolo/
Dmdct.c276 DATA_TYPE *w1 = x+(n>>1); in mdct_step7() local
282 w1 -= 2; in mdct_step7()
284 s0 = w0[0] + w1[0]; in mdct_step7()
285 s1 = w1[1] - w0[1]; in mdct_step7()
290 s0 = (w0[1] + w1[1])>>1; in mdct_step7()
291 s1 = (w0[0] - w1[0])>>1; in mdct_step7()
294 w1[0] = s0 - s2; in mdct_step7()
295 w1[1] = s3 - s1; in mdct_step7()
300 w1 -= 2; in mdct_step7()
302 s0 = w0[0] + w1[0]; in mdct_step7()
[all …]
/external/opencv/cv/src/
Dcvmatchcontours.cpp231 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()
314 w1 = ptr11[j]->area / area1; 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()
D_cvmatrix.h283 CV_INLINE void icvMulMatrix_32f( const float* src1, int w1, int h1, in icvMulMatrix_32f() argument
289 if( w1 != h2 ) in icvMulMatrix_32f()
295 for( i = 0; i < h1; i++, src1 += w1, dst += w2 ) in icvMulMatrix_32f()
299 for( k = 0; k < w1; k++ ) in icvMulMatrix_32f()
308 CV_INLINE void icvMulMatrix_64d( const double* src1, int w1, int h1, in icvMulMatrix_64d() argument
314 if( w1 != h2 ) in icvMulMatrix_64d()
320 for( i = 0; i < h1; i++, src1 += w1, dst += w2 ) in icvMulMatrix_64d()
324 for( k = 0; k < w1; k++ ) in icvMulMatrix_64d()
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/
DDTMDocumentImpl.java206 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()
2097 int w1 = currentParent; in appendTextChild() local
2103 int ourslot = appendNode(w0, w1, w2, w3); in appendTextChild()
2120 int w1 = currentParent; in appendComment() local
2126 int ourslot = appendNode(w0, w1, w2, w3); in appendComment()
2156 int w1 = currentParent; in appendStartElement() local
2164 int ourslot = appendNode(w0, w1, w2, w3); in appendStartElement()
2203 int w1 = currentParent; in appendNSDeclaration() local
[all …]
DChunkedIntArray.java71 int appendSlot(int w0, int w1, int w2, int w3) in appendSlot() argument
96 chunk[slotpos+1] = w1; in appendSlot()
221 void writeSlot(int position, int w0, int w1, int w2, int w3) in writeSlot() argument
232 chunk[slotpos + 1] = w1; in writeSlot()
/external/opencv/cvaux/src/
Dcvmorphcontours.cpp384 double w1,w2; in _cvWorkEast() local
388 w1 = W[i-1][j].w_east /*+ _cvBendingWork( &edges1[i-2], in _cvWorkEast()
403 if(w1<w2) in _cvWorkEast()
405 W[i][j].w_east = w1 + _cvStretchingWork( &edges1[i-1], &null_edge ); in _cvWorkEast()
422 double w1,w2,w3; in _cvWorkSouthEast() local
429 w1 = W[i-1][j-1].w_east + _cvBendingWork(&edges1[i-2], in _cvWorkSouthEast()
450 if( w1<w2 ) in _cvWorkSouthEast()
452 if(w1<w3) in _cvWorkSouthEast()
454 W[i][j].w_southeast = w1 + _cvStretchingWork( &edges1[i-1], &edges2[j-1] ); in _cvWorkSouthEast()
482 double w1,w2; in _cvWorkSouth() local
[all …]
/external/clang/test/SemaCXX/
Ddefault-assignment-operator.cpp53 W w1, w2; variable
56 w1 = w2; in h()
/external/quake/quake/src/QW/client/
Dnet_chan.c228 unsigned w1, w2; in Netchan_Transmit() local
262 w1 = chan->outgoing_sequence | (send_reliable<<31); in Netchan_Transmit()
267 MSG_WriteLong (&send, w1); in Netchan_Transmit()
/external/dropbear/libtommath/pre_gen/
Dmpi.c7847 mp_int w0, w1, w2, w3, w4, tmp1, tmp2, a0, a1, a2, b0, b1, b2; in mp_toom_mul() local
7851 if ((res = mp_init_multi(&w0, &w1, &w2, &w3, &w4, in mp_toom_mul()
7929 if ((res = mp_mul(&tmp1, &tmp2, &w1)) != MP_OKAY) { in mp_toom_mul()
7995 if ((res = mp_sub(&w1, &w4, &w1)) != MP_OKAY) { in mp_toom_mul()
8003 if ((res = mp_div_2(&w1, &w1)) != MP_OKAY) { in mp_toom_mul()
8018 if ((res = mp_sub(&w1, &w2, &w1)) != MP_OKAY) { in mp_toom_mul()
8029 if ((res = mp_sub(&w1, &tmp1, &w1)) != MP_OKAY) { in mp_toom_mul()
8043 if ((res = mp_sub(&w2, &w1, &w2)) != MP_OKAY) { in mp_toom_mul()
8050 if ((res = mp_sub(&w1, &w2, &w1)) != MP_OKAY) { in mp_toom_mul()
8058 if ((res = mp_div_3(&w1, &w1, NULL)) != MP_OKAY) { in mp_toom_mul()
[all …]
/external/valgrind/main/coregrind/m_debuginfo/
Dd3basics.c798 POP(s##w1); \ in ML_()
799 s##w1 = s##w1 op s##w2; \ in ML_()
800 PUSH(s##w1); \ in ML_()
804 POP(s##w1); \ in ML_()
805 s##w1 = op s##w1; \ in ML_()
806 PUSH(s##w1); \ in ML_()
/external/sonivox/arm-wt-22k/lib_src/
Deas_mdls.h59 #define DEFINE_DLSID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) const DLSID name = { l, w1, w… argument
/external/opencv/cxcore/src/
Dcxdxt.cpp227 CvComplex64f w, w1; in icvDFTInit() local
357 w.re = w1.re = icvDxtTab[m][0]; in icvDFTInit()
358 w.im = w1.im = -icvDxtTab[m][1]; in icvDFTInit()
363 w.im = w1.im = sin(t); in icvDFTInit()
364 w.re = w1.re = sqrt(1. - w1.im*w1.im); in icvDFTInit()
387 t = w.re*w1.re - w.im*w1.im; in icvDFTInit()
388 w.im = w.re*w1.im + w.im*w1.re; in icvDFTInit()
413 t = w.re*w1.re - w.im*w1.im; in icvDFTInit()
414 w.im = w.re*w1.im + w.im*w1.re; in icvDFTInit()
2515 CvComplex64f w, w1; in icvDCTInit() local
[all …]
/external/valgrind/main/coregrind/
Dm_oset.c179 UWord w1 = *(UWord*)k; in fast_cmp() local
187 if (w1 > w2) return 1; in fast_cmp()
188 if (w1 < w2) return -1; in fast_cmp()
519 UWord w1 = *(UWord*)k; in avl_lookup() local
524 if (w1 < w2) curr = curr->left; in avl_lookup()
525 else if (w1 > w2) curr = curr->right; in avl_lookup()
/external/wpa_supplicant_8/wpa_supplicant/dbus/
Dfi.w1.wpa_supplicant1.service2 Name=fi.w1.wpa_supplicant1

1234