Home
last modified time | relevance | path

Searched refs:WriteResult (Results 1 – 25 of 63) sorted by relevance

123

/external/chromium_org/chrome/browser/value_store/
Dvalue_store.h127 typedef scoped_ptr<WriteResultType> WriteResult; typedef
151 static WriteResult MakeWriteResult(scoped_ptr<T> arg) { in MakeWriteResult()
152 return WriteResult(new WriteResultType(arg.Pass())); in MakeWriteResult()
178 virtual WriteResult Set(WriteOptions options,
183 virtual WriteResult Set(
187 virtual WriteResult Remove(const std::string& key) = 0;
190 virtual WriteResult Remove(const std::vector<std::string>& keys) = 0;
193 virtual WriteResult Clear() = 0;
Dtesting_value_store.h37 virtual WriteResult Set(
41 virtual WriteResult Set(
43 virtual WriteResult Remove(const std::string& key) OVERRIDE;
44 virtual WriteResult Remove(const std::vector<std::string>& keys) OVERRIDE;
45 virtual WriteResult Clear() OVERRIDE;
Dleveldb_value_store.h39 virtual WriteResult Set(
43 virtual WriteResult Set(
45 virtual WriteResult Remove(const std::string& key) OVERRIDE;
46 virtual WriteResult Remove(const std::vector<std::string>& keys) OVERRIDE;
47 virtual WriteResult Clear() OVERRIDE;
Dtesting_value_store.cc67 ValueStore::WriteResult TestingValueStore::Set( in Set()
74 ValueStore::WriteResult TestingValueStore::Set( in Set()
96 ValueStore::WriteResult TestingValueStore::Remove(const std::string& key) { in Remove()
100 ValueStore::WriteResult TestingValueStore::Remove( in Remove()
117 ValueStore::WriteResult TestingValueStore::Clear() { in Clear()
Dleveldb_value_store.cc170 ValueStore::WriteResult LeveldbValueStore::Set( in Set()
190 ValueStore::WriteResult LeveldbValueStore::Set( in Set()
213 ValueStore::WriteResult LeveldbValueStore::Remove(const std::string& key) { in Remove()
218 ValueStore::WriteResult LeveldbValueStore::Remove( in Remove()
249 ValueStore::WriteResult LeveldbValueStore::Clear() { in Clear()
/external/chromium_org/chrome/browser/extensions/api/storage/
Dweak_unlimited_settings_storage.h30 virtual WriteResult Set(
34 virtual WriteResult Set(
36 virtual WriteResult Remove(const std::string& key) OVERRIDE;
37 virtual WriteResult Remove(const std::vector<std::string>& keys) OVERRIDE;
38 virtual WriteResult Clear() OVERRIDE;
Dsyncable_settings_storage.h41 virtual WriteResult Set(
45 virtual WriteResult Set(
47 virtual WriteResult Remove(const std::string& key) OVERRIDE;
48 virtual WriteResult Remove(const std::vector<std::string>& keys) OVERRIDE;
49 virtual WriteResult Clear() OVERRIDE;
68 void SyncResultIfEnabled(const ValueStore::WriteResult& result);
Dsettings_storage_quota_enforcer.h40 virtual WriteResult Set(
44 virtual WriteResult Set(
46 virtual WriteResult Remove(const std::string& key) OVERRIDE;
47 virtual WriteResult Remove(const std::vector<std::string>& keys) OVERRIDE;
48 virtual WriteResult Clear() OVERRIDE;
Dsettings_storage_quota_enforcer.cc141 ValueStore::WriteResult SettingsStorageQuotaEnforcer::Set( in Set()
160 WriteResult result = delegate_->Set(options, key, value); in Set()
170 ValueStore::WriteResult SettingsStorageQuotaEnforcer::Set( in Set()
192 WriteResult result = delegate_->Set(options, values); in Set()
202 ValueStore::WriteResult SettingsStorageQuotaEnforcer::Remove( in Remove()
204 WriteResult result = delegate_->Remove(key); in Remove()
212 ValueStore::WriteResult SettingsStorageQuotaEnforcer::Remove( in Remove()
214 WriteResult result = delegate_->Remove(keys); in Remove()
226 ValueStore::WriteResult SettingsStorageQuotaEnforcer::Clear() { in Clear()
227 WriteResult result = delegate_->Clear(); in Clear()
Dpolicy_value_store.h49 virtual WriteResult Set(
53 virtual WriteResult Set(
55 virtual WriteResult Remove(const std::string& key) OVERRIDE;
56 virtual WriteResult Remove(const std::vector<std::string>& keys) OVERRIDE;
57 virtual WriteResult Clear() OVERRIDE;
Dweak_unlimited_settings_storage.cc43 ValueStore::WriteResult WeakUnlimitedSettingsStorage::Set( in Set()
48 ValueStore::WriteResult WeakUnlimitedSettingsStorage::Set( in Set()
53 ValueStore::WriteResult WeakUnlimitedSettingsStorage::Remove( in Remove()
58 ValueStore::WriteResult WeakUnlimitedSettingsStorage::Remove( in Remove()
63 ValueStore::WriteResult WeakUnlimitedSettingsStorage::Clear() { in Clear()
Dsyncable_settings_storage.cc67 ValueStore::WriteResult SyncableSettingsStorage::Set( in Set()
70 WriteResult result = delegate_->Set(options, key, value); in Set()
78 ValueStore::WriteResult SyncableSettingsStorage::Set( in Set()
81 WriteResult result = delegate_->Set(options, values); in Set()
89 ValueStore::WriteResult SyncableSettingsStorage::Remove( in Remove()
92 WriteResult result = delegate_->Remove(key); in Remove()
100 ValueStore::WriteResult SyncableSettingsStorage::Remove( in Remove()
103 WriteResult result = delegate_->Remove(keys); in Remove()
111 ValueStore::WriteResult SyncableSettingsStorage::Clear() { in Clear()
113 WriteResult result = delegate_->Clear(); in Clear()
[all …]
Dpolicy_value_store.cc81 WriteResult result = delegate_->Remove(removed_keys); in SetCurrentPolicy()
141 ValueStore::WriteResult PolicyValueStore::Set( in Set()
146 ValueStore::WriteResult PolicyValueStore::Set( in Set()
151 ValueStore::WriteResult PolicyValueStore::Remove(const std::string& key) { in Remove()
155 ValueStore::WriteResult PolicyValueStore::Remove( in Remove()
160 ValueStore::WriteResult PolicyValueStore::Clear() { in Clear()
Dpolicy_value_store_unittest.cc50 virtual WriteResult Set( in Set()
57 virtual WriteResult Set( in Set()
62 virtual WriteResult Remove(const std::string& key) OVERRIDE { in Remove()
66 virtual WriteResult Remove(const std::vector<std::string>& keys) OVERRIDE { in Remove()
70 virtual WriteResult Clear() OVERRIDE { in Clear()
Dsettings_frontend_unittest.cc107 ValueStore::WriteResult result = storage->Set(DEFAULTS, "foo", bar); in TEST_F()
138 ValueStore::WriteResult result = storage->Set(DEFAULTS, "foo", bar); in TEST_F()
166 ValueStore::WriteResult result = storage->Set(DEFAULTS, "foo", bar); in TEST_F()
174 ValueStore::WriteResult result = storage->Clear(); in TEST_F()
/external/chromium_org/net/quic/
Dquic_default_packet_writer.cc25 WriteResult QuicDefaultPacketWriter::WritePacket( in WritePacket()
46 return WriteResult(status, rv); in WritePacket()
57 WriteResult result(rv < 0 ? WRITE_STATUS_ERROR : WRITE_STATUS_OK, rv); in OnWriteComplete()
Dquic_packet_writer.h14 struct WriteResult;
27 virtual WriteResult WritePacket(
/external/chromium_org/net/tools/quic/test_tools/
Dpacket_dropping_test_writer.cc78 WriteResult PacketDroppingTestWriter::WritePacket( in WritePacket()
90 return WriteResult(WRITE_STATUS_OK, buf_len); in WritePacket()
103 return WriteResult(WRITE_STATUS_BLOCKED, EAGAIN); in WritePacket()
110 return WriteResult(WRITE_STATUS_OK, buf_len); in WritePacket()
133 return WriteResult(WRITE_STATUS_OK, buf_len); in WritePacket()
/external/chromium_org/net/tools/quic/
Dquic_time_wait_list_manager_test.cc209 .WillOnce(Return(WriteResult(WRITE_STATUS_OK, 1))); in TEST_F()
225 .WillOnce(Return(WriteResult(WRITE_STATUS_OK, packet->length()))); in TEST_F()
242 .WillOnce(Return(WriteResult(WRITE_STATUS_OK, packet->length()))); in TEST_F()
278 .WillOnce(Return(WriteResult(WRITE_STATUS_OK, 1))); in TEST_F()
339 .WillOnce(Return(WriteResult(WRITE_STATUS_OK, packet->length()))); in TEST_F()
351 .WillOnce(Return(WriteResult(WRITE_STATUS_BLOCKED, EAGAIN))); in TEST_F()
377 .WillOnce(Return(WriteResult(WRITE_STATUS_OK, packet->length()))); in TEST_F()
384 .WillOnce(Return(WriteResult(WRITE_STATUS_OK, in TEST_F()
402 .WillOnce(Return(WriteResult(WRITE_STATUS_OK, 0))); in TEST_F()
417 .WillOnce(Return(WriteResult(WRITE_STATUS_OK, 0))); in TEST_F()
Dquic_default_packet_writer.h15 struct WriteResult;
26 virtual WriteResult WritePacket(
Dquic_dispatcher.cc66 WriteResult QuicDispatcher::WritePacket(const char* buffer, size_t buf_len, in WritePacket()
72 return WriteResult(WRITE_STATUS_BLOCKED, EAGAIN); in WritePacket()
75 WriteResult result = in WritePacket()
Dquic_socket_utils.cc139 WriteResult QuicSocketUtils::WritePacket(int fd, in WritePacket()
196 return WriteResult(WRITE_STATUS_OK, rc); in WritePacket()
198 return WriteResult((errno == EAGAIN || errno == EWOULDBLOCK) ? in WritePacket()
/external/chromium/chrome/browser/diagnostics/
Ddiagnostics_main.cc225 bool WriteResult(bool success, const std::wstring& name, in WriteResult() function in __anon10bca3650111::TestWriter
276 writer_->WriteResult(false, L"Diagnostics start", L"model is null"); in Run()
281 writer_->WriteResult(false, L"Diagnostics start", L"ICU failure"); in Run()
314 writer_->WriteResult(success, UTF16ToWide(test_info.GetTitle()), in ShowResult()
/external/chromium/third_party/libjingle/source/talk/p2p/base/
Dpseudotcp.h53 enum WriteResult { WR_SUCCESS, WR_TOO_LARGE, WR_FAIL }; enum
54 virtual WriteResult TcpWritePacket(PseudoTcp* tcp,
143 IPseudoTcpNotify::WriteResult packet(uint32 seq, uint8 flags,
/external/chromium_org/third_party/libjingle/source/talk/p2p/base/
Dpseudotcp.h53 enum WriteResult { WR_SUCCESS, WR_TOO_LARGE, WR_FAIL }; enum
54 virtual WriteResult TcpWritePacket(PseudoTcp* tcp,
164 IPseudoTcpNotify::WriteResult packet(uint32 seq, uint8 flags,

123