/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, 82 /* w1 = (a2 + 2(a1 + 2a0))(b2 + 2(b1 + 2b0)) */ 109 if ((res = mp_mul(&tmp1, &tmp2, &w1)) != MP_OKAY) { 175 if ((res = mp_sub(&w1, &w4, &w1)) != MP_OKAY) { 183 if ((res = mp_div_2(&w1, &w1)) != MP_OKAY) { 198 if ((res = mp_sub(&w1, &w2, &w1)) != 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) { 59 /* w1 = (a2 + 2(a1 + 2a0))**2 */ 73 if ((res = mp_sqr(&tmp1, &w1)) != MP_OKAY) { 119 if ((res = mp_sub(&w1, &w4, &w1)) != MP_OKAY) { 127 if ((res = mp_div_2(&w1, &w1)) != MP_OKAY) { 142 if ((res = mp_sub(&w1, &w2, &w1)) != MP_OKAY) [all...] |
/bionic/libc/arch-arm/krait/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...] |
/frameworks/ml/bordeaux/learning/stochastic_linear_ranker/native/ |
sparse_weight_vector.cpp | 50 const SparseWeightVector<Key, Hash> &w1, 52 for (Witer_const iter = w1.w_.begin(); 53 iter != w1.w_.end(); 55 w_[iter->first] += ((multiplier * iter->second) / w1.normalizer_ 64 const SparseWeightVector<Key, Hash> &w1, 66 for (Witer_const iter = w1.w_.begin(); 67 iter != w1.w_.end(); 70 (w1.normalizer_ * w1.normalizer_) 79 const SparseWeightVector<Key, Hash> &w1, [all...] |
sparse_weight_vector.h | 132 const SparseWeightVector<Key, Hash> &w1, 135 const SparseWeightVector<Key, Hash> &w1, 138 const SparseWeightVector<Key, Hash> &w1, 140 void MultWeightUpdate(const SparseWeightVector<Key, Hash> &w1); 149 const SparseWeightVector<Key, Hash> &w1, 151 void MultWeightUpdateBounded(const SparseWeightVector<Key, Hash> &w1); 176 bool GetValue(const Wmap &w1, const Key &fname, double *val) const { 177 Witer_const iter = w1.find(fname); 178 if (iter != w1.end()) {
|
/external/openfst/src/include/fst/ |
string-weight.h | 296 inline bool operator==(const StringWeight<L, S> &w1, 298 if (w1.Size() != w2.Size()) 301 StringWeightIterator<L, S> iter1(w1); 312 inline bool operator!=(const StringWeight<L, S> &w1, 314 return !(w1 == w2); 318 inline bool ApproxEqual(const StringWeight<L, S> &w1, 321 return w1 == w2; 370 Plus(const StringWeight<L, S> &w1, 372 if (!w1.Member() || !w2.Member()) 374 if (w1 == StringWeight<L, S>::Zero() [all...] |
sparse-power-weight.h | 150 inline SparsePowerWeight<W, K> Plus(const SparsePowerWeight<W, K> &w1, 154 SparseTupleWeightMap(&ret, w1, w2, operator_mapper); 160 inline SparsePowerWeight<W, K> Times(const SparsePowerWeight<W, K> &w1, 164 SparseTupleWeightMap(&ret, w1, w2, operator_mapper); 170 inline SparsePowerWeight<W, K> Divide(const SparsePowerWeight<W, K> &w1, 175 SparseTupleWeightMap(&ret, w1, w2, operator_mapper); 181 inline const W& DotProduct(const SparsePowerWeight<W, K> &w1, 183 const SparsePowerWeight<W, K>& product = Times(w1, w2); 192 inline bool ApproxEqual(const SparsePowerWeight<W, K> &w1, 197 SparseTupleWeightMap(&ret, w1, w2, operator_mapper) [all...] |
signed-log-weight.h | 108 inline SignedLogWeightTpl<T> Plus(const SignedLogWeightTpl<T> &w1, 110 if (!w1.Member() || !w2.Member()) 112 bool s1 = w1.Value1().Value() > 0.0; 114 T f1 = w1.Value2().Value(); 119 return w1; 122 return SignedLogWeightTpl<T>(w1.Value1(), (f2 - log(2.0F))); 128 w1.Value1(), (f2 - log(1.0F + exp(f2 - f1)))); 139 w1.Value1(), (f1 - log(1.0F - exp(f1 - f2)))); 145 inline SignedLogWeightTpl<T> Minus(const SignedLogWeightTpl<T> &w1, 148 return Plus(w1, minus_w2) [all...] |
pair-weight.h | 37 template<class W1, class W2> class PairWeight; 38 template <class W1, class W2> 39 istream &operator>>(istream &strm, PairWeight<W1, W2> &w); 41 template<class W1, class W2> 44 friend istream &operator>><W1, W2>(istream&, PairWeight<W1, W2>&); 46 typedef PairWeight<typename W1::ReverseWeight, 54 PairWeight(W1 w1, W2 w2) : value1_(w1), value2_(w2) { 132 W1 w1 = W1::Zero(); local 133 strm1 >> w1; local 181 W1 w1 = W1::Zero(); local 182 strm1 >> w1; local [all...] |
/external/chromium_org/ash/wm/dock/ |
docked_window_layout_manager_unittest.cc | 253 scoped_ptr<aura::Window> w1(CreateTestWindow(gfx::Rect(0, 0, 201, 201))); 255 DragToVerticalPositionAndToEdge(DOCKED_EDGE_RIGHT, w1.get(), 20); 259 EXPECT_EQ(w1->GetRootWindow()->bounds().right(), 260 w1->GetBoundsInScreen().right()); 261 EXPECT_EQ(internal::kShellWindowId_DockedContainer, w1->parent()->id()); 267 int gap1 = w1->GetBoundsInScreen().y(); 268 int gap2 = w2->GetBoundsInScreen().y() - w1->GetBoundsInScreen().bottom(); 269 int gap3 = ScreenAsh::GetDisplayWorkAreaBoundsInParent(w1.get()).bottom() - 281 scoped_ptr<aura::Window> w1(CreateTestWindow(gfx::Rect(0, 0, 201, 201))); 283 DragToVerticalPositionAndToEdge(DOCKED_EDGE_RIGHT, w1.get(), 20) [all...] |
/bionic/libc/arch-arm/cortex-a15/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/chromium_org/ash/wm/ |
activation_controller_unittest.cc | 59 aura::Window* w1() { return w1_.get(); } function in class:ash::test::GetTopmostWindowToActivateTest 205 scoped_ptr<aura::Window> w1(CreateTestWindowInShellWithDelegate( 207 ad1.SetWindow(w1.get()); 212 generator.MoveMouseToCenterOf(w1.get()); 214 EXPECT_TRUE(wm::IsActiveWindow(w1.get())); 220 w1->AddTransientChild(menu.get()); 225 EXPECT_TRUE(wm::IsActiveWindow(w1.get())); 232 scoped_ptr<aura::Window> w1(CreateTestWindowInShellWithDelegate( 236 aura::Window* parent = w1->parent(); 243 EXPECT_FALSE(wm::IsActiveWindow(w1.get())) [all...] |
frame_painter_unittest.cc | 319 scoped_ptr<Widget> w1(CreateTestWidget()); 320 scoped_ptr<FramePainter> p1(CreateTestPainter(w1.get())); 321 w1->Show(); 367 scoped_ptr<Widget> w1(CreateTestWidget()); 368 scoped_ptr<FramePainter> p1(CreateTestPainter(w1.get())); 369 w1->Show(); 395 scoped_ptr<Widget> w1(CreateTestWidget()); 396 scoped_ptr<FramePainter> p1(CreateTestPainter(w1.get())); 397 w1->Show(); 416 w1.reset() 727 Widget* w1 = new Widget; local [all...] |
window_manager_unittest.cc | 153 scoped_ptr<aura::Window> w1(CreateTestWindowInShell( 156 SK_ColorGREEN, -11, gfx::Rect(5, 5, 100, 100), w1.get())); 162 SK_ColorMAGENTA, -12, gfx::Rect(10, 420, 25, 25), w1.get())); 176 SK_ColorGRAY, -13, gfx::Rect(5, 470, 50, 50), w1.get())); 225 // Set the focus to w123, but make the w1 not activatable. 230 aura::client::SetActivationDelegate(w1.get(), &activation_delegate); 241 aura::client::SetActivationDelegate(w1.get(), NULL); 246 aura::client::SetActivationDelegate(w1.get(), &activation_delegate); 261 scoped_ptr<aura::Window> w1(CreateTestWindowInShellWithDelegate( 263 d1.SetWindow(w1.get()) [all...] |
window_modality_controller_unittest.cc | 38 // Creates three windows, w1, w11, and w12. w11 is a non-modal transient, w12 is 42 // - activating w1 activates w12 and updates stacking order appropriately. 46 scoped_ptr<aura::Window> w1( 53 w1->AddTransientChild(w11.get()); 54 wm::ActivateWindow(w1.get()); 55 EXPECT_TRUE(wm::IsActiveWindow(w1.get())); 60 w1->AddTransientChild(w12.get()); 68 EXPECT_TRUE(ValidateStacking(w1->parent(), check1, arraysize(check1))); 70 wm::ActivateWindow(w1.get()); 75 EXPECT_TRUE(ValidateStacking(w1->parent(), check2, arraysize(check2))) [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
chvr_filter.cpp | 40 int w1, w2, w3, w4; local 56 w1 = width; /* Offset to next row in pixels */ 58 w3 = w1 + w2; /* Offset to three rows in pixels */ 124 a3_0 = *ptr - *(ptr - w1); 131 ptr_n = ptr + w1; /* Points to pixel one row below */ 134 v[2] = (int)(*(ptr_c - w1)); 136 v[4] = (int)(*(ptr_c + w1)); 151 ptr_c += w1; 162 ptr_c += w1; 163 ptr_n += w1; [all...] |
/external/chromium_org/net/websockets/ |
websocket_throttle_unittest.cc | 74 scoped_refptr<WebSocketJob> w1(new WebSocketJob(&delegate)); 76 new SocketStream(GURL("ws://host1/"), w1.get())); 78 w1->InitSocketStream(s1.get()); 84 EXPECT_EQ(OK, w1->OnStartOpenConnection(s1.get(), callback_s1.callback())); 88 // 1.2.3.4 | w1 89 // 1.2.3.5 | w1 90 // 1.2.3.6 | w1 104 // Trying to open connection to host2 will wait for w1. 109 // 1.2.3.4 | w1 w2 110 // 1.2.3.5 | w1 [all...] |
/external/srec/tools/thirdparty/OpenFst/fst/lib/ |
string-weight.h | 288 inline bool operator==(const StringWeight<L, S> &w1, 290 if (w1.Size() != w2.Size()) 293 StringWeightIterator<L, S> iter1(w1); 304 inline bool operator!=(const StringWeight<L, S> &w1, 306 return !(w1 == w2); 310 inline bool ApproxEqual(const StringWeight<L, S> &w1, 313 return w1 == w2; 362 Plus(const StringWeight<L, S> &w1, 364 if (w1 == StringWeight<L, S>::Zero()) 367 return w1; [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() 159 W1 w1 = W1::Zero(); local 160 strm1 >> w1; local [all...] |
/external/chromium_org/ui/aura/ |
window_unittest.cc | 282 scoped_ptr<Window> w1(CreateTestWindowWithId(1, root_window())); 283 scoped_ptr<Window> w11(CreateTestWindowWithId(11, w1.get())); 285 scoped_ptr<Window> w12(CreateTestWindowWithId(12, w1.get())); 287 EXPECT_EQ(NULL, w1->GetChildById(57)); 288 EXPECT_EQ(w12.get(), w1->GetChildById(12)); 289 EXPECT_EQ(w111.get(), w1->GetChildById(111)); 339 scoped_ptr<Window> w1(CreateTestWindowWithId(1, root_window())); 342 Window::ConvertPointToTarget(NULL, w1.get(), &test_point); 347 scoped_ptr<Window> w1( 351 CreateTestWindow(SK_ColorGREEN, 11, gfx::Rect(5, 5, 100, 100), w1.get())) [all...] |
/external/okhttp/src/main/java/com/squareup/okhttp/internal/spdy/ |
SpdyReader.java | 90 int w1; local 92 w1 = in.readInt(); 98 boolean control = (w1 & 0x80000000) != 0; 103 int version = (w1 & 0x7fff0000) >>> 16; 104 int type = (w1 & 0xffff); 156 int streamId = w1 & 0x7fffffff; 163 int w1 = in.readInt(); local 166 int streamId = w1 & 0x7fffffff; 175 int w1 = in.readInt(); local 176 int streamId = w1 & 0x7fffffff 189 int w1 = in.readInt(); local 197 int w1 = in.readInt(); local 294 int w1 = in.readInt(); local [all...] |
/external/chromium/net/websockets/ |
websocket_throttle_unittest.cc | 86 scoped_refptr<WebSocketJob> w1(new WebSocketJob(&delegate)); 88 new SocketStream(GURL("ws://host1/"), w1.get())); 89 w1->InitSocketStream(s1.get()); 96 EXPECT_EQ(OK, w1->OnStartOpenConnection(s1, &callback_s1)); 100 // 1.2.3.4 | w1 101 // 1.2.3.5 | w1 102 // 1.2.3.6 | w1 115 // Trying to open connection to host2 will wait for w1. 119 // 1.2.3.4 | w1 w2 120 // 1.2.3.5 | w1 [all...] |
/external/lzma/CPP/Common/ |
MyGuidDef.h | 49 #define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \
50 MY_EXTERN_C const GUID name = { l, w1, w2, { b1, b2, b3, b4, b5, b6, b7, b8 } }
52 #define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \
|
/external/chromium_org/ash/wm/panels/ |
panel_layout_manager_unittest.cc | 356 scoped_ptr<aura::Window> w1(CreatePanelWindow(odd_bounds)); 357 EXPECT_NO_FATAL_FAILURE(IsPanelAboveLauncherIcon(w1.get())); 360 EXPECT_NO_FATAL_FAILURE(IsPanelAboveLauncherIcon(w1.get())); 364 EXPECT_NO_FATAL_FAILURE(IsPanelAboveLauncherIcon(w1.get())); 371 scoped_ptr<aura::Window> w1(CreatePanelWindow(bounds)); 377 EXPECT_TRUE(WindowIsAbove(w2.get(), w1.get())); 380 wm::ActivateWindow(w1.get()); 382 EXPECT_TRUE(WindowIsAbove(w1.get(), w2.get())); 387 EXPECT_TRUE(WindowIsAbove(w1.get(), w3.get())); 389 EXPECT_TRUE(WindowIsAbove(w2.get(), w1.get())) [all...] |
/external/chromium_org/ash/wm/workspace/ |
multi_window_resize_controller_unittest.cc | 102 scoped_ptr<aura::Window> w1( 109 aura::test::EventGenerator generator(w1->GetRootWindow()); 133 scoped_ptr<aura::Window> w1( 140 aura::test::EventGenerator generator(w1->GetRootWindow()); 170 EXPECT_FALSE(HasTarget(w1.get())); 176 scoped_ptr<aura::Window> w1( 183 aura::test::EventGenerator generator(w1->GetRootWindow()); 212 EXPECT_EQ("0,0 110x100", w1->bounds().ToString()); 219 scoped_ptr<aura::Window> w1( 231 aura::test::EventGenerator generator(w1->GetRootWindow()) [all...] |