Home
last modified time | relevance | path

Searched refs:LessThan (Results 1 – 25 of 43) sorted by relevance

12

/external/chromium_org/sandbox/linux/seccomp-bpf/
Derrorcode_unittest.cc61 SANDBOX_TEST(ErrorCode, LessThan) { in SANDBOX_TEST() argument
64 SANDBOX_ASSERT(!e1.LessThan(e1)); in SANDBOX_TEST()
65 SANDBOX_ASSERT(!e1.LessThan(e2)); in SANDBOX_TEST()
66 SANDBOX_ASSERT(!e2.LessThan(e1)); in SANDBOX_TEST()
69 SANDBOX_ASSERT(!e1.LessThan(e3)); in SANDBOX_TEST()
70 SANDBOX_ASSERT( e3.LessThan(e1)); in SANDBOX_TEST()
76 SANDBOX_ASSERT(e1.LessThan(e4)); in SANDBOX_TEST()
77 SANDBOX_ASSERT(e3.LessThan(e4)); in SANDBOX_TEST()
78 SANDBOX_ASSERT(e4.LessThan(e5)); in SANDBOX_TEST()
79 SANDBOX_ASSERT(!e4.LessThan(e6)); in SANDBOX_TEST()
[all …]
Derrorcode.h129 bool LessThan(const ErrorCode& err) const;
143 struct LessThan { struct
145 return a.LessThan(b); in operator() argument
Derrorcode.cc69 bool ErrorCode::LessThan(const ErrorCode& err) const { in LessThan() function in sandbox::ErrorCode
92 return passed_->LessThan(*err.passed_); in LessThan()
94 return failed_->LessThan(*err.failed_); in LessThan()
/external/chromium_org/sync/internal_api/public/base/
Dunique_position_unittest.cc79 ::testing::AssertionResult LessThan(const char* m_expr, in LessThan() function
83 if (m.LessThan(n)) in LessThan()
176 return a.LessThan(b); in operator ()()
193 EXPECT_FALSE(a.LessThan(a)); in TEST_F()
203 EXPECT_TRUE(a.LessThan(b)); in TEST_F()
204 EXPECT_FALSE(b.LessThan(a)); in TEST_F()
268 EXPECT_PRED_FORMAT2(LessThan, predecessor, midpoint); in TEST_P()
269 EXPECT_PRED_FORMAT2(LessThan, midpoint, successor); in TEST_P()
284 EXPECT_PRED_FORMAT2(LessThan, before, successor); in TEST_P()
298 EXPECT_PRED_FORMAT2(LessThan, predecessor, after); in TEST_P()
[all …]
Dordinal_unittest.cc144 TEST(Ordinal, LessThan) { in TEST() argument
149 EXPECT_FALSE(small_ordinal.LessThan(small_ordinal)); in TEST()
150 EXPECT_TRUE(small_ordinal.LessThan(middle_ordinal)); in TEST()
151 EXPECT_TRUE(small_ordinal.LessThan(big_ordinal)); in TEST()
153 EXPECT_FALSE(middle_ordinal.LessThan(small_ordinal)); in TEST()
154 EXPECT_FALSE(middle_ordinal.LessThan(middle_ordinal)); in TEST()
155 EXPECT_TRUE(middle_ordinal.LessThan(big_ordinal)); in TEST()
157 EXPECT_FALSE(big_ordinal.LessThan(small_ordinal)); in TEST()
158 EXPECT_FALSE(big_ordinal.LessThan(middle_ordinal)); in TEST()
159 EXPECT_FALSE(big_ordinal.LessThan(big_ordinal)); in TEST()
[all …]
Dnode_ordinal_unittest.cc79 template <typename T, typename LessThan = std::less<T> >
90 LessThan less_than_;
Dordinal.h107 bool LessThan(const Ordinal& other) const;
217 return lhs.LessThan(rhs); in operator()
272 bool Ordinal<Traits>::LessThan(const Ordinal& other) const { in LessThan() function
298 if (LessThan(other)) { in CreateBetween()
467 CHECK(start.LessThan(end)); in CreateOrdinalBetween()
Dunique_position.h77 bool LessThan(const UniquePosition& other) const;
/external/mockito/src/org/mockito/
DAdditionalMatchers.java15 import org.mockito.internal.matchers.LessThan;
329 return reportMatcher(new LessThan<T>(value)).<T>returnNull(); in lt()
342 return reportMatcher(new LessThan<Byte>(value)).returnZero(); in lt()
355 return reportMatcher(new LessThan<Double>(value)).returnZero(); in lt()
368 return reportMatcher(new LessThan<Float>(value)).returnZero(); in lt()
381 return reportMatcher(new LessThan<Integer>(value)).returnZero(); in lt()
394 return reportMatcher(new LessThan<Long>(value)).returnZero(); in lt()
407 return reportMatcher(new LessThan<Short>(value)).returnZero(); in lt()
/external/chromium_org/chrome/browser/extensions/
Dchrome_app_sorting_unittest.cc73 EXPECT_TRUE(launch_ordinal.LessThan( in Verify()
81 EXPECT_TRUE(launch_ordinal.LessThan(new_launch_ordinal)); in Verify()
201 EXPECT_TRUE(first_ordinal.LessThan( in Verify()
210 EXPECT_TRUE(first_ordinal.LessThan( in Verify()
336 extension1_app_launch.LessThan(extension2_app_launch)); in Verify()
338 extension1_app_launch.LessThan(extension3_app_launch)); in Verify()
340 extension2_app_launch.LessThan(extension3_app_launch)); in Verify()
396 extension1_app_launch.LessThan(extension2_app_launch)); in Verify()
397 EXPECT_TRUE(extension1_app_launch.LessThan(extension3_app_launch)); in Verify()
398 EXPECT_TRUE(extension2_app_launch.LessThan(extension3_app_launch)); in Verify()
[all …]
/external/chromium_org/third_party/skia/src/gpu/
DGrTHashTable.h95 if (Key::LessThan(*array[index], key)) { in searchArray()
106 SkASSERT(0 == high || Key::LessThan(*array[high - 1], key)); in searchArray()
111 if (Key::LessThan(*array[high], key)) { in searchArray()
138 SkASSERT(0 == index || Key::LessThan(*array[index - 1], key)); in find()
197 SkASSERT(Key::LessThan(*fSorted[i - 1], *fSorted[i]) || in validate()
DGrResourceCache.h88 static bool LessThan(const GrResourceEntry& entry, const GrResourceKey& key);
91 static bool LessThan(const GrResourceEntry& a, const GrResourceEntry& b);
158 inline bool GrResourceKey::LessThan(const GrResourceEntry& entry, const GrResourceKey& key) { in LessThan() function
167 inline bool GrResourceKey::LessThan(const GrResourceEntry& a, const GrResourceEntry& b) { in LessThan() function
DGrTextStrike_impl.h22 static bool LessThan(const GrTextStrike& strike, const Key& key) { in LessThan() function
91 static bool LessThan(const GrGlyph& glyph, const Key& key) { function
/external/skia/src/gpu/
DGrTHashTable.h95 if (Key::LessThan(*array[index], key)) { in searchArray()
106 SkASSERT(0 == high || Key::LessThan(*array[high - 1], key)); in searchArray()
111 if (Key::LessThan(*array[high], key)) { in searchArray()
138 SkASSERT(0 == index || Key::LessThan(*array[index - 1], key)); in find()
197 SkASSERT(Key::LessThan(*fSorted[i - 1], *fSorted[i]) || in validate()
DGrResourceCache.h88 static bool LessThan(const GrResourceEntry& entry, const GrResourceKey& key);
91 static bool LessThan(const GrResourceEntry& a, const GrResourceEntry& b);
158 inline bool GrResourceKey::LessThan(const GrResourceEntry& entry, const GrResourceKey& key) { in LessThan() function
167 inline bool GrResourceKey::LessThan(const GrResourceEntry& a, const GrResourceEntry& b) { in LessThan() function
DGrTextStrike_impl.h22 static bool LessThan(const GrTextStrike& strike, const Key& key) { in LessThan() function
91 static bool LessThan(const GrGlyph& glyph, const Key& key) { function
/external/easymock/src/org/easymock/internal/matchers/
DLessThan.java18 public class LessThan<T extends Comparable<T>> extends CompareTo<T> { class
22 public LessThan(Comparable<T> value) { in LessThan() method in LessThan
/external/mockito/src/org/mockito/internal/matchers/
DLessThan.java10 public class LessThan<T extends Comparable<T>> extends CompareTo<T> implements Serializable { class
14 public LessThan(Comparable<T> value) { in LessThan() method in LessThan
/external/easymock/src/org/easymock/
DEasyMock.java585 reportMatcher(new LessThan<T>(value)); in lt()
598 reportMatcher(new LessThan<Byte>(value)); in lt()
611 reportMatcher(new LessThan<Double>(value)); in lt()
624 reportMatcher(new LessThan<Float>(value)); in lt()
637 reportMatcher(new LessThan<Integer>(value)); in lt()
650 reportMatcher(new LessThan<Long>(value)); in lt()
663 reportMatcher(new LessThan<Short>(value)); in lt()
/external/skia/tests/
DHashCacheTest.cpp42 static bool LessThan(const HashElement& entry, const HashKey& key) { in LessThan() function in HashKey
50 static bool LessThan(const HashElement& a, const HashElement& b) { in LessThan() function in HashKey
/external/skia/src/gpu/effects/
DGrTextureStripAtlas.h142 static bool LessThan(const AtlasEntry& entry, const AtlasHashKey& key);
189 inline bool GrTextureStripAtlas::AtlasHashKey::LessThan(const AtlasEntry& entry, in LessThan() function
/external/chromium_org/third_party/skia/src/gpu/effects/
DGrTextureStripAtlas.h142 static bool LessThan(const AtlasEntry& entry, const AtlasHashKey& key);
189 inline bool GrTextureStripAtlas::AtlasHashKey::LessThan(const AtlasEntry& entry, in LessThan() function
/external/chromium_org/net/cert/
Dsigned_certificate_timestamp_unittest.cc42 SignedCertificateTimestamp::LessThan less_than; in TEST_F()
Dsigned_certificate_timestamp.h80 struct NET_EXPORT LessThan { struct
/external/chromium_org/third_party/libjingle/source/talk/base/
Dstringutils_unittest.cc86 TEST(ascii_string_compareTest, LessThan) { in TEST() argument

12