HomeSort by relevance Sort by last modified time
    Searched refs:w1 (Results 1 - 25 of 143) sorted by null

1 2 3 4 5 6

  /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++/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++/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++/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++/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();
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...]
  /bionic/libc/arch-arm/cortex-a9/bionic/
strcmp.S 132 .macro magic_compare_and_branch w1 w2 label
133 /* Macro to compare registers w1 and w2 and conditionally branch to label. */
134 cmp \w1, \w2 /* Are w1 and w2 the same? */
135 magic_find_zero_bytes \w1
137 cmpeq ip, #0 /* Is there a zero byte in w1? */
141 .macro magic_find_zero_bytes w1
142 /* Macro to find all-zero bytes in w1, result is in ip. */
144 uadd8 ip, \w1, r6
152 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++/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...]
  /bionic/libc/arch-arm/cortex-a15/bionic/
strcmp.S 132 .macro magic_compare_and_branch w1 w2 label
133 /* Macro to compare registers w1 and w2 and conditionally branch to label. */
134 cmp \w1, \w2 /* Are w1 and w2 the same? */
135 magic_find_zero_bytes \w1
137 cmpeq ip, #0 /* Is there a zero byte in w1? */
141 .macro magic_find_zero_bytes w1
142 /* Macro to find all-zero bytes in w1, result is in ip. */
144 uadd8 ip, \w1, r6
152 sub ip, \w1, #0x0101010
    [all...]
  /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 132 .macro magic_compare_and_branch w1 w2 label
133 /* Macro to compare registers w1 and w2 and conditionally branch to label. */
134 cmp \w1, \w2 /* Are w1 and w2 the same? */
135 magic_find_zero_bytes \w1
137 cmpeq ip, #0 /* Is there a zero byte in w1? */
141 .macro magic_find_zero_bytes w1
142 /* Macro to find all-zero bytes in w1, result is in ip. */
144 uadd8 ip, \w1, r6
152 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...]

Completed in 358 milliseconds

1 2 3 4 5 6