Searched refs:w2 (Results 1 - 25 of 183) sorted by relevance

12345678

/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.obs/
H A Dnot_less_than.fail.cpp24 const std::weak_ptr<int> w2(p2);
26 bool b = w1 < w2;
H A Downer_before_weak_ptr.pass.cpp25 const std::weak_ptr<int> w2(p2);
27 assert(!w1.owner_before(w2));
28 assert(!w2.owner_before(w1));
30 assert(w3.owner_before(w1) == w3.owner_before(w2));
H A Downer_before_shared_ptr.pass.cpp25 const std::weak_ptr<int> w2(p2);
28 assert(!w2.owner_before(p1));
/external/openfst/src/test/
H A Dweight-tester.h43 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/v8/test/mjsunit/asm/
H A Dinfinite-loops-taken.js23 function w2(f) {
34 return { w0: w0, w1: w1, w2: w2, w3: w3 };
40 assertThrowsEquals(function() { m.w2(counter(5)) }, error);
/external/openfst/src/include/fst/
H A Dfloat-weight.h114 const FloatWeightTpl<T> &w2) {
118 volatile T v2 = w2.Value();
123 const FloatWeightTpl<double> &w2) {
124 return operator==<double>(w1, w2);
128 const FloatWeightTpl<float> &w2) {
129 return operator==<float>(w1, w2);
134 const FloatWeightTpl<T> &w2) {
135 return !(w1 == w2);
139 const FloatWeightTpl<double> &w2) {
140 return operator!=<double>(w1, w2);
113 operator ==(const FloatWeightTpl<T> &w1, const FloatWeightTpl<T> &w2) argument
122 operator ==(const FloatWeightTpl<double> &w1, const FloatWeightTpl<double> &w2) argument
127 operator ==(const FloatWeightTpl<float> &w1, const FloatWeightTpl<float> &w2) argument
133 operator !=(const FloatWeightTpl<T> &w1, const FloatWeightTpl<T> &w2) argument
138 operator !=(const FloatWeightTpl<double> &w1, const FloatWeightTpl<double> &w2) argument
143 operator !=(const FloatWeightTpl<float> &w1, const FloatWeightTpl<float> &w2) argument
149 ApproxEqual(const FloatWeightTpl<T> &w1, const FloatWeightTpl<T> &w2, float delta = kDelta) argument
242 Plus(const TropicalWeightTpl<T> &w1, const TropicalWeightTpl<T> &w2) argument
249 Plus(const TropicalWeightTpl<float> &w1, const TropicalWeightTpl<float> &w2) argument
254 Plus(const TropicalWeightTpl<double> &w1, const TropicalWeightTpl<double> &w2) argument
260 Times(const TropicalWeightTpl<T> &w1, const TropicalWeightTpl<T> &w2) argument
273 Times(const TropicalWeightTpl<float> &w1, const TropicalWeightTpl<float> &w2) argument
278 Times(const TropicalWeightTpl<double> &w1, const TropicalWeightTpl<double> &w2) argument
284 Divide(const TropicalWeightTpl<T> &w1, const TropicalWeightTpl<T> &w2, DivideType typ = DIVIDE_ANY) argument
298 Divide(const TropicalWeightTpl<float> &w1, const TropicalWeightTpl<float> &w2, DivideType typ = DIVIDE_ANY) argument
304 Divide(const TropicalWeightTpl<double> &w1, const TropicalWeightTpl<double> &w2, DivideType typ = DIVIDE_ANY) argument
371 Plus(const LogWeightTpl<T> &w1, const LogWeightTpl<T> &w2) argument
384 Plus(const LogWeightTpl<float> &w1, const LogWeightTpl<float> &w2) argument
389 Plus(const LogWeightTpl<double> &w1, const LogWeightTpl<double> &w2) argument
395 Times(const LogWeightTpl<T> &w1, const LogWeightTpl<T> &w2) argument
408 Times(const LogWeightTpl<float> &w1, const LogWeightTpl<float> &w2) argument
413 Times(const LogWeightTpl<double> &w1, const LogWeightTpl<double> &w2) argument
419 Divide(const LogWeightTpl<T> &w1, const LogWeightTpl<T> &w2, DivideType typ = DIVIDE_ANY) argument
433 Divide(const LogWeightTpl<float> &w1, const LogWeightTpl<float> &w2, DivideType typ = DIVIDE_ANY) argument
439 Divide(const LogWeightTpl<double> &w1, const LogWeightTpl<double> &w2, DivideType typ = DIVIDE_ANY) argument
503 Plus( const MinMaxWeightTpl<T> &w1, const MinMaxWeightTpl<T> &w2) argument
510 Plus( const MinMaxWeightTpl<float> &w1, const MinMaxWeightTpl<float> &w2) argument
515 Plus( const MinMaxWeightTpl<double> &w1, const MinMaxWeightTpl<double> &w2) argument
522 Times( const MinMaxWeightTpl<T> &w1, const MinMaxWeightTpl<T> &w2) argument
529 Times( const MinMaxWeightTpl<float> &w1, const MinMaxWeightTpl<float> &w2) argument
534 Times( const MinMaxWeightTpl<double> &w1, const MinMaxWeightTpl<double> &w2) argument
541 Divide(const MinMaxWeightTpl<T> &w1, const MinMaxWeightTpl<T> &w2, DivideType typ = DIVIDE_ANY) argument
550 Divide(const MinMaxWeightTpl<float> &w1, const MinMaxWeightTpl<float> &w2, DivideType typ = DIVIDE_ANY) argument
556 Divide(const MinMaxWeightTpl<double> &w1, const MinMaxWeightTpl<double> &w2, DivideType typ = DIVIDE_ANY) argument
[all...]
H A Dstring-weight.h297 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;
296 operator ==(const StringWeight<L, S> &w1, const StringWeight<L, S> &w2) argument
312 operator !=(const StringWeight<L, S> &w1, const StringWeight<L, S> &w2) argument
318 ApproxEqual(const StringWeight<L, S> &w1, const StringWeight<L, S> &w2, float delta = kDelta) argument
370 Plus(const StringWeight<L, S> &w1, const StringWeight<L, S> &w2) argument
383 << " w2 = " << w2; local
393 Plus(const StringWeight<L, STRING_LEFT> &w1, const StringWeight<L, STRING_LEFT> &w2) argument
414 Plus(const StringWeight<L, STRING_RIGHT> &w1, const StringWeight<L, STRING_RIGHT> &w2) argument
434 Times(const StringWeight<L, S> &w1, const StringWeight<L, S> &w2) argument
452 Divide(const StringWeight<L, S> &w1, const StringWeight<L, S> &w2, DivideType typ) argument
482 Divide(const StringWeight<L, STRING_RIGHT> &w1, const StringWeight<L, STRING_RIGHT> &w2, DivideType typ) argument
512 Divide(const StringWeight<L, STRING_RIGHT_RESTRICT> &w1, const StringWeight<L, STRING_RIGHT_RESTRICT> &w2, DivideType typ) argument
548 GallicWeight(StringWeight<L, S> w1, W w2) argument
[all...]
H A Dsparse-power-weight.h151 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 Dsigned-log-weight.h109 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...]
/external/llvm/test/MC/AArch64/
H A Dalias-logicalimm.s28 // CHECK: orr w2, w1, #0xfffffffc
29 // CHECK: orr w2, w1, #0xfffffffc
30 orr w2, w1, #~3
31 orn w2, w1, #3
38 // CHECK: eor w2, w1, #0xfffffffc
39 // CHECK: eor w2, w1, #0xfffffffc
40 eor w2, w1, #~3
41 eon w2, w1, #3
H A Dalias-addsubimm.s3 // CHECK: sub w0, w2, #2, lsl #12
4 // CHECK: sub w0, w2, #2, lsl #12
5 sub w0, w2, #2, lsl 12
6 add w0, w2, #-2, lsl 12
22 // CHECK: add w0, w2, #2, lsl #12
23 // CHECK: add w0, w2, #2, lsl #12
24 add w0, w2, #2, lsl 12
25 sub w0, w2, #-2, lsl 12
41 // CHECK: subs w0, w2, #2, lsl #12
42 // CHECK: subs w0, w2, #
[all...]
H A Darm64-bitfield-encoding.s8 bfm w1, w2, #1, #15
10 sbfm w1, w2, #1, #15
12 ubfm w1, w2, #1, #15
19 ; CHECK: bfxil w1, w2, #1, #15 ; encoding: [0x41,0x3c,0x01,0x33]
21 ; CHECK: sbfx w1, w2, #1, #15 ; encoding: [0x41,0x3c,0x01,0x13]
23 ; CHECK: ubfx w1, w2, #1, #15 ; encoding: [0x41,0x3c,0x01,0x53]
34 extr w1, w2, w3, #15
37 ; CHECK: extr w1, w2, w3, #15 ; encoding: [0x41,0x3c,0x83,0x13]
H A Darm64-logical-encoding.s10 and w1, w2, #15
15 ands w1, w2, #15
20 ; CHECK: and w1, w2, #0xf ; encoding: [0x41,0x0c,0x00,0x12]
25 ; CHECK: ands w1, w2, #0xf ; encoding: [0x41,0x0c,0x00,0x72]
28 eor w1, w2, #0x4000
31 ; CHECK: eor w1, w2, #0x4000 ; encoding: [0x41,0x00,0x12,0x52]
34 orr w1, w2, #0x4000
37 ; CHECK: orr w1, w2, #0x4000 ; encoding: [0x41,0x00,0x12,0x32]
50 and w1, w2, w3
52 and w1, w2, w
[all...]
H A Darmv8.1a-atomic.s16 casb w0, w1, [w2]
19 //CHECK-ERROR: casb w0, w1, [w2]
47 cas w0, w1, [w2]
51 //CHECK-ERROR: cas w0, w1, [w2]
68 casa x0, x1, [w2]
72 //CHECK-ERROR: casa x0, x1, [w2]
87 ldsminb w2, w3, [x5]
96 //CHECK: ldsminb w2, w3, [x5] // encoding: [0xa3,0x50,0x22,0x38]
119 ldsmax x0, x1, [w2]
120 ldeorl w0, w1, [w2]
[all...]
H A Darm64-arithmetic-encoding.s8 adc w1, w2, w3
13 ; CHECK: adc w1, w2, w3 ; encoding: [0x41,0x00,0x03,0x1a]
18 sbc w1, w2, w3
20 sbcs w1, w2, w3
23 ; CHECK: sbc w1, w2, w3 ; encoding: [0x41,0x00,0x03,0x5a]
25 ; CHECK: sbcs w1, w2, w3 ; encoding: [0x41,0x00,0x03,0x7a]
170 add w1, w2, w3, uxtb
171 add w1, w2, w3, uxth
172 add w1, w2, w3, uxtw
173 add w1, w2, w
[all...]
H A Darm64-basic-a64-instructions.s5 crc32w w0, w1, w2
13 // CHECK: crc32w w0, w1, w2 // encoding: [0x20,0x48,0xc2,0x1a]
H A Dinline-asm-modifiers.s83 mov w2, w0
85 add w2, w2, w2
87 mov w2, w0
89 add w2, w2, w2
/external/valgrind/none/tests/amd64/
H A Dbmi.c858 ULong w1, w2; local
861 w2 = 0x57657438291CDEF0ULL;
865 do_andn64(&flags, &res, w1, w2);
866 printf("andn64 %016llx %016llx -> %016llx %04x\n", w1, w2, res, flags);
869 w2 = ((w2 >> 2) | (w2 >> 1)) + (w2 / 17ULL);
873 w2 = 0x57657438291CDEF0ULL;
877 do_andn32(&flags, &res, w1, w2);
[all...]
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.obs/
H A Downer_before_weak_ptr.pass.cpp25 const std::weak_ptr<int> w2(p2);
27 assert(!p1.owner_before(w2));
30 assert(p3.owner_before(w1) == p3.owner_before(w2));
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.mod/
H A Dswap.pass.cpp39 std::weak_ptr<A> w2(p2);
40 w1.swap(w2);
43 assert(w2.use_count() == 1);
44 assert(w2.lock().get() == ptr1);
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.spec/
H A Dswap.pass.cpp39 std::weak_ptr<A> w2(p2);
40 swap(w1, w2);
43 assert(w2.use_count() == 1);
44 assert(w2.lock().get() == ptr1);
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.ownerless/
H A Downer_less.pass.cpp43 const std::weak_ptr<int> w2(p2);
59 assert(!cs(p1, w2));
62 assert(cs(p3, w1) == cs(p3, w2));
72 assert(!cs(w1, w2));
73 assert(!cs(w2, w1));
75 assert(cs(w3, w1) == cs(w3, w2));
78 assert(!cs(w2, p1));
/external/v8/test/cctest/compiler/
H A Dtest-loop-analysis.cc336 While w2(t, t.p0);
337 w2.chain(w1.exit);
338 t.Return(t.p0, t.start, w2.exit);
350 Node* chain[] = {w2.loop};
353 Node* header[] = {w2.loop};
354 Node* body[] = {w2.branch, w2.if_true};
364 While w2(t, t.p0);
366 Counter c2(w2, 0, 1);
367 w2
[all...]
/external/vixl/examples/
H A Dadd2-vectors.cc43 // size (integer) -> w2
52 __ Cmp(w2, 16);
54 __ Sub(w2, w2, 16);
68 __ Cbz(w2, &end);
69 __ Sub(w2, w2, 1);
/external/valgrind/coregrind/m_dispatch/
H A Ddispatch-arm64-linux.S182 ldr w2, [x1, #0]
183 add w2, w2, #1
184 str w2, [x1, #0]
209 ldr w2, [x1, #0]
210 add w2, w2, #1
211 str w2, [x1, #0]

Completed in 730 milliseconds

12345678