Searched refs:Zero (Results 51 - 75 of 442) sorted by relevance

1234567891011>>

/external/openfst/src/include/fst/
H A Dprune.h75 Weight wx = Times(x < idistance_.size() ? idistance_[x] : Weight::Zero(),
76 x < fdistance_.size() ? fdistance_[x] : Weight::Zero());
77 Weight wy = Times(y < idistance_.size() ? idistance_[y] : Weight::Zero(),
78 y < fdistance_.size() ? fdistance_[y] : Weight::Zero());
115 vector<Weight> idistance(ns, Weight::Zero());
125 ((*fdistance)[fst->Start()] == Weight::Zero())) {
152 fst->SetFinal(s, Weight::Zero());
161 : Weight::Zero());
247 ((*fdistance)[ifst.Start()] == Weight::Zero())) {
257 Weight limit = Times(s < fdistance->size() ? (*fdistance)[s] : Weight::Zero(),
[all...]
H A Dshortest-path.h52 // One() and Zero() according to NaturalLess.
58 bool fp = false, Weight w = Weight::Zero(),
100 Weight f_distance = Weight::Zero();
111 if (opts.weight_threshold != Weight::Zero() ||
126 distance->push_back(Weight::Zero());
129 arc_parent.push_back(Arc(kNoLabel, kNoLabel, Weight::Zero(), kNoStateId));
133 arc_parent.push_back(Arc(kNoLabel, kNoLabel, Weight::Zero(), kNoStateId));
142 if (ifst.Final(s) != Weight::Zero()) {
160 distance->push_back(Weight::Zero());
163 arc_parent.push_back(Arc(kNoLabel, kNoLabel, Weight::Zero(),
[all...]
H A Dlexicographic-weight.h23 // (for all a,b,c != Zero(): Times(c, a) = Times(c, b) => a = b,
46 using PairWeight<W1, W2>::Zero;
75 static const LexicographicWeight<W1, W2> &Zero() { function in class:fst::LexicographicWeight
76 static const LexicographicWeight<W1, W2> zero(PairWeight<W1, W2>::Zero());
99 if (Value1() == W1::Zero() && Value2() == W2::Zero()) return true;
100 if (Value1() != W1::Zero() && Value2() != W2::Zero()) return true;
H A Dpair-weight.h56 static const PairWeight<W1, W2> &Zero() { function in class:fst::PairWeight
57 static const PairWeight<W1, W2> zero(W1::Zero(), W2::Zero());
132 W1 w1 = W1::Zero();
136 W2 w2 = W2::Zero();
181 W1 w1 = W1::Zero();
199 W2 w2 = W2::Zero();
H A Drandom-weight.h42 // The boolean 'allow_zero' below determines whether Zero() and zero
60 return Weight::Zero();
69 bool allow_zero_; // permit Zero() and zero divisors
92 return Weight::Zero();
101 bool allow_zero_; // permit Zero() and zero divisors
111 // One(), and Zero() if zero is allowed.
125 return Weight::Zero();
136 bool allow_zero_; // permit Zero() and zero divisors
145 // strings chosen from {1,...,kAlphabetSize}^{0,kMaxStringLength} U { Zero }
159 return Weight::Zero();
[all...]
/external/chromium_org/tools/win/ChromeDebug/ChromeDebug/
H A DProcessDetail.cs30 this.processHandle = IntPtr.Zero;
221 IntPtr.Zero,
224 IntPtr.Zero)) {
245 if (processHandle == IntPtr.Zero) {
248 if (processHandle == IntPtr.Zero) {
281 if (processHandle != IntPtr.Zero)
283 processHandle = IntPtr.Zero;
/external/chromium_org/third_party/webrtc/base/
H A Dwin32toolhelp.h49 Zero(&current_);
76 Zero(&current_);
100 static void Zero(typename Traits::Type* buff) { function in class:rtc::ToolhelpEnumeratorBase
/external/srec/tools/thirdparty/OpenFst/fst/lib/
H A Drandom-weight.h32 // The boolean 'allow_zero' below determines whether Zero() and zero
49 return Weight::Zero();
58 bool allow_zero_; // permit Zero() and zero divisors
76 return Weight::Zero();
85 bool allow_zero_; // permit Zero() and zero divisors
90 // strings chosen from {1,...,kAlphabetSize}^{0,kMaxStringLength} U { Zero }
104 return Weight::Zero();
118 bool allow_zero_; // permit Zero() and zero divisors
H A Dshortest-path.h82 Weight f_distance = Weight::Zero();
96 distance->push_back(Weight::Zero());
99 arc_parent.push_back(Arc(kNoLabel, kNoLabel, Weight::Zero(), kNoStateId));
103 arc_parent.push_back(Arc(kNoLabel, kNoLabel, Weight::Zero(), kNoStateId));
117 distance->push_back(Weight::Zero());
120 arc_parent.push_back(Arc(kNoLabel, kNoLabel, Weight::Zero(),
137 if (ifst.Final(s) != Weight::Zero()) {
265 distance->push_back(Weight::Zero());
289 pairs.push_back(Pair(kNoStateId, Weight::Zero()));
322 if (finalw != Weight::Zero()) {
[all...]
/external/chromium_org/net/quic/
H A Dquic_sustained_bandwidth_recorder_test.cc19 QuicTime estimate_time = QuicTime::Zero();
20 QuicWallTime wall_time = QuicWallTime::Zero();
99 QuicTime estimate_time = QuicTime::Zero();
100 QuicWallTime wall_time = QuicWallTime::Zero();
H A Dquic_received_packet_manager_test.cc195 RecordPacketReceipt(sequence_number, entropy_hash, QuicTime::Zero());
295 received_manager_.RecordPacketReceived(0u, header, QuicTime::Zero());
297 received_manager_.RecordPacketReceived(0u, header, QuicTime::Zero());
309 QuicTime two_ms = QuicTime::Zero().Add(QuicTime::Delta::FromMilliseconds(2));
313 received_manager_.UpdateReceivedPacketInfo(&ack, QuicTime::Zero());
316 EXPECT_EQ(QuicTime::Delta::Zero(), ack.delta_time_largest_observed);
318 QuicTime four_ms = QuicTime::Zero().Add(QuicTime::Delta::FromMilliseconds(4));
330 2, 0, QuicTime::Zero().Add(QuicTime::Delta::FromMilliseconds(1)));
343 received_manager_.UpdateReceivedPacketInfo(&ack, QuicTime::Zero());
357 received_manager_.UpdateReceivedPacketInfo(&ack, QuicTime::Zero());
[all...]
/external/chromium_org/testing/gtest/samples/
H A Dsample1_unittest.cc103 TEST(FactorialTest, Zero) {
/external/clang/include/clang/Basic/
H A DABI.h72 VirtualAdjustment Zero; local
73 return Equals(Zero);
140 VirtualAdjustment Zero; local
141 return Equals(Zero);
/external/compiler-rt/test/ubsan/TestCases/Float/
H A Dcast-overflow.cpp54 unsigned Zero = NearlyMinusOne; // ok local
/external/protobuf/gtest/samples/
H A Dsample1_unittest.cc103 TEST(FactorialTest, Zero) {
/external/llvm/unittests/IR/
H A DConstantsTest.cpp24 Constant* Zero = ConstantInt::get(Int1, 0); local
31 EXPECT_EQ(Zero, ConstantExpr::getAdd(One, One));
35 EXPECT_EQ(Zero, ConstantExpr::getAdd(NegOne, One));
39 EXPECT_EQ(Zero, ConstantExpr::getAdd(NegOne, NegOne));
43 EXPECT_EQ(Zero, ConstantExpr::getSub(NegOne, One));
47 EXPECT_EQ(Zero, ConstantExpr::getSub(One, NegOne));
51 EXPECT_EQ(Zero, ConstantExpr::getSub(One, One));
59 EXPECT_EQ(One, ConstantExpr::getShl(One, Zero));
91 EXPECT_EQ(Zero, ConstantExpr::getSRem(NegOne, One));
95 EXPECT_EQ(Zero, ConstantExp
[all...]
/external/eigen/test/eigen2/
H A Deigen2_nomalloc.cpp36 mzero = MatrixType::Zero(rows, cols),
43 vzero = VectorType::Zero(rows);
H A Deigen2_sparse_basic.cpp59 DenseMatrix refMat = DenseMatrix::Zero(rows, cols);
187 DenseMatrix refM1 = DenseMatrix::Zero(rows, rows);
202 DenseMatrix refM1 = DenseMatrix::Zero(rows, rows);
203 DenseMatrix refM2 = DenseMatrix::Zero(rows, rows);
204 DenseMatrix refM3 = DenseMatrix::Zero(rows, rows);
205 DenseMatrix refM4 = DenseMatrix::Zero(rows, rows);
236 DenseMatrix refMat2 = DenseMatrix::Zero(rows, rows);
250 DenseMatrix refMat2 = DenseMatrix::Zero(rows, rows);
265 DenseMatrix refMat2 = DenseMatrix::Zero(rows, rows);
/external/chromium_org/net/quic/congestion_control/
H A Dtcp_cubic_sender.cc185 return QuicTime::Delta::Zero();
191 return QuicTime::Delta::Zero();
212 return QuicTime::Delta::Zero();
334 // Return QuicTime::Zero In order to ensure limited transmit always works.
336 return QuicTime::Delta::Zero();
346 return QuicTime::Delta::Zero();
354 return QuicTime::Delta::Zero();
/external/chromium_org/net/tools/quic/test_tools/
H A Dpacket_dropping_test_writer.cc27 return QuicTime::Zero();
55 fake_packet_delay_(QuicTime::Delta::Zero()),
56 fake_bandwidth_(QuicBandwidth::Zero()),
152 return QuicTime::Zero();
178 return QuicTime::Zero();
191 return QuicTime::Zero();
/external/clang/test/SemaTemplate/
H A Dalias-templates.cpp174 template <typename ... Args> using Zero = tuple<DefaultValue<Args> ...>;
175 template <typename ... Args> void f(const Zero<Args ...> &t);
177 f(Zero<int,double,double>());
185 template <template<int x> class... Args> using Zero = tuple<DefaultValue<Args> ...>;
186 template <template<int x> class... Args> void f(const Zero<Args ...> &t);
188 f(Zero<X,X,X>());
/external/openfst/src/test/
H A Dweight-tester.h65 // Tests (Plus, Times, Zero, One) defines a commutative semiring.
76 CHECK(Plus(w1, Weight::Zero()) == w1);
77 CHECK(Plus(Weight::Zero(), w1) == w1);
93 // Checks Zero() is the annihilator.
94 CHECK(Times(w1, Weight::Zero()) == Weight::Zero());
95 CHECK(Times(Weight::Zero(), w1) == Weight::Zero());
/external/chromium_org/third_party/WebKit/Source/platform/
H A DDecimalTest.cpp350 const Decimal Zero(Decimal::zero(Positive));
354 EXPECT_TRUE(Zero == Zero);
355 EXPECT_FALSE(Zero != Zero);
356 EXPECT_FALSE(Zero < Zero);
357 EXPECT_TRUE(Zero <= Zero);
358 EXPECT_FALSE(Zero > Zer
[all...]
/external/eigen/unsupported/Eigen/src/SVD/
H A DBDCSVD.h222 m_computed = MatrixXr::Zero(this->m_diagSize + 1, this->m_diagSize );
232 if (compU) m_naiveU = MatrixXr::Zero(this->m_diagSize + 1, this->m_diagSize + 1 );
233 else m_naiveU = MatrixXr::Zero(2, this->m_diagSize + 1 );
235 if (compV) m_naiveV = MatrixXr::Zero(this->m_diagSize, this->m_diagSize);
258 m_computed = Matrix<int, Dynamic, Dynamic>::Zero(rows(), cols());
262 if (this->m_computeFullU) this->m_matrixU = Matrix<int, Dynamic, Dynamic>::Zero(rows(), rows());
263 if (this->m_computeFullV) this->m_matrixV = Matrix<int, Dynamic, Dynamic>::Zero(cols(), cols());
319 MatrixX temp = MatrixX::Zero(naiveU.rows(), naiveU.cols());
335 MatrixX temp = MatrixX::Zero(naiveV.rows(), naiveV.cols());
492 m_computed.block(firstCol + shift, firstCol + shift, n, n) << MatrixXr::Zero(
636 const Index Zero = firstCol + shift; local
[all...]
/external/llvm/unittests/CodeGen/
H A DDIEHashTest.cpp104 DIEInteger Zero(0);
106 &Zero);
135 DIEInteger Zero(0);
137 &Zero);
189 DIEInteger Zero(0);
190 Mem->addValue(dwarf::DW_AT_data_member_location, dwarf::DW_FORM_data1, &Zero);
218 DIEInteger Zero(0);
219 Mem->addValue(dwarf::DW_AT_data_member_location, dwarf::DW_FORM_data1, &Zero);
251 DIEInteger Zero(0);
252 Mem->addValue(dwarf::DW_AT_data_member_location, dwarf::DW_FORM_data1, &Zero);
[all...]

Completed in 518 milliseconds

1234567891011>>