Home
last modified time | relevance | path

Searched refs:mutable_this (Results 1 – 4 of 4) sorted by relevance

/external/chromium_org/third_party/skia/src/core/
DSkWriter32.cpp83 SkWriter32& mutable_this = *const_cast<SkWriter32*>(this); in snapshotAsData() local
86 mutable_this.fSnapshot.reset(NULL); in snapshotAsData()
95 buffer = mutable_this.fInternal.detach(); in snapshotAsData()
98 mutable_this.fData = buffer; in snapshotAsData()
99 mutable_this.fCapacity = fUsed; in snapshotAsData()
100 mutable_this.fExternal = buffer; in snapshotAsData()
102 mutable_this.fSnapshot.reset(SkData::NewFromMalloc(buffer, fUsed)); in snapshotAsData()
/external/skia/src/core/
DSkWriter32.cpp83 SkWriter32& mutable_this = *const_cast<SkWriter32*>(this); in snapshotAsData() local
86 mutable_this.fSnapshot.reset(NULL); in snapshotAsData()
95 buffer = mutable_this.fInternal.detach(); in snapshotAsData()
98 mutable_this.fData = buffer; in snapshotAsData()
99 mutable_this.fCapacity = fUsed; in snapshotAsData()
100 mutable_this.fExternal = buffer; in snapshotAsData()
102 mutable_this.fSnapshot.reset(SkData::NewFromMalloc(buffer, fUsed)); in snapshotAsData()
/external/chromium_org/crypto/
Dmock_apple_keychain_mac.cc227 MockAppleKeychain* mutable_this = const_cast<MockAppleKeychain*>(this); in ItemModifyAttributesAndData() local
232 mutable_this->SetTestDataCreator(key, *(static_cast<OSType*>(data))); in ItemModifyAttributesAndData()
239 mutable_this->SetTestDataPasswordBytes(key, data, length); in ItemModifyAttributesAndData()
414 MockAppleKeychain* mutable_this = const_cast<MockAppleKeychain*>(this); in AddInternetPassword() local
415 mutable_this->SetTestDataBytes(key, kSecServerItemAttr, serverName, in AddInternetPassword()
417 mutable_this->SetTestDataBytes(key, kSecSecurityDomainItemAttr, in AddInternetPassword()
419 mutable_this->SetTestDataBytes(key, kSecAccountItemAttr, accountName, in AddInternetPassword()
421 mutable_this->SetTestDataBytes(key, kSecPathItemAttr, path, pathLength); in AddInternetPassword()
422 mutable_this->SetTestDataPort(key, port); in AddInternetPassword()
423 mutable_this->SetTestDataProtocol(key, protocol); in AddInternetPassword()
[all …]
/external/chromium_org/chrome/browser/ui/autofill/
Dautofill_dialog_controller_browsertest.cc100 MockAutofillMetrics* mutable_this = const_cast<MockAutofillMetrics*>(this); in LogDialogUiDuration() local
101 mutable_this->dialog_dismissal_action_ = dismissal_action; in LogDialogUiDuration()