/external/python/cpython2/Lib/test/ |
D | test_operator.py | 1 import operator 37 self.assertRaises(TypeError, operator.lt) 38 self.assertRaises(TypeError, operator.lt, 1j, 2j) 39 self.assertFalse(operator.lt(1, 0)) 40 self.assertFalse(operator.lt(1, 0.0)) 41 self.assertFalse(operator.lt(1, 1)) 42 self.assertFalse(operator.lt(1, 1.0)) 43 self.assertTrue(operator.lt(1, 2)) 44 self.assertTrue(operator.lt(1, 2.0)) 47 self.assertRaises(TypeError, operator.le) [all …]
|
/external/python/cpython3/Lib/test/ |
D | test_operator.py | 41 operator = self.module 42 self.assertRaises(TypeError, operator.lt) 43 self.assertRaises(TypeError, operator.lt, 1j, 2j) 44 self.assertFalse(operator.lt(1, 0)) 45 self.assertFalse(operator.lt(1, 0.0)) 46 self.assertFalse(operator.lt(1, 1)) 47 self.assertFalse(operator.lt(1, 1.0)) 48 self.assertTrue(operator.lt(1, 2)) 49 self.assertTrue(operator.lt(1, 2.0)) 52 operator = self.module [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/ |
D | DiagnosticPrinter.h | 37 virtual DiagnosticPrinter &operator<<(char C) = 0; 38 virtual DiagnosticPrinter &operator<<(unsigned char C) = 0; 39 virtual DiagnosticPrinter &operator<<(signed char C) = 0; 40 virtual DiagnosticPrinter &operator<<(StringRef Str) = 0; 41 virtual DiagnosticPrinter &operator<<(const char *Str) = 0; 42 virtual DiagnosticPrinter &operator<<(const std::string &Str) = 0; 43 virtual DiagnosticPrinter &operator<<(unsigned long N) = 0; 44 virtual DiagnosticPrinter &operator<<(long N) = 0; 45 virtual DiagnosticPrinter &operator<<(unsigned long long N) = 0; 46 virtual DiagnosticPrinter &operator<<(long long N) = 0; [all …]
|
/external/llvm/include/llvm/IR/ |
D | DiagnosticPrinter.h | 36 virtual DiagnosticPrinter &operator<<(char C) = 0; 37 virtual DiagnosticPrinter &operator<<(unsigned char C) = 0; 38 virtual DiagnosticPrinter &operator<<(signed char C) = 0; 39 virtual DiagnosticPrinter &operator<<(StringRef Str) = 0; 40 virtual DiagnosticPrinter &operator<<(const char *Str) = 0; 41 virtual DiagnosticPrinter &operator<<(const std::string &Str) = 0; 42 virtual DiagnosticPrinter &operator<<(unsigned long N) = 0; 43 virtual DiagnosticPrinter &operator<<(long N) = 0; 44 virtual DiagnosticPrinter &operator<<(unsigned long long N) = 0; 45 virtual DiagnosticPrinter &operator<<(long long N) = 0; [all …]
|
/external/deqp/external/vulkancts/framework/vulkan/ |
D | vkStrUtil.inl | 122 inline std::ostream& operator<< (std::ostream& s, VkPipelineCacheHeaderVersion value) { return s <… 123 inline std::ostream& operator<< (std::ostream& s, VkResult value) { return s << getResultStr(… 124 inline std::ostream& operator<< (std::ostream& s, VkStructureType value) { return s << getStruc… 125 inline std::ostream& operator<< (std::ostream& s, VkSystemAllocationScope value) { return s << ge… 126 inline std::ostream& operator<< (std::ostream& s, VkInternalAllocationType value) { return s << g… 127 inline std::ostream& operator<< (std::ostream& s, VkFormat value) { return s << getFormatStr(… 128 inline std::ostream& operator<< (std::ostream& s, VkImageType value) { return s << getImageTyp… 129 inline std::ostream& operator<< (std::ostream& s, VkImageTiling value) { return s << getImageT… 130 inline std::ostream& operator<< (std::ostream& s, VkPhysicalDeviceType value) { return s << getP… 131 inline std::ostream& operator<< (std::ostream& s, VkQueryType value) { return s << getQueryTyp… [all …]
|
/external/v8/src/base/ |
D | flags.h | 35 constexpr bool operator==(flag_type flag) const { 38 constexpr bool operator!=(flag_type flag) const { 42 Flags& operator&=(const Flags& flags) { 46 Flags& operator|=(const Flags& flags) { 50 Flags& operator^=(const Flags& flags) { 55 constexpr Flags operator&(const Flags& flags) const { 58 constexpr Flags operator|(const Flags& flags) const { 61 constexpr Flags operator^(const Flags& flags) const { 65 Flags& operator&=(flag_type flag) { return operator&=(Flags(flag)); } 66 Flags& operator|=(flag_type flag) { return operator|=(Flags(flag)); } [all …]
|
/external/libcxx/test/support/ |
D | propagate_const_helpers.h | 6 constexpr const int &operator*() const { return i_; } 7 constexpr int &operator*() { return i_; } 10 constexpr const int *operator->() const { return &i_; } 11 constexpr int *operator->() { return &i_; } 20 constexpr const int &operator*() const { return i_; } 21 constexpr int &operator*() { return i_; } 24 constexpr const int *operator->() const { return &i_; } 25 constexpr int *operator->() { return &i_; } 26 constexpr operator int* () { return &i_; } 35 constexpr const int &operator*() const { return i_; } [all …]
|
D | min_allocator.h | 34 return static_cast<T*>(::operator new(n*sizeof(T))); in allocate() 39 return ::operator delete(static_cast<void*>(p)); in deallocate() 42 friend bool operator==(bare_allocator, bare_allocator) {return true;} 43 friend bool operator!=(bare_allocator x, bare_allocator y) {return !(x == y);} 72 return static_cast<T*>(::operator new(n*sizeof(T))); in allocate() 77 return ::operator delete(static_cast<void*>(p)); in deallocate() 80 friend bool operator==(no_default_allocator, no_default_allocator) {return true;} 81 friend bool operator!=(no_default_allocator x, no_default_allocator y) {return !(x == y);} 131 friend bool operator==(malloc_allocator, malloc_allocator) {return true;} 132 friend bool operator!=(malloc_allocator x, malloc_allocator y) {return !(x == y);} [all …]
|
D | test_iterators.h | 46 reference operator*() const {return *it_;} 48 output_iterator& operator++() {++it_; return *this;} 49 output_iterator operator++(int) 53 void operator,(T const &) DELETE_FUNCTION; variable 78 TEST_CONSTEXPR_CXX14 reference operator*() const {return *it_;} 79 TEST_CONSTEXPR_CXX14 pointer operator->() const {return it_;} 81 TEST_CONSTEXPR_CXX14 input_iterator& operator++() {++it_; return *this;} 82 TEST_CONSTEXPR_CXX14 input_iterator operator++(int) 85 friend TEST_CONSTEXPR_CXX14 bool operator==(const input_iterator& x, const input_iterator& y) 87 friend TEST_CONSTEXPR_CXX14 bool operator!=(const input_iterator& x, const input_iterator& y) [all …]
|
/external/tensorflow/tensorflow/python/ops/linalg/ |
D | linear_operator_block_diag.py | 165 for operator in operators: 166 if operator.dtype != dtype: 173 if all(operator.is_non_singular for operator in operators): 179 if all(operator.is_self_adjoint for operator in operators): 185 if all(operator.is_positive_definite for operator in operators): 192 if not (is_square and all(operator.is_square for operator in operators)): 198 for operator in operators: 199 graph_parents.extend(operator.graph_parents) 203 name = "_ds_".join(operator.name for operator in operators) 222 for operator in self.operators[1:]: [all …]
|
D | linear_operator_kronecker.py | 180 for operator in operators: 181 if operator.dtype != dtype: 190 if all(operator.is_non_singular for operator in operators): 197 if all(operator.is_self_adjoint for operator in operators): 206 if all(operator.is_positive_definite for operator in operators): 214 for operator in operators: 215 graph_parents.extend(operator.graph_parents) 219 for operator in operators[1:]: 220 name += "_x_" + operator.name 238 for operator in self.operators[1:]: [all …]
|
/external/tensorflow/tensorflow/python/kernel_tests/linalg/ |
D | linear_operator_identity_test.py | 58 operator = linalg_lib.LinearOperatorIdentity( 62 return operator, mat 67 operator = linalg_lib.LinearOperatorIdentity(num_rows=2) 68 operator.assert_positive_definite().run() # Should not fail 73 operator = linalg_lib.LinearOperatorIdentity(num_rows=2) 74 operator.assert_non_singular().run() # Should not fail 79 operator = linalg_lib.LinearOperatorIdentity(num_rows=2) 80 operator.assert_self_adjoint().run() # Should not fail 86 operator = linalg_lib.LinearOperatorIdentity( 89 y = operator.matmul(x) [all …]
|
D | linear_operator_full_matrix_test.py | 52 operator = linalg.LinearOperatorFullMatrix( 58 return operator, matrix 63 operator = linalg.LinearOperatorFullMatrix( 68 self.assertTrue(operator.is_positive_definite) 69 self.assertTrue(operator.is_non_singular) 70 self.assertFalse(operator.is_self_adjoint) 72 self.assertTrue(operator.is_square) 82 operator = linalg.LinearOperatorFullMatrix(matrix) 88 operator.assert_non_singular().run() 95 operator = linalg.LinearOperatorFullMatrix(matrix) [all …]
|
/external/lzma/CPP/Common/ |
D | MyString.h | 230 cls &operator=(t); \ 231 cls &operator=(const t *); \ 232 cls &operator+=(t); \ 233 cls &operator+=(const t *); \ 269 friend AString operator+(const AString &s, char c) { return AString(s, c); } ; 272 friend AString operator+(const AString &s1, const AString &s2); 273 friend AString operator+(const AString &s1, const char *s2); 274 friend AString operator+(const char *s1, const AString &s2); 302 operator const char *() const { return _chars; } 339 AString &operator=(char c); variable [all …]
|
/external/llvm/include/llvm/ADT/ |
D | APSInt.h | 46 APSInt &operator=(APInt RHS) { 48 APInt::operator=(std::move(RHS)); 52 APSInt &operator=(uint64_t RHS) { 54 APInt::operator=(RHS); 99 const APSInt &operator%=(const APSInt &RHS) { 107 const APSInt &operator/=(const APSInt &RHS) { 115 APSInt operator%(const APSInt &RHS) const { 119 APSInt operator/(const APSInt &RHS) const { 124 APSInt operator>>(unsigned Amt) const { 127 APSInt& operator>>=(unsigned Amt) { [all …]
|
D | iterator.h | 62 operator ReferenceT() const { return *I; } in ReferenceT() 66 DerivedT operator+(DifferenceTypeT n) const { 74 friend DerivedT operator+(DifferenceTypeT n, const DerivedT &i) { 80 DerivedT operator-(DifferenceTypeT n) const { 89 DerivedT &operator++() { 90 return static_cast<DerivedT *>(this)->operator+=(1); 92 DerivedT operator++(int) { 97 DerivedT &operator--() { 101 return static_cast<DerivedT *>(this)->operator-=(1); 103 DerivedT operator--(int) { [all …]
|
/external/skqp/src/sksl/ |
D | SkSLString.h | 41 char operator[](size_t idx) const { 45 bool operator==(const char* s) const; 46 bool operator!=(const char* s) const; 47 bool operator==(StringFragment s) const; 48 bool operator!=(StringFragment s) const; 49 bool operator<(StringFragment s) const; 55 bool operator==(const char* s1, StringFragment s2); 57 bool operator!=(const char* s1, StringFragment s2); 64 String& operator=(const String&) = default; variable 65 String& operator=(String&&) = default; variable [all …]
|
/external/skia/src/sksl/ |
D | SkSLString.h | 41 char operator[](size_t idx) const { 45 bool operator==(const char* s) const; 46 bool operator!=(const char* s) const; 47 bool operator==(StringFragment s) const; 48 bool operator!=(StringFragment s) const; 49 bool operator<(StringFragment s) const; 55 bool operator==(const char* s1, StringFragment s2); 57 bool operator!=(const char* s1, StringFragment s2); 64 String& operator=(const String&) = default; variable 65 String& operator=(String&&) = default; variable [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/ |
D | APSInt.h | 46 APSInt &operator=(APInt RHS) { 48 APInt::operator=(std::move(RHS)); 52 APSInt &operator=(uint64_t RHS) { 54 APInt::operator=(RHS); 99 const APSInt &operator%=(const APSInt &RHS) { 107 const APSInt &operator/=(const APSInt &RHS) { 115 APSInt operator%(const APSInt &RHS) const { 119 APSInt operator/(const APSInt &RHS) const { 124 APSInt operator>>(unsigned Amt) const { 127 APSInt& operator>>=(unsigned Amt) { [all …]
|
D | iterator.h | 92 operator ReferenceT() const { return *I; } in ReferenceT() 96 DerivedT operator+(DifferenceTypeT n) const { 106 friend DerivedT operator+(DifferenceTypeT n, const DerivedT &i) { 112 DerivedT operator-(DifferenceTypeT n) const { 121 DerivedT &operator++() { 124 return static_cast<DerivedT *>(this)->operator+=(1); 126 DerivedT operator++(int) { 131 DerivedT &operator--() { 135 return static_cast<DerivedT *>(this)->operator-=(1); 137 DerivedT operator--(int) { [all …]
|
D | Optional.h | 52 OptionalStorage &operator=(T &&y) { 61 OptionalStorage &operator=(OptionalStorage &&O) { 75 OptionalStorage &operator=(const T &y) { 84 OptionalStorage &operator=(const OptionalStorage &O) { 120 OptionalStorage &operator=(const T &y) { 146 Optional &operator=(T &&y) { 150 Optional &operator=(Optional &&O) = default; 163 Optional &operator=(const T &y) { 167 Optional &operator=(const Optional &O) = default; 182 explicit operator bool() const { return Storage.hasVal; } [all …]
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/ |
D | iterator.h | 63 operator ReferenceT() const { return *I; } in ReferenceT() 67 DerivedT operator+(DifferenceTypeT n) const { 75 friend DerivedT operator+(DifferenceTypeT n, const DerivedT &i) { 81 DerivedT operator-(DifferenceTypeT n) const { 90 DerivedT &operator++() { 91 return static_cast<DerivedT *>(this)->operator+=(1); 93 DerivedT operator++(int) { 98 DerivedT &operator--() { 102 return static_cast<DerivedT *>(this)->operator-=(1); 104 DerivedT operator--(int) { [all …]
|
/external/swiftshader/third_party/LLVM/include/llvm/ADT/ |
D | APSInt.h | 36 APSInt &operator=(const APSInt &RHS) { 37 APInt::operator=(RHS); 42 APSInt &operator=(const APInt &RHS) { 44 APInt::operator=(RHS); 48 APSInt &operator=(uint64_t RHS) { 50 APInt::operator=(RHS); 89 const APSInt &operator%=(const APSInt &RHS) { 97 const APSInt &operator/=(const APSInt &RHS) { 105 APSInt operator%(const APSInt &RHS) const { 109 APSInt operator/(const APSInt &RHS) const { [all …]
|
/external/libcxx/include/ |
D | compare | 91 …_LIBCPP_INLINE_VISIBILITY friend constexpr bool operator==(weak_equality __v, _CmpUnspecifiedParam… 92 …_LIBCPP_INLINE_VISIBILITY friend constexpr bool operator==(_CmpUnspecifiedParam, weak_equality __v… 93 …_LIBCPP_INLINE_VISIBILITY friend constexpr bool operator!=(weak_equality __v, _CmpUnspecifiedParam… 94 …_LIBCPP_INLINE_VISIBILITY friend constexpr bool operator!=(_CmpUnspecifiedParam, weak_equality __v… 97 …_LIBCPP_INLINE_VISIBILITY friend constexpr weak_equality operator<=>(weak_equality __v, _CmpUnspec… 98 …_LIBCPP_INLINE_VISIBILITY friend constexpr weak_equality operator<=>(_CmpUnspecifiedParam, weak_eq… 109 inline constexpr bool operator==(weak_equality __v, _CmpUnspecifiedParam) noexcept { 114 inline constexpr bool operator==(_CmpUnspecifiedParam, weak_equality __v) noexcept { 119 inline constexpr bool operator!=(weak_equality __v, _CmpUnspecifiedParam) noexcept { 124 inline constexpr bool operator!=(_CmpUnspecifiedParam, weak_equality __v) noexcept { [all …]
|
/external/protobuf/src/google/protobuf/util/ |
D | time_util.h | 162 LIBPROTOBUF_EXPORT Duration& operator+=(Duration& d1, const Duration& d2); // NOLINT 163 LIBPROTOBUF_EXPORT Duration& operator-=(Duration& d1, const Duration& d2); // NOLINT 164 LIBPROTOBUF_EXPORT Duration& operator*=(Duration& d, int64 r); // NOLINT 165 LIBPROTOBUF_EXPORT Duration& operator*=(Duration& d, double r); // NOLINT 166 LIBPROTOBUF_EXPORT Duration& operator/=(Duration& d, int64 r); // NOLINT 167 LIBPROTOBUF_EXPORT Duration& operator/=(Duration& d, double r); // NOLINT 170 Duration& operator*=(Duration& d, T r) { // NOLINT 175 Duration& operator/=(Duration& d, T r) { // NOLINT 179 LIBPROTOBUF_EXPORT Duration& operator%=(Duration& d1, const Duration& d2); // NOLINT 181 inline bool operator<(const Duration& d1, const Duration& d2) { [all …]
|