/freebsd/contrib/kyua/utils/ |
H A D | datetime.cpp | 122 datetime::delta::operator==(const datetime::delta& other) const in operator ==() 124 return seconds == other.seconds && useconds == other.useconds; in operator ==() 134 datetime::delta::operator!=(const datetime::delta& other) const in operator !=() 136 return !(*this == other); in operator !=() 146 datetime::delta::operator<(const datetime::delta& other) const in operator <() 148 return seconds < other.seconds || in operator <() 149 (seconds == other.seconds && useconds < other.useconds); in operator <() 160 datetime::delta::operator<=(const datetime::delta& other) const in operator <=() 162 return (*this) < other || (*this) == other; in operator <=() 172 datetime::delta::operator>(const datetime::delta& other) const in operator >() [all …]
|
H A D | optional.ipp | 12 // documentation and/or other materials provided with the distribution. 67 /// \param other The optional object to copy from. 69 utils::optional< T >::optional(const optional< T >& other) : 70 _data(other._data == NULL ? NULL : new T(*(other._data))) 118 /// \param other The optional object to copy from. 123 utils::optional< T >::operator=(const optional< T >& other) 125 T* new_data = other._data == NULL ? NULL : new T(*(other._data)); 135 /// \param other The other object to compare this one to. 137 /// \return True if this object and other are equal; false otherwise. 140 utils::optional< T >::operator==(const optional< T >& other) const [all …]
|
/freebsd/contrib/llvm-project/lld/ELF/ |
H A D | Symbols.cpp | 386 void Symbol::mergeProperties(const Symbol &other) { in mergeProperties() argument 387 if (other.exportDynamic) in mergeProperties() 391 if (!other.isShared() && other.visibility() != STV_DEFAULT) { in mergeProperties() 392 uint8_t v = visibility(), ov = other.visibility(); in mergeProperties() 397 void Symbol::resolve(const Undefined &other) { in resolve() argument 398 if (other.visibility() != STV_DEFAULT) { in resolve() 399 uint8_t v = visibility(), ov = other.visibility(); in resolve() 407 if (isPlaceholder() || (isShared() && other.visibility() != STV_DEFAULT) || in resolve() 408 (isUndefined() && other.binding != STB_WEAK && other.discardedSecIdx)) { in resolve() 409 other.overwrite(*this); in resolve() [all …]
|
/freebsd/contrib/llvm-project/lldb/bindings/python/ |
H A D | python-extensions.swig | 307 def __eq__(self, other): 308 return not self.__ne__(other) 367 def __add__(self, other): 368 return int(self) + int(other) 370 def __sub__(self, other): 371 return int(self) - int(other) 373 def __mul__(self, other): 374 return int(self) * int(other) 376 def __floordiv__(self, other): 377 return int(self) // int(other) [all...] |
/freebsd/crypto/openssh/regress/ |
H A D | allow-deny-users.sh | 11 other="nobody" 37 test_auth "$other $me" "" false "user in DenyUsers allowed" 38 test_auth "$me $other" "" false "user in DenyUsers allowed" 39 test_auth "" "$other" false "user not in AllowUsers allowed" 40 test_auth "" "$other $me" true "user in AllowUsers denied" 41 test_auth "" "$me $other" true "user in AllowUsers denied" 42 test_auth "$me $other" "$me $other" false "user in both DenyUsers and AllowUsers allowe… 43 test_auth "$other $me" "$other $me" false "user in both DenyUsers and AllowUsers allowe…
|
/freebsd/lib/libutil/tests/ |
H A D | pidfile_test.c | 62 pid_t other = 0; in test_pidfile_uncontested() local 65 pf = pidfile_open(fn, 0600, &other); in test_pidfile_uncontested() 66 if (pf == NULL && other != 0) in test_pidfile_uncontested() 88 pid_t other = 0; in test_pidfile_self() local 92 pf1 = pidfile_open(fn, 0600, &other); in test_pidfile_self() 93 if (pf1 == NULL && other != 0) in test_pidfile_self() 104 pf2 = pidfile_open(fn, 0600, &other); in test_pidfile_self() 111 if (other != getpid()) { in test_pidfile_self() 128 pid_t other = 0, pid = 0; in common_test_pidfile_child() local 139 pf = pidfile_open(fn, 0600, &other); in common_test_pidfile_child() [all …]
|
/freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
H A D | Visibility.h | 97 void mergeLinkage(LinkageInfo other) { in mergeLinkage() argument 98 mergeLinkage(other.getLinkage()); in mergeLinkage() 132 void mergeVisibility(LinkageInfo other) { in mergeVisibility() argument 133 mergeVisibility(other.getVisibility(), other.isVisibilityExplicit()); in mergeVisibility() 137 void merge(LinkageInfo other) { in merge() argument 138 mergeLinkage(other); in merge() 139 mergeVisibility(other); in merge() 143 void mergeMaybeWithVisibility(LinkageInfo other, bool withVis) { in mergeMaybeWithVisibility() argument 144 mergeLinkage(other); in mergeMaybeWithVisibility() 145 if (withVis) mergeVisibility(other); in mergeMaybeWithVisibility()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_mac.h | 40 bool operator==(const VersionType &other) const { 41 return major == other.major && minor == other.minor; 43 bool operator>=(const VersionType &other) const { 44 return major > other.major || 45 (major == other.major && minor >= other.minor); 47 bool operator<(const VersionType &other) const { return !(*this >= other); }
|
/freebsd/tools/regression/poll/14/ |
H A D | sockpoll.out | 5 ok 4 state other side after large write: expected POLLIN | POLLOUT; got POLLIN | POLLOUT 6 ok 5 state other side after close: expected POLLIN | POLLHUP; got POLLIN | POLLHUP 7 not ok 6 state other side after reading input: expected POLLHUP; got POLLIN | POLLHUP 9 ok 8 state other side after shutdown(SHUT_WR): expected POLLIN | POLLOUT; got POLLIN | POLLOUT 10 ok 9 state other side after reading EOF: expected POLLIN | POLLOUT; got POLLIN | POLLOUT 11 ok 10 state after data from other side: expected POLLIN | POLLOUT; got POLLIN | POLLOUT 17 ok 16 state other side after shutdown(SHUT_RD): expected POLLOUT; got POLLOUT 19 ok 18 state other side after shutdown(SHUT_WR): expected POLLIN | POLLOUT; got POLLIN | POLLOUT 20 ok 19 state other side after shutdown(SHUT_RD): expected POLLOUT; got POLLOUT 21 ok 20 state other side after write: expected POLLIN | POLLOUT; got POLLIN | POLLOUT [all …]
|
/freebsd/tools/regression/poll/l/ |
H A D | sockpoll.out | 5 ok 4 state other side after large write: expected POLLIN | POLLOUT; got POLLIN | POLLOUT 6 not ok 5 state other side after close: expected POLLIN | POLLHUP; got POLLIN | POLLOUT | POLLHUP 7 not ok 6 state other side after reading input: expected POLLHUP; got POLLIN | POLLOUT | POLLHUP 9 ok 8 state other side after shutdown(SHUT_WR): expected POLLIN | POLLOUT; got POLLIN | POLLOUT 10 ok 9 state other side after reading EOF: expected POLLIN | POLLOUT; got POLLIN | POLLOUT 11 ok 10 state after data from other side: expected POLLIN | POLLOUT; got POLLIN | POLLOUT 17 ok 16 state other side after shutdown(SHUT_RD): expected POLLOUT; got POLLOUT 19 not ok 18 state other side after shutdown(SHUT_WR): expected POLLIN | POLLOUT; got POLLIN | POLLOUT… 20 ok 19 state other side after shutdown(SHUT_RD): expected POLLOUT; got POLLOUT 21 ok 20 state other side after write: expected POLLIN | POLLOUT; got POLLIN | POLLOUT [all …]
|
/freebsd/contrib/googletest/googletest/src/ |
H A D | gtest-assertion-result.cc | 45 AssertionResult::AssertionResult(const AssertionResult& other) in AssertionResult() argument 46 : success_(other.success_), in AssertionResult() 47 message_(other.message_ != nullptr in AssertionResult() 48 ? new ::std::string(*other.message_) in AssertionResult() 52 void AssertionResult::swap(AssertionResult& other) { in swap() argument 54 swap(success_, other.success_); in swap() 55 swap(message_, other.message_); in swap()
|
/freebsd/contrib/kyua/utils/fs/ |
H A D | directory.cpp | 66 fs::directory_entry::operator==(const directory_entry& other) const in operator ==() 68 return name == other.name; in operator ==() 78 fs::directory_entry::operator!=(const directory_entry& other) const in operator !=() 80 return !(*this == other); in operator !=() 90 fs::directory_entry::operator<(const directory_entry& other) const in operator <() 92 return name < other.name; in operator <() 264 detail::directory_iterator::operator==(const directory_iterator& other) const in operator ==() 266 return (_pimpl->_dirp == NULL && other._pimpl->_dirp == NULL) || in operator ==() 267 _pimpl == other._pimpl; in operator ==() 277 detail::directory_iterator::operator!=(const directory_iterator& other) const in operator !=() [all …]
|
/freebsd/contrib/googletest/googletest/include/gtest/internal/ |
H A D | gtest-param-util.h | 122 virtual bool Equals(const ParamIteratorInterface& other) const = 0; 136 ParamIterator(const ParamIterator& other) : impl_(other.impl_->Clone()) {} in ParamIterator() argument 137 ParamIterator& operator=(const ParamIterator& other) { 138 if (this != &other) impl_.reset(other.impl_->Clone()); 155 bool operator==(const ParamIterator& other) const { 156 return impl_.get() == other.impl_.get() || impl_->Equals(*other.impl_); 158 bool operator!=(const ParamIterator& other) const { 159 return !(*this == other); 193 ParamGenerator(const ParamGenerator& other) : impl_(other.impl_) {} in ParamGenerator() argument 195 ParamGenerator& operator=(const ParamGenerator& other) { [all …]
|
/freebsd/contrib/libarchive/libarchive/ |
H A D | archive_rb.c | 234 const unsigned int other = which ^ RB_DIR_OTHER; in __archive_rb_tree_reparent_nodes() local 246 new_child->rb_nodes[which] = old_child->rb_nodes[other]; in __archive_rb_tree_reparent_nodes() 247 new_father->rb_nodes[other] = new_child; in __archive_rb_tree_reparent_nodes() 260 RB_SET_POSITION(new_child, other); in __archive_rb_tree_reparent_nodes() 280 unsigned int other; in __archive_rb_tree_insert_rebalance() local 289 other = which ^ RB_DIR_OTHER; in __archive_rb_tree_insert_rebalance() 290 uncle = grandpa->rb_nodes[other]; in __archive_rb_tree_insert_rebalance() 324 if (self == father->rb_nodes[other]) { in __archive_rb_tree_insert_rebalance() 331 __archive_rb_tree_reparent_nodes(father, other); in __archive_rb_tree_insert_rebalance() 554 unsigned int other = which ^ RB_DIR_OTHER; in __archive_rb_tree_removal_rebalance() local [all …]
|
/freebsd/tests/sys/acl/ |
H A D | tools-posix.test | 10 # documentation and/or other materials provided with the distribution. 45 > other::r-- 50 > other::r-- 62 > other::r-- 76 > other::r-x 81 > other::r-x 89 > other::r-- 101 > other::r-x 122 > other::r-- 134 > other::r-- [all …]
|
/freebsd/contrib/llvm-project/lldb/include/lldb/Utility/ |
H A D | SupportFile.h | 28 SupportFile(const SupportFile &other) = delete; 29 SupportFile(SupportFile &&other) = default; 41 bool Equal(const SupportFile &other, 47 if (m_file_spec != other.m_file_spec) 52 if (m_checksum != other.m_checksum) 57 if (m_checksum && other.m_checksum) 58 if (m_checksum != other.m_checksum)
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/acl/off/ |
H A D | dosmode.ksh | 69 other=$ZFS_ACL_STAFF2 95 log_mustnot user_run $other $changeflags uarch $testfile 98 log_mustnot user_run $other $changeflags nouarch $testfile 115 log_mustnot user_run $other $changeflags nohidden $testfile 118 log_mustnot user_run $other $changeflags hidden $testfile 134 log_mustnot user_run $other $changeflags nooffline $testfile 137 log_mustnot user_run $other $changeflags offline $testfile 158 log_mustnot user_run $other $changeflags rdonly $testfile 160 log_mustnot user_run $other $changeflags nordonly $testfile 186 log_mustnot user_run $other $changeflags nosparse $testfile [all …]
|
/freebsd/contrib/ncurses/ncurses/base/ |
H A D | vsscanf.c | 79 final_ch(int ch, OtherType other) in final_ch() argument 85 if (other == oUnknown) in final_ch() 94 switch (other) { in final_ch() 110 switch (other) { in final_ch() 123 if (other == oUnknown) in final_ch() 129 if (other == oUnknown) in final_ch() 135 if (other == oUnknown) in final_ch() 212 OtherType other, otest; in vsscanf() 231 other = oUnknown; in vsscanf() 267 if ((ctest = final_ch(format[n], other)) != cUnknown) { in vsscanf() [all …]
|
/freebsd/contrib/kyua/engine/ |
H A D | filters.cpp | 125 engine::test_filter::contains(const test_filter& other) const in contains() 127 if (*this == other) in contains() 131 other.test_program); in contains() 178 engine::test_filter::operator<(const test_filter& other) const in operator <() 181 test_program < other.test_program || in operator <() 182 (test_program == other.test_program && test_case < other.test_case)); in operator <() 192 engine::test_filter::operator==(const test_filter& other) const in operator ==() 194 return test_program == other.test_program && test_case == other.test_case; in operator ==() 204 engine::test_filter::operator!=(const test_filter& other) const in operator !=() 206 return !(*this == other); in operator !=()
|
/freebsd/contrib/kyua/model/ |
H A D | test_case.cpp | 103 operator==(const impl& other) const in operator ==() 105 return (name == other.name && in operator ==() 106 get_metadata() == other.get_metadata() && in operator ==() 107 fake_result == other.fake_result); in operator ==() 258 model::test_case::operator==(const test_case& other) const in operator ==() 260 return _pimpl == other._pimpl || *_pimpl == *other._pimpl; in operator ==() 270 model::test_case::operator!=(const test_case& other) const in operator !=() 272 return !(*this == other); in operator !=()
|
H A D | context.cpp | 65 operator==(const impl& other) const in operator ==() 67 return _cwd == other._cwd && _env == other._env; in operator ==() 115 model::context::operator==(const context& other) const in operator ==() 117 return *_pimpl == *other._pimpl; in operator ==() 127 model::context::operator!=(const context& other) const in operator !=() 129 return !(*this == other); in operator !=()
|
H A D | test_program.cpp | 261 model::test_program::operator==(const test_program& other) const in operator ==() 263 return _pimpl == other._pimpl || ( in operator ==() 264 _pimpl->interface_name == other._pimpl->interface_name && in operator ==() 265 _pimpl->binary == other._pimpl->binary && in operator ==() 266 _pimpl->root == other._pimpl->root && in operator ==() 267 _pimpl->test_suite_name == other._pimpl->test_suite_name && in operator ==() 268 _pimpl->md == other._pimpl->md && in operator ==() 269 test_cases() == other.test_cases()); in operator ==() 279 model::test_program::operator!=(const test_program& other) const in operator !=() 281 return !(*this == other); in operator !=() [all …]
|
/freebsd/contrib/llvm-project/lldb/source/Utility/ |
H A D | XcodeSDK.cpp | 61 XcodeSDK &XcodeSDK::operator=(const XcodeSDK &other) = default; in operator ==() 63 bool XcodeSDK::operator==(const XcodeSDK &other) const { in ParseSDKName() 64 return m_name == other.m_name; in ParseSDKName() 145 bool XcodeSDK::Info::operator<(const Info &other) const { in operator ==() 147 std::tie(other.type, other.version, other.internal); in Merge() argument 150 bool XcodeSDK::Info::operator==(const Info &other) const { in Merge() 152 std::tie(other.type, other in Merge() 59 operator ==(const XcodeSDK & other) operator ==() argument [all...] |
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/ |
H A D | DIERef.h | 69 bool operator<(DIERef other) const { 70 if (m_file_index_valid != other.m_file_index_valid) 71 return m_file_index_valid < other.m_file_index_valid; 72 if (m_file_index_valid && (m_file_index != other.m_file_index)) 73 return m_file_index < other.m_file_index; 74 if (m_section != other.m_section) 75 return m_section < other.m_section; 76 return m_die_offset < other.m_die_offset;
|
/freebsd/contrib/libcxxrt/ |
H A D | dynamic_cast.cc | 110 void *__class_type_info::cast_to(void *obj, const struct __class_type_info *other) const in cast_to() 112 if (this == other) in cast_to() 119 void *__si_class_type_info::cast_to(void *obj, const struct __class_type_info *other) const in cast_to() 121 if (this == other) in cast_to() 125 return __base_type->cast_to(obj, other); in cast_to() 137 void *__vmi_class_type_info::cast_to(void *obj, const struct __class_type_info *other) const in cast_to() 139 if (__do_upcast(other, &obj)) in cast_to()
|