HomeSort by relevance Sort by last modified time
    Searched refs:w2 (Results 1 - 25 of 61) sorted by null

1 2 3

  /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...]
random-weight.h 128 typedef typename G2::Weight W2;
129 typedef ProductWeight<W1, W2> Weight;
136 W2 w2 = generator2_(); local
137 return Weight(w1, w2);
determinize.h 51 W operator()(const W &w1, const W &w2) const { return Plus(w1, w2); }
64 Weight operator()(const Weight &w1, const Weight &w2) const {
66 StringWeightIterator<L, S> iter2(w2);
71 if (w1.Size() == 0 || w2.Size() == 0)
75 else if (w2 == Weight::Zero())
93 Weight operator()(const Weight &w1, const Weight &w2) const {
94 return Weight(label_common_divisor_(w1.Value1(), w2.Value1()),
95 weight_common_divisor_(w1.Value2(), w2.Value2()));
factor-weight.h 92 StringWeight<L, S> w2; local
94 w2.PushBack(iter.Value());
95 return make_pair(w1, w2);
120 GallicWeight<L, W, S> w2(iter.Value().second, W::One());
121 return make_pair(w1, w2);
  /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...]
SDL_gemvideo.c 722 short x2,y2,w2,h2; local
743 if (!wind_calc(WC_BORDER, GEM_win_type, 0,0,width,height, &x2,&y2,&w2,&h2)) {
750 x2 = (GEM_desk_w-w2)>>1;
768 GEM_handle=wind_create(GEM_win_type, x2,y2,w2,h2);
784 wind_open(GEM_handle,x2,y2,w2,h2);
787 wind_get (GEM_handle, WF_WORKXYWH, &x2,&y2,&w2,&h2);
788 if (wind_calc(WC_BORDER, GEM_win_type, x2,y2,width,height, &x2,&y2,&w2,&h2)) {
789 wind_set (GEM_handle, WF_CURRXYWH, x2,y2,w2,h2);
  /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/base/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...]
  /frameworks/base/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);
  /libcore/luni/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;
DTMDocumentImpl.java 201 * @param w2 int As in ChunkedIntArray.append
206 private final int appendNode(int w0, int w1, int w2, int w3)
209 int slotnumber = nodes.appendSlot(w0, w1, w2, w3);
211 if (DEBUG) System.out.println(slotnumber+": "+w0+" "+w1+" "+w2+" "+w3);
694 // // W2: Next (initialized as 0)
695 // int w2 = 0;
698 // //int ourslot = nodes.appendSlot(w0, w1, w2, w3);
699 // int ourslot = appendNode(w0, w1, w2, w3);
851 // // W2: Next (not yet resolved)
852 // int w2 = 0
2099 int w2 = m_char_current_start; local
2122 int w2 = m_char_current_start; local
2158 int w2 = 0; local
2205 int w2 = 0; local
2242 int w2 = 0; local
    [all...]
  /external/chromium/base/gfx/
rect_unittest.cc 48 int w2; member in struct:__anon2327
63 gfx::Rect r2(tests[i].x2, tests[i].y2, tests[i].w2, tests[i].h2);
76 int w2; member in struct:__anon2328
104 gfx::Rect r2(tests[i].x2, tests[i].y2, tests[i].w2, tests[i].h2);
122 int w2; member in struct:Test
153 gfx::Rect r2(tests[i].x2, tests[i].y2, tests[i].w2, tests[i].h2);
180 int w2; member in struct:Test
205 gfx::Rect r2(tests[i].x2, tests[i].y2, tests[i].w2, tests[i].h2);
  /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);
  /external/stlport/test/eh/
sunpro42.mak 36 CXXFLAGS = $(ARCHF) +w2 -mt -features=rtti ${STL_INCL}
37 # CXXFLAGS = +w2 ${STL_INCL}
deccxx.mak 43 # CXXFLAGS = +w2 -xildoff -D_STLP_USE_NEWALLOC -DEH_NO_SGI_STL -DEH_NEW_HEADERS -DEH_VECTOR_OPERATOR_NEW -DEH_DELETE_HAS_THROW_SPEC
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/gscripts/
android.widget.RelativeLayout.groovy 357 int w2 = Math.max(20, w3);
363 int wt = w1 * 2 + w2 * 3;
385 addx(w2, [ "alignLeft" ]);
386 addx(w2, [ "alignLeft", "alignRight" ]);
387 addx(w2, [ "alignRight" ]);
395 addx(w2, [ "alignLeft" ]);
396 addx(w2, [ "alignLeft", "alignRight" ]);
397 addx(w2, [ "alignRight" ]);
  /external/sonivox/arm-wt-22k/lib_src/
eas_mdls.h 59 #define DEFINE_DLSID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) const DLSID name = { l, w1, w2, { b1, b2, b3, b4, b5, b6, b7, b8 } }
  /external/quake/quake/src/QW/client/
net_chan.c 228 unsigned w1, w2; local
263 w2 = chan->incoming_sequence | (chan->incoming_reliable_sequence<<31);
268 MSG_WriteLong (&send, w2);
  /frameworks/base/libs/rs/
rsAllocation.cpp 568 uint32_t w2 = rsHigherPow2(w); local
571 if ((w2 == w) && (h2 == h)) {
576 size_t size = w2 * h2 * bpp;
582 uint8_t * ydst = &tmp[(y + ((h2 - h) >> 1)) * w2 * bpp];
583 memcpy(&ydst[((w2 - w) >> 1) * bpp], src, w * bpp);
587 RsAllocation ret = rsi_AllocationCreateFromBitmap(rsc, w2, h2, _dst, _src, genMips, tmp);
  /dalvik/dx/src/com/android/dx/dex/code/
DalvInsn.java 326 int w2 = (width == 0) ? insnPerSe.length() : (width - w1); local
328 return TwoColumnOutput.toString(addr, w1, "", insnPerSe, w2);

Completed in 163 milliseconds

1 2 3