Searched defs:transaction (Results 1 - 25 of 80) sorted by relevance

1234

/external/chromium_org/content/test/data/indexeddb/
H A Dtransaction_not_blocked.js20 debug('Creating new transaction.');
21 var transaction = db.transaction('store', 'readwrite');
22 transaction.onabort = unexpectedAbortCallback;
23 var objectStore = transaction.objectStore('store');
31 transaction.oncomplete = function() {
32 debug("transaction completed");
H A Dcallback_accounting.js20 var transaction = db1.transaction('store');
21 transaction.onabort = unexpectedAbortCallback;
23 debug("transaction created and looping");
28 transaction.objectStore('store').get(0).onsuccess = loop;
43 debug("ending transaction");
46 transaction.oncomplete = function() {
47 debug("transaction oncomplete");
H A Dversion_change_blocked.js51 openreq.transaction.oncomplete = function(e2) {
/external/nist-sip/java/gov/nist/javax/sip/
H A DEventWrapper.java37 protected SIPTransaction transaction; field in class:EventWrapper
39 EventWrapper(EventObject sipEvent, SIPTransaction transaction) { argument
41 this.transaction = transaction;
/external/chromium_org/third_party/WebKit/Source/bindings/modules/v8/custom/
H A DV8CustomSQLStatementErrorCallback.cpp42 bool V8SQLStatementErrorCallback::handleEvent(SQLTransaction* transaction, SQLError* error) argument
53 v8::Handle<v8::Value> transactionHandle = toV8(transaction, m_scriptState->context()->Global(), isolate);
H A DV8SQLTransactionCustom.cpp92 SQLTransaction* transaction = V8SQLTransaction::toImpl(info.Holder()); local
117 transaction->executeSQL(statement, sqlValues, callback, errorCallback, exceptionState);
/external/chromium_org/third_party/WebKit/Source/modules/indexeddb/
H A DIDBCursorWithValue.cpp35 IDBCursorWithValue* IDBCursorWithValue::create(PassOwnPtr<WebIDBCursor> backend, WebIDBCursorDirection direction, IDBRequest* request, IDBAny* source, IDBTransaction* transaction) argument
37 return new IDBCursorWithValue(backend, direction, request, source, transaction);
40 IDBCursorWithValue::IDBCursorWithValue(PassOwnPtr<WebIDBCursor> backend, WebIDBCursorDirection direction, IDBRequest* request, IDBAny* source, IDBTransaction* transaction) argument
41 : IDBCursor(backend, direction, request, source, transaction)
H A DIDBIndex.h49 static IDBIndex* create(const IDBIndexMetadata& metadata, IDBObjectStore* objectStore, IDBTransaction* transaction) argument
51 return new IDBIndex(metadata, objectStore, transaction);
H A DIDBIndex.cpp47 IDBIndex::IDBIndex(const IDBIndexMetadata& metadata, IDBObjectStore* objectStore, IDBTransaction* transaction) argument
50 , m_transaction(transaction)
H A DIDBObjectStore.h55 static IDBObjectStore* create(const IDBObjectStoreMetadata& metadata, IDBTransaction* transaction) argument
57 return new IDBObjectStore(metadata, transaction);
67 IDBTransaction* transaction() const { return m_transaction.get(); } function in class:blink::IDBObjectStore
H A DIDBRequestTest.cpp77 IDBTransaction* transaction = 0; local
78 IDBRequest* request = IDBRequest::create(scriptState(), IDBAny::createUndefined(), transaction);
96 IDBTransaction* transaction = 0; local
97 IDBRequest* request = IDBRequest::create(scriptState(), IDBAny::createUndefined(), transaction);
H A DIDBTransactionTest.cpp104 Persistent<IDBTransaction> transaction = IDBTransaction::create(scriptState(), transactionId, transactionScope, WebIDBTransactionModeReadOnly, db.get()); local
106 set.add(transaction);
111 Persistent<IDBRequest> request = IDBRequest::create(scriptState(), IDBAny::createUndefined(), transaction.get());
120 transaction->onAbort(DOMError::create(AbortError, "Aborted"));
121 transaction.clear();
134 Persistent<IDBTransaction> transaction = IDBTransaction::create(scriptState(), transactionId, transactionScope, WebIDBTransactionModeReadOnly, db.get()); local
136 set.add(transaction);
146 transaction.clear();
151 // Stop the context, so events don't get queued (which would keep the transaction alive).
154 // Fire an abort to make sure this doesn't free the transaction durin
[all...]
/external/chromium_org/chrome/browser/devtools/
H A Ddevtools_network_controller.cc27 DevToolsNetworkTransaction* transaction) {
29 DCHECK(transaction->request());
34 if (transaction->request()->load_flags & net::LOAD_DISABLE_INTERCEPT)
37 transaction->ProcessRequest();
39 const std::string& client_id = transaction->client_id();
26 GetInterceptor( DevToolsNetworkTransaction* transaction) argument
/external/chromium_org/third_party/WebKit/Source/modules/webdatabase/
H A DChangeVersionWrapper.cpp44 bool ChangeVersionWrapper::performPreflight(SQLTransactionBackend* transaction) argument
46 ASSERT(transaction && transaction->database());
48 Database* database = transaction->database();
68 bool ChangeVersionWrapper::performPostflight(SQLTransactionBackend* transaction) argument
70 ASSERT(transaction && transaction->database());
72 Database* database = transaction->database();
88 void ChangeVersionWrapper::handleCommitFailedAfterPostflight(SQLTransactionBackend* transaction) argument
90 transaction
[all...]
H A DSQLTransactionCoordinator.cpp40 static String getDatabaseIdentifier(SQLTransactionBackend* transaction) argument
42 Database* database = transaction->database();
78 void SQLTransactionCoordinator::acquireLock(SQLTransactionBackend* transaction) argument
82 String dbIdentifier = getDatabaseIdentifier(transaction);
88 info.pendingTransactions.append(transaction);
92 info.pendingTransactions.append(transaction);
98 void SQLTransactionCoordinator::releaseLock(SQLTransactionBackend* transaction) argument
103 String dbIdentifier = getDatabaseIdentifier(transaction);
109 if (transaction->isReadOnly()) {
110 ASSERT(info.activeReadTransactions.contains(transaction));
147 RefPtrWillBeRawPtr<SQLTransactionBackend> transaction = info.pendingTransactions.takeFirst(); local
[all...]
H A DSQLStatement.cpp84 bool SQLStatement::performCallback(SQLTransaction* transaction) argument
86 ASSERT(transaction);
96 // because then we need to jump to the transaction error callback.
100 callbackError = errorCallback->handleEvent(transaction, sqlError.get());
104 callbackError = !callback->handleEvent(transaction, resultSet.get());
H A DDatabaseTask.cpp132 // Starts a transaction that will report its results via a callback.
134 Database::DatabaseTransactionTask::DatabaseTransactionTask(PassRefPtrWillBeRawPtr<SQLTransactionBackend> transaction) argument
135 : DatabaseTask(transaction->database(), 0)
136 , m_transaction(transaction)
151 // If the task is being destructed without the transaction ever being run,
153 // transaction a chance to clean up since it may not have been able to
157 // transaction is interrupted?" at the top of SQLTransactionBackend.cpp.
H A DDatabaseTask.h119 static PassOwnPtr<DatabaseTransactionTask> create(PassRefPtrWillBeRawPtr<SQLTransactionBackend> transaction) argument
121 return adoptPtr(new DatabaseTransactionTask(transaction));
124 SQLTransactionBackend* transaction() const { return m_transaction.get(); } function in class:blink::FINAL
/external/chromium_org/content/browser/indexed_db/leveldb/
H A Dleveldb_unittest.cc105 scoped_refptr<LevelDBTransaction> transaction = local
114 status = transaction->Get(key, &got_value, &found);
136 status = transaction->Get(added_key, &got_value, &found);
143 transaction->Put(another_key, &put_value);
145 status = transaction->Get(another_key, &got_value, &found);
173 scoped_refptr<LevelDBTransaction> transaction = local
179 scoped_ptr<LevelDBIterator> it = transaction->CreateIterator();
217 scoped_refptr<LevelDBTransaction> transaction = local
221 transaction->Put(key1, &put_value);
224 transaction
[all...]
/external/chromium_org/sync/internal_api/
H A Dread_node.cc17 ReadNode::ReadNode(const BaseTransaction* transaction) argument
18 : entry_(NULL), transaction_(transaction) {
19 DCHECK(transaction);
/external/chromium_org/third_party/webrtc/base/
H A Dhttpserver_unittest.cc26 HttpServerTransaction* transaction; member in struct:rtc::__anon15666::HttpServerMonitor
30 : transaction(NULL), server_closed(false), connection_closed(false) {
40 ASSERT_FALSE(transaction);
41 transaction = t;
42 transaction->response.set_success();
43 transaction->response.setHeader(HH_CONNECTION, "Close");
46 ASSERT_EQ(transaction, t);
47 transaction = NULL;
65 EXPECT_FALSE(monitor.transaction);
81 ASSERT_TRUE(NULL != monitor.transaction);
[all...]
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowDialogFragment.java30 public int show(FragmentTransaction transaction, String tag) { argument
31 show(((TestFragmentTransaction)transaction).getManager(), tag);
/external/chromium_org/chrome/browser/net/
H A Ddns_probe_runner.cc100 // the runner can't run a transaction. Return UNKNOWN asynchronously.
125 DnsTransaction* transaction,
130 DCHECK_EQ(transaction_.get(), transaction);
124 OnTransactionComplete( DnsTransaction* transaction, int net_error, const DnsResponse* response) argument
/external/chromium_org/content/browser/indexed_db/
H A Dindexed_db_transaction_coordinator.cc22 scoped_refptr<IndexedDBTransaction> transaction) {
23 DCHECK(!queued_transactions_.count(transaction));
24 DCHECK(!started_transactions_.count(transaction));
25 DCHECK_EQ(IndexedDBTransaction::CREATED, transaction->state());
27 queued_transactions_.insert(transaction);
32 IndexedDBTransaction* transaction) {
33 if (queued_transactions_.count(transaction)) {
34 DCHECK(!started_transactions_.count(transaction));
35 queued_transactions_.erase(transaction);
37 DCHECK(started_transactions_.count(transaction));
21 DidCreateTransaction( scoped_refptr<IndexedDBTransaction> transaction) argument
31 DidFinishTransaction( IndexedDBTransaction* transaction) argument
53 IsActive( IndexedDBTransaction* transaction) argument
100 IndexedDBTransaction* transaction = it->get(); local
111 scoped_refptr<IndexedDBTransaction> transaction = *it; local
146 CanStartTransaction( IndexedDBTransaction* const transaction, const std::set<int64>& locked_scope) const argument
[all...]
H A Dindexed_db_transaction_unittest.cc22 void AbortTask(IndexedDBTransaction* transaction) { argument
54 void DummyOperation(IndexedDBTransaction* transaction) {} argument
56 IndexedDBTransaction* transaction) {
57 transaction->ScheduleAbortTask(
85 scoped_refptr<IndexedDBTransaction> transaction = new IndexedDBTransaction( local
92 db_->TransactionCreated(transaction.get());
95 EXPECT_EQ(IndexedDBTransaction::STARTED, transaction->state());
96 EXPECT_FALSE(transaction->IsTimeoutTimerRunning());
97 EXPECT_EQ(0, transaction->diagnostics().tasks_scheduled);
98 EXPECT_EQ(0, transaction
55 AbortableOperation(AbortObserver* observer, IndexedDBTransaction* transaction) argument
129 scoped_refptr<IndexedDBTransaction> transaction = new IndexedDBTransaction( local
161 scoped_refptr<IndexedDBTransaction> transaction = new IndexedDBTransaction( local
223 scoped_refptr<IndexedDBTransaction> transaction = new IndexedDBTransaction( local
284 scoped_refptr<IndexedDBTransaction> transaction = new IndexedDBTransaction( local
314 scoped_refptr<IndexedDBTransaction> transaction = new IndexedDBTransaction( local
[all...]

Completed in 461 milliseconds

1234