Home
last modified time | relevance | path

Searched refs:rhs (Results 1 – 25 of 87) sorted by relevance

1234

/openbmc/phosphor-networkd/src/
H A Dtypes.hpp39 constexpr bool operator==(const InterfaceInfo& rhs) const noexcept in operator ==()
41 return idx == rhs.idx && flags == rhs.flags && name == rhs.name && in operator ==()
42 mac == rhs.mac && mtu == rhs.mtu && in operator ==()
43 parent_idx == rhs.parent_idx && kind == rhs.kind && in operator ==()
44 vlan_id == rhs.vlan_id; in operator ==()
58 constexpr bool operator==(const AddressInfo& rhs) const noexcept in operator ==()
60 return ifidx == rhs.ifidx && ifaddr == rhs.ifaddr && in operator ==()
61 scope == rhs.scope && flags == rhs.flags; in operator ==()
75 constexpr bool operator==(const NeighborInfo& rhs) const noexcept in operator ==()
77 return ifidx == rhs.ifidx && state == rhs.state && addr == rhs.addr && in operator ==()
[all …]
/openbmc/qemu/libdecnumber/
H A DdecNumber.c971 || rhs->exponent!=0 || decNumberIsSpecial(rhs) || decNumberIsNegative(rhs)) { in decNumberAnd()
1367 if (rhs->exponent!=0 || decNumberIsSpecial(rhs) || decNumberIsNegative(rhs)) { in decNumberInvert()
1979 || rhs->exponent!=0 || decNumberIsSpecial(rhs) || decNumberIsNegative(rhs)) { in decNumberOr()
3393 || rhs->exponent!=0 || decNumberIsSpecial(rhs) || decNumberIsNegative(rhs)) { in decNumberXor()
4141 t=lhs; lhs=rhs; rhs=t; in decAddOp()
4210 rhs->lsu, D2U(rhs->digits), in decAddOp()
4912 rhs->lsu, D2U(rhs->digits), in decDivideOp()
5470 h=rhs->exponent+rhs->digits; in decExpOp()
5788 if (rhs->lsu[0]==0 && rhs->lsu[1]==1 && rhs->digits==2) { /* ln(10) */
6214 rhs->lsu, D2U(rhs->digits), 0);
[all …]
/openbmc/linux/tools/perf/pmu-events/
H A Dmetric.py119 self.rhs = _Constify(rhs)
163 rhs = self.rhs.Simplify()
195 other.lhs) and self.rhs.Equals(other.rhs)
202 rhs = None
203 if self.rhs:
204 rhs = self.rhs.Substitute(name, expression)
264 self.rhs = _Constify(rhs)
278 rhs = self.rhs.Simplify() if self.rhs else None
292 result = result and self.rhs.Equals(other.rhs)
300 rhs = None
[all …]
/openbmc/linux/include/linux/
H A Dtime64.h57 static inline int timespec64_compare(const struct timespec64 *lhs, const struct timespec64 *rhs) in timespec64_compare() argument
59 if (lhs->tv_sec < rhs->tv_sec) in timespec64_compare()
61 if (lhs->tv_sec > rhs->tv_sec) in timespec64_compare()
63 return lhs->tv_nsec - rhs->tv_nsec; in timespec64_compare()
69 struct timespec64 rhs) in timespec64_add() argument
72 set_normalized_timespec64(&ts_delta, lhs.tv_sec + rhs.tv_sec, in timespec64_add()
73 lhs.tv_nsec + rhs.tv_nsec); in timespec64_add()
81 struct timespec64 rhs) in timespec64_sub() argument
84 set_normalized_timespec64(&ts_delta, lhs.tv_sec - rhs.tv_sec, in timespec64_sub()
85 lhs.tv_nsec - rhs.tv_nsec); in timespec64_sub()
[all …]
H A Dpercpu_counter.h59 int __percpu_counter_compare(struct percpu_counter *fbc, s64 rhs, s32 batch);
62 static inline int percpu_counter_compare(struct percpu_counter *fbc, s64 rhs) in percpu_counter_compare() argument
64 return __percpu_counter_compare(fbc, rhs, percpu_counter_batch); in percpu_counter_compare()
162 static inline int percpu_counter_compare(struct percpu_counter *fbc, s64 rhs) in percpu_counter_compare() argument
164 if (fbc->count > rhs) in percpu_counter_compare()
166 else if (fbc->count < rhs) in percpu_counter_compare()
173 __percpu_counter_compare(struct percpu_counter *fbc, s64 rhs, s32 batch) in __percpu_counter_compare() argument
175 return percpu_counter_compare(fbc, rhs); in __percpu_counter_compare()
H A Dktime.h47 #define ktime_sub(lhs, rhs) ((lhs) - (rhs)) argument
50 #define ktime_add(lhs, rhs) ((lhs) + (rhs)) argument
56 #define ktime_add_unsafe(lhs, rhs) ((u64) (lhs) + (rhs)) argument
199 extern ktime_t ktime_add_safe(const ktime_t lhs, const ktime_t rhs);
/openbmc/qemu/qobject/
H A Dqlit.c64 bool qlit_equal_qobject(const QLitObject *lhs, const QObject *rhs) in qlit_equal_qobject() argument
66 if (!rhs || lhs->type != qobject_type(rhs)) { in qlit_equal_qobject()
72 return lhs->value.qbool == qbool_get_bool(qobject_to(QBool, rhs)); in qlit_equal_qobject()
74 return lhs->value.qnum == qnum_get_int(qobject_to(QNum, rhs)); in qlit_equal_qobject()
77 qstring_get_str(qobject_to(QString, rhs))) == 0); in qlit_equal_qobject()
79 return qlit_equal_qdict(lhs, qobject_to(QDict, rhs)); in qlit_equal_qobject()
81 return qlit_equal_qlist(lhs, qobject_to(QList, rhs)); in qlit_equal_qobject()
/openbmc/linux/tools/perf/arch/x86/util/
H A Devlist.c76 int arch_evlist__cmp(const struct evsel *lhs, const struct evsel *rhs) in arch_evlist__cmp() argument
79 (arch_evsel__must_be_in_group(lhs) || arch_evsel__must_be_in_group(rhs))) { in arch_evlist__cmp()
83 if (strcasestr(rhs->name, "slots") && !strcasestr(rhs->name, "uops_retired.slots")) in arch_evlist__cmp()
86 if (strcasestr(lhs->name, "topdown") && !strcasestr(rhs->name, "topdown")) in arch_evlist__cmp()
88 if (!strcasestr(lhs->name, "topdown") && strcasestr(rhs->name, "topdown")) in arch_evlist__cmp()
93 return lhs->core.idx - rhs->core.idx; in arch_evlist__cmp()
/openbmc/linux/arch/arm64/kvm/hyp/nvhe/
H A Dgen-hyprel.c177 #define assert_op(lhs, rhs, fmt, op) \ argument
180 typeof(rhs) _rhs = (rhs); \
183 fatal_error("assertion " #lhs " " #op " " #rhs \
189 #define assert_eq(lhs, rhs, fmt) assert_op(lhs, rhs, fmt, ==) argument
190 #define assert_ne(lhs, rhs, fmt) assert_op(lhs, rhs, fmt, !=) argument
191 #define assert_lt(lhs, rhs, fmt) assert_op(lhs, rhs, fmt, <) argument
192 #define assert_ge(lhs, rhs, fmt) assert_op(lhs, rhs, fmt, >=) argument
/openbmc/pldm/common/test/
H A Dmocked_utils.hpp15 inline bool operator==(const DBusMapping& lhs, const DBusMapping& rhs) in operator ==() argument
17 return lhs.objectPath == rhs.objectPath && lhs.interface == rhs.interface && in operator ==()
18 lhs.propertyName == rhs.propertyName && in operator ==()
19 lhs.propertyType == rhs.propertyType; in operator ==()
/openbmc/linux/include/asm-generic/
H A Dword-at-a-time.h17 static inline long prep_zero_mask(unsigned long val, unsigned long rhs, const struct word_at_a_time… in prep_zero_mask() argument
20 return ~(mask | rhs); in prep_zero_mask()
43 unsigned long rhs = val | c->low_bits; in has_zero() local
44 *data = rhs; in has_zero()
45 return (val + c->high_bits) & ~rhs; in has_zero()
/openbmc/phosphor-pid-control/
H A Dinterfaces.hpp14 bool operator==(const ReadReturn& rhs) const in operator ==()
16 return ((this->value == rhs.value) && (this->updated == rhs.updated) && in operator ==()
17 (this->unscaled == rhs.unscaled)); in operator ==()
/openbmc/linux/lib/
H A Dtest_min_heap.c14 static __init bool less_than(const void *lhs, const void *rhs) in less_than() argument
16 return *(int *)lhs < *(int *)rhs; in less_than()
19 static __init bool greater_than(const void *lhs, const void *rhs) in greater_than() argument
21 return *(int *)lhs > *(int *)rhs; in greater_than()
24 static __init void swap_ints(void *lhs, void *rhs) in swap_ints() argument
28 *(int *)lhs = *(int *)rhs; in swap_ints()
29 *(int *)rhs = temp; in swap_ints()
H A Dubsan.c226 void __ubsan_handle_divrem_overflow(void *_data, void *lhs, void *rhs) in __ubsan_handle_divrem_overflow() argument
236 val_to_string(rhs_val_str, sizeof(rhs_val_str), data->type, rhs); in __ubsan_handle_divrem_overflow()
238 if (type_is_signed(data->type) && get_signed_val(data->type, rhs) == -1) in __ubsan_handle_divrem_overflow()
352 void __ubsan_handle_shift_out_of_bounds(void *_data, void *lhs, void *rhs) in __ubsan_handle_shift_out_of_bounds() argument
366 val_to_string(rhs_str, sizeof(rhs_str), rhs_type, rhs); in __ubsan_handle_shift_out_of_bounds()
369 if (val_is_negative(rhs_type, rhs)) in __ubsan_handle_shift_out_of_bounds()
372 else if (get_unsigned_val(rhs_type, rhs) >= in __ubsan_handle_shift_out_of_bounds()
/openbmc/linux/tools/testing/selftests/powerpc/primitives/
H A Dword-at-a-time.h21 static inline long prep_zero_mask(unsigned long val, unsigned long rhs, const struct word_at_a_time… in prep_zero_mask() argument
24 return ~(mask | rhs); in prep_zero_mask()
39 unsigned long rhs = val | c->low_bits; in has_zero() local
40 *data = rhs; in has_zero()
41 return (val + c->high_bits) & ~rhs; in has_zero()
/openbmc/linux/arch/powerpc/include/asm/
H A Dword-at-a-time.h21 static inline long prep_zero_mask(unsigned long val, unsigned long rhs, const struct word_at_a_time… in prep_zero_mask() argument
24 return ~(mask | rhs); in prep_zero_mask()
39 unsigned long rhs = val | c->low_bits; in has_zero() local
40 *data = rhs; in has_zero()
41 return (val + c->high_bits) & ~rhs; in has_zero()
/openbmc/linux/tools/perf/scripts/python/
H A Dcompaction-times.py61 def __add__(self, rhs): argument
62 self.aval += rhs.aval
63 self.bval += rhs.bval
76 def __add__(self, rhs): argument
77 self.ns += rhs.ns
78 self.migrated += rhs.migrated
79 self.fscan += rhs.fscan
80 self.mscan += rhs.mscan
167 def __add__(self, rhs): argument
168 self.ns += rhs.ns
[all …]
/openbmc/phosphor-ipmi-blobs/blobs-ipmid/
H A Dblobs.hpp49 bool operator==(const BlobMeta& rhs) const in operator ==()
51 return (this->blobState == rhs.blobState && this->size == rhs.size && in operator ==()
52 this->metadata == rhs.metadata); in operator ==()
/openbmc/qemu/tests/tcg/s390x/
H A Dclc.c29 unsigned long mem = 42, rhs = 500; in main() local
44 , [rhs] "r" (rhs) in main()
/openbmc/openbmc/meta-openembedded/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/
H A DVector-cast.patch11 const Vector<TYPE>& Vector<TYPE>::operator = (const Vector<TYPE>& rhs) const {
12 - VectorImpl::operator = (static_cast<const VectorImpl&>(rhs));
13 + VectorImpl::operator = (rhs);
/openbmc/openbmc/meta-openembedded/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/system/core/
H A DVector-cast.patch11 const Vector<TYPE>& Vector<TYPE>::operator = (const Vector<TYPE>& rhs) const {
12 - VectorImpl::operator = (static_cast<const VectorImpl&>(rhs));
13 + VectorImpl::operator = (rhs);
/openbmc/linux/rust/alloc/vec/
H A Dpartial_eq.rs10 ([$($vars:tt)*] $lhs:ty, $rhs:ty $(where $ty:ty: $bound:ident)?, #[$stability:meta]) => {
12 impl<T, U, $($vars)*> PartialEq<$rhs> for $lhs
18 fn eq(&self, other: &$rhs) -> bool { self[..] == other[..] }
20 fn ne(&self, other: &$rhs) -> bool { self[..] != other[..] }
/openbmc/linux/drivers/md/
H A Ddm-bio-prison-v2.c89 struct dm_cell_key_v2 *rhs) in cmp_keys() argument
91 if (lhs->virtual < rhs->virtual) in cmp_keys()
94 if (lhs->virtual > rhs->virtual) in cmp_keys()
97 if (lhs->dev < rhs->dev) in cmp_keys()
100 if (lhs->dev > rhs->dev) in cmp_keys()
103 if (lhs->block_end <= rhs->block_begin) in cmp_keys()
106 if (lhs->block_begin >= rhs->block_end) in cmp_keys()
/openbmc/qemu/scripts/
H A Dminikconf.py51 def __and__(self, rhs): argument
52 return KconfigData.AND(self, rhs)
53 def __or__(self, rhs): argument
54 return KconfigData.OR(self, rhs)
65 def __init__(self, lhs, rhs): argument
67 self.rhs = rhs
69 return "(%s && %s)" % (self.lhs, self.rhs)
73 self.rhs.add_edges_to(var)
78 def __init__(self, lhs, rhs): argument
80 self.rhs = rhs
[all …]
/openbmc/linux/drivers/staging/media/atomisp/pci/hive_isp_css_common/host/
H A Dinput_system.c70 const csi_cfg_t *const rhs,
75 const input_system_source_t rhs,
80 const input_system_multiplex_t rhs,
1656 const input_system_source_t rhs, in set_source_type() argument
1670 if ((*lhs) == (rhs)) { in set_source_type()
1678 if (rhs >= N_INPUT_SYSTEM_SOURCE) { in set_source_type()
1683 *lhs = rhs; in set_source_type()
1692 const csi_cfg_t *const rhs, in set_csi_cfg() argument
1725 memory_required = rhs->csi_buffer.mem_reg_size * rhs->csi_buffer.nof_mem_regs; in set_csi_cfg()
1772 if ((*lhs) == (rhs)) { in input_system_multiplexer_cfg()
[all …]

1234