/external/openfst/src/test/ |
weight-tester.h | 42 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, Weight w2, Weight w3) 77 CHECK(Plus(Weight::Zero(), w1) == w1); local 79 CHECK(Times(Weight::One(), w1) == w1); local [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.obs/ |
owner_before_weak_ptr.pass.cpp | 24 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));
|
not_less_than.fail.cpp | 23 const std::weak_ptr<int> w1(p1); 26 bool b = w1 < w2;
|
owner_before_shared_ptr.pass.cpp | 24 const std::weak_ptr<int> w1(p1); 27 assert(!w1.owner_before(p2)); 29 assert(w1.owner_before(p3) || w3.owner_before(p1));
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.mod/ |
reset.pass.cpp | 34 std::weak_ptr<A> w1(p1); 35 assert(w1.use_count() == 1); 36 w1.reset(); 37 assert(w1.use_count() == 0);
|
swap.pass.cpp | 36 std::weak_ptr<A> w1(p1); 40 w1.swap(w2); 41 assert(w1.use_count() == 1); 42 assert(w1.lock().get() == ptr2);
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.ownerless/ |
owner_less.pass.cpp | 42 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, p2)) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.obs/ |
owner_before_weak_ptr.pass.cpp | 24 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/openfst/src/include/fst/ |
float-weight.h | 113 inline bool operator==(const FloatWeightTpl<T> &w1, 117 volatile T v1 = w1.Value(); 122 inline bool operator==(const FloatWeightTpl<double> &w1, 124 return operator==<double>(w1, w2); 127 inline bool operator==(const FloatWeightTpl<float> &w1, 129 return operator==<float>(w1, w2); 133 inline bool operator!=(const FloatWeightTpl<T> &w1, 135 return !(w1 == w2); 138 inline bool operator!=(const FloatWeightTpl<double> &w1, 140 return operator!=<double>(w1, w2) [all...] |
weight.h | 142 bool operator()(const W &w1, const W &w2) const { 143 return (Plus(w1, w2) == w1) && w1 != w2; 162 template <class W1, class W2> 164 W2 operator()(W1 w1) const { 166 << W1::Type() << "\" to \"" << W2::Type();
|
/external/chromium_org/ash/wm/ |
stacking_controller_unittest.cc | 51 scoped_ptr<Window> w1(CreateTestWindow()); 52 w2->AddTransientChild(w1.get()); 53 w1->SetBounds(gfx::Rect(10, 11, 250, 251)); 54 SetDefaultParentByPrimaryRootWindow(w1.get()); 55 w1->Show(); 56 wm::ActivateWindow(w1.get()); 60 EXPECT_EQ(launcher, w1->parent());
|
workspace_controller_unittest.cc | 145 scoped_ptr<Window> w1(CreateTestWindow()); 146 w1->SetBounds(gfx::Rect(0, 0, 250, 251)); 148 EXPECT_TRUE(GetRestoreBoundsInScreen(w1.get()) == NULL); 150 w1->Show(); 152 EXPECT_TRUE(GetRestoreBoundsInScreen(w1.get()) == NULL); 154 ASSERT_TRUE(w1->layer() != NULL); 155 EXPECT_TRUE(w1->layer()->visible()); 157 EXPECT_EQ("0,0 250x251", w1->bounds().ToString()); 159 EXPECT_EQ(w1.get(), GetDesktop()->children()[0]); 164 scoped_ptr<Window> w1(CreateTestWindow()) [all...] |
toplevel_window_event_handler_unittest.cc | 70 aura::Window* w1 = new aura::Window(d1); local 71 w1->SetType(aura::client::WINDOW_TYPE_NORMAL); 72 w1->set_id(1); 73 w1->Init(ui::LAYER_TEXTURED); 77 parent->AddChild(w1); 78 w1->SetBounds(gfx::Rect(0, 0, 100, 100)); 79 w1->Show(); 80 return w1; 102 scoped_ptr<aura::Window> w1(CreateWindow(HTCAPTION)); 103 gfx::Size size = w1->bounds().size() [all...] |
/bionic/libc/arch-arm/cortex-a9/bionic/ |
strcmp.S | 137 .macro magic_compare_and_branch w1 w2 label 138 /* Macro to compare registers w1 and w2 and conditionally branch to label. */ 139 cmp \w1, \w2 /* Are w1 and w2 the same? */ 140 magic_find_zero_bytes \w1 142 cmpeq ip, #0 /* Is there a zero byte in w1? */ 146 .macro magic_find_zero_bytes w1 147 /* Macro to find all-zero bytes in w1, result is in ip. */ 149 uadd8 ip, \w1, r6 157 sub ip, \w1, #0x0101010 [all...] |
/external/srec/tools/thirdparty/OpenFst/fst/lib/ |
weight.h | 132 bool operator()(const W &w1, const W &w2) const { 133 return (Plus(w1, w2) == w1) && w1 != w2;
|
float-weight.h | 68 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, 154 return w1.Value() < w2.Value() ? w1 : w2 [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.spec/ |
swap.pass.cpp | 36 std::weak_ptr<A> w1(p1); 40 swap(w1, w2); 41 assert(w1.use_count() == 1); 42 assert(w1.lock().get() == ptr2);
|
/ndk/tests/device/test-stlport_shared-exception/jni/ |
eh2.cpp | 17 test w1; local
|
/ndk/tests/device/test-stlport_static-exception/jni/ |
eh2.cpp | 17 test w1; local
|
/bionic/libc/arch-arm/bionic/ |
strcmp.a15.S | 160 .macro magic_compare_and_branch w1 w2 label 161 /* Macro to compare registers w1 and w2 and conditionally branch to label. */ 162 cmp \w1, \w2 /* Are w1 and w2 the same? */ 163 magic_find_zero_bytes \w1 165 cmpeq ip, #0 /* Is there a zero byte in w1? */ 169 .macro magic_find_zero_bytes w1 170 /* Macro to find all-zero bytes in w1, result is in ip. */ 172 uadd8 ip, \w1, r6 180 sub ip, \w1, #0x0101010 523 w1 = *wp1++; \\ define 554 w1 = *wp1++; \\ define [all...] |
strcmp.S | 140 w1 .req r4 167 ldr w1, [wp1], #4 176 bic t1, w1, #MSB 178 sub r3, w1, b1 179 bic r3, r3, w1 185 eor t1, t1, w1 188 ldr w1, [wp1], #4 199 tst w1, #0xff000000 201 tstne w1, #0x00ff0000 202 tstne w1, #0x0000ff0 [all...] |
/bionic/libc/arch-arm/generic/bionic/ |
strcmp.S | 140 w1 .req r4 167 ldr w1, [wp1], #4 176 bic t1, w1, #MSB 178 sub r3, w1, b1 179 bic r3, r3, w1 185 eor t1, t1, w1 188 ldr w1, [wp1], #4 199 tst w1, #0xff000000 201 tstne w1, #0x00ff0000 202 tstne w1, #0x0000ff0 [all...] |
/external/chromium_org/ash/wm/dock/ |
docked_window_resizer_unittest.cc | 445 scoped_ptr<aura::Window> w1(CreateTestWindow(gfx::Rect(0, 0, 201, 201))); 447 DragToVerticalPositionAndToEdge(DOCKED_EDGE_RIGHT, w1.get(), 20); 451 EXPECT_EQ(w1->GetRootWindow()->bounds().right(), 452 w1->GetBoundsInScreen().right()); 453 EXPECT_EQ(internal::kShellWindowId_DockedContainer, w1->parent()->id()); 467 EXPECT_EQ(w1->GetRootWindow()->bounds().right(), 468 w1->GetBoundsInScreen().right()); 469 EXPECT_EQ(internal::kShellWindowId_DockedContainer, w1->parent()->id()); 485 scoped_ptr<aura::Window> w1(CreateTestWindow(gfx::Rect(0, 0, 201, 201))); 487 DragToVerticalPositionAndToEdge(DOCKED_EDGE_RIGHT, w1.get(), 20) [all...] |
/external/chromium_org/ui/views/corewm/ |
window_util_unittest.cc | 55 // w1 65 views::Widget* w1 = CreateControlWidget(root_window(), local 67 w1->GetNativeView()->layer()->set_name("w1"); 75 w1->GetRootView()->AddChildView(CreateViewWithLayer( 77 w1->GetRootView()->AddChildView(v2); 81 w1->GetRootView()->AddChildView(w2_host_view); 82 w1->GetRootView()->AddChildView(CreateViewWithLayer( 85 views::Widget* w2 = CreateControlWidget(w1->GetNativeView(), 95 ui::Layer* w1_layer = w1->GetNativeView()->layer() [all...] |
/external/chromium_org/ash/test/ |
ash_test_helper_unittest.cc | 49 scoped_ptr<Widget> w1(new Widget); 53 w1->Init(params); 54 w1->Show(); 55 EXPECT_TRUE(w1->IsActive()); 56 EXPECT_TRUE(w1->IsVisible());
|