Searched refs:LessThan (Results 1 - 25 of 51) 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.cc72 SANDBOX_TEST(ErrorCode, LessThan) {
75 SANDBOX_ASSERT(!e1.LessThan(e1));
76 SANDBOX_ASSERT(!e1.LessThan(e2));
77 SANDBOX_ASSERT(!e2.LessThan(e1));
80 SANDBOX_ASSERT(!e1.LessThan(e3));
81 SANDBOX_ASSERT( e3.LessThan(e1));
87 SANDBOX_ASSERT(e1.LessThan(e4));
88 SANDBOX_ASSERT(e3.LessThan(e4));
89 SANDBOX_ASSERT(e4.LessThan(e5));
90 SANDBOX_ASSERT(!e4.LessThan(e
[all...]
H A Derrorcode.h136 bool LessThan(const ErrorCode& err) const;
150 struct LessThan { struct in class:sandbox::ErrorCode
152 return a.LessThan(b);
H A Derrorcode.cc74 bool ErrorCode::LessThan(const ErrorCode& err) const { function in class:sandbox::ErrorCode
75 // Implementing a "LessThan()" operator allows us to use ErrorCode objects
97 return passed_->LessThan(*err.passed_);
99 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::__anon10109
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;
/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
/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(
273 EXPECT_TRUE(item_list_.item_at(0)->position().LessThan(
275 EXPECT_TRUE(item_list_.item_at(1)->position().LessThan(
277 EXPECT_TRUE(item_list_.item_at(2)->position().LessThan(
297 EXPECT_TRUE(item_list_.item_at(0)->position().LessThan(
299 EXPECT_TRUE(item_list_.item_at(1)->position().LessThan(
301 EXPECT_TRUE(item_list_.item_at(2)->position().LessThan(
312 EXPECT_TRUE(new_position.LessThan(position0));
314 EXPECT_TRUE(new_position.LessThan(position0));
323 EXPECT_TRUE(new_position.LessThan(position
[all...]
/external/chromium_org/chrome/browser/extensions/
H A Dchrome_app_sorting_unittest.cc73 EXPECT_TRUE(launch_ordinal.LessThan(
81 EXPECT_TRUE(launch_ordinal.LessThan(new_launch_ordinal));
201 EXPECT_TRUE(first_ordinal.LessThan(
210 EXPECT_TRUE(first_ordinal.LessThan(
336 extension1_app_launch.LessThan(extension2_app_launch));
338 extension1_app_launch.LessThan(extension3_app_launch));
340 extension2_app_launch.LessThan(extension3_app_launch));
396 extension1_app_launch.LessThan(extension2_app_launch));
397 EXPECT_TRUE(extension1_app_launch.LessThan(extension3_app_launch));
398 EXPECT_TRUE(extension2_app_launch.LessThan(extension3_app_launc
[all...]
/external/chromium_org/third_party/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
/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
/external/chromium_org/third_party/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/chromium_org/third_party/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/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/libjingle/source/talk/base/
H A Dstringutils_unittest.cc86 TEST(ascii_string_compareTest, LessThan) {
/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));

Completed in 2616 milliseconds

123