Searched refs:LessThan (Results 1 - 25 of 53) sorted by relevance

123

/external/easymock/src/org/easymock/internal/matchers/
H A DLessThan.java18 public class LessThan<T extends Comparable<T>> extends CompareTo<T> { class in inherits:CompareTo
22 public LessThan(Comparable<T> value) { method in class:LessThan
/external/mockito/src/org/mockito/internal/matchers/
H A DLessThan.java10 public class LessThan<T extends Comparable<T>> extends CompareTo<T> implements Serializable { class in inherits:CompareTo,Serializable
14 public LessThan(Comparable<T> value) { method in class:LessThan
/external/chromium_org/sandbox/linux/seccomp-bpf/
H A Derrorcode_unittest.cc75 SANDBOX_TEST(ErrorCode, LessThan) {
78 SANDBOX_ASSERT(!e1.LessThan(e1));
79 SANDBOX_ASSERT(!e1.LessThan(e2));
80 SANDBOX_ASSERT(!e2.LessThan(e1));
83 SANDBOX_ASSERT(!e1.LessThan(e3));
84 SANDBOX_ASSERT( e3.LessThan(e1));
90 SANDBOX_ASSERT(e1.LessThan(e4));
91 SANDBOX_ASSERT(e3.LessThan(e4));
92 SANDBOX_ASSERT(e4.LessThan(e5));
93 SANDBOX_ASSERT(!e4.LessThan(e
[all...]
H A Derrorcode.h127 bool LessThan(const ErrorCode& err) const;
141 struct LessThan { struct in class:sandbox::ErrorCode
143 return a.LessThan(b);
H A Derrorcode.cc77 bool ErrorCode::LessThan(const ErrorCode& err) const { function in class:sandbox::ErrorCode
78 // Implementing a "LessThan()" operator allows us to use ErrorCode objects
100 return passed_->LessThan(*err.passed_);
102 return failed_->LessThan(*err.failed_);
/external/chromium_org/sync/internal_api/public/base/
H A Dunique_position_unittest.cc79 ::testing::AssertionResult LessThan(const char* m_expr, function in namespace:syncer::__anon10780
83 if (m.LessThan(n))
176 return a.LessThan(b);
193 EXPECT_FALSE(a.LessThan(a));
203 EXPECT_TRUE(a.LessThan(b));
204 EXPECT_FALSE(b.LessThan(a));
268 EXPECT_PRED_FORMAT2(LessThan, predecessor, midpoint);
269 EXPECT_PRED_FORMAT2(LessThan, midpoint, successor);
284 EXPECT_PRED_FORMAT2(LessThan, before, successor);
298 EXPECT_PRED_FORMAT2(LessThan, predecesso
[all...]
H A Dordinal_unittest.cc142 // Create three Ordinals in order. LessThan should return values
144 TEST(Ordinal, LessThan) {
149 EXPECT_FALSE(small_ordinal.LessThan(small_ordinal));
150 EXPECT_TRUE(small_ordinal.LessThan(middle_ordinal));
151 EXPECT_TRUE(small_ordinal.LessThan(big_ordinal));
153 EXPECT_FALSE(middle_ordinal.LessThan(small_ordinal));
154 EXPECT_FALSE(middle_ordinal.LessThan(middle_ordinal));
155 EXPECT_TRUE(middle_ordinal.LessThan(big_ordinal));
157 EXPECT_FALSE(big_ordinal.LessThan(small_ordinal));
158 EXPECT_FALSE(big_ordinal.LessThan(middle_ordina
[all...]
H A Dnode_ordinal_unittest.cc79 template <typename T, typename LessThan = std::less<T> >
90 LessThan less_than_;
H A Dunique_position.h81 bool LessThan(const UniquePosition& other) const;
H A Dordinal.h107 bool LessThan(const Ordinal& other) const;
217 return lhs.LessThan(rhs);
272 bool Ordinal<Traits>::LessThan(const Ordinal& other) const { function in class:syncer::Ordinal
298 if (LessThan(other)) {
467 CHECK(start.LessThan(end));
/external/chromium_org/components/enhanced_bookmarks/
H A Ditem_position.h37 bool LessThan(const ItemPosition& other) const;
/external/chromium_org/net/cert/
H A Dsigned_certificate_timestamp_unittest.cc42 SignedCertificateTimestamp::LessThan less_than;
H A Dsigned_certificate_timestamp.h86 struct NET_EXPORT LessThan { struct in struct:net::ct::SignedCertificateTimestamp
H A Dsigned_certificate_timestamp.cc13 bool SignedCertificateTimestamp::LessThan::operator()(
/external/mockito/src/org/mockito/
H A DAdditionalMatchers.java15 import org.mockito.internal.matchers.LessThan;
329 return reportMatcher(new LessThan<T>(value)).<T>returnNull();
342 return reportMatcher(new LessThan<Byte>(value)).returnZero();
355 return reportMatcher(new LessThan<Double>(value)).returnZero();
368 return reportMatcher(new LessThan<Float>(value)).returnZero();
381 return reportMatcher(new LessThan<Integer>(value)).returnZero();
394 return reportMatcher(new LessThan<Long>(value)).returnZero();
407 return reportMatcher(new LessThan<Short>(value)).returnZero();
/external/chromium_org/ui/app_list/
H A Dapp_list_item_list_unittest.cc120 res &= (item_list_.item_at(i - 1)->position().LessThan(
270 EXPECT_TRUE(item_list_.item_at(0)->position().LessThan(
272 EXPECT_TRUE(item_list_.item_at(1)->position().LessThan(
274 EXPECT_TRUE(item_list_.item_at(2)->position().LessThan(
294 EXPECT_TRUE(item_list_.item_at(0)->position().LessThan(
296 EXPECT_TRUE(item_list_.item_at(1)->position().LessThan(
298 EXPECT_TRUE(item_list_.item_at(2)->position().LessThan(
309 EXPECT_TRUE(new_position.LessThan(position0));
311 EXPECT_TRUE(new_position.LessThan(position0));
320 EXPECT_TRUE(new_position.LessThan(position
[all...]
/external/chromium_org/chrome/browser/extensions/
H A Dchrome_app_sorting_unittest.cc74 EXPECT_TRUE(launch_ordinal.LessThan(
82 EXPECT_TRUE(launch_ordinal.LessThan(new_launch_ordinal));
202 EXPECT_TRUE(first_ordinal.LessThan(
211 EXPECT_TRUE(first_ordinal.LessThan(
337 extension1_app_launch.LessThan(extension2_app_launch));
339 extension1_app_launch.LessThan(extension3_app_launch));
341 extension2_app_launch.LessThan(extension3_app_launch));
397 extension1_app_launch.LessThan(extension2_app_launch));
398 EXPECT_TRUE(extension1_app_launch.LessThan(extension3_app_launch));
399 EXPECT_TRUE(extension2_app_launch.LessThan(extension3_app_launc
[all...]
/external/skia/src/gpu/
H A DGrTHashTable.h20 * static bool LessThan(const Entry&, const Key&);
22 * static bool LessThan(const Entry&, const Entry&); for SK_DEBUG if GrTHashTable::validate() is called
100 if (Key::LessThan(*array[index], key)) {
111 SkASSERT(0 == high || Key::LessThan(*array[high - 1], key));
116 if (Key::LessThan(*array[high], key)) {
143 SkASSERT(0 == index || Key::LessThan(*array[index - 1], key));
202 SkASSERT(Key::LessThan(*fSorted[i - 1], *fSorted[i]) ||
H A DGrTextStrike_impl.h22 static bool LessThan(const GrTextStrike& strike, const Key& key) { function in class:GrFontCache::Key
85 static bool LessThan(const GrGlyph& glyph, const Key& key) { function in class:GrTextStrike::Key
H A DGrLayerCache.cpp27 static bool LessThan(const GrCachedLayer& layer, const PictureLayerKey& key) { function in class:GrLayerCache::PictureLayerKey
/external/skia/src/gpu/effects/
H A DGrTextureStripAtlas.h142 static bool LessThan(const AtlasEntry& entry, const AtlasHashKey& key);
189 inline bool GrTextureStripAtlas::AtlasHashKey::LessThan(const AtlasEntry& entry, function in class:GrTextureStripAtlas::AtlasHashKey
/external/skia/tests/
H A DHashCacheTest.cpp41 static bool LessThan(const HashElement& entry, const HashKey& key) { function in class:HashKey
49 static bool LessThan(const HashElement& a, const HashElement& b) { function in class:HashKey
/external/chromium_org/third_party/webrtc/base/
H A Dstringutils_unittest.cc69 TEST(ascii_string_compareTest, LessThan) {
/external/easymock/src/org/easymock/
H A DEasyMock.java585 reportMatcher(new LessThan<T>(value));
598 reportMatcher(new LessThan<Byte>(value));
611 reportMatcher(new LessThan<Double>(value));
624 reportMatcher(new LessThan<Float>(value));
637 reportMatcher(new LessThan<Integer>(value));
650 reportMatcher(new LessThan<Long>(value));
663 reportMatcher(new LessThan<Short>(value));
/external/chromium_org/net/base/
H A Dhost_port_pair_unittest.cc79 TEST(HostPortPairTest, LessThan) {

Completed in 628 milliseconds

123