Searched refs:w1 (Results 1 - 25 of 234) sorted by relevance

12345678910

/external/openfst/src/test/
H A Dweight-tester.h42 Weight w1 = weight_generator_(); local
47 VLOG(1) << "w1 = " << w1;
51 TestSemiring(w1, w2, w3);
53 TestDivision(w1, w2);
54 TestReverse(w1, w2);
55 TestEquality(w1, w2, w3);
56 TestIO(w1);
57 TestCopy(w1);
66 void TestSemiring(Weight w1, Weigh argument
77 CHECK(Plus(Weight::Zero(), w1) == w1); local
79 CHECK(Times(Weight::One(), w1) == w1); local
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/linux-tools-perf/perf-3.12.0/arch/arm64/lib/
H A Dmemset.S32 and w1, w1, #0xff
33 orr w1, w1, w1, lsl #8
34 orr w1, w1, w1, lsl #16
44 str w1, [x4], #4
48 strh w1, [x
[all...]
/external/llvm/test/MC/AArch64/
H A Dalias-logicalimm.s8 // CHECK: and w0, w1, #0xfffffffd
9 // CHECK: and w0, w1, #0xfffffffd
10 and w0, w1, #~2
11 bic w0, w1, #2
18 // CHECK: ands w0, w1, #0xfffffffd
19 // CHECK: ands w0, w1, #0xfffffffd
20 ands w0, w1, #~2
21 bics w0, w1, #2
28 // CHECK: orr w2, w1, #0xfffffffc
29 // CHECK: orr w2, w1, #
[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, w
[all...]
/external/libcxx/test/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.obs/
H A Downer_before_weak_ptr.pass.cpp24 const std::weak_ptr<int> w1(p1);
27 assert(!w1.owner_before(w2));
28 assert(!w2.owner_before(w1));
29 assert(w1.owner_before(w3) || w3.owner_before(w1));
30 assert(w3.owner_before(w1) == w3.owner_before(w2));
H A Dnot_less_than.fail.cpp23 const std::weak_ptr<int> w1(p1);
26 bool b = w1 < w2;
H A Downer_before_shared_ptr.pass.cpp24 const std::weak_ptr<int> w1(p1);
27 assert(!w1.owner_before(p2));
29 assert(w1.owner_before(p3) || w3.owner_before(p1));
/external/valgrind/main/none/tests/amd64/
H A Dbmi.c858 ULong w1, w2; local
860 w1 = 0xFEDC192837475675ULL;
865 do_andn64(&flags, &res, w1, w2);
866 printf("andn64 %016llx %016llx -> %016llx %04x\n", w1, w2, res, flags);
867 if (w1 == 0) break;
868 w1 = ((w1 >> 2) | (w1 >> 1)) + (w1 / 17ULL);
872 w1
[all...]
/external/libcxx/test/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.mod/
H A Dreset.pass.cpp34 std::weak_ptr<A> w1(p1);
35 assert(w1.use_count() == 1);
36 w1.reset();
37 assert(w1.use_count() == 0);
H A Dswap.pass.cpp36 std::weak_ptr<A> w1(p1);
40 w1.swap(w2);
41 assert(w1.use_count() == 1);
42 assert(w1.lock().get() == ptr2);
/external/libcxx/test/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.ownerless/
H A Downer_less.pass.cpp42 const std::weak_ptr<int> w1(p1);
56 assert(!cs(p2, w1));
57 assert(cs(p1, w3) || cs(p3, w1));
58 assert(cs(p3, w1) == cs(p3, w2));
64 assert(!cs(w1, w2));
65 assert(!cs(w2, w1));
66 assert(cs(w1, w3) || cs(w3, w1));
67 assert(cs(w3, w1) == cs(w3, w2));
69 assert(!cs(w1, p
[all...]
/external/libcxx/test/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.obs/
H A Downer_before_weak_ptr.pass.cpp24 const std::weak_ptr<int> w1(p1);
28 assert(!p2.owner_before(w1));
29 assert(p1.owner_before(w3) || p3.owner_before(w1));
30 assert(p3.owner_before(w1) == p3.owner_before(w2));
/external/llvm/test/MC/Mips/msa/
H A Dtest_elm_insert_msa64.s3 # CHECK: insert.d $w1[1], $sp # encoding: [0x79,0x39,0xe8,0x59]
5 insert.d $w1[1], $sp
/external/openfst/src/include/fst/
H A Dfloat-weight.h113 inline bool operator==(const FloatWeightTpl<T> &w1, argument
117 volatile T v1 = w1.Value();
122 inline bool operator==(const FloatWeightTpl<double> &w1, argument
124 return operator==<double>(w1, w2);
127 inline bool operator==(const FloatWeightTpl<float> &w1, argument
129 return operator==<float>(w1, w2);
133 inline bool operator!=(const FloatWeightTpl<T> &w1, argument
135 return !(w1 == w2);
138 inline bool operator!=(const FloatWeightTpl<double> &w1, argument
140 return operator!=<double>(w1, w
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 Dweight.h142 bool operator()(const W &w1, const W &w2) const { argument
143 return (Plus(w1, w2) == w1) && w1 != w2;
164 W2 operator()(W1 w1) const {
/external/chromium_org/ash/wm/
H A Dstacking_controller_unittest.cc50 scoped_ptr<Window> w1(CreateTestWindow());
51 ::wm::AddTransientChild(w2.get(), w1.get());
52 w1->SetBounds(gfx::Rect(10, 11, 250, 251));
53 ParentWindowInPrimaryRootWindow(w1.get());
54 w1->Show();
55 wm::ActivateWindow(w1.get());
59 EXPECT_EQ(launcher, w1->parent());
H A Dtoplevel_window_event_handler_unittest.cc70 aura::Window* w1 = new aura::Window(d1); local
71 w1->SetType(ui::wm::WINDOW_TYPE_NORMAL);
72 w1->set_id(1);
73 w1->Init(aura::WINDOW_LAYER_TEXTURED);
76 parent->AddChild(w1);
77 w1->SetBounds(gfx::Rect(0, 0, 100, 100));
78 w1->Show();
79 return w1;
101 scoped_ptr<aura::Window> w1(CreateWindow(HTCAPTION));
102 gfx::Size size = w1
[all...]
/external/chromium_org/ash/wm/dock/
H A Ddocked_window_resizer_unittest.cc543 scoped_ptr<aura::Window> w1(CreateTestWindow(gfx::Rect(0, 0, 201, 201)));
545 DragToVerticalPositionAndToEdge(DOCKED_EDGE_RIGHT, w1.get(), 20);
549 wm::WindowState* window_state1 = wm::GetWindowState(w1.get());
553 EXPECT_EQ(w1->GetRootWindow()->GetBoundsInScreen().right(),
554 w1->GetBoundsInScreen().right());
555 EXPECT_EQ(kShellWindowId_DockedContainer, w1->parent()->id());
571 EXPECT_EQ(w1->GetRootWindow()->GetBoundsInScreen().right(),
572 w1->GetBoundsInScreen().right());
573 EXPECT_EQ(kShellWindowId_DockedContainer, w1->parent()->id());
585 scoped_ptr<aura::Window> w1(CreateTestWindo
[all...]
H A Ddocked_window_layout_manager_unittest.cc400 scoped_ptr<aura::Window> w1(CreateTestWindow(gfx::Rect(0, 0, 201, 201)));
402 DragToVerticalPositionAndToEdge(DOCKED_EDGE_RIGHT, w1.get(), 20);
406 EXPECT_EQ(w1->GetRootWindow()->bounds().right(),
407 w1->GetBoundsInScreen().right());
408 EXPECT_EQ(kShellWindowId_DockedContainer, w1->parent()->id());
415 Shell::GetScreen()->GetDisplayNearestWindow(w1.get()).work_area();
416 int gap1 = w1->GetBoundsInScreen().y();
417 int gap2 = w2->GetBoundsInScreen().y() - w1->GetBoundsInScreen().bottom();
429 scoped_ptr<aura::Window> w1(CreateTestWindow(gfx::Rect(0, 0, 201, 201)));
431 DragToVerticalPositionAndToEdge(DOCKED_EDGE_RIGHT, w1
[all...]
/external/libcxx/test/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.spec/
H A Dswap.pass.cpp36 std::weak_ptr<A> w1(p1);
40 swap(w1, w2);
41 assert(w1.use_count() == 1);
42 assert(w1.lock().get() == ptr2);
/external/libunwind/src/ppc/
H A DGis_signal_frame.c34 unw_word_t w0, w1, ip; local
61 || (ret = (*a->access_mem) (as, ip + 8, &w1, 0, arg)) < 0)
63 w1 >>= 32;
64 return (w0 == 0x38210080380000ac && w1 == 0x44000002);
/external/srec/tools/thirdparty/OpenFst/fst/lib/
H A Dweight.h132 bool operator()(const W &w1, const W &w2) const { argument
133 return (Plus(w1, w2) == w1) && w1 != w2;
H A Dfloat-weight.h68 inline bool operator==(const FloatWeight &w1, const FloatWeight &w2) { argument
71 volatile float v1 = w1.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;
152 inline TropicalWeight Plus(const TropicalWeight &w1, argument
154 return w1.Value() < w2.Value() ? w1
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/chromium_org/ash/test/
H A Dash_test_helper_unittest.cc53 scoped_ptr<Widget> w1(new Widget);
57 w1->Init(params);
58 w1->Show();
59 EXPECT_TRUE(w1->IsActive());
60 EXPECT_TRUE(w1->IsVisible());

Completed in 4520 milliseconds

12345678910