Searched defs:batch (Results 26 - 50 of 69) sorted by relevance

123

/external/chromium_org/extensions/browser/value_store/
H A Dleveldb_value_store.cc179 leveldb::WriteBatch batch;
182 AddToBatch(options, key, value, &batch, changes.get());
186 scoped_ptr<Error> write_error = WriteToDb(&batch);
199 leveldb::WriteBatch batch;
205 AddToBatch(options, it.key(), it.value(), &batch, changes.get());
210 scoped_ptr<Error> write_error = WriteToDb(&batch);
228 leveldb::WriteBatch batch;
241 batch.Delete(*it);
245 leveldb::Status status = db_->Write(leveldb::WriteOptions(), &batch);
305 leveldb::WriteBatch batch; local
318 WriteToDbForTest(leveldb::WriteBatch* batch) argument
370 AddToBatch( ValueStore::WriteOptions options, const std::string& key, const base::Value& value, leveldb::WriteBatch* batch, ValueStoreChangeList* changes) argument
402 WriteToDb( leveldb::WriteBatch* batch) argument
[all...]
/external/chromium_org/storage/browser/fileapi/
H A Dsandbox_origin_database.cc253 leveldb::WriteBatch batch; local
254 batch.Put(LastPathKey(), path_string);
255 batch.Put(origin_key, path_string);
256 status = db_->Write(leveldb::WriteOptions(), &batch);
H A Dsandbox_directory_database.cc555 leveldb::WriteBatch batch; local
556 if (!AddFileInfoHelper(info, temp_id, &batch))
559 batch.Put(LastFileIdKey(), base::Int64ToString(temp_id));
560 status = db_->Write(leveldb::WriteOptions(), &batch);
572 leveldb::WriteBatch batch;
573 if (!RemoveFileInfoHelper(file_id, &batch))
575 leveldb::Status status = db_->Write(leveldb::WriteOptions(), &batch);
605 leveldb::WriteBatch batch; local
606 if (!RemoveFileInfoHelper(file_id, &batch) ||
607 !AddFileInfoHelper(new_info, file_id, &batch))
846 leveldb::WriteBatch batch; local
885 AddFileInfoHelper( const FileInfo& info, FileId file_id, leveldb::WriteBatch* batch) argument
911 RemoveFileInfoHelper( FileId file_id, leveldb::WriteBatch* batch) argument
[all...]
/external/chromium_org/third_party/leveldatabase/src/db/
H A Dcorruption_test.cc72 WriteBatch batch; local
76 batch.Clear();
77 batch.Put(key, Value(i, &value_space));
84 ASSERT_OK(db_->Write(options, &batch));
226 WriteBatch batch; local
227 batch.Put("a", Value(100, &value_storage));
228 s = db_->Write(WriteOptions(), &batch);
H A Dleveldb_main.cc93 WriteBatch batch; local
94 WriteBatchInternal::SetContents(&batch, record);
96 static_cast<unsigned long long>(WriteBatchInternal::Sequence(&batch)));
98 Status s = batch.Iterate(&batch_item_printer);
H A Drepair.cc199 WriteBatch batch; local
209 WriteBatchInternal::SetContents(&batch, record);
210 status = WriteBatchInternal::InsertInto(&batch, mem);
212 counter += WriteBatchInternal::Count(&batch);
H A Ddb_bench.cc721 WriteBatch batch; local
725 batch.Clear();
730 batch.Put(key, gen.Generate(value_size_));
734 s = db_->Write(write_options_, &batch);
833 WriteBatch batch; local
836 batch.Clear();
841 batch.Delete(key);
844 s = db_->Write(write_options_, &batch);
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i915/
H A Dintel_batchbuffer.c43 struct cached_batch_item *item = intel->batch.cached_items;
51 intel->batch.cached_items = NULL;
62 * the buffer, and the kernel doesn't let us write to the batch.
64 intel->batch.workaround_bo = drm_intel_bo_alloc(intel->bufmgr,
73 if (intel->batch.last_bo != NULL) {
74 drm_intel_bo_unreference(intel->batch.last_bo);
75 intel->batch.last_bo = NULL;
77 intel->batch.last_bo = intel->batch.bo;
81 intel->batch
124 struct intel_batchbuffer *batch = &intel->batch; local
165 struct intel_batchbuffer *batch = &intel->batch; local
[all...]
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/
H A Dintel_batchbuffer.c43 struct cached_batch_item *item = intel->batch.cached_items;
51 intel->batch.cached_items = NULL;
62 * the buffer, and the kernel doesn't let us write to the batch.
64 intel->batch.workaround_bo = drm_intel_bo_alloc(intel->bufmgr,
73 if (intel->batch.last_bo != NULL) {
74 drm_intel_bo_unreference(intel->batch.last_bo);
75 intel->batch.last_bo = NULL;
77 intel->batch.last_bo = intel->batch.bo;
81 intel->batch
124 struct intel_batchbuffer *batch = &intel->batch; local
165 struct intel_batchbuffer *batch = &intel->batch; local
[all...]
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/intel/
H A Dintel_batchbuffer.c43 struct cached_batch_item *item = intel->batch.cached_items;
51 intel->batch.cached_items = NULL;
62 * the buffer, and the kernel doesn't let us write to the batch.
64 intel->batch.workaround_bo = drm_intel_bo_alloc(intel->bufmgr,
73 if (intel->batch.last_bo != NULL) {
74 drm_intel_bo_unreference(intel->batch.last_bo);
75 intel->batch.last_bo = NULL;
77 intel->batch.last_bo = intel->batch.bo;
81 intel->batch
124 struct intel_batchbuffer *batch = &intel->batch; local
165 struct intel_batchbuffer *batch = &intel->batch; local
[all...]
/external/chromium_org/ui/events/gesture_detection/
H A Dmotion_event_buffer.cc59 size_t CountSamplesNoLaterThan(const MotionEventVector& batch, argument
62 while (count < batch.size() && batch[count]->GetEventTime() <= time)
67 MotionEventVector ConsumeSamplesNoLaterThan(MotionEventVector* batch, argument
69 DCHECK(batch);
70 size_t count = CountSamplesNoLaterThan(*batch, time);
71 DCHECK_GE(batch->size(), count);
75 if (count == batch->size())
76 return batch->Pass();
81 unconsumed_batch.begin(), batch
[all...]
/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_quarantine.h33 void *batch[kSize]; member in struct:__sanitizer::QuarantineBatch
101 PREFETCH(b->batch[i]);
103 PREFETCH(b->batch[i + kPrefetch]);
104 cb.Recycle((Node*)b->batch[i]);
130 size += sizeof(QuarantineBatch); // Count the batch in Quarantine size.
133 b->batch[b->count++] = ptr;
/external/iproute2/tc/
H A Dtc.c215 " tc [-force] -batch filename\n"
249 static int batch(const char *name) function
325 } else if (matches(argv[1], "-batch") == 0) {
339 return batch(batchfile);
/external/javasqlite/src/main/java/SQLite/JDBC2z/
H A DJDBCStatement.java12 private ArrayList<String> batch; field in class:JDBCStatement
18 this.batch = null;
177 if (batch == null) {
178 batch = new ArrayList<String>(1);
180 batch.add(sql);
184 if (batch == null) {
187 int[] ret = new int[batch.size()];
194 execute((String) batch.get(i));
201 throw new BatchUpdateException("batch failed", ret);
207 if (batch !
[all...]
/external/mesa3d/src/mesa/drivers/dri/i915/
H A Dintel_batchbuffer.c43 struct cached_batch_item *item = intel->batch.cached_items;
51 intel->batch.cached_items = NULL;
62 * the buffer, and the kernel doesn't let us write to the batch.
64 intel->batch.workaround_bo = drm_intel_bo_alloc(intel->bufmgr,
73 if (intel->batch.last_bo != NULL) {
74 drm_intel_bo_unreference(intel->batch.last_bo);
75 intel->batch.last_bo = NULL;
77 intel->batch.last_bo = intel->batch.bo;
81 intel->batch
124 struct intel_batchbuffer *batch = &intel->batch; local
165 struct intel_batchbuffer *batch = &intel->batch; local
[all...]
/external/mesa3d/src/mesa/drivers/dri/i965/
H A Dintel_batchbuffer.c43 struct cached_batch_item *item = intel->batch.cached_items;
51 intel->batch.cached_items = NULL;
62 * the buffer, and the kernel doesn't let us write to the batch.
64 intel->batch.workaround_bo = drm_intel_bo_alloc(intel->bufmgr,
73 if (intel->batch.last_bo != NULL) {
74 drm_intel_bo_unreference(intel->batch.last_bo);
75 intel->batch.last_bo = NULL;
77 intel->batch.last_bo = intel->batch.bo;
81 intel->batch
124 struct intel_batchbuffer *batch = &intel->batch; local
165 struct intel_batchbuffer *batch = &intel->batch; local
[all...]
/external/mesa3d/src/mesa/drivers/dri/intel/
H A Dintel_batchbuffer.c43 struct cached_batch_item *item = intel->batch.cached_items;
51 intel->batch.cached_items = NULL;
62 * the buffer, and the kernel doesn't let us write to the batch.
64 intel->batch.workaround_bo = drm_intel_bo_alloc(intel->bufmgr,
73 if (intel->batch.last_bo != NULL) {
74 drm_intel_bo_unreference(intel->batch.last_bo);
75 intel->batch.last_bo = NULL;
77 intel->batch.last_bo = intel->batch.bo;
81 intel->batch
124 struct intel_batchbuffer *batch = &intel->batch; local
165 struct intel_batchbuffer *batch = &intel->batch; local
[all...]
/external/chromium_org/chrome/browser/prefs/
H A Dleveldb_pref_store.cc68 leveldb::WriteBatch batch; local
73 batch.Put(iter->first, iter->second);
79 batch.Delete(*iter);
82 leveldb::Status status = db_->Write(leveldb::WriteOptions(), &batch);
360 // Need to erase in case there's a set operation in the same batch that would
371 // Need to erase in case there's a delete operation in the same batch that
/external/chromium_org/chrome/browser/sync_file_system/local/
H A Dlocal_file_change_tracker.cc49 SyncStatusCode WriteBatch(scoped_ptr<leveldb::WriteBatch> batch);
276 scoped_ptr<leveldb::WriteBatch> batch(new leveldb::WriteBatch);
285 ResetForURL(url, change_seq, batch.get());
296 ResetForURL(url, change_seq, batch.get());
299 // Fail to apply batch to database wouldn't have critical effect, they'll be
301 tracker_db_->WriteBatch(batch.Pass());
449 leveldb::WriteBatch* batch) {
460 batch->Delete(serialized_url);
602 scoped_ptr<leveldb::WriteBatch> batch) {
606 leveldb::Status status = db_->Write(leveldb::WriteOptions(), batch
447 ResetForURL(const storage::FileSystemURL& url, int change_seq, leveldb::WriteBatch* batch) argument
601 WriteBatch( scoped_ptr<leveldb::WriteBatch> batch) argument
[all...]
/external/chromium_org/third_party/webrtc/modules/remote_bitrate_estimator/test/
H A Dbwe_test.cc193 void QueuePackets(Packets* batch, int64_t end_of_batch_time_us) { argument
194 queue_.merge(*batch);
206 batch->merge(to_transfer);
/external/chromium_org/content/browser/dom_storage/
H A Dsession_storage_database.cc141 leveldb::WriteBatch batch; local
145 if (!CreateNamespace(namespace_id, kOkIfExists, &batch))
159 &map_id, &batch))
163 if (!ClearMap(map_id, &batch))
169 if (!CreateMapForArea(namespace_id, origin, &map_id, &batch))
174 WriteValuesToMap(map_id, changes, &batch);
176 leveldb::Status s = db_->Write(leveldb::WriteOptions(), &batch);
203 leveldb::WriteBatch batch; local
205 if (!CreateNamespace(new_namespace_id, kOkIfExists, &batch))
216 if (!IncreaseMapRefCount(map_id, &batch))
231 leveldb::WriteBatch batch; local
245 leveldb::WriteBatch batch; local
417 CreateNamespace(const std::string& namespace_id, bool ok_if_exists, leveldb::WriteBatch* batch) argument
470 AddAreaToNamespace(const std::string& namespace_id, const std::string& origin, const std::string& map_id, leveldb::WriteBatch* batch) argument
478 DeleteAreaHelper( const std::string& namespace_id, const std::string& origin, leveldb::WriteBatch* batch) argument
529 CreateMapForArea(const std::string& namespace_id, const GURL& origin, std::string* map_id, leveldb::WriteBatch* batch) argument
591 WriteValuesToMap(const std::string& map_id, const DOMStorageValuesMap& values, leveldb::WriteBatch* batch) argument
622 IncreaseMapRefCount(const std::string& map_id, leveldb::WriteBatch* batch) argument
632 DecreaseMapRefCount(const std::string& map_id, int decrease, leveldb::WriteBatch* batch) argument
653 ClearMap(const std::string& map_id, leveldb::WriteBatch* batch) argument
664 DeepCopyArea( const std::string& namespace_id, const GURL& origin, bool copy_data, std::string* map_id, leveldb::WriteBatch* batch) argument
[all...]
/external/chromium_org/chrome/browser/chromeos/drive/
H A Dresource_metadata_storage.cc300 leveldb::WriteBatch batch;
303 batch.Delete(it->key());
308 return resource_map->Write(leveldb::WriteOptions(), &batch).ok();
316 leveldb::WriteBatch batch; local
319 batch.Delete(it->key());
335 batch.Put(GetIdEntryKey(id_new), id_new);
349 batch.Put(id_new, serialized_entry);
359 batch.Put(GetHeaderDBKey(), serialized_header);
361 return resource_map->Write(leveldb::WriteOptions(), &batch).ok();
377 leveldb::WriteBatch batch;
[all...]
/external/chromium_org/chrome/browser/sync/sessions/
H A Dsessions_sync_manager_unittest.cc186 const std::vector<sync_pb::SessionSpecifics>& batch,
190 for (iter = batch.begin();
191 iter != batch.end(); ++iter) {
185 AddTabsToChangeList( const std::vector<sync_pb::SessionSpecifics>& batch, SyncChange::SyncChangeType type, syncer::SyncChangeList* change_list) argument
/external/chromium_org/content/browser/service_worker/
H A Dservice_worker_database.cc125 leveldb::WriteBatch* batch) {
126 DCHECK(batch);
142 batch->Put(CreateRegistrationKey(data.registration_id(), origin), value);
148 leveldb::WriteBatch* batch) {
149 DCHECK(batch);
159 batch->Put(CreateResourceRecordKey(version_id, input.resource_id), value);
163 leveldb::WriteBatch* batch) {
165 batch->Put(CreateUniqueOriginKey(origin), "");
169 leveldb::WriteBatch* batch) {
171 batch
123 PutRegistrationDataToBatch( const ServiceWorkerDatabase::RegistrationData& input, leveldb::WriteBatch* batch) argument
145 PutResourceRecordToBatch( const ServiceWorkerDatabase::ResourceRecord& input, int64 version_id, leveldb::WriteBatch* batch) argument
162 PutUniqueOriginToBatch(const GURL& origin, leveldb::WriteBatch* batch) argument
168 PutPurgeableResourceIdToBatch(int64 resource_id, leveldb::WriteBatch* batch) argument
567 leveldb::WriteBatch batch; local
592 leveldb::WriteBatch batch; local
679 leveldb::WriteBatch batch; local
871 DeleteResourceRecords( int64 version_id, std::vector<int64>* newly_purgeable_resources, leveldb::WriteBatch* batch) argument
956 leveldb::WriteBatch batch; local
963 WriteResourceIdsInBatch( const char* id_key_prefix, const std::set<int64>& ids, leveldb::WriteBatch* batch) argument
989 leveldb::WriteBatch batch; local
996 DeleteResourceIdsInBatch( const char* id_key_prefix, const std::set<int64>& ids, leveldb::WriteBatch* batch) argument
1038 WriteBatch( leveldb::WriteBatch* batch) argument
1055 BumpNextRegistrationIdIfNeeded( int64 used_id, leveldb::WriteBatch* batch) argument
1064 BumpNextResourceIdIfNeeded( int64 used_id, leveldb::WriteBatch* batch) argument
1073 BumpNextVersionIdIfNeeded( int64 used_id, leveldb::WriteBatch* batch) argument
[all...]
/external/chromium_org/third_party/leveldatabase/src/table/
H A Dtable_test.cc367 WriteBatch batch; local
368 batch.Put(it->first, it->second);
369 ASSERT_TRUE(db_->Write(WriteOptions(), &batch).ok());
766 WriteBatch batch; local
767 WriteBatchInternal::SetSequence(&batch, 100);
768 batch.Put(std::string("k1"), std::string("v1"));
769 batch.Put(std::string("k2"), std::string("v2"));
770 batch.Put(std::string("k3"), std::string("v3"));
771 batch.Put(std::string("largekey"), std::string("vlarge"));
772 ASSERT_TRUE(WriteBatchInternal::InsertInto(&batch, memtabl
[all...]

Completed in 561 milliseconds

123