Searched refs:lhs (Results 1 - 25 of 178) sorted by relevance

12345678

/freebsd-current/contrib/ntp/include/
H A Dvint64ops.h12 /* signed/unsigned compare. returns 1/0/-1 if lhs >/=/< rhs */
13 extern int icmpv64(const vint64 * lhs, const vint64 * rhs);
14 extern int ucmpv64(const vint64 * lhs, const vint64 * rhs);
17 extern vint64 addv64(const vint64 *lhs, const vint64 *rhs);
18 extern vint64 addv64i32(const vint64 * lhs, int32_t rhs);
19 extern vint64 addv64u32(const vint64 * lhs, uint32_t rhs);
21 extern vint64 subv64(const vint64 *lhs, const vint64 *rhs);
22 extern vint64 subv64i32(const vint64 * lhs, int32_t rhs);
23 extern vint64 subv64u32(const vint64 * lhs, uint32_t rhs);
/freebsd-current/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_range.h26 inline bool operator==(const Range &lhs, const Range &rhs) { argument
27 return lhs.begin == rhs.begin && lhs.end == rhs.end;
30 inline bool operator!=(const Range &lhs, const Range &rhs) { argument
31 return !(lhs == rhs);
/freebsd-current/contrib/llvm-project/lldb/source/Utility/
H A DVMRange.cpp42 bool lldb_private::operator==(const VMRange &lhs, const VMRange &rhs) {
43 return lhs.GetBaseAddress() == rhs.GetBaseAddress() &&
44 lhs.GetEndAddress() == rhs.GetEndAddress();
47 bool lldb_private::operator!=(const VMRange &lhs, const VMRange &rhs) {
48 return !(lhs == rhs);
51 bool lldb_private::operator<(const VMRange &lhs, const VMRange &rhs) {
52 if (lhs.GetBaseAddress() < rhs.GetBaseAddress())
54 else if (lhs.GetBaseAddress() > rhs.GetBaseAddress())
56 return lhs.GetEndAddress() < rhs.GetEndAddress();
59 bool lldb_private::operator<=(const VMRange &lhs, cons
[all...]
H A DScalar.cpp56 Scalar::Type Scalar::PromoteToMaxType(Scalar &lhs, Scalar &rhs) { argument
69 PromotionKey lhs_key = lhs.GetPromoKey();
73 Promote(rhs, lhs);
75 Promote(lhs, rhs);
78 if (lhs.GetPromoKey() == rhs.GetPromoKey())
79 return lhs.GetType(); // Return the resulting type
513 const Scalar lldb_private::operator+(const Scalar &lhs, const Scalar &rhs) { argument
514 Scalar result = lhs;
519 const Scalar lldb_private::operator-(Scalar lhs, Scalar rhs) { argument
521 if ((result.m_type = Scalar::PromoteToMaxType(lhs, rh
536 operator /(Scalar lhs, Scalar rhs) argument
557 operator *(Scalar lhs, Scalar rhs) argument
574 operator &(Scalar lhs, Scalar rhs) argument
585 operator |(Scalar lhs, Scalar rhs) argument
596 operator %(Scalar lhs, Scalar rhs) argument
608 operator ^(Scalar lhs, Scalar rhs) argument
619 operator <<(const Scalar &lhs, const Scalar &rhs) argument
625 operator >>(const Scalar &lhs, const Scalar &rhs) argument
816 operator ==(Scalar lhs, Scalar rhs) argument
835 operator !=(const Scalar &lhs, const Scalar &rhs) argument
839 operator <(Scalar lhs, Scalar rhs) argument
857 operator <=(const Scalar &lhs, const Scalar &rhs) argument
861 operator >(const Scalar &lhs, const Scalar &rhs) argument
865 operator >=(const Scalar &lhs, const Scalar &rhs) argument
[all...]
/freebsd-current/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_atomic.h53 std::complex<type_lhs> __kmp_lhs_div_rhs(const std::complex<type_lhs> &lhs, argument
55 type_lhs a = lhs.real();
56 type_lhs b = lhs.imag();
74 std::complex<double> lhs = *this; local
75 *this = __kmp_lhs_div_rhs(lhs, rhs);
79 std::complex<double> lhs = *this; local
80 return __kmp_lhs_div_rhs(lhs, rhs);
93 std::complex<float> lhs = *this; local
95 return (lhs + rhs);
98 std::complex<float> lhs local
103 std::complex<float> lhs = *this; local
131 std::complex<float> lhs = *this; local
136 std::complex<float> lhs = *this; local
141 std::complex<float> lhs = *this; local
146 std::complex<float> lhs = *this; local
161 std::complex<long double> lhs = *this; local
166 std::complex<long double> lhs = *this; local
181 std::complex<_Quad> lhs = *this; local
186 std::complex<_Quad> lhs = *this; local
226 _Quad lhs = (*this).q; local
232 _Quad lhs = (*this).q; local
237 _Quad lhs = (*this).q; local
243 _Quad lhs = (*this).q; local
260 kmp_cmplx128 lhs = (*this).q; local
265 kmp_cmplx128 lhs = (*this).q; local
270 kmp_cmplx128 lhs = (*this).q; local
276 kmp_cmplx128 lhs = (*this).q; local
292 _Quad lhs = (*this).q; local
298 _Quad lhs = (*this).q; local
303 _Quad lhs = (*this).q; local
309 _Quad lhs = (*this).q; local
326 kmp_cmplx128 lhs = (*this).q; local
331 kmp_cmplx128 lhs = (*this).q; local
336 kmp_cmplx128 lhs = (*this).q; local
342 kmp_cmplx128 lhs = (*this).q; local
[all...]
/freebsd-current/sys/ddb/
H A Ddb_expr.c160 db_expr_t lhs, rhs; local
163 if (!db_unary(&lhs))
178 lhs *= rhs;
181 lhs &= rhs;
189 lhs /= rhs;
191 lhs %= rhs;
193 lhs = roundup(lhs, rhs);
198 *valuep = lhs;
205 db_expr_t lhs, rh local
242 db_expr_t lhs, rhs; local
277 db_expr_t lhs, rhs; local
327 db_expr_t lhs, rhs; local
352 db_expr_t lhs, rhs; local
[all...]
/freebsd-current/contrib/llvm-project/lldb/source/Symbol/
H A DCompilerDecl.cpp39 bool lldb_private::operator==(const lldb_private::CompilerDecl &lhs, argument
41 return lhs.GetTypeSystem() == rhs.GetTypeSystem() &&
42 lhs.GetOpaqueDecl() == rhs.GetOpaqueDecl();
45 bool lldb_private::operator!=(const lldb_private::CompilerDecl &lhs, argument
47 return lhs.GetTypeSystem() != rhs.GetTypeSystem() ||
48 lhs.GetOpaqueDecl() != rhs.GetOpaqueDecl();
H A DCompilerDeclContext.cpp69 bool lldb_private::operator==(const lldb_private::CompilerDeclContext &lhs, argument
71 return lhs.GetTypeSystem() == rhs.GetTypeSystem() &&
72 lhs.GetOpaqueDeclContext() == rhs.GetOpaqueDeclContext();
75 bool lldb_private::operator!=(const lldb_private::CompilerDeclContext &lhs, argument
77 return lhs.GetTypeSystem() != rhs.GetTypeSystem() ||
78 lhs.GetOpaqueDeclContext() != rhs.GetOpaqueDeclContext();
/freebsd-current/contrib/llvm-project/lldb/source/Target/
H A DStackID.cpp33 bool lldb_private::operator==(const StackID &lhs, const StackID &rhs) { argument
34 if (lhs.GetCallFrameAddress() != rhs.GetCallFrameAddress())
37 SymbolContextScope *lhs_scope = lhs.GetSymbolContextScope();
42 return lhs.GetPC() == rhs.GetPC();
47 bool lldb_private::operator!=(const StackID &lhs, const StackID &rhs) { argument
48 if (lhs.GetCallFrameAddress() != rhs.GetCallFrameAddress())
51 SymbolContextScope *lhs_scope = lhs.GetSymbolContextScope();
55 return lhs.GetPC() != rhs.GetPC();
60 bool lldb_private::operator<(const StackID &lhs, const StackID &rhs) { argument
61 const lldb::addr_t lhs_cfa = lhs
[all...]
/freebsd-current/contrib/ntp/libntp/
H A Dvint64ops.c111 const vint64 * lhs,
118 res = (lhs->q_s > rhs->q_s)
119 - (lhs->q_s < rhs->q_s);
121 res = (lhs->d_s.hi > rhs->d_s.hi)
122 - (lhs->d_s.hi < rhs->d_s.hi);
124 res = (lhs->D_s.lo > rhs->D_s.lo)
125 - (lhs->D_s.lo < rhs->D_s.lo);
135 const vint64 * lhs,
142 res = (lhs->Q_s > rhs->Q_s)
143 - (lhs
110 icmpv64( const vint64 * lhs, const vint64 * rhs ) argument
134 ucmpv64( const vint64 * lhs, const vint64 * rhs ) argument
157 addv64( const vint64 *lhs, const vint64 *rhs ) argument
176 subv64( const vint64 *lhs, const vint64 *rhs ) argument
195 addv64i32( const vint64 * lhs, int32_t rhs ) argument
214 subv64i32( const vint64 * lhs, int32_t rhs ) argument
233 addv64u32( const vint64 * lhs, uint32_t rhs ) argument
252 subv64u32( const vint64 * lhs, uint32_t rhs ) argument
[all...]
/freebsd-current/contrib/llvm-project/lldb/include/lldb/Utility/
H A DScalar.h196 static Type PromoteToMaxType(Scalar &lhs, Scalar &rhs);
204 friend const Scalar operator+(const Scalar &lhs, const Scalar &rhs);
205 friend const Scalar operator-(Scalar lhs, Scalar rhs);
206 friend const Scalar operator/(Scalar lhs, Scalar rhs);
207 friend const Scalar operator*(Scalar lhs, Scalar rhs);
208 friend const Scalar operator&(Scalar lhs, Scalar rhs);
209 friend const Scalar operator|(Scalar lhs, Scalar rhs);
210 friend const Scalar operator%(Scalar lhs, Scalar rhs);
211 friend const Scalar operator^(Scalar lhs, Scalar rhs);
212 friend const Scalar operator<<(const Scalar &lhs, cons
[all...]
H A DUserID.h80 inline bool operator==(const UserID &lhs, const UserID &rhs) { argument
81 return lhs.GetID() == rhs.GetID();
84 inline bool operator!=(const UserID &lhs, const UserID &rhs) { argument
85 return lhs.GetID() != rhs.GetID();
H A DVMRange.h95 bool operator==(const VMRange &lhs, const VMRange &rhs);
96 bool operator!=(const VMRange &lhs, const VMRange &rhs);
97 bool operator<(const VMRange &lhs, const VMRange &rhs);
98 bool operator<=(const VMRange &lhs, const VMRange &rhs);
99 bool operator>(const VMRange &lhs, const VMRange &rhs);
100 bool operator>=(const VMRange &lhs, const VMRange &rhs);
/freebsd-current/contrib/processor-trace/libipt/test/src/
H A Dptunit-asid.c264 struct pt_asid lhs, rhs; local
267 pt_asid_init(&lhs);
270 errcode = pt_asid_match(&lhs, &rhs);
273 lhs.cr3 = 0x2300ull;
274 lhs.vmcs = 0x42000ull;
276 errcode = pt_asid_match(&lhs, &rhs);
279 errcode = pt_asid_match(&rhs, &lhs);
287 struct pt_asid lhs, rhs; local
290 pt_asid_init(&lhs);
293 errcode = pt_asid_match(&lhs,
310 struct pt_asid lhs, rhs; local
327 struct pt_asid lhs, rhs; local
344 struct pt_asid lhs, rhs; local
363 struct pt_asid lhs, rhs; local
380 struct pt_asid lhs, rhs; local
[all...]
/freebsd-current/contrib/llvm-project/lldb/source/Core/
H A DSourceLocationSpec.cpp47 int SourceLocationSpec::Compare(const SourceLocationSpec &lhs, argument
49 return Declaration::Compare(lhs.m_declaration, rhs.m_declaration);
52 bool SourceLocationSpec::Equal(const SourceLocationSpec &lhs, argument
54 return full ? lhs == rhs
55 : (lhs.GetFileSpec() == rhs.GetFileSpec() &&
56 lhs.GetLine() == rhs.GetLine());
H A DDeclaration.cpp78 bool lldb_private::operator==(const Declaration &lhs, const Declaration &rhs) { argument
79 if (lhs.GetColumn() != rhs.GetColumn())
82 return lhs.GetLine() == rhs.GetLine() && lhs.GetFile() == rhs.GetFile();
/freebsd-current/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZMachineScheduler.h74 bool operator() (SUnit *lhs, SUnit *rhs) const { argument
75 if (lhs->isScheduleHigh && !rhs->isScheduleHigh)
77 if (!lhs->isScheduleHigh && rhs->isScheduleHigh)
80 if (lhs->getHeight() > rhs->getHeight())
82 else if (lhs->getHeight() < rhs->getHeight())
85 return (lhs->NodeNum < rhs->NodeNum);
/freebsd-current/contrib/processor-trace/libipt/src/
H A Dpt_asid.c85 int pt_asid_match(const struct pt_asid *lhs, const struct pt_asid *rhs) argument
89 if (!lhs || !rhs)
92 lcr3 = lhs->cr3;
98 lvmcs = lhs->vmcs;
/freebsd-current/contrib/processor-trace/libipt/internal/include/
H A Dpt_asid.h66 * Returns a positive number if @lhs matches @rhs.
67 * Returns zero if @lhs does not match @rhs.
70 * Returns -pte_internal if @lhs or @rhs are NULL.
72 extern int pt_asid_match(const struct pt_asid *lhs, const struct pt_asid *rhs);
/freebsd-current/contrib/googletest/googletest/include/gtest/internal/
H A Dgtest-string.h108 static bool CStringEquals(const char* lhs, const char* rhs);
122 static bool WideCStringEquals(const wchar_t* lhs, const wchar_t* rhs);
130 static bool CaseInsensitiveCStringEquals(const char* lhs, const char* rhs);
144 static bool CaseInsensitiveWideCStringEquals(const wchar_t* lhs,
/freebsd-current/contrib/llvm-project/lldb/include/lldb/Core/
H A DUniqueCStringMap.h176 llvm::sort(m_map, [&](const Entry &lhs, const Entry &rhs) -> bool {
177 int result = c.ThreeWay(lhs.cstring, rhs.cstring);
179 return tc(lhs.value, rhs.value);
210 bool operator()(const Entry &lhs, const Entry &rhs) { argument
211 return operator()(lhs.cstring, rhs.cstring);
214 bool operator()(const Entry &lhs, ConstString rhs) { argument
215 return operator()(lhs.cstring, rhs);
218 bool operator()(ConstString lhs, const Entry &rhs) { argument
219 return operator()(lhs, rhs.cstring);
222 bool operator()(ConstString lhs, ConstStrin argument
229 ThreeWay(ConstString lhs, ConstString rhs) argument
[all...]
H A DSourceLocationSpec.h130 /// If \a full is false, then only the file_spec and line number for \a lhs
135 /// \param[in] lhs
144 /// and line number for \a lhs and \a rhs are compared, else a full
147 /// \return -1 if \a lhs is less than \a rhs, 0 if \a lhs is equal to \a rhs,
148 /// 1 if \a lhs is greater than \a rhs
149 static int Compare(const SourceLocationSpec &lhs,
152 static bool Equal(const SourceLocationSpec &lhs,
/freebsd-current/contrib/googletest/googlemock/test/
H A Dgmock-matchers_test.h110 bool MatchAndExplain(T lhs, MatchResultListener* listener) const { argument
111 if (lhs > rhs) {
112 *listener << "which is " << (lhs - rhs) << " more than " << rhs;
113 } else if (lhs == rhs) {
116 *listener << "which is " << (rhs - lhs) << " less than " << rhs;
119 return lhs > rhs;
142 bool MatchAndExplain(T lhs, MatchResultListener* listener) const override {
143 return impl_.MatchAndExplain(lhs, listener);
/freebsd-current/contrib/llvm-project/lldb/include/lldb/Symbol/
H A DLineEntry.h83 /// \param[in] lhs
90 /// -1 if lhs < rhs
91 /// 0 if lhs == rhs
92 /// 1 if lhs > rhs
93 static int Compare(const LineEntry &lhs, const LineEntry &rhs);
162 /// \param[in] lhs
169 /// Returns \b true if lhs < rhs, false otherwise.
170 bool operator<(const LineEntry &lhs, const LineEntry &rhs);
/freebsd-current/lib/libc/net/
H A Dhesiod.c61 char *lhs; /* normally ".ns" */ member in struct:hesiod_p
113 if (ctx->lhs)
114 free(ctx->lhs);
132 if (ctx->lhs)
133 free(ctx->lhs);
178 if (ctx->lhs)
179 len += strlen(ctx->lhs) + ((ctx->lhs[0] != '.') ? 1 : 0);
190 /* Only append lhs if it isn't empty. */
191 if (ctx->lhs
[all...]

Completed in 289 milliseconds

12345678