/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/containers/unord/unord.set/unord.set.cnstr/ |
compare_copy_constructible.fail.cpp | 19 bool operator () (const T& lhs, const T& rhs) const { return lhs == rhs; }
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/numerics/complex.number/complex.ops/ |
complex_equals_complex.pass.cpp | 14 // operator==(const complex<T>& lhs, const complex<T>& rhs); 27 constexpr std::complex<T> lhs(1.5, 2.5); 29 static_assert( !(lhs == rhs), ""); 32 constexpr std::complex<T> lhs(1.5, 2.5); 34 static_assert(lhs == rhs, ""); 44 std::complex<T> lhs(1.5, 2.5); 46 assert( !(lhs == rhs)); 49 std::complex<T> lhs(1.5, 2.5); 51 assert(lhs == rhs);
|
complex_not_equals_complex.pass.cpp | 14 // operator!=(const complex<T>& lhs, const complex<T>& rhs); 27 constexpr std::complex<T> lhs(1.5, 2.5); 29 static_assert(lhs != rhs, ""); 32 constexpr std::complex<T> lhs(1.5, 2.5); 34 static_assert(!(lhs != rhs), "" ); 45 std::complex<T> lhs(1.5, 2.5); 47 assert(lhs != rhs); 50 std::complex<T> lhs(1.5, 2.5); 52 assert(!(lhs != rhs));
|
complex_divide_scalar.pass.cpp | 14 // operator/(const complex<T>& lhs, const T& rhs); 21 test(const std::complex<T>& lhs, const T& rhs, std::complex<T> x) 23 assert(lhs / rhs == x); 30 std::complex<T> lhs(-4.0, 7.5); 33 test(lhs, rhs, x);
|
complex_times_scalar.pass.cpp | 14 // operator*(const complex<T>& lhs, const T& rhs); 21 test(const std::complex<T>& lhs, const T& rhs, std::complex<T> x) 23 assert(lhs * rhs == x); 30 std::complex<T> lhs(1.5, 2.5); 33 test(lhs, rhs, x);
|
scalar_divide_complex.pass.cpp | 14 // operator/(const T& lhs, const complex<T>& rhs); 21 test(const T& lhs, const std::complex<T>& rhs, std::complex<T> x) 23 assert(lhs / rhs == x); 30 T lhs(-8.5); 33 test(lhs, rhs, x);
|
scalar_times_complex.pass.cpp | 14 // operator*(const T& lhs, const complex<T>& rhs); 21 test(const T& lhs, const std::complex<T>& rhs, std::complex<T> x) 23 assert(lhs * rhs == x); 30 T lhs(1.5); 33 test(lhs, rhs, x);
|
/art/test/083-compiler-regressions/src/ |
ZeroTests.java | 42 private static long longDiv(long lhs, long rhs) { 43 return lhs / rhs; 46 private static long longMod(long lhs, long rhs) { 47 return lhs % rhs;
|
/external/libcxx/test/std/numerics/complex.number/complex.ops/ |
complex_divide_scalar.pass.cpp | 14 // operator/(const complex<T>& lhs, const T& rhs); 21 test(const std::complex<T>& lhs, const T& rhs, std::complex<T> x) 23 assert(lhs / rhs == x); 30 std::complex<T> lhs(-4.0, 7.5); 33 test(lhs, rhs, x);
|
complex_times_scalar.pass.cpp | 14 // operator*(const complex<T>& lhs, const T& rhs); 21 test(const std::complex<T>& lhs, const T& rhs, std::complex<T> x) 23 assert(lhs * rhs == x); 30 std::complex<T> lhs(1.5, 2.5); 33 test(lhs, rhs, x);
|
scalar_divide_complex.pass.cpp | 14 // operator/(const T& lhs, const complex<T>& rhs); 21 test(const T& lhs, const std::complex<T>& rhs, std::complex<T> x) 23 assert(lhs / rhs == x); 30 T lhs(-8.5); 33 test(lhs, rhs, x);
|
scalar_times_complex.pass.cpp | 14 // operator*(const T& lhs, const complex<T>& rhs); 21 test(const T& lhs, const std::complex<T>& rhs, std::complex<T> x) 23 assert(lhs * rhs == x); 30 T lhs(1.5); 33 test(lhs, rhs, x);
|
complex_minus_complex.pass.cpp | 14 // operator-(const complex<T>& lhs, const complex<T>& rhs); 21 test(const std::complex<T>& lhs, const std::complex<T>& rhs, std::complex<T> x) 23 assert(lhs - rhs == x); 31 std::complex<T> lhs(1.5, 2.5); 34 test(lhs, rhs, x); 37 std::complex<T> lhs(1.5, -2.5); 40 test(lhs, rhs, x);
|
complex_plus_complex.pass.cpp | 14 // operator+(const complex<T>& lhs, const complex<T>& rhs); 21 test(const std::complex<T>& lhs, const std::complex<T>& rhs, std::complex<T> x) 23 assert(lhs + rhs == x); 31 std::complex<T> lhs(1.5, 2.5); 34 test(lhs, rhs, x); 37 std::complex<T> lhs(1.5, -2.5); 40 test(lhs, rhs, x);
|
/external/swiftshader/src/OpenGL/compiler/preprocessor/ |
SourceLocation.h | 35 inline bool operator==(const SourceLocation &lhs, const SourceLocation &rhs) 37 return lhs.equals(rhs); 40 inline bool operator!=(const SourceLocation &lhs, const SourceLocation &rhs) 42 return !lhs.equals(rhs);
|
/external/swiftshader/src/Reactor/ |
Nucleus.hpp | 73 static Value *createAdd(Value *lhs, Value *rhs); 74 static Value *createSub(Value *lhs, Value *rhs); 75 static Value *createMul(Value *lhs, Value *rhs); 76 static Value *createUDiv(Value *lhs, Value *rhs); 77 static Value *createSDiv(Value *lhs, Value *rhs); 78 static Value *createFAdd(Value *lhs, Value *rhs); 79 static Value *createFSub(Value *lhs, Value *rhs); 80 static Value *createFMul(Value *lhs, Value *rhs); 81 static Value *createFDiv(Value *lhs, Value *rhs); 82 static Value *createURem(Value *lhs, Value *rhs) [all...] |
/external/libchrome/base/ |
version_unittest.cc | 90 const char* lhs; member in struct:__anon24443::version_compare 108 base::Version lhs(cases[i].lhs); 110 EXPECT_EQ(lhs.CompareTo(rhs), cases[i].expected) << 111 cases[i].lhs << " ? " << cases[i].rhs; 116 EXPECT_LT(lhs, rhs); 117 EXPECT_LE(lhs, rhs); 118 EXPECT_NE(lhs, rhs); 119 EXPECT_FALSE(lhs == rhs); 120 EXPECT_FALSE(lhs >= rhs) [all...] |
/external/webrtc/webrtc/system_wrappers/include/ |
tick_util.h | 62 friend TickTime operator+(const TickTime lhs, const int64_t ticks); 65 // Returns a TickInterval that is the difference in ticks beween rhs and lhs. 66 friend TickInterval operator-(const TickTime& lhs, const TickTime& rhs); 84 friend TickInterval operator+(const TickInterval& lhs, 88 // Returns a TickInterval corresponding to rhs - lhs. 89 friend TickInterval operator-(const TickInterval& lhs, 93 friend bool operator>(const TickInterval& lhs, const TickInterval& rhs); 94 friend bool operator<=(const TickInterval& lhs, const TickInterval& rhs); 95 friend bool operator<(const TickInterval& lhs, const TickInterval& rhs); 96 friend bool operator>=(const TickInterval& lhs, const TickInterval& rhs) [all...] |
/external/v8/src/base/ |
bits.cc | 28 int32_t SignedMulHigh32(int32_t lhs, int32_t rhs) { 29 int64_t const value = static_cast<int64_t>(lhs) * static_cast<int64_t>(rhs); 34 int32_t SignedMulHighAndAdd32(int32_t lhs, int32_t rhs, int32_t acc) { 36 bit_cast<uint32_t>(SignedMulHigh32(lhs, rhs))); 40 int32_t SignedDiv32(int32_t lhs, int32_t rhs) { 42 if (rhs == -1) return -lhs; 43 return lhs / rhs; 47 int32_t SignedMod32(int32_t lhs, int32_t rhs) { 49 return lhs % rhs; 68 int64_t SignedSaturatedAdd64(int64_t lhs, int64_t rhs) [all...] |
flags.h | 81 Type::flag_type lhs, \ 83 inline Type operator&(Type::flag_type lhs, Type::flag_type rhs) { \ 84 return Type(lhs) & rhs; \ 86 inline Type operator&(Type::flag_type lhs, \ 88 inline Type operator&(Type::flag_type lhs, const Type& rhs) { \ 89 return rhs & lhs; \ 91 inline void operator&(Type::flag_type lhs, \ 93 inline void operator&(Type::flag_type lhs, Type::mask_type rhs) {} \ 94 inline Type operator|(Type::flag_type lhs, Type::flag_type rhs) \ 96 inline Type operator|(Type::flag_type lhs, Type::flag_type rhs) { [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
LinkedHashSetTest.java | 237 LinkedHashSet<Integer> lhs = new LinkedHashSet<Integer>(); local 240 lhs.add(new Integer(1)); 241 assertEquals(1, lhs.size()); 242 lhs.retainAll(v); 243 assertEquals(0, lhs.size()); 251 lhs.add(new Integer(1)); 252 lhs.add(new Integer(6)); 253 lhs.add(new Integer(7)); 254 lhs.add(new Integer(8)); 255 lhs.add(new Integer(9)) 282 LinkedHashSet<Integer> lhs = new LinkedHashSet<Integer>(); local 301 LinkedHashSet<Integer> lhs = new LinkedHashSet<Integer>(); local [all...] |
/developers/build/prebuilts/gradle/Camera2Video/kotlinApp/Application/src/main/java/com/example/android/camera2video/ |
CompareSizesByArea.kt | 28 override fun compare(lhs: Size, rhs: Size) = 29 signum(lhs.width.toLong() * lhs.height - rhs.width.toLong() * rhs.height)
|
/developers/samples/android/media/Camera2Video/kotlinApp/Application/src/main/java/com/example/android/camera2video/ |
CompareSizesByArea.kt | 28 override fun compare(lhs: Size, rhs: Size) = 29 signum(lhs.width.toLong() * lhs.height - rhs.width.toLong() * rhs.height)
|
/external/protobuf/src/google/protobuf/stubs/ |
status_macros.h | 61 Status DoAssignOrReturn(T& lhs, StatusOr<T> result) { 63 lhs = result.ValueOrDie(); 68 #define ASSIGN_OR_RETURN_IMPL(status, lhs, rexpr) \ 69 Status status = DoAssignOrReturn(lhs, (rexpr)); \ 73 // into the variable defined by lhs (or returning on error). 81 #define ASSIGN_OR_RETURN(lhs, rexpr) \ 83 STATUS_MACROS_CONCAT_NAME(_status_or_value, __COUNTER__), lhs, rexpr);
|
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/writer/ |
EntityDeleteComparator.kt | 27 override fun compare(lhs: Entity, rhs: Entity): Int { 28 val ltr = lhs.shouldBeDeletedAfter(rhs) 29 val rtl = rhs.shouldBeDeletedAfter(lhs)
|