/external/smack/src/org/xbill/DNS/ |
H A D | FormattedTime.java | 16 private static NumberFormat w2, w4; field in class:FormattedTime 19 w2 = new DecimalFormat(); 20 w2.setMinimumIntegerDigits(2); 42 sb.append(w2.format(c.get(Calendar.MONTH)+1)); 43 sb.append(w2.format(c.get(Calendar.DAY_OF_MONTH))); 44 sb.append(w2.format(c.get(Calendar.HOUR_OF_DAY))); 45 sb.append(w2.format(c.get(Calendar.MINUTE))); 46 sb.append(w2.format(c.get(Calendar.SECOND)));
|
H A D | LOCRecord.java | 18 private static NumberFormat w2, w3; field in class:LOCRecord 24 w2 = new DecimalFormat(); 25 w2.setMinimumIntegerDigits(2); 228 renderFixedPoint(sb, w2, altitude - 10000000, 100); 232 renderFixedPoint(sb, w2, size, 100); 236 renderFixedPoint(sb, w2, hPrecision, 100); 240 renderFixedPoint(sb, w2, vPrecision, 100);
|
/external/dropbear/libtommath/ |
H A D | 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, [all...] |
H A D | 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, [all...] |
/external/chromium/chrome/browser/history/ |
H A D | query_parser_unittest.cc | 143 const std::string w2; member in struct:TestData2 159 EXPECT_EQ(data[i].w2, UTF16ToUTF8(results[1]));
|
/external/openfst/src/include/fst/ |
H A D | lexicographic-weight.h | 61 LexicographicWeight(W1 w1, W2 w2) : PairWeight<W1, W2>(w1, w2) { argument
|
H A D | product-weight.h | 50 ProductWeight(W1 w1, W2 w2) : PairWeight<W1, W2>(w1, w2) {} argument
|
H A D | 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))); 99 Plus(const PowerWeight<W, n> &w1, const PowerWeight<W, n> &w2) argument 109 Times(const PowerWeight<W, n> &w1, const PowerWeight<W, n> &w2) argument 119 Divide(const PowerWeight<W, n> &w1, const PowerWeight<W, n> &w2, DivideType type = DIVIDE_ANY) argument 148 DotProduct(const PowerWeight<W, n> &w1, const PowerWeight<W, n> &w2) argument
|
H A D | random-weight.h | 197 W2 w2 = generator2_(); local 198 return Weight(w1, w2); 229 W2 w2 = generator2_(); local 230 return Weight(w1, w2);
|
H A D | pair-weight.h | 54 PairWeight(W1 w1, W2 w2) : value1_(w1), value2_(w2) {} argument 136 W2 w2 = W2::Zero(); local 137 strm >> w2; local 139 w = PairWeight<W1, W2>(w1, w2); 199 W2 w2 = W2::Zero(); local 200 strm2 >> w2; local 202 w = PairWeight<W1, W2>(w1, w2); 220 const PairWeight<W1, W2> &w2) { 221 return w1.Value1() != w2 219 operator !=(const PairWeight<W1, W2> &w1, const PairWeight<W1, W2> &w2) argument 226 ApproxEqual(const PairWeight<W1, W2> &w1, const PairWeight<W1, W2> &w2, float delta = kDelta) argument [all...] |
H A D | 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 108 Plus(const SignedLogWeightTpl<T> &w1, const SignedLogWeightTpl<T> &w2) argument 145 Minus(const SignedLogWeightTpl<T> &w1, const SignedLogWeightTpl<T> &w2) argument 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 D | 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_mappe 150 Plus(const SparsePowerWeight<W, K> &w1, const SparsePowerWeight<W, K> &w2) argument 160 Times(const SparsePowerWeight<W, K> &w1, const SparsePowerWeight<W, K> &w2) argument 170 Divide(const SparsePowerWeight<W, K> &w1, const SparsePowerWeight<W, K> &w2, DivideType type = DIVIDE_ANY) argument 181 DotProduct(const SparsePowerWeight<W, K> &w1, const SparsePowerWeight<W, K> &w2) argument 192 ApproxEqual(const SparsePowerWeight<W, K> &w1, const SparsePowerWeight<W, K> &w2, float delta = kDelta) argument 202 Times(const W &k, const SparsePowerWeight<W, K> &w2) argument [all...] |
H A 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); 246 operator ==(const TupleWeight<W, n> &w1, const TupleWeight<W, n> &w2) argument 255 operator !=(const TupleWeight<W, n> &w1, const TupleWeight<W, n> &w2) argument 264 ApproxEqual(const TupleWeight<W, n> &w1, const TupleWeight<W, n> &w2, float delta = kDelta) argument
|
/external/openfst/src/test/ |
H A D | 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) { argument 68 CHECK(Plus(w1, w2).Member()); 69 CHECK(Times(w1, w2) 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/srec/tools/thirdparty/OpenFst/fst/lib/ |
H A D | random-weight.h | 136 W2 w2 = generator2_(); local 137 return Weight(w1, w2);
|
H A D | float-weight.h | 68 inline bool operator==(const FloatWeight &w1, const FloatWeight &w2) { argument 72 volatile float v2 = w2.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; 153 const TropicalWeight &w2) { 154 return w1.Value() < w2.Value() ? w1 : w2; 152 Plus(const TropicalWeight &w1, const TropicalWeight &w2) argument 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...] |
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/ |
H A D | ChunkedIntArray.java | 71 int appendSlot(int w0, int w1, int w2, int w3) argument 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) argument 233 chunk[slotpos + 2] = w2;
|
/external/clang/test/SemaCXX/ |
H A D | default-assignment-operator.cpp | 53 W w1, w2; variable 56 w1 = w2;
|
/external/dropbear/libtomcrypt/src/ciphers/ |
H A 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,w local 213 unsigned w1,w2,w3,w4,tmp; local [all...] |
/external/quake/quake/src/QW/client/ |
H A D | net_chan.c | 228 unsigned w1, w2; local 263 w2 = chan->incoming_sequence | (chan->incoming_reliable_sequence<<31); 268 MSG_WriteLong (&send, w2);
|
/external/clang/test/Analysis/ |
H A D | array-struct-region.c | 308 ShortStringWrapper w2 = w; local 309 clang_analyzer_eval(w2.str.data[0] == 'a'); // expected-warning{{TRUE}} 310 clang_analyzer_eval(w2.str.data[1] == 'b'); // expected-warning{{TRUE}} 311 clang_analyzer_eval(w2.str.data[2] == 'c'); // expected-warning{{TRUE}} 312 clang_analyzer_eval(w2.length == 0); // expected-warning{{TRUE}} 314 ShortStringWrapper w3 = w2;
|
/external/libvorbis/lib/ |
H A D | mdct.c | 499 DATA_TYPE *w2=w+n2; local 518 w2[i]= MULT_NORM(r1*T[1] + r0*T[0]); 519 w2[i+1]= MULT_NORM(r1*T[0] - r0*T[1]); 530 w2[i]= MULT_NORM(r1*T[1] + r0*T[0]); 531 w2[i+1]= MULT_NORM(r1*T[0] - r0*T[1]); 542 w2[i]= MULT_NORM(r1*T[1] + r0*T[0]); 543 w2[i+1]= MULT_NORM(r1*T[0] - r0*T[1]);
|
/external/opencv/cv/src/ |
H A D | 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/qemu/distrib/sdl-1.2.15/src/video/gem/ |
H A D | SDL_gemevents.c | 83 short x2,y2,w2,h2; local 89 x2=y2=w2=h2 = 0; 93 wind_get (GEM_handle, WF_WORKXYWH, &x2, &y2, &w2, &h2); 102 mouse_event,x2,y2,w2,h2, 177 short x2,y2,w2,h2; local 234 wind_get (message[3], WF_WORKXYWH, &x2, &y2, &w2, &h2); 237 SDL_PrivateResize(w2, h2); 254 wind_get (message[3], WF_WORKXYWH, &x2, &y2, &w2, &h2); 256 SDL_PrivateResize(w2, h2); 301 short x2, y2, w2, h local [all...] |
/external/srec/srec/cfront/ |
H A D | spec_anl.c | 456 float w2 = 1 - w1; local 460 tmpbuf[i] = (int)(w1 * inbuf[u] + w2 * inbuf[l]);
|