/commonlibrary/c_utils/base/include/ |
H A D | refbase.h | 399 RefBase(RefBase &&other) noexcept; 405 * object of the argument `other`, which will unbind the 408 RefBase &operator=(RefBase &&other) noexcept; 646 * @note A null sptr will be created if `other` is `nullptr`. 647 * @param other Object to be managed by sptr. 649 sptr(T *other); 654 * @param other Input sptr object. 656 sptr(const sptr<T> &other); 661 * @note `other` will be set to a null sptr. 662 * @param other Inpu 887 ForceSetRefPtr(T *other) ForceSetRefPtr() argument 899 sptr(T *other) sptr() argument 908 sptr(const sptr<T> &other) sptr() argument 917 sptr(sptr<T> &&other) sptr() argument 924 operator =(sptr<T> &&other) operator =() argument 936 sptr(const sptr<O> &other) sptr() argument 944 operator =(T *other) operator =() argument 959 operator =(const sptr<T> &other) operator =() argument 975 operator =(const wptr<T> &other) operator =() argument 991 operator =(const sptr<O> &other) operator =() argument 1344 wptr(T *other) wptr() argument 1357 wptr(const wptr<T> &other) wptr() argument 1366 wptr(const sptr<T> &other) wptr() argument 1378 wptr(const wptr<O> &other) wptr() argument 1388 wptr(const sptr<O> &other) wptr() argument 1399 operator =(T *other) operator =() argument 1419 operator =(O *other) operator =() argument 1439 operator =(const wptr<T> &other) operator =() argument 1454 operator =(const sptr<T> &other) operator =() argument 1474 operator =(const wptr<O> &other) operator =() argument 1490 operator =(const sptr<O> &other) operator =() argument [all...] |
H A D | mapped_file.h | 55 MappedFile(const MappedFile& other) = delete; member in OHOS::Utils::MapMode::MappedFile 56 MappedFile(MappedFile&& other) noexcept; 57 MappedFile& operator=(const MappedFile& other) = delete; member in OHOS::Utils::MapMode::MappedFile 58 MappedFile& operator=(MappedFile&& other) noexcept;
|
/commonlibrary/c_utils/base/src/ |
H A D | mapped_file.cpp | 491 MappedFile::MappedFile(MappedFile&& other) noexcept 492 : data_(other.data_), rStart_(other.rStart_), rEnd_(other.rEnd_), isMapped_(other.isMapped_), 493 isNormed_(other.isNormed_), isNewFile_(other.isNewFile_), path_(std::move(other.path_)), size_(other.size_), 494 offset_(other [all...] |
H A D | refbase.cpp | 475 RefBase::RefBase(RefBase &&other) noexcept 477 refs_ = other.refs_; 478 other.refs_ = nullptr; 481 RefBase &RefBase::operator=(RefBase &&other) noexcept 483 if (refs_ == other.refs_) { 492 refs_ = other.refs_; 493 other.refs_ = nullptr;
|
/commonlibrary/rust/ylong_runtime/ylong_io/src/ |
H A D | interest.rs | 32 pub const fn add(self, other: Interest) -> Interest { 33 Interest(unsafe { NonZeroU8::new_unchecked(self.0.get() | other.0.get()) }) 68 fn bitor(self, other: Self) -> Self { in bitor() 69 self.add(other) in bitor()
|
/commonlibrary/rust/ylong_http/ylong_http_client/src/ |
H A D | error.rs | 61 /// let other = HttpClientError::other(error); 64 pub fn other<T>(cause: T) -> Self in other() functions 366 /// 1. Calls `HttpClientError::user_aborted`, `HttpClientError::other`. 372 let other = HttpClientError::other(user_aborted); in ut_err_kind() 373 assert_eq!(other.error_kind(), ErrorKind::Other); in ut_err_kind() 457 let error = HttpClientError::other(io::Error::from(io::ErrorKind::BrokenPipe)); in ut_client_err_debug_fmt() 480 let error = HttpClientError::other(io::Error::from(io::ErrorKind::BrokenPipe)); in ut_client_err_display_fmt()
|
/commonlibrary/rust/ylong_json/src/value/array/ |
H A D | vec.rs | 25 /// Only open `vec_array` feature can be used, and conflicts with other array-related features. (Enabled by default) 243 fn eq(&self, other: &Self) -> bool { in eq() 244 if self.len() != other.len() { in eq() 247 for (a, b) in self.iter().zip(other.iter()) { in eq()
|
/commonlibrary/rust/ylong_json/src/value/object/ |
H A D | vec.rs | 30 /// * Only opening the 'vec_object' feature, this Object type can be used , and it conflicts with other Objects. 232 fn eq(&self, other: &Self) -> bool { in eq() 233 if self.len() != other.len() { in eq() 237 if other.get(k) != Some(v) { in eq()
|
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/net/ |
H A D | ready.rs | 128 fn bitor(self, other: Ready) -> Self::Output { in bitor() 129 Ready(self.0 | other.0) in bitor() 135 fn bitor_assign(&mut self, other: Ready) { in bitor_assign() 136 self.0 |= other.0 in bitor_assign() 144 fn bitand(self, other: Ready) -> Self::Output { in bitand() 145 Ready(self.0 & other.0) in bitand() 153 fn sub(self, other: Ready) -> Self::Output { in sub() 154 Ready(self.0 & !other.0) in sub()
|
/commonlibrary/ets_utils/js_api_module/uri/ |
H A D | js_uri.cpp | 365 bool Uri::Equals(const Uri other) const
in Equals() 367 if (uriData_.port != other.uriData_.port) {
in Equals() 370 if (uriData_.scheme != other.uriData_.scheme) {
in Equals() 373 if (uriData_.userInfo != other.uriData_.userInfo) {
in Equals() 376 if (uriData_.host != other.uriData_.host) {
in Equals() 379 if (uriData_.query != other.uriData_.query) {
in Equals() 382 if (uriData_.fragment != other.uriData_.fragment) {
in Equals() 385 if (uriData_.path != other.uriData_.path) {
in Equals() 388 if (uriData_.authority != other.uriData_.authority) {
in Equals() 391 if (uriData_.SchemeSpecificPart != other in Equals() [all...] |
H A D | js_uri.h | 56 * Tests whether this URI is equivalent to other URI objects.
58 * @param other URI object to be compared
60 bool Equals(const Uri other) const;
|
H A D | native_module_uri.cpp | 84 Uri *other = nullptr;
in Equals() local 85 NAPI_CALL(env, napi_unwrap(env, argv[0], reinterpret_cast<void**>(&other)));
in Equals() 87 bool flag = muri->Equals(*other);
in Equals()
|
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/sync/mpsc/unbounded/ |
H A D | mod.rs | 155 pub fn is_same(&self, other: &Self) -> bool { in is_same() 156 self.channel.is_same(&other.channel) in is_same()
|
/commonlibrary/rust/ylong_http/ylong_http_client/examples/ |
H A D | sync_proxy_http.rs | 29 .map_err(HttpClientError::other)?; in main()
|
H A D | sync_redirect_http.rs | 28 .map_err(HttpClientError::other)?; in main()
|
H A D | sync_http.rs | 28 .map_err(HttpClientError::other)?; in main()
|
H A D | sync_https_outside.rs | 48 .map_err(HttpClientError::other)?; in req()
|
/commonlibrary/rust/ylong_http/ylong_http_client/tests/ |
H A D | sdv_async_http_client_error.rs | 52 let other = HttpClientError::other(user_aborted); in sdv_client_error_kind() 53 assert_eq!(other.error_kind(), ErrorKind::Other); in sdv_client_error_kind()
|
/commonlibrary/rust/ylong_http/ylong_http_client/src/util/config/tls/alpn/ |
H A D | mod.rs | 110 fn extend_from_slice(&mut self, other: &[u8]) { in extend_from_slice() 111 self.0.extend_from_slice(other); in extend_from_slice()
|
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/sync/mpsc/bounded/ |
H A D | mod.rs | 260 pub fn is_same(&self, other: &Self) -> bool { in is_same() 261 self.channel.is_same(&other.channel) in is_same()
|
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/sync/mpsc/ |
H A D | mod.rs | 72 pub(crate) fn is_same(&self, other: &Self) -> bool { 73 Arc::ptr_eq(&self.inner, &other.inner)
|
/commonlibrary/rust/ylong_json/src/value/ |
H A D | number.rs | 88 /// Only Unsigned case means success, other cases return Error. 157 fn eq(&self, other: &Self) -> bool { in eq() 159 let b = other.try_as_f64().unwrap(); in eq()
|
/commonlibrary/rust/ylong_http/ylong_http/src/ |
H A D | headers.rs | 347 /// let other = HeaderValue::from_bytes(b"text/plain").unwrap(); 349 /// value.append(other); 352 pub fn append(&mut self, mut other: Self) { in append() 353 self.inner.append(&mut other.inner) in append()
|
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/task/ |
H A D | join_set.rs | 102 fn eq(&self, other: &Self) -> bool { in eq() 103 unsafe { (*(self.handle.get())).raw.eq(&(*(other.handle.get())).raw) } in eq()
|
/commonlibrary/rust/ylong_http/ylong_http/src/request/uri/ |
H A D | mod.rs | 1094 other => { in authority_token() 1095 if !URI_VALUE_BYTES[other as usize] { in authority_token()
|