Home
last modified time | relevance | path

Searched refs:operator (Results 1 - 25 of 3486) sorted by relevance

12345678910>>...140

/third_party/python/Lib/test/
H A Dtest_operator.py9 py_operator = import_helper.import_fresh_module('operator',
11 c_operator = import_helper.import_fresh_module('operator',
49 operator = self.module
50 actual_all = set(operator.__all__)
52 for name in vars(operator):
55 value = getattr(operator, name)
56 if value.__module__ in ('operator', '_operator'):
61 operator = self.module
62 self.assertRaises(TypeError, operator.lt)
63 self.assertRaises(TypeError, operator
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
H A DDiagnosticPrinter.h36 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<<(lon
[all...]
/third_party/skia/third_party/externals/abseil-cpp/absl/numeric/
H A Dint128.h44 // builtin type. We need to make sure not to define operator wchar_t()
45 // alongside operator unsigned short() in these instances.
129 uint128& operator=(int v);
130 uint128& operator=(unsigned int v);
131 uint128& operator=(long v); // NOLINT(runtime/int)
132 uint128& operator=(unsigned long v); // NOLINT(runtime/int)
133 uint128& operator=(long long v); // NOLINT(runtime/int)
134 uint128& operator=(unsigned long long v); // NOLINT(runtime/int)
136 uint128& operator=(__int128 v);
137 uint128& operator
[all...]
/third_party/skia/include/sksl/
H A DDSLExpression.h98 * Overloads the '=' operator to create an SkSL assignment statement.
100 DSLPossibleExpression operator=(DSLExpression other);
126 DSLPossibleExpression operator[](DSLExpression index);
128 DSLPossibleExpression operator()(SkTArray<DSLWrapper<DSLExpression>> args,
131 DSLPossibleExpression operator()(ExpressionArray args,
175 DSLPossibleExpression operator+(DSLExpression left, DSLExpression right);
176 DSLPossibleExpression operator+(DSLExpression expr);
177 DSLPossibleExpression operator+=(DSLExpression left, DSLExpression right);
178 DSLPossibleExpression operator-(DSLExpression left, DSLExpression right);
179 DSLPossibleExpression operator
[all...]
/third_party/node/deps/v8/src/base/
H A Dflags.h35 constexpr bool operator==(flag_type flag) const { in operator ==()
38 constexpr bool operator!=(flag_type flag) const { in operator !=()
42 Flags& operator&=(const Flags& flags) { in operator &=()
46 Flags& operator|=(const Flags& flags) { in operator |=()
50 Flags& operator^=(const Flags& flags) { in operator ^=()
55 constexpr Flags operator&(const Flags& flags) const { in operator &()
58 constexpr Flags operator|(const Flags& flags) const { in operator |()
61 constexpr Flags operator^(const Flags& flags) const { in operator ^()
65 Flags& operator&=(flag_type flag) { return operator
[all...]
/third_party/lzma/CPP/Common/
H A DMyString.h253 cls &operator=(t); \
254 cls &operator=(const t *); \
255 cls &operator+=(t); \
256 cls &operator+=(const t *); \
260 cls &operator+(t); \
261 cls &operator+(const t *); \
292 friend AString operator+(const AString &s, char c) { return AString(s, c); } in operator +()
293 // friend AString operator+(char c, const AString &s); // is not supported
295 friend AString operator+(const AString &s1, const AString &s2);
296 friend AString operator
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
H A DHexagonBlockRanges.h36 bool operator<(RegisterRef R) const { in operator <()
58 operator unsigned() const;
59 bool operator== (unsigned x) const;
60 bool operator== (IndexType Idx) const;
61 bool operator!= (unsigned x) const;
62 bool operator!= (IndexType Idx) const;
63 IndexType operator++ ();
64 bool operator< (unsigned Idx) const;
65 bool operator< (IndexType Idx) const;
66 bool operator<
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
H A DOptional.h54 Optional &operator=(T &&y) { in operator =()
63 Optional &operator=(Optional &&O) { in operator =()
90 Optional &operator=(const T &y) { in operator =()
100 Optional &operator=(const Optional &O) { in operator =()
124 explicit operator bool() const { return hasVal; } in operator bool()
126 const T* operator->() const { return getPointer(); } in operator ->()
127 T* operator->() { return getPointer(); } in operator ->()
128 const T& operator*() const LLVM_LVALUE_FUNCTION { assert(hasVal); return *getPointer(); }
129 T& operator*() LLVM_LVALUE_FUNCTION { assert(hasVal); return *getPointer(); }
138 T&& operator*() in getValue()
[all...]
H A Diterator.h54 /// reference via a conversion operator.
63 operator ReferenceT() const { return *I; } in operator ReferenceT()
67 DerivedT operator+(DifferenceTypeT n) const { in operator +()
70 "The '+' operator is only defined for random access iterators."); in operator +()
75 friend DerivedT operator+(DifferenceTypeT n, const DerivedT &i) { in operator +()
78 "The '+' operator is only defined for random access iterators."); in operator +()
81 DerivedT operator-(DifferenceTypeT n) const { in operator -()
84 "The '-' operator is only defined for random access iterators."); in operator -()
90 DerivedT &operator++() { in operator ++()
91 return static_cast<DerivedT *>(this)->operator in operator ++()
[all...]
/third_party/protobuf/src/google/protobuf/util/
H A Dtime_util.h175 PROTOBUF_EXPORT Duration& operator+=(Duration& d1,
177 PROTOBUF_EXPORT Duration& operator-=(Duration& d1,
179 PROTOBUF_EXPORT Duration& operator*=(Duration& d, int64 r); // NOLINT
180 PROTOBUF_EXPORT Duration& operator*=(Duration& d, double r); // NOLINT
181 PROTOBUF_EXPORT Duration& operator/=(Duration& d, int64 r); // NOLINT
182 PROTOBUF_EXPORT Duration& operator/=(Duration& d, double r); // NOLINT
185 Duration& operator*=(Duration& d, T r) { // NOLINT in operator *=()
190 Duration& operator/=(Duration& d, T r) { // NOLINT in operator /=()
194 PROTOBUF_EXPORT Duration& operator%=(Duration& d1,
197 inline bool operator<(cons
[all...]
/third_party/skia/third_party/externals/abseil-cpp/absl/types/
H A Dcompare.h165 friend constexpr bool operator==(
169 friend constexpr bool operator!=(
173 friend constexpr bool operator==(compare_internal::OnlyLiteralZero<>,
177 friend constexpr bool operator!=(compare_internal::OnlyLiteralZero<>,
181 friend constexpr bool operator==(weak_equality v1,
185 friend constexpr bool operator!=(weak_equality v1,
211 constexpr operator weak_equality() const noexcept { // NOLINT
216 friend constexpr bool operator==(
220 friend constexpr bool operator!=(
224 friend constexpr bool operator
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
H A DOptional.h93 OptionalStorage &operator=(T const &y) { in operator =()
102 OptionalStorage &operator=(T &&y) { in operator =()
112 OptionalStorage &operator=(OptionalStorage const &other) { in operator =()
126 OptionalStorage &operator=(OptionalStorage &&other) { in operator =()
156 OptionalStorage &operator=(OptionalStorage const &other) = default;
157 OptionalStorage &operator=(OptionalStorage &&other) = default;
193 OptionalStorage &operator=(T const &y) { in operator =()
202 OptionalStorage &operator=(T &&y) { in operator =()
230 Optional &operator=(T &&y) { in operator =()
234 Optional &operator in operator =()
[all...]
H A DAPSInt.h63 APSInt &operator=(APInt RHS) { in operator =()
65 APInt::operator=(std::move(RHS)); in operator =()
69 APSInt &operator=(uint64_t RHS) { in operator =()
71 APInt::operator=(RHS); in operator =()
116 const APSInt &operator%=(const APSInt &RHS) { in operator %=()
124 const APSInt &operator/=(const APSInt &RHS) { in operator /=()
132 APSInt operator%(const APSInt &RHS) const { in operator %()
136 APSInt operator/(const APSInt &RHS) const { in operator /()
141 APSInt operator>>(unsigned Amt) const { in operator >>()
144 APSInt& operator>> in operator >>()
[all...]
/third_party/libabigail/include/
H A Dabg-ir.h105 size_t operator()(const type_base_sptr& l) const;
106 size_t operator()(const type_base *l) const;
347 /// Assignment operator of the location.
351 operator=(const location& l) in operator =()
373 operator bool() const in operator bool()
376 /// Equality operator of the @ref location type.
382 operator==(const location &other) const in operator ==()
385 /// "Less than" operator of the @ref location type.
392 operator<(const location &other) const in operator <()
465 operator()(cons
[all...]
/third_party/skia/third_party/externals/spirv-tools/source/opt/
H A Dscalar_analysis.h158 bool operator()(const std::unique_ptr<SENode>& lhs, in operator ()()
182 inline operator SENode*() const { return node_; } in operator SENode*()
183 inline SENode* operator->() const { return node_; } in operator ->()
184 const SENode& operator*() const { return *node_; } in operator *()
190 inline SExpression operator+(SENode* rhs) const;
193 inline SExpression operator+(T integer) const;
194 inline SExpression operator+(SExpression rhs) const;
196 inline SExpression operator-() const;
197 inline SExpression operator-(SENode* rhs) const;
200 inline SExpression operator
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
H A Dscalar_analysis.h158 bool operator()(const std::unique_ptr<SENode>& lhs, in operator ()()
182 inline operator SENode*() const { return node_; } in operator SENode*()
183 inline SENode* operator->() const { return node_; } in operator ->()
184 const SENode& operator*() const { return *node_; } in operator *()
190 inline SExpression operator+(SENode* rhs) const;
193 inline SExpression operator+(T integer) const;
194 inline SExpression operator+(SExpression rhs) const;
196 inline SExpression operator-() const;
197 inline SExpression operator-(SENode* rhs) const;
200 inline SExpression operator
[all...]
/third_party/spirv-tools/source/opt/
H A Dscalar_analysis.h158 bool operator()(const std::unique_ptr<SENode>& lhs, in operator ()()
182 inline operator SENode*() const { return node_; } in operator SENode*()
183 inline SENode* operator->() const { return node_; } in operator ->()
184 const SENode& operator*() const { return *node_; } in operator *()
190 inline SExpression operator+(SENode* rhs) const;
193 inline SExpression operator+(T integer) const;
194 inline SExpression operator+(SExpression rhs) const;
196 inline SExpression operator-() const;
197 inline SExpression operator-(SENode* rhs) const;
200 inline SExpression operator
[all...]
/third_party/skia/src/core/
H A DSkFixed15.h22 explicit operator float() const { return fVal * (1/32768.0f); } in operator float()
41 SkFixed15 operator +(SkFixed15 o) const { return fVal + o.fVal; } in operator +()
42 SkFixed15 operator -(SkFixed15 o) const { return fVal - o.fVal; } in operator -()
43 SkFixed15 operator *(SkFixed15 o) const { return (fVal * o.fVal + (1<<14)) >> 15; } in operator *()
44 SkFixed15 operator<<(int bits) const { return fVal << bits; } in operator <<()
45 SkFixed15 operator>>(int bits) const { return fVal >> bits; } in operator >>()
47 SkFixed15& operator +=(SkFixed15 o) { return (*this = *this + o); } in operator +=()
48 SkFixed15& operator -=(SkFixed15 o) { return (*this = *this - o); } in operator -=()
49 SkFixed15& operator *=(SkFixed15 o) { return (*this = *this * o); } in operator *=()
50 SkFixed15& operator<< in operator *=()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
H A DTypeSize.h32 ElementCount operator*(unsigned RHS) { in operator *()
35 ElementCount operator/(unsigned RHS) { in operator /()
39 bool operator==(const ElementCount& RHS) const { in operator ==()
42 bool operator!=(const ElementCount& RHS) const { in operator !=()
70 friend bool operator==(const TypeSize &LHS, const TypeSize &RHS) { in operator ==()
75 friend bool operator!=(const TypeSize &LHS, const TypeSize &RHS) { in operator !=()
88 friend bool operator<(const TypeSize &LHS, const TypeSize &RHS) { in operator <()
95 friend bool operator>(const TypeSize &LHS, const TypeSize &RHS) { in operator >()
99 friend bool operator<=(const TypeSize &LHS, const TypeSize &RHS) { in operator <=()
103 friend bool operator>
[all...]
H A DBlockFrequency.h39 BlockFrequency &operator*=(BranchProbability Prob);
40 BlockFrequency operator*(BranchProbability Prob) const;
44 BlockFrequency &operator/=(BranchProbability Prob);
45 BlockFrequency operator/(BranchProbability Prob) const;
48 BlockFrequency &operator+=(BlockFrequency Freq);
49 BlockFrequency operator+(BlockFrequency Freq) const;
52 BlockFrequency &operator-=(BlockFrequency Freq);
53 BlockFrequency operator-(BlockFrequency Freq) const;
56 BlockFrequency &operator>>=(const unsigned count);
58 bool operator<(BlockFrequenc
[all...]
H A DAlignment.h47 friend bool operator==(Align Lhs, Align Rhs);
48 friend bool operator!=(Align Lhs, Align Rhs);
49 friend bool operator<=(Align Lhs, Align Rhs);
50 friend bool operator>=(Align Lhs, Align Rhs);
51 friend bool operator<(Align Lhs, Align Rhs);
52 friend bool operator>(Align Lhs, Align Rhs);
74 Align &operator=(const Align &Other) = default;
75 Align &operator=(Align &&Other) = default;
127 MaybeAlign &operator=(const MaybeAlign &Other) = default;
129 MaybeAlign &operator
[all...]
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
H A DConstantUnion.h64 bool operator==(const int i) const;
65 bool operator==(const unsigned int u) const;
66 bool operator==(const float f) const;
67 bool operator==(const bool b) const;
68 bool operator==(const TYuvCscStandardEXT s) const;
69 bool operator==(const TConstantUnion &constant) const;
70 bool operator!=(const int i) const;
71 bool operator!=(const unsigned int u) const;
72 bool operator!=(const float f) const;
73 bool operator!
[all...]
/third_party/node/tools/inspector_protocol/jinja2/
H A Dtests.py6 Jinja test functions. Used with the "is" operator.
11 import operator namespace
160 '==': operator.eq,
161 'eq': operator.eq,
162 'equalto': operator.eq,
163 '!=': operator.ne,
164 'ne': operator.ne,
165 '>': operator.gt,
166 'gt': operator.gt,
167 'greaterthan': operator
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/PDB/
H A DPDBExtras.h26 raw_ostream &operator<<(raw_ostream &OS, const PDB_VariantType &Value);
27 raw_ostream &operator<<(raw_ostream &OS, const PDB_CallingConv &Conv);
28 raw_ostream &operator<<(raw_ostream &OS, const PDB_BuiltinType &Type);
29 raw_ostream &operator<<(raw_ostream &OS, const PDB_DataKind &Data);
30 raw_ostream &operator<<(raw_ostream &OS,
32 raw_ostream &operator<<(raw_ostream &OS, const PDB_LocType &Loc);
33 raw_ostream &operator<<(raw_ostream &OS, const codeview::ThunkOrdinal &Thunk);
34 raw_ostream &operator<<(raw_ostream &OS, const PDB_Checksum &Checksum);
35 raw_ostream &operator<<(raw_ostream &OS, const PDB_Lang &Lang);
36 raw_ostream &operator<<(raw_ostrea
[all...]
/third_party/skia/experimental/graphite/src/
H A DEnumBitMask.h40 SK_ALWAYS_INLINE constexpr operator bool() const { return fValue; } in operator bool()
42 SK_ALWAYS_INLINE bool operator==(Mask m) const { return fValue == m.fValue; } in operator ==()
43 SK_ALWAYS_INLINE bool operator!=(Mask m) const { return fValue != m.fValue; } in operator !=()
45 SK_ALWAYS_INLINE constexpr Mask operator|(Mask m) const { return Mask(fValue | m.fValue); } in operator |()
46 SK_ALWAYS_INLINE constexpr Mask operator&(Mask m) const { return Mask(fValue & m.fValue); } in operator &()
47 SK_ALWAYS_INLINE constexpr Mask operator^(Mask m) const { return Mask(fValue ^ m.fValue); } in operator ^()
48 SK_ALWAYS_INLINE constexpr Mask operator~() const { return Mask(~fValue); } in operator ~()
50 SK_ALWAYS_INLINE Mask& operator|=(Mask m) { return *this = *this | m; } in operator |=()
51 SK_ALWAYS_INLINE Mask& operator&=(Mask m) { return *this = *this & m; } in operator &=()
52 SK_ALWAYS_INLINE Mask& operator in operator &=()
[all...]

Completed in 16 milliseconds

12345678910>>...140