Home
last modified time | relevance | path

Searched refs:callbacks (Results 1 – 25 of 197) sorted by relevance

12345678

/external/webkit/Source/WebKit/chromium/src/
DWorkerAsyncFileSystemChromium.cpp90 … String& sourcePath, const String& destinationPath, PassOwnPtr<AsyncFileSystemCallbacks> callbacks) in move() argument
92 …createWorkerFileSystemCallbacksBridge(callbacks)->postMoveToMainThread(m_webFileSystem, sourcePath… in move()
95 … String& sourcePath, const String& destinationPath, PassOwnPtr<AsyncFileSystemCallbacks> callbacks) in copy() argument
97 …createWorkerFileSystemCallbacksBridge(callbacks)->postCopyToMainThread(m_webFileSystem, sourcePath… in copy()
100 …AsyncFileSystemChromium::remove(const String& path, PassOwnPtr<AsyncFileSystemCallbacks> callbacks) in remove() argument
102 …createWorkerFileSystemCallbacksBridge(callbacks)->postRemoveToMainThread(m_webFileSystem, path, m_… in remove()
105 …stemChromium::removeRecursively(const String& path, PassOwnPtr<AsyncFileSystemCallbacks> callbacks) in removeRecursively() argument
107 …createWorkerFileSystemCallbacksBridge(callbacks)->postRemoveRecursivelyToMainThread(m_webFileSyste… in removeRecursively()
110 …ileSystemChromium::readMetadata(const String& path, PassOwnPtr<AsyncFileSystemCallbacks> callbacks) in readMetadata() argument
112 …createWorkerFileSystemCallbacksBridge(callbacks)->postReadMetadataToMainThread(m_webFileSystem, pa… in readMetadata()
[all …]
DAsyncFileSystemChromium.cpp64 … String& sourcePath, const String& destinationPath, PassOwnPtr<AsyncFileSystemCallbacks> callbacks) in move() argument
66 …ebFileSystem->move(sourcePath, destinationPath, new WebKit::WebFileSystemCallbacksImpl(callbacks)); in move()
69 … String& sourcePath, const String& destinationPath, PassOwnPtr<AsyncFileSystemCallbacks> callbacks) in copy() argument
71 …ebFileSystem->copy(sourcePath, destinationPath, new WebKit::WebFileSystemCallbacksImpl(callbacks)); in copy()
74 …AsyncFileSystemChromium::remove(const String& path, PassOwnPtr<AsyncFileSystemCallbacks> callbacks) in remove() argument
76 m_webFileSystem->remove(path, new WebKit::WebFileSystemCallbacksImpl(callbacks)); in remove()
79 …stemChromium::removeRecursively(const String& path, PassOwnPtr<AsyncFileSystemCallbacks> callbacks) in removeRecursively() argument
81 m_webFileSystem->removeRecursively(path, new WebKit::WebFileSystemCallbacksImpl(callbacks)); in removeRecursively()
84 …ileSystemChromium::readMetadata(const String& path, PassOwnPtr<AsyncFileSystemCallbacks> callbacks) in readMetadata() argument
86 m_webFileSystem->readMetadata(path, new WebKit::WebFileSystemCallbacksImpl(callbacks)); in readMetadata()
[all …]
DWebIDBObjectStoreImpl.cpp70 void WebIDBObjectStoreImpl::get(const WebIDBKey& key, WebIDBCallbacks* callbacks, const WebIDBTrans… in get() argument
72 …m_objectStore->get(key, IDBCallbacksProxy::create(callbacks), transaction.getIDBTransactionBackend… in get()
75 …ptValue& value, const WebIDBKey& key, PutMode putMode, WebIDBCallbacks* callbacks, const WebIDBTra… in put() argument
77 …jectStoreBackendInterface::PutMode>(putMode), IDBCallbacksProxy::create(callbacks), transaction.ge… in put()
80 void WebIDBObjectStoreImpl::deleteFunction(const WebIDBKey& key, WebIDBCallbacks* callbacks, const … in deleteFunction() argument
82 …m_objectStore->deleteFunction(key, IDBCallbacksProxy::create(callbacks), transaction.getIDBTransac… in deleteFunction()
85 void WebIDBObjectStoreImpl::clear(WebIDBCallbacks* callbacks, const WebIDBTransaction& transaction,… in clear() argument
87 …m_objectStore->clear(IDBCallbacksProxy::create(callbacks), transaction.getIDBTransactionBackendInt… in clear()
111 …st WebIDBKeyRange& keyRange, unsigned short direction, WebIDBCallbacks* callbacks, const WebIDBTra… in openCursor() argument
113 …m_objectStore->openCursor(keyRange, direction, IDBCallbacksProxy::create(callbacks), transaction.g… in openCursor()
DWebIDBIndexImpl.cpp71 …st WebIDBKeyRange& keyRange, unsigned short direction, WebIDBCallbacks* callbacks, const WebIDBTra… in openObjectCursor() argument
73 …m_backend->openCursor(keyRange, direction, IDBCallbacksProxy::create(callbacks), transaction.getID… in openObjectCursor()
76 …st WebIDBKeyRange& keyRange, unsigned short direction, WebIDBCallbacks* callbacks, const WebIDBTra… in openKeyCursor() argument
78 …m_backend->openKeyCursor(keyRange, direction, IDBCallbacksProxy::create(callbacks), transaction.ge… in openKeyCursor()
81 void WebIDBIndexImpl::getObject(const WebIDBKey& keyRange, WebIDBCallbacks* callbacks, const WebIDB… in getObject() argument
83 …m_backend->get(keyRange, IDBCallbacksProxy::create(callbacks), transaction.getIDBTransactionBacken… in getObject()
86 void WebIDBIndexImpl::getKey(const WebIDBKey& keyRange, WebIDBCallbacks* callbacks, const WebIDBTra… in getKey() argument
88 …m_backend->getKey(keyRange, IDBCallbacksProxy::create(callbacks), transaction.getIDBTransactionBac… in getKey()
DIDBIndexBackendProxy.cpp78 …BKeyRange> keyRange, unsigned short direction, PassRefPtr<IDBCallbacks> callbacks, IDBTransactionB… in openCursor() argument
83 …m_webIDBIndex->openObjectCursor(keyRange, direction, new WebIDBCallbacksImpl(callbacks), *transact… in openCursor()
86 …BKeyRange> keyRange, unsigned short direction, PassRefPtr<IDBCallbacks> callbacks, IDBTransactionB… in openKeyCursor() argument
91 …m_webIDBIndex->openKeyCursor(keyRange, direction, new WebIDBCallbacksImpl(callbacks), *transaction… in openKeyCursor()
94 void IDBIndexBackendProxy::get(PassRefPtr<IDBKey> key, PassRefPtr<IDBCallbacks> callbacks, IDBTrans… in get() argument
99 …m_webIDBIndex->getObject(key, new WebIDBCallbacksImpl(callbacks), *transactionProxy->getWebIDBTran… in get()
102 void IDBIndexBackendProxy::getKey(PassRefPtr<IDBKey> key, PassRefPtr<IDBCallbacks> callbacks, IDBTr… in getKey() argument
107 …m_webIDBIndex->getKey(key, new WebIDBCallbacksImpl(callbacks), *transactionProxy->getWebIDBTransac… in getKey()
DIDBObjectStoreBackendProxy.cpp77 void IDBObjectStoreBackendProxy::get(PassRefPtr<IDBKey> key, PassRefPtr<IDBCallbacks> callbacks, ID… in get() argument
82 …m_webIDBObjectStore->get(key, new WebIDBCallbacksImpl(callbacks), *transactionProxy->getWebIDBTran… in get()
85 …alue, PassRefPtr<IDBKey> key, PutMode putMode, PassRefPtr<IDBCallbacks> callbacks, IDBTransactionB… in put() argument
90 …atic_cast<WebIDBObjectStore::PutMode>(putMode), new WebIDBCallbacksImpl(callbacks), *transactionPr… in put()
93 …dProxy::deleteFunction(PassRefPtr<IDBKey> key, PassRefPtr<IDBCallbacks> callbacks, IDBTransactionB… in deleteFunction() argument
98 …m_webIDBObjectStore->deleteFunction(key, new WebIDBCallbacksImpl(callbacks), *transactionProxy->ge… in deleteFunction()
101 void IDBObjectStoreBackendProxy::clear(PassRefPtr<IDBCallbacks> callbacks, IDBTransactionBackendInt… in clear() argument
106 …m_webIDBObjectStore->clear(new WebIDBCallbacksImpl(callbacks), *transactionProxy->getWebIDBTransac… in clear()
136 …<IDBKeyRange> range, unsigned short direction, PassRefPtr<IDBCallbacks> callbacks, IDBTransactionB… in openCursor() argument
141 …m_webIDBObjectStore->openCursor(range, direction, new WebIDBCallbacksImpl(callbacks), *transaction… in openCursor()
DLocalFileSystemChromium.cpp69 …ntext, AsyncFileSystem::Type type, PassOwnPtr<AsyncFileSystemCallbacks> callbacks, bool synchronou… in openFileSystemHelper() argument
75 …:Type>(type), size, create == CreateIfNotPresent, new WebFileSystemCallbacksImpl(callbacks, type)); in openFileSystemHelper()
80 …pe), size, create == CreateIfNotPresent, new WebFileSystemCallbacksImpl(callbacks, type, context, … in openFileSystemHelper()
84 …ntext, AsyncFileSystem::Type type, PassOwnPtr<AsyncFileSystemCallbacks> callbacks, bool synchronou… in readFileSystem() argument
86 openFileSystemHelper(context, type, callbacks, synchronous, 0, OpenExisting); in readFileSystem()
89 …System::Type type, long long size, PassOwnPtr<AsyncFileSystemCallbacks> callbacks, bool synchronou… in requestFileSystem() argument
91 openFileSystemHelper(context, type, callbacks, synchronous, size, CreateIfNotPresent); in requestFileSystem()
DWebIDBCursorImpl.cpp70 void WebIDBCursorImpl::update(const WebSerializedScriptValue& value, WebIDBCallbacks* callbacks, We… in update() argument
72 m_idbCursorBackend->update(value, IDBCallbacksProxy::create(callbacks), ec); in update()
75 void WebIDBCursorImpl::continueFunction(const WebIDBKey& key, WebIDBCallbacks* callbacks, WebExcept… in continueFunction() argument
77 m_idbCursorBackend->continueFunction(key, IDBCallbacksProxy::create(callbacks), ec); in continueFunction()
80 void WebIDBCursorImpl::deleteFunction(WebIDBCallbacks* callbacks, WebExceptionCode& ec) in deleteFunction() argument
82 m_idbCursorBackend->deleteFunction(IDBCallbacksProxy::create(callbacks), ec); in deleteFunction()
DIDBCursorBackendProxy.cpp77 …pdate(PassRefPtr<SerializedScriptValue> value, PassRefPtr<IDBCallbacks> callbacks, ExceptionCode& … in update() argument
79 m_idbCursor->update(value, new WebIDBCallbacksImpl(callbacks), ec); in update()
82 …roxy::continueFunction(PassRefPtr<IDBKey> key, PassRefPtr<IDBCallbacks> callbacks, ExceptionCode& … in continueFunction() argument
84 m_idbCursor->continueFunction(key, new WebIDBCallbacksImpl(callbacks), ec); in continueFunction()
87 void IDBCursorBackendProxy::deleteFunction(PassRefPtr<IDBCallbacks> callbacks, ExceptionCode& ec) in deleteFunction() argument
89 m_idbCursor->deleteFunction(new WebIDBCallbacksImpl(callbacks), ec); in deleteFunction()
DIDBDatabaseCallbacksProxy.cpp37 …aseCallbacksProxy> IDBDatabaseCallbacksProxy::create(PassOwnPtr<WebIDBDatabaseCallbacks> callbacks) in create() argument
39 return adoptRef(new IDBDatabaseCallbacksProxy(callbacks)); in create()
42 IDBDatabaseCallbacksProxy::IDBDatabaseCallbacksProxy(PassOwnPtr<WebIDBDatabaseCallbacks> callbacks) in IDBDatabaseCallbacksProxy() argument
43 : m_callbacks(callbacks) in IDBDatabaseCallbacksProxy()
DIDBTransactionCallbacksProxy.cpp40 …lbacksProxy> IDBTransactionCallbacksProxy::create(PassOwnPtr<WebIDBTransactionCallbacks> callbacks) in create() argument
42 return adoptRef(new IDBTransactionCallbacksProxy(callbacks)); in create()
45 …ctionCallbacksProxy::IDBTransactionCallbacksProxy(PassOwnPtr<WebIDBTransactionCallbacks> callbacks) in IDBTransactionCallbacksProxy() argument
46 : m_callbacks(callbacks) in IDBTransactionCallbacksProxy()
DIDBCallbacksProxy.cpp48 PassRefPtr<IDBCallbacksProxy> IDBCallbacksProxy::create(PassOwnPtr<WebIDBCallbacks> callbacks) in create() argument
50 return adoptRef(new IDBCallbacksProxy(callbacks)); in create()
53 IDBCallbacksProxy::IDBCallbacksProxy(PassOwnPtr<WebIDBCallbacks> callbacks) in IDBCallbacksProxy() argument
54 : m_callbacks(callbacks) in IDBCallbacksProxy()
/external/ppp/pppd/
Dfsm.c69 #define PROTO_NAME(f) ((f)->callbacks->proto_name)
138 if( f->callbacks->starting )
139 (*f->callbacks->starting)(f);
156 if( f->callbacks->down )
157 (*f->callbacks->down)(f);
177 if( f->callbacks->starting )
178 (*f->callbacks->starting)(f);
217 else if( f->callbacks->down )
218 (*f->callbacks->down)(f); /* Inform upper layers we're down */
232 if( f->callbacks->finished )
[all …]
/external/webkit/Source/WebCore/storage/
DIDBObjectStoreBackendImpl.cpp88 RefPtr<IDBCallbacks> callbacks = prpCallbacks; in get() local
89 …duleTask(createCallbackTask(&IDBObjectStoreBackendImpl::getInternal, objectStore, key, callbacks))) in get()
93 …IDBObjectStoreBackendImpl> objectStore, PassRefPtr<IDBKey> key, PassRefPtr<IDBCallbacks> callbacks) in getInternal() argument
97 callbacks->onSuccess(SerializedScriptValue::undefinedValue()); in getInternal()
101 callbacks->onSuccess(SerializedScriptValue::createFromWire(wireData)); in getInternal()
131 RefPtr<IDBCallbacks> callbacks = prpCallbacks; in put() local
135 …IDBObjectStoreBackendImpl::putInternal, objectStore, value, key, putMode, callbacks, transaction))) in put()
139 …reBackendImpl* objectStore, IDBKey* key, PutMode putMode, IDBCallbacks* callbacks, RefPtr<Serializ… in selectKeyForPut() argument
148callbacks->onError(IDBDatabaseError::create(IDBDatabaseException::DATA_ERR, "A key was supplied fo… in selectKeyForPut()
171callbacks->onError(IDBDatabaseError::create(IDBDatabaseException::DATA_ERR, "The generated key cou… in selectKeyForPut()
[all …]
DIDBIndexBackendImpl.cpp71 …CursorBackendInterface::CursorType cursorType, PassRefPtr<IDBCallbacks> callbacks, PassRefPtr<IDBT… in openCursorInternal() argument
91 callbacks->onSuccess(SerializedScriptValue::nullValue()); in openCursorInternal()
100 callbacks->onSuccess(cursor.release()); in openCursorInternal()
107 RefPtr<IDBCallbacks> callbacks = prpCallbacks; in openCursor() local
109 …rnal, index, keyRange, direction, IDBCursorBackendInterface::IndexCursor, callbacks, transaction))) in openCursor()
117 RefPtr<IDBCallbacks> callbacks = prpCallbacks; in openKeyCursor() local
119 …l, index, keyRange, direction, IDBCursorBackendInterface::IndexKeyCursor, callbacks, transaction))) in openKeyCursor()
123 …ndexBackendImpl> index, PassRefPtr<IDBKey> key, bool getObject, PassRefPtr<IDBCallbacks> callbacks) in getInternal() argument
129callbacks->onError(IDBDatabaseError::create(IDBDatabaseException::NOT_FOUND_ERR, "Key does not exi… in getInternal()
132 callbacks->onSuccess(SerializedScriptValue::createFromWire(value)); in getInternal()
[all …]
DIDBDatabaseBackendImpl.cpp44 …gSetVersionCall> create(const String& version, PassRefPtr<IDBCallbacks> callbacks, PassRefPtr<IDBD… in create() argument
46 return adoptRef(new PendingSetVersionCall(version, callbacks, databaseCallbacks)); in create()
49 PassRefPtr<IDBCallbacks> callbacks() { return m_callbacks; } in callbacks() function in WebCore::IDBDatabaseBackendImpl::PendingSetVersionCall
53 …PendingSetVersionCall(const String& version, PassRefPtr<IDBCallbacks> callbacks, PassRefPtr<IDBDat… in PendingSetVersionCall() argument
55 , m_callbacks(callbacks) in PendingSetVersionCall()
167 RefPtr<IDBCallbacks> callbacks = prpCallbacks; in setVersion() local
170callbacks->onError(IDBDatabaseError::create(IDBDatabaseException::ABORT_ERR, "Connection was close… in setVersion()
178 callbacks->onBlocked(); in setVersion()
179 …ionCall> pendingSetVersionCall = PendingSetVersionCall::create(version, callbacks, databaseCallbac… in setVersion()
187 …llbackTask(&IDBDatabaseBackendImpl::setVersionInternal, database, version, callbacks, transaction), in setVersion()
[all …]
DIDBCursorBackendImpl.cpp78 …pdate(PassRefPtr<SerializedScriptValue> value, PassRefPtr<IDBCallbacks> callbacks, ExceptionCode& … in update() argument
85 …, m_cursor->primaryKey(), IDBObjectStoreBackendInterface::CursorUpdate, callbacks, m_transaction.g… in update()
92 RefPtr<IDBCallbacks> callbacks = prpCallbacks; in continueFunction() local
93 …eTask(createCallbackTask(&IDBCursorBackendImpl::continueFunctionInternal, cursor, key, callbacks))) in continueFunction()
99 …Ptr<IDBCursorBackendImpl> prpCursor, PassRefPtr<IDBKey> prpKey, PassRefPtr<IDBCallbacks> callbacks) in continueFunctionInternal() argument
106 callbacks->onSuccess(SerializedScriptValue::nullValue()); in continueFunctionInternal()
110 callbacks->onSuccess(cursor.get()); in continueFunctionInternal()
/external/elfutils/src/
Dld.h273 struct callbacks struct
281 DL_CALL_FCT ((state)->callbacks.lib_extensions, (state)) argument
292 DL_CALL_FCT ((state)->callbacks.file_process, (fd, file, state, nextp)) argument
297 DL_CALL_FCT ((state)->callbacks.file_close, (file, state)) argument
309 DL_CALL_FCT ((state)->callbacks.create_sections, (state)) argument
314 DL_CALL_FCT ((state)->callbacks.flag_unresolved, (state)) argument
320 DL_CALL_FCT ((state)->callbacks.generate_sections, (state)) argument
326 DL_CALL_FCT ((state)->callbacks.open_outfile, (state, machine, class, data)) argument
331 DL_CALL_FCT ((state)->callbacks.create_outfile, (state)) argument
337 DL_CALL_FCT ((state)->callbacks.relocate_section, (state, outscn, first, \ argument
[all …]
/external/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/module/
DJndiLoginModuleTest.java293 public void handle(Callback[] callbacks) throws IOException, in handle() argument
295 for (int i = 0; i < callbacks.length; i++) { in handle()
296 if (callbacks[i] instanceof NameCallback) { in handle()
297 NameCallback nc = (NameCallback) callbacks[i]; in handle()
299 } else if (callbacks[i] instanceof PasswordCallback) { in handle()
300 PasswordCallback pc = (PasswordCallback) callbacks[i]; in handle()
303 throw new Error(callbacks[i].getClass().toString()); in handle()
311 public void handle(Callback[] callbacks) throws IOException, in handle() argument
313 for (int i = 0; i < callbacks.length; i++) { in handle()
314 if (callbacks[i] instanceof NameCallback) { in handle()
[all …]
DLdapLoginModuleTest.java299 public void handle(Callback[] callbacks) throws IOException, UnsupportedCallbackException { in handle() argument
300 for(int i=0;i<callbacks.length;i++){ in handle()
301 if(callbacks[i] instanceof NameCallback){ in handle()
302 NameCallback nc = (NameCallback)callbacks[i]; in handle()
305 else if(callbacks[i] instanceof PasswordCallback){ in handle()
306 PasswordCallback pc = (PasswordCallback)callbacks[i]; in handle()
311 throw new Error(callbacks[i].getClass().toString()); in handle()
319 public void handle(Callback[] callbacks) throws IOException, UnsupportedCallbackException { in handle() argument
320 for(int i=0;i<callbacks.length;i++){ in handle()
321 if(callbacks[i] instanceof NameCallback){ in handle()
[all …]
/external/webkit/Source/WebCore/fileapi/
DLocalFileSystem.cpp79 …dentifier, AsyncFileSystem::Type type, bool create, PassOwnPtr<AsyncFileSystemCallbacks> callbacks) in openFileSystem() argument
81 AsyncFileSystem::openFileSystem(basePath, identifier, type, create, callbacks); in openFileSystem()
84 …Context* context, AsyncFileSystem::Type type, PassOwnPtr<AsyncFileSystemCallbacks> callbacks, bool) in readFileSystem() argument
87 …m, fileSystemBasePath(), context->securityOrigin()->databaseIdentifier(), type, false, callbacks)); in readFileSystem()
90 …ntext, AsyncFileSystem::Type type, long long, PassOwnPtr<AsyncFileSystemCallbacks> callbacks, bool) in requestFileSystem() argument
93 …em, fileSystemBasePath(), context->securityOrigin()->databaseIdentifier(), type, true, callbacks)); in requestFileSystem()
/external/bluetooth/bluez/gdbus/
Dwatch.c74 GSList *callbacks; member
255 for (l = data->callbacks; l; l = l->next) { in filter_data_find_callback()
273 for (l = data->callbacks; l != NULL; l = l->next) in filter_data_free()
276 g_slist_free(data->callbacks); in filter_data_free()
292 for (l = data->callbacks; l != NULL; l = l->next) { in filter_data_call_and_free()
326 data->callbacks = g_slist_append(data->callbacks, cb); in filter_data_add_callback()
354 data->callbacks = g_slist_remove(data->callbacks, cb); in filter_data_remove_callback()
371 if (data->callbacks || data->lock) in filter_data_remove_callback()
399 while (data->callbacks) { in signal_filter()
400 cb = data->callbacks->data; in signal_filter()
[all …]
/external/webkit/Source/WebKit/chromium/public/
DWebIDBCursor.h79 …virtual void remove(WebIDBCallbacks* callbacks, WebExceptionCode& ec) { deleteFunction(callbacks, … in remove() argument
80 …virtual void deleteFunction(WebIDBCallbacks* callbacks, WebExceptionCode& ec) { remove(callbacks, … in deleteFunction() argument
/external/v8/test/mjsunit/
Dnumber-string-index-call.js29 var callbacks = [ function() {return 'foo'}, "nonobject", /abc/ ]; variable
30 assertEquals('foo', callbacks['0']());
32 assertEquals('abc', callbacks['2']("abcdefg"));
/external/oprofile/agents/jvmti/
Dlibjvmti_oprofile.c242 jvmtiEventCallbacks callbacks; in Agent_OnLoad() local
292 memset(&callbacks, 0, sizeof(callbacks)); in Agent_OnLoad()
293 callbacks.CompiledMethodLoad = cb_compiled_method_load; in Agent_OnLoad()
294 callbacks.CompiledMethodUnload = cb_compiled_method_unload; in Agent_OnLoad()
295 callbacks.DynamicCodeGenerated = cb_dynamic_code_generated; in Agent_OnLoad()
296 error = (*jvmti)->SetEventCallbacks(jvmti, &callbacks, in Agent_OnLoad()
297 sizeof(callbacks)); in Agent_OnLoad()

12345678