Searched refs:MakeSlice (Results 1 – 3 of 3) sorted by relevance
/external/chromium_org/content/browser/indexed_db/leveldb/ |
D | leveldb_write_batch.cc | 22 static leveldb::Slice MakeSlice(const base::StringPiece& s) { in MakeSlice() function 28 write_batch_->Put(MakeSlice(key), MakeSlice(value)); in Put() 32 write_batch_->Delete(MakeSlice(key)); in Remove()
|
D | leveldb_database.cc | 49 static leveldb::Slice MakeSlice(const StringPiece& s) { in MakeSlice() function 326 db_->Put(write_options, MakeSlice(key), MakeSlice(*value)); in Put() 336 const leveldb::Status s = db_->Delete(write_options, MakeSlice(key)); in Remove() 352 const leveldb::Status s = db_->Get(read_options, MakeSlice(key), value); in Get() 419 iterator_->Seek(MakeSlice(target)); in Seek() 465 const leveldb::Slice start_slice = MakeSlice(start); in Compact() 466 const leveldb::Slice stop_slice = MakeSlice(stop); in Compact()
|
/external/chromium_org/google_apis/gcm/engine/ |
D | gcm_store_impl.cc | 100 leveldb::Slice MakeSlice(const base::StringPiece& s) { in MakeSlice() function 292 MakeSlice(kDeviceAIDKey), in SetDeviceCredentials() 293 MakeSlice(android_id_str)); in SetDeviceCredentials() 296 write_options, MakeSlice(kDeviceTokenKey), MakeSlice(encrypted_token)); in SetDeviceCredentials() 322 MakeSlice(key), in AddRegistration() 323 MakeSlice(value)); in AddRegistration() 343 db_->Delete(write_options, MakeSlice(MakeRegistrationKey(app_id))); in RemoveRegistration() 366 MakeSlice(key), in AddIncomingMessage() 367 MakeSlice(persistent_id)); in AddIncomingMessage() 393 s = db_->Delete(write_options, MakeSlice(key)); in RemoveIncomingMessages() [all …]
|