/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/allocator.traits/allocator.traits.types/ |
rebind_alloc.pass.cpp | 15 // template <class T> using rebind_alloc = Alloc::rebind<U>::other | Alloc<T, Args...>; 30 template <class U> struct rebind {typedef ReboundA<U> other;}; typedef in struct:A::rebind 41 template <class V> struct rebind {typedef ReboundB<V, U> other;}; typedef in struct:B::rebind 73 static_assert((std::is_same<std::allocator_traits<A<char> >::rebind_alloc<double>::other, ReboundA<double> >::value), ""); 74 static_assert((std::is_same<std::allocator_traits<B<int, char> >::rebind_alloc<double>::other, ReboundB<double, char> >::value), ""); 75 static_assert((std::is_same<std::allocator_traits<C<char> >::rebind_alloc<double>::other, C<double> >::value), ""); 76 static_assert((std::is_same<std::allocator_traits<D<int, char> >::rebind_alloc<double>::other, D<double, char> >::value), ""); 77 static_assert((std::is_same<std::allocator_traits<E<char> >::rebind_alloc<double>::other, E<double> >::value), "");
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/allocator.traits/ |
rebind_traits.pass.cpp | 30 template <class U> struct rebind {typedef ReboundA<U> other;}; typedef in struct:A::rebind 41 template <class V> struct rebind {typedef ReboundB<V, U> other;}; typedef in struct:B::rebind 73 static_assert((std::is_same<std::allocator_traits<A<char> >::rebind_traits<double>::other, std::allocator_traits<ReboundA<double> > >::value), ""); 74 static_assert((std::is_same<std::allocator_traits<B<int, char> >::rebind_traits<double>::other, std::allocator_traits<ReboundB<double, char> > >::value), ""); 75 static_assert((std::is_same<std::allocator_traits<C<char> >::rebind_traits<double>::other, std::allocator_traits<C<double> > >::value), ""); 76 static_assert((std::is_same<std::allocator_traits<D<int, char> >::rebind_traits<double>::other, std::allocator_traits<D<double, char> > >::value), ""); 77 static_assert((std::is_same<std::allocator_traits<E<char> >::rebind_traits<double>::other, std::allocator_traits<E<double> > >::value), "");
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/x86_64-linux/include/c++/4.8/ext/pb_ds/detail/bin_search_tree_/ |
node_iterators.hpp | 63 Node>::other::pointer 87 typename _Alloc::template rebind<metadata_type>::other::const_reference 117 operator==(const PB_DS_TREE_CONST_NODE_ITERATOR_CLASS_C_DEC& other) const 118 { return m_p_nd == other.m_p_nd; } 122 operator!=(const PB_DS_TREE_CONST_NODE_ITERATOR_CLASS_C_DEC& other) const 123 { return m_p_nd != other.m_p_nd; } 142 Node>::other::pointer
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8/ext/pb_ds/detail/bin_search_tree_/ |
node_iterators.hpp | 63 Node>::other::pointer 87 typename _Alloc::template rebind<metadata_type>::other::const_reference 117 operator==(const PB_DS_TREE_CONST_NODE_ITERATOR_CLASS_C_DEC& other) const 118 { return m_p_nd == other.m_p_nd; } 122 operator!=(const PB_DS_TREE_CONST_NODE_ITERATOR_CLASS_C_DEC& other) const 123 { return m_p_nd != other.m_p_nd; } 142 Node>::other::pointer
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/c++/4.8.3/ext/pb_ds/detail/bin_search_tree_/ |
node_iterators.hpp | 63 Node>::other::pointer 87 typename _Alloc::template rebind<metadata_type>::other::const_reference 117 operator==(const PB_DS_TREE_CONST_NODE_ITERATOR_CLASS_C_DEC& other) const 118 { return m_p_nd == other.m_p_nd; } 122 operator!=(const PB_DS_TREE_CONST_NODE_ITERATOR_CLASS_C_DEC& other) const 123 { return m_p_nd != other.m_p_nd; } 142 Node>::other::pointer
|
/prebuilts/ndk/current/sources/cxx-stl/gnu-libstdc++/4.9/include/ext/pb_ds/detail/bin_search_tree_/ |
node_iterators.hpp | 63 Node>::other::pointer 87 typename _Alloc::template rebind<metadata_type>::other::const_reference 117 operator==(const PB_DS_TREE_CONST_NODE_ITERATOR_CLASS_C_DEC& other) const 118 { return m_p_nd == other.m_p_nd; } 122 operator!=(const PB_DS_TREE_CONST_NODE_ITERATOR_CLASS_C_DEC& other) const 123 { return m_p_nd != other.m_p_nd; } 142 Node>::other::pointer
|
/external/libchrome/base/time/ |
time.h | 29 // DCHECK_EQ() and other log macros. For human-readable formatting, see 174 TimeDelta& operator=(TimeDelta other) { 175 delta_ = other.delta_; 179 // Computations with other deltas. 180 TimeDelta operator+(TimeDelta other) const { 181 return TimeDelta(time_internal::SaturatedAdd(*this, other.delta_)); 183 TimeDelta operator-(TimeDelta other) const { 184 return TimeDelta(time_internal::SaturatedSub(*this, other.delta_)); 187 TimeDelta& operator+=(TimeDelta other) { 188 return *this = (*this + other); [all...] |
/external/libweave/third_party/chromium/base/time/ |
time.h | 29 // DCHECK_EQ() and other log macros. For human-readable formatting, see 174 TimeDelta& operator=(TimeDelta other) { 175 delta_ = other.delta_; 179 // Computations with other deltas. 180 TimeDelta operator+(TimeDelta other) const { 181 return TimeDelta(time_internal::SaturatedAdd(*this, other.delta_)); 183 TimeDelta operator-(TimeDelta other) const { 184 return TimeDelta(time_internal::SaturatedSub(*this, other.delta_)); 187 TimeDelta& operator+=(TimeDelta other) { 188 return *this = (*this + other); [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
_abcoll.py | 147 then the other operations will automatically follow suit. 150 def __le__(self, other): 151 if not isinstance(other, Set): 153 if len(self) > len(other): 156 if elem not in other: 160 def __lt__(self, other): 161 if not isinstance(other, Set): 163 return len(self) < len(other) and self.__le__(other) 165 def __gt__(self, other) [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/ |
_abcoll.py | 147 then the other operations will automatically follow suit. 150 def __le__(self, other): 151 if not isinstance(other, Set): 153 if len(self) > len(other): 156 if elem not in other: 160 def __lt__(self, other): 161 if not isinstance(other, Set): 163 return len(self) < len(other) and self.__le__(other) 165 def __gt__(self, other) [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
_abcoll.py | 147 then the other operations will automatically follow suit. 150 def __le__(self, other): 151 if not isinstance(other, Set): 153 if len(self) > len(other): 156 if elem not in other: 160 def __lt__(self, other): 161 if not isinstance(other, Set): 163 return len(self) < len(other) and self.__le__(other) 165 def __gt__(self, other) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
_abcoll.py | 147 then the other operations will automatically follow suit. 150 def __le__(self, other): 151 if not isinstance(other, Set): 153 if len(self) > len(other): 156 if elem not in other: 160 def __lt__(self, other): 161 if not isinstance(other, Set): 163 return len(self) < len(other) and self.__le__(other) 165 def __gt__(self, other) [all...] |
/external/libxml2/ |
triostr.h | 103 TRIO_STRING_PUBLIC trio_string_t *trio_xstring_duplicate TRIO_PROTO((const char *other)); 111 TRIO_STRING_PUBLIC int trio_string_append TRIO_PROTO((trio_string_t *self, trio_string_t *other)); 112 TRIO_STRING_PUBLIC int trio_string_contains TRIO_PROTO((trio_string_t *self, trio_string_t *other)); 113 TRIO_STRING_PUBLIC int trio_string_copy TRIO_PROTO((trio_string_t *self, trio_string_t *other)); 114 TRIO_STRING_PUBLIC trio_string_t *trio_string_duplicate TRIO_PROTO((trio_string_t *other)); 115 TRIO_STRING_PUBLIC int trio_string_equal TRIO_PROTO((trio_string_t *self, trio_string_t *other)); 117 TRIO_STRING_PUBLIC int trio_string_equal_case TRIO_PROTO((trio_string_t *self, trio_string_t *other)); 118 TRIO_STRING_PUBLIC int trio_string_equal_case_max TRIO_PROTO((trio_string_t *self, size_t max, trio_string_t *other)); 126 TRIO_STRING_PUBLIC int trio_string_match TRIO_PROTO((trio_string_t *self, trio_string_t *other)); 127 TRIO_STRING_PUBLIC int trio_string_match_case TRIO_PROTO((trio_string_t *self, trio_string_t *other)); [all...] |
/frameworks/base/core/java/android/hardware/camera2/params/ |
OutputConfiguration.java | 309 * @param other Another {@link OutputConfiguration} instance to be copied. 313 public OutputConfiguration(@NonNull OutputConfiguration other) { 314 if (other == null) { 318 this.mSurface = other.mSurface; 319 this.mRotation = other.mRotation; 320 this.mSurfaceGroupId = other.mSurfaceGroupId; 321 this.mSurfaceType = other.mSurfaceType; 322 this.mConfiguredDataspace = other.mConfiguredDataspace; 323 this.mConfiguredFormat = other.mConfiguredFormat; 324 this.mConfiguredSize = other.mConfiguredSize 449 final OutputConfiguration other = (OutputConfiguration) obj; local [all...] |
/external/icu/icu4c/source/i18n/ |
utf16collationiterator.cpp | 28 UTF16CollationIterator::UTF16CollationIterator(const UTF16CollationIterator &other, 30 : CollationIterator(other), 32 pos(newText + (other.pos - other.start)), 33 limit(other.limit == NULL ? NULL : newText + (other.limit - other.start)) { 39 UTF16CollationIterator::operator==(const CollationIterator &other) const { 40 if(!CollationIterator::operator==(other)) { return FALSE; } 41 const UTF16CollationIterator &o = static_cast<const UTF16CollationIterator &>(other); [all...] |
collationsettings.cpp | 28 CollationSettings::CollationSettings(const CollationSettings &other) 29 : SharedObject(other), 30 options(other.options), variableTop(other.variableTop), 32 minHighNoReorder(other.minHighNoReorder), 35 fastLatinOptions(other.fastLatinOptions) { 37 copyReorderingFrom(other, errorCode); 39 uprv_memcpy(fastLatinPrimaries, other.fastLatinPrimaries, sizeof(fastLatinPrimaries)); 50 CollationSettings::operator==(const CollationSettings &other) const { 51 if(options != other.options) { return FALSE; [all...] |
/libcore/ojluni/src/main/java/sun/misc/ |
FDBigInt.java | 50 public FDBigInt( FDBigInt other ){ 51 data = new int[nWords = other.nWords]; 52 System.arraycopy( other.data, 0, data, 0, nWords ); 247 mult( FDBigInt other ){ 249 int r[] = new int[ nWords + other.nWords ]; 257 for( j = 0; j < other.nWords; j++ ){ 258 p += ((long)r[i+j]&0xffffffffL) + v*((long)other.data[j]&0xffffffffL); // UNSIGNED CONVERSIONS ALL 'ROUND. 275 add( FDBigInt other ){ 282 if ( this.nWords >= other.nWords ){ 285 b = other.data [all...] |
/external/eigen/Eigen/src/Eigen2Support/Geometry/ |
Translation.h | 76 inline Translation operator* (const Translation& other) const 77 { return Translation(m_coeffs + other.m_coeffs); } 80 inline TransformType operator* (const ScalingType& other) const; 106 inline VectorType operator* (const VectorType& other) const 107 { return m_coeffs + other; } 112 Translation& operator=(const Translation& other) 114 m_coeffs = other.m_coeffs; 129 inline explicit Translation(const Translation<OtherScalarType,Dim>& other) 130 { m_coeffs = other.vector().template cast<Scalar>(); } 132 /** \returns \c true if \c *this is approximately equal to \a other, within the precisio [all...] |
/external/llvm/utils/lit/lit/ |
ShCommands.py | 9 def __eq__(self, other): 10 if not isinstance(other, Command): 14 (other.args, other.redirects)) 48 def __eq__(self, other): 49 if not isinstance(other, Pipeline): 53 (other.commands, other.negate, self.pipe_err)) 75 def __eq__(self, other): 76 if not isinstance(other, Seq) [all...] |
/external/proguard/src/proguard/evaluation/ |
Variables.java | 89 * given Variables object. The other object may have fewer values, in which 92 public void initialize(Variables other) 94 if (this.size < other.size) 96 throw new IllegalArgumentException("Variable frame is too small ["+this.size+"] compared to other frame ["+other.size+"]"); 100 System.arraycopy(other.values, 0, this.values, 0, other.size); 107 * @param clearConflictingOtherVariables specifies whether the other 112 public boolean generalize(Variables other, 115 if (this.size != other.size 286 Variables other = (Variables)object; local [all...] |
/external/proguard/src/proguard/evaluation/value/ |
InstructionOffsetValue.java | 141 * other InstructionOffsetValue. The values of the other InstructionOffsetValue 144 public final Value generalize(InstructionOffsetValue other) 146 // If the values array of either is null, we can return the other one. 150 return other; 153 int[] otherValues = other.values; 169 // If the length of the union array is equal to the length of the other 173 return other; 177 // values array, we can return it. We have to make sure that the other 179 // single other value 261 InstructionOffsetValue other = (InstructionOffsetValue)object; local [all...] |
/external/webrtc/webrtc/base/ |
ipaddress.h | 70 IPAddress(const IPAddress& other) : family_(other.family_) { 71 ::memcpy(&u_, &other.u_, sizeof(u_)); 76 const IPAddress & operator=(const IPAddress& other) { 77 family_ = other.family_; 78 ::memcpy(&u_, &other.u_, sizeof(u_)); 82 bool operator==(const IPAddress& other) const; 83 bool operator!=(const IPAddress& other) const; 84 bool operator <(const IPAddress& other) const; 85 bool operator >(const IPAddress& other) const [all...] |
/frameworks/base/core/java/android/view/ |
WindowInfo.java | 62 public static WindowInfo obtain(WindowInfo other) { 64 window.type = other.type; 65 window.layer = other.layer; 66 window.token = other.token; 67 window.parentToken = other.parentToken; 68 window.focused = other.focused; 69 window.boundsInScreen.set(other.boundsInScreen); 70 window.title = other.title; 71 window.accessibilityIdOfAnchor = other.accessibilityIdOfAnchor; 73 if (other.childTokens != null && !other.childTokens.isEmpty()) [all...] |
/frameworks/base/telephony/java/android/telephony/ |
PreciseDataConnectionState.java | 214 PreciseDataConnectionState other = (PreciseDataConnectionState) obj; local 216 if (other.mAPN != null) { 219 } else if (!mAPN.equals(other.mAPN)) { 223 if (other.mAPNType != null) { 226 } else if (!mAPNType.equals(other.mAPNType)) { 230 if (other.mFailCause != null) { 233 } else if (!mFailCause.equals(other.mFailCause)) { 237 if (other.mLinkProperties != null) { 240 } else if (!mLinkProperties.equals(other.mLinkProperties)) { 243 if (mNetworkType != other.mNetworkType) [all...] |
/cts/tools/dasm/src/java_cup/ |
lr_item_core.java | 162 public boolean core_equals(lr_item_core other) 164 return other != null && 165 _the_production.equals(other._the_production) && 166 _dot_pos == other._dot_pos; 172 public boolean equals(lr_item_core other) {return core_equals(other);} 177 public boolean equals(Object other) 179 if (!(other instanceof lr_item_core)) 182 return equals((lr_item_core)other);
|