/external/webkit/Source/WebKit/chromium/src/ |
D | WorkerAsyncFileSystemChromium.cpp | 90 … 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 …]
|
D | AsyncFileSystemChromium.cpp | 64 … 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 …]
|
D | WebIDBObjectStoreImpl.cpp | 70 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()
|
D | WebIDBIndexImpl.cpp | 71 …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()
|
D | IDBIndexBackendProxy.cpp | 78 …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()
|
D | IDBObjectStoreBackendProxy.cpp | 77 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()
|
D | LocalFileSystemChromium.cpp | 69 …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()
|
D | WebIDBCursorImpl.cpp | 70 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()
|
D | IDBCursorBackendProxy.cpp | 77 …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()
|
/external/ppp/pppd/ |
D | fsm.c | 69 #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/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
D | ShadowRemoteCallbackList.java | 15 private HashMap<IBinder, Callback> callbacks = new HashMap<IBinder, Callback>(); field in ShadowRemoteCallbackList 30 synchronized (callbacks) { in binderDied() 31 callbacks.remove(callback.asBinder()); in binderDied() 44 synchronized (callbacks) { in register() 52 callbacks.put(binder, cb); in register() 62 synchronized (callbacks) { in unregister() 63 Callback cb = callbacks.remove(callback.asBinder()); in unregister() 74 synchronized (callbacks) { in kill() 75 for (Callback cb : callbacks.values()) { in kill() 78 callbacks.clear(); in kill() [all …]
|
/external/webkit/Source/WebCore/storage/ |
D | IDBObjectStoreBackendImpl.cpp | 88 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 148 …callbacks->onError(IDBDatabaseError::create(IDBDatabaseException::DATA_ERR, "A key was supplied fo… in selectKeyForPut() 171 …callbacks->onError(IDBDatabaseError::create(IDBDatabaseException::DATA_ERR, "The generated key cou… in selectKeyForPut() [all …]
|
D | IDBIndexBackendImpl.cpp | 71 …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 129 …callbacks->onError(IDBDatabaseError::create(IDBDatabaseException::NOT_FOUND_ERR, "Key does not exi… in getInternal() 132 callbacks->onSuccess(SerializedScriptValue::createFromWire(value)); in getInternal() [all …]
|
D | IDBDatabaseBackendImpl.cpp | 44 …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 170 …callbacks->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 …]
|
/external/android-clat/ |
D | netlink_msg.c | 126 void send_netlink_msg(struct nl_msg *msg, struct nl_cb *callbacks) { in send_netlink_msg() argument 142 nl_recvmsgs(nl_sk, callbacks); in send_netlink_msg() 156 void send_ifaddrmsg(uint16_t type, uint16_t flags, struct ifaddrmsg *ifa, struct nl_cb *callbacks) { in send_ifaddrmsg() argument 163 send_netlink_msg(msg, callbacks); in send_ifaddrmsg() 173 struct nl_cb *callbacks = NULL; in netlink_sendrecv() local 176 callbacks = alloc_ack_callbacks(&retval); in netlink_sendrecv() 177 if(!callbacks) { in netlink_sendrecv() 181 send_netlink_msg(msg, callbacks); in netlink_sendrecv() 183 nl_cb_put(callbacks); in netlink_sendrecv()
|
D | netlink_callbacks.c | 57 struct nl_cb *callbacks; in alloc_ack_callbacks() local 59 callbacks = nl_cb_alloc(NL_CB_DEFAULT); in alloc_ack_callbacks() 60 if(!callbacks) { in alloc_ack_callbacks() 63 nl_cb_set(callbacks, NL_CB_ACK, NL_CB_CUSTOM, ack_handler, retval); in alloc_ack_callbacks() 64 nl_cb_err(callbacks, NL_CB_CUSTOM, error_handler, retval); in alloc_ack_callbacks() 65 return callbacks; in alloc_ack_callbacks()
|
D | getaddr.c | 99 struct nl_cb *callbacks = NULL; in getinterface_ip() local 113 callbacks = nl_cb_alloc(NL_CB_DEFAULT); in getinterface_ip() 114 if(!callbacks) { in getinterface_ip() 117 nl_cb_set(callbacks, NL_CB_VALID, NL_CB_CUSTOM, getaddr_cb, &targ); in getinterface_ip() 118 nl_cb_err(callbacks, NL_CB_CUSTOM, error_handler, &targ); in getinterface_ip() 121 send_ifaddrmsg(RTM_GETADDR, NLM_F_REQUEST | NLM_F_ROOT, &ifa, callbacks); in getinterface_ip() 133 if(callbacks) in getinterface_ip() 134 nl_cb_put(callbacks); in getinterface_ip()
|
D | getroute.c | 107 struct nl_cb *callbacks = NULL; in get_default_route() local 120 callbacks = nl_cb_alloc(NL_CB_DEFAULT); in get_default_route() 121 if(!callbacks) { in get_default_route() 126 nl_cb_set(callbacks, NL_CB_VALID, NL_CB_CUSTOM, get_default_route_cb, default_route); in get_default_route() 127 nl_cb_err(callbacks, NL_CB_CUSTOM, error_handler, &retval); in get_default_route() 134 send_netlink_msg(nlmsg, callbacks); in get_default_route() 137 if(callbacks) in get_default_route() 138 nl_cb_put(callbacks); in get_default_route()
|
/external/elfutils/src/ |
D | ld.h | 294 struct callbacks struct 302 DL_CALL_FCT ((state)->callbacks.lib_extensions, (state)) argument 313 DL_CALL_FCT ((state)->callbacks.file_process, (fd, file, state, nextp)) argument 318 DL_CALL_FCT ((state)->callbacks.file_close, (file, state)) argument 330 DL_CALL_FCT ((state)->callbacks.create_sections, (state)) argument 335 DL_CALL_FCT ((state)->callbacks.flag_unresolved, (state)) argument 341 DL_CALL_FCT ((state)->callbacks.generate_sections, (state)) argument 347 DL_CALL_FCT ((state)->callbacks.open_outfile, (state, machine, class, data)) argument 352 DL_CALL_FCT ((state)->callbacks.create_outfile, (state)) argument 358 DL_CALL_FCT ((state)->callbacks.relocate_section, (state, outscn, first, \ argument [all …]
|
/external/smack/src/org/apache/qpid/management/common/sasl/ |
D | UserPasswordCallbackHandler.java | 40 public void handle(Callback[] callbacks) throws IOException, UnsupportedCallbackException in handle() argument 42 for (int i = 0; i < callbacks.length; i++) in handle() 44 if (callbacks[i] instanceof NameCallback) in handle() 46 NameCallback ncb = (NameCallback) callbacks[i]; in handle() 49 else if (callbacks[i] instanceof PasswordCallback) in handle() 51 PasswordCallback pcb = (PasswordCallback) callbacks[i]; in handle() 56 throw new UnsupportedCallbackException(callbacks[i]); in handle()
|
D | UsernameHashedPasswordCallbackHandler.java | 45 public void handle(Callback[] callbacks) throws IOException, UnsupportedCallbackException in handle() argument 47 for (int i = 0; i < callbacks.length; i++) in handle() 49 if (callbacks[i] instanceof NameCallback) in handle() 51 NameCallback ncb = (NameCallback) callbacks[i]; in handle() 54 else if (callbacks[i] instanceof PasswordCallback) in handle() 56 PasswordCallback pcb = (PasswordCallback) callbacks[i]; in handle() 61 throw new UnsupportedCallbackException(callbacks[i]); in handle()
|
/external/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/module/ |
D | JndiLoginModuleTest.java | 293 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 …]
|
D | LdapLoginModuleTest.java | 299 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/ceres-solver/internal/ceres/ |
D | minimizer_test.cc | 52 solver_options.callbacks.push_back(&callback0); in TEST() 53 solver_options.callbacks.push_back(&callback1); in TEST() 56 ASSERT_EQ(2, minimizer_options.callbacks.size()); in TEST() 58 EXPECT_EQ(minimizer_options.callbacks[0], &callback0); in TEST() 59 EXPECT_EQ(minimizer_options.callbacks[1], &callback1); in TEST()
|
/external/webkit/Source/WebCore/fileapi/ |
D | LocalFileSystem.cpp | 79 …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()
|