/external/chromium/net/base/ |
H A D | auth.cc | 2 // Use of this source code is governed by a BSD-style license that can be 12 bool AuthChallengeInfo::operator==(const AuthChallengeInfo& that) const { 13 return (this->is_proxy == that.is_proxy && 14 this->host_and_port == that.host_and_port && 15 this->scheme == that.scheme && 16 this->realm == that.realm);
|
H A D | ip_endpoint.cc | 2 // Use of this source code is governed by a BSD-style license that can be 119 bool IPEndPoint::operator<(const IPEndPoint& that) const { 121 if (address_.size() != that.address_.size()) { 122 return address_.size() < that.address_.size(); 124 if (address_ != that.address_) { 125 return address_ < that.address_; 127 return port_ < that.port_; 130 bool IPEndPoint::operator==(const IPEndPoint& that) const { 131 return address_ == that.address_ && port_ == that [all...] |
/external/chromium/chrome/browser/sync/syncable/ |
H A D | syncable_id.h | 2 // Use of this source code is governed by a BSD-style license that can be 37 // 1. c<client only opaque id> for client items that have not been committed. 39 // 3. s<server provided opaque id> for items that the server knows about. 51 inline Id(const Id& that) { argument 52 Copy(that); 54 inline Id& operator = (const Id& that) { argument 55 Copy(that); 58 inline void Copy(const Id& that) { argument 59 this->s_ = that.s_; 76 inline int compare(const Id& that) cons [all...] |
/external/doclava/src/com/google/doclava/ |
H A D | SourcePositionInfo.java | 28 public SourcePositionInfo(SourcePositionInfo that) { argument 29 this.file = that.file; 30 this.line = that.line; 31 this.column = that.column; 35 * Given this position and str which occurs at that position, as well as str an index into str, 40 public static SourcePositionInfo add(SourcePositionInfo that, String str, int index) { argument 41 if (that == null) { 44 int line = that.line; 53 return new SourcePositionInfo(that.file, line, 0); 56 public static SourcePositionInfo findBeginning(SourcePositionInfo that, Strin argument [all...] |
/external/chromium/base/mac/ |
H A D | scoped_cftyperef.h | 2 // Use of this source code is governed by a BSD-style license that can be 18 // of a CoreFoundation object: any object that can be represented as a 25 // an ownership claim to that object. ScopedCFTypeRef<> does not call 47 bool operator==(CFT that) const { 48 return object_ == that; 51 bool operator!=(CFT that) const { 52 return object_ != that; 63 void swap(ScopedCFTypeRef& that) { argument 64 CFT temp = that.object_; 65 that [all...] |
/external/chromium/chrome/browser/cocoa/ |
H A D | scoped_authorizationref.h | 2 // Use of this source code is governed by a BSD-style license that can be 38 bool operator==(AuthorizationRef that) const { 39 return authorization_ == that; 42 bool operator!=(AuthorizationRef that) const { 43 return authorization_ != that; 58 void swap(scoped_AuthorizationRef& that) { argument 59 AuthorizationRef temp = that.authorization_; 60 that.authorization_ = authorization_;
|
/external/apache-http/src/org/apache/http/ |
H A D | ProtocolVersion.java | 41 * RFC 3261 specifies a message format that is identical to HTTP except 48 * Note that {@link #equals} and {@link #hashCode} are defined as 180 ProtocolVersion that = (ProtocolVersion) obj; 182 return ((this.protocol.equals(that.protocol)) && 183 (this.major == that.major) && 184 (this.minor == that.minor)); 193 * @param that the protocol version to consider 198 public boolean isComparable(ProtocolVersion that) { argument 199 return (that != null) && this.protocol.equals(that 219 compareToVersion(ProtocolVersion that) argument [all...] |
/external/icu4c/common/ |
H A D | chariter.cpp | 66 CharacterIterator::CharacterIterator(const CharacterIterator &that) : argument 67 ForwardCharacterIterator(that), 68 textLength(that.textLength), pos(that.pos), begin(that.begin), end(that.end) 73 CharacterIterator::operator=(const CharacterIterator &that) { argument 74 ForwardCharacterIterator::operator=(that); 75 textLength = that.textLength; 76 pos = that [all...] |
H A D | schriter.cpp | 60 StringCharacterIterator::StringCharacterIterator(const StringCharacterIterator& that) argument 61 : UCharCharacterIterator(that), 62 text(that.text) 72 StringCharacterIterator::operator=(const StringCharacterIterator& that) { argument 73 UCharCharacterIterator::operator=(that); 74 text = that.text; 81 StringCharacterIterator::operator==(const ForwardCharacterIterator& that) const { 82 if (this == &that) { 87 // because that checks for array pointer equality 90 if (typeid(*this) != typeid(that)) { [all...] |
/external/webkit/Source/WebCore/ |
H A D | DerivedSources.cpp | 5 * modification, are permitted provided that the following conditions 481 #error Do not include any file in DerivedSources.cpp that includes StaticConstructors.h
|
/external/chromium/base/memory/ |
H A D | scoped_nsobject.h | 2 // Use of this source code is governed by a BSD-style license that can be 21 // an ownership claim to that object. scoped_nsobject<> does not call 43 // We intentionally do not check that object != object_ as the caller must 46 // in a call to reset(). In either case, it relinquishes that claim and 52 bool operator==(NST* that) const { return object_ == that; } 53 bool operator!=(NST* that) const { return object_ != that; } 63 void swap(scoped_nsobject& that) { argument 64 NST* temp = that 136 swap(scoped_nsobject& that) argument [all...] |
/external/icu4c/i18n/ |
H A D | dtrule.cpp | 83 DateTimeRule::operator==(const DateTimeRule& that) const { 84 return ((this == &that) || 85 (typeid(*this) == typeid(that) && 86 fMonth == that.fMonth && 87 fDayOfMonth == that.fDayOfMonth && 88 fDayOfWeek == that.fDayOfWeek && 89 fWeekInMonth == that.fWeekInMonth && 90 fMillisInDay == that.fMillisInDay && 91 fDateRuleType == that.fDateRuleType && 92 fTimeRuleType == that [all...] |
H A D | tztrans.cpp | 65 TimeZoneTransition::operator==(const TimeZoneTransition& that) const { 66 if (this == &that) { 69 if (typeid(*this) != typeid(that)) { 72 if (fTime != that.fTime) { 75 if ((fFrom == NULL && that.fFrom == NULL) 76 || (fFrom != NULL && that.fFrom != NULL && *fFrom == *(that.fFrom))) { 77 if ((fTo == NULL && that.fTo == NULL) 78 || (fTo != NULL && that.fTo != NULL && *fTo == *(that [all...] |
H A D | format.cpp | 30 * Unless we export _something_ in that case... 81 Format::Format(const Format &that) argument 82 : UObject(that) 84 *this = that; 91 Format::operator=(const Format& that) argument 93 if (this != &that) { 94 uprv_strcpy(validLocale, that.validLocale); 95 uprv_strcpy(actualLocale, that.actualLocale); 153 Format::operator==(const Format& that) const 156 return typeid(*this) == typeid(that); [all...] |
/external/clang/test/CodeGenCXX/ |
H A D | constructor-direct-call.cpp | 41 Test3(const Test3& that) { a = that.a; b = that.b; c = that.c; } argument
|
/external/chromium/chrome/common/extensions/docs/examples/extensions/irc/servlet/ |
H A D | irc.js | 8 * to the transport so that the IRCConnection can respond to the connection 21 var that = this; 55 sendFunc(that.server + ":" + that.port); 82 that.onText(parsed.parameters[0], 96 that.connected = true; 97 that.onConnect(parsed.body); 103 if (!that.connected) { 104 that.connected = true; 105 that [all...] |
/external/clang/test/Index/ |
H A D | complete-access-checks.cpp | 32 Z that; local 34 that.
|
/external/llvm/lib/VMCore/ |
H A D | LLVMContextImpl.h | 48 KeyTy(const KeyTy& that) : val(that.val), type(that.type) {} argument 49 bool operator==(const KeyTy& that) const { 50 return type == that.type && this->val == that.val; 52 bool operator!=(const KeyTy& that) const { 53 return !this->operator==(that); 73 KeyTy(const KeyTy& that) : val(that argument 104 KeyTy(const KeyTy& that) argument 151 KeyTy(const KeyTy& that) argument [all...] |
/external/llvm/include/llvm/Support/ |
H A D | TimeValue.h | 103 /// This is a static constructor that returns a TimeValue that represents 112 /// Add \p that to \p this. 115 TimeValue& operator += (const TimeValue& that ) { 116 this->seconds_ += that.seconds_ ; 117 this->nanos_ += that.nanos_ ; 122 /// Subtract \p that from \p this. 125 TimeValue& operator -= (const TimeValue &that ) { 126 this->seconds_ -= that.seconds_ ; 127 this->nanos_ -= that [all...] |
/external/icu4c/layout/ |
H A D | GlyphIterator.cpp | 43 GlyphIterator::GlyphIterator(GlyphIterator &that) argument 44 : glyphStorage(that.glyphStorage) 46 direction = that.direction; 47 position = that.position; 48 nextLimit = that.nextLimit; 49 prevLimit = that.prevLimit; 51 glyphPositionAdjustments = that.glyphPositionAdjustments; 52 srcIndex = that.srcIndex; 53 destIndex = that.destIndex; 54 lookupFlags = that 61 GlyphIterator(GlyphIterator &that, FeatureMask newFeatureMask) argument 79 GlyphIterator(GlyphIterator &that, le_uint16 newLookupFlags) argument [all...] |
/external/apache-http/src/org/apache/http/auth/ |
H A D | AuthScope.java | 197 public int match(final AuthScope that) { argument 199 if (LangUtils.equals(this.scheme, that.scheme)) { 202 if (this.scheme != ANY_SCHEME && that.scheme != ANY_SCHEME) { 206 if (LangUtils.equals(this.realm, that.realm)) { 209 if (this.realm != ANY_REALM && that.realm != ANY_REALM) { 213 if (this.port == that.port) { 216 if (this.port != ANY_PORT && that.port != ANY_PORT) { 220 if (LangUtils.equals(this.host, that.host)) { 223 if (this.host != ANY_HOST && that.host != ANY_HOST) { 244 AuthScope that [all...] |
/external/webkit/Source/WebCore/platform/gtk/ |
H A D | MainFrameScrollbarGtk.cpp | 12 * This library is distributed in the hope that it will be useful, 43 // that. They exist only to shuttle data from the GtkWidget container into 85 // reset the values so that the surrounding scrollbar gets updated, or 112 void MainFrameScrollbarGtk::gtkValueChanged(GtkAdjustment*, MainFrameScrollbarGtk* that) argument 117 if (!that->parent()) { 118 that->detachAdjustment(); 122 int newValue = static_cast<int>(gtk_adjustment_get_value(that->m_adjustment.get())); 123 if (newValue != that->value()) 124 that->scrollableArea()->scrollToOffsetWithoutAnimation(that [all...] |
/external/guava/guava-tests/test/com/google/common/base/ |
H A D | SplitterTest.java | 54 ASSERT.that(letters).hasContentsInOrder("a", "b", "c"); 60 ASSERT.that(letters).hasContentsInOrder("a,b,c"); 66 ASSERT.that(letters).hasContentsInOrder("a", "", "b", "c"); 72 ASSERT.that(letters).hasContentsInOrder("a", "", " b", "c"); 78 ASSERT.that(letters).hasContentsInOrder("a", "b", "c", ""); 84 ASSERT.that(letters).hasContentsInOrder("", "a", "b", "c"); 90 ASSERT.that(testCharacteringMotto).hasContentsInOrder( 98 ASSERT.that(testCharacteringMotto).hasContentsInOrder( 106 ASSERT.that(letters).hasContentsInOrder("a", "b", "c"); 113 ASSERT.that(letter [all...] |
/external/v8/src/ |
H A D | interface.cc | 3 // modification, are permitted provided that the following conditions are 92 // This didn't have name but was frozen already, that's an error. 113 void Interface::Unify(Interface* that, bool* ok) { argument 114 if (this->forward_) return this->Chase()->Unify(that, ok); 115 if (that->forward_) return this->Unify(that->Chase(), ok); 117 ASSERT(that->forward_ == NULL); 120 if (this == that) return; 121 if (this->IsValue()) return that->MakeValue(ok); 122 if (that 154 DoUnify(Interface* that, bool* ok) argument [all...] |
/external/chromium/third_party/libjingle/source/talk/base/ |
H A D | win32window.cc | 6 * modification, are permitted provided that the following conditions are met: 105 Win32Window* that = reinterpret_cast<Win32Window*>( local 107 if (!that && (WM_CREATE == uMsg)) { 109 that = static_cast<Win32Window*>(cs->lpCreateParams); 110 that->wnd_ = hwnd; 111 ::SetWindowLongPtr(hwnd, GWL_USERDATA, reinterpret_cast<LONG_PTR>(that)); 113 if (that) { 115 bool handled = that->OnMessage(uMsg, wParam, lParam, result); 124 that->wnd_ = NULL; 125 that [all...] |