Searched refs:pending (Results 1 - 25 of 61) sorted by relevance

123

/external/dbus/dbus/
H A Ddbus-pending-call.c2 /* dbus-pending-call.c Object representing a call in progress.
26 #include "dbus-pending-call-internal.h"
27 #include "dbus-pending-call.h"
83 * Creates a new pending reply object.
87 * @param timeout_handler timeout handler, takes pending call as data
95 DBusPendingCall *pending; local
114 pending = dbus_new0 (DBusPendingCall, 1);
116 if (pending == NULL)
124 pending, NULL);
129 dbus_free (pending);
154 _dbus_pending_call_set_reply_unlocked(DBusPendingCall *pending, DBusMessage *message) argument
186 _dbus_pending_call_complete(DBusPendingCall *pending) argument
210 _dbus_pending_call_queue_timeout_error_unlocked(DBusPendingCall *pending, DBusConnection *connection) argument
230 _dbus_pending_call_is_timeout_added_unlocked(DBusPendingCall *pending) argument
245 _dbus_pending_call_set_timeout_added_unlocked(DBusPendingCall *pending, dbus_bool_t is_added) argument
261 _dbus_pending_call_get_timeout_unlocked(DBusPendingCall *pending) argument
275 _dbus_pending_call_get_reply_serial_unlocked(DBusPendingCall *pending) argument
289 _dbus_pending_call_set_reply_serial_unlocked(DBusPendingCall *pending, dbus_uint32_t serial) argument
305 _dbus_pending_call_get_connection_and_lock(DBusPendingCall *pending) argument
320 _dbus_pending_call_get_connection_unlocked(DBusPendingCall *pending) argument
336 _dbus_pending_call_set_timeout_error_unlocked(DBusPendingCall *pending, DBusMessage *message, dbus_uint32_t serial) argument
374 _dbus_pending_call_ref_unlocked(DBusPendingCall *pending) argument
383 _dbus_pending_call_last_unref(DBusPendingCall *pending) argument
433 _dbus_pending_call_unref_and_unlock(DBusPendingCall *pending) argument
455 _dbus_pending_call_get_completed_unlocked(DBusPendingCall *pending) argument
477 _dbus_pending_call_set_data_unlocked(DBusPendingCall *pending, dbus_int32_t slot, void *data, DBusFreeFunction free_data_func) argument
532 dbus_pending_call_ref(DBusPendingCall *pending) argument
559 dbus_pending_call_unref(DBusPendingCall *pending) argument
593 dbus_pending_call_set_notify(DBusPendingCall *pending, DBusPendingCallNotifyFunction function, void *user_data, DBusFreeFunction free_user_data) argument
630 dbus_pending_call_cancel(DBusPendingCall *pending) argument
646 dbus_pending_call_get_completed(DBusPendingCall *pending) argument
669 dbus_pending_call_steal_reply(DBusPendingCall *pending) argument
703 dbus_pending_call_block(DBusPendingCall *pending) argument
768 dbus_pending_call_set_data(DBusPendingCall *pending, dbus_int32_t slot, void *data, DBusFreeFunction free_data_func) argument
794 dbus_pending_call_get_data(DBusPendingCall *pending, dbus_int32_t slot) argument
[all...]
H A Ddbus-pending-call-internal.h2 /* dbus-pending-call-internal.h DBusPendingCall internal interfaces
34 dbus_bool_t _dbus_pending_call_is_timeout_added_unlocked (DBusPendingCall *pending);
35 void _dbus_pending_call_set_timeout_added_unlocked (DBusPendingCall *pending,
37 DBusTimeout * _dbus_pending_call_get_timeout_unlocked (DBusPendingCall *pending);
38 dbus_uint32_t _dbus_pending_call_get_reply_serial_unlocked (DBusPendingCall *pending);
39 void _dbus_pending_call_set_reply_serial_unlocked (DBusPendingCall *pending,
41 DBusConnection * _dbus_pending_call_get_connection_and_lock (DBusPendingCall *pending);
42 DBusConnection * _dbus_pending_call_get_connection_unlocked (DBusPendingCall *pending);
43 dbus_bool_t _dbus_pending_call_get_completed_unlocked (DBusPendingCall *pending);
44 void _dbus_pending_call_complete (DBusPendingCall *pending);
[all...]
H A Ddbus-pending-call.h2 /* dbus-pending-call.h Object representing a call in progress.
41 DBusPendingCall* dbus_pending_call_ref (DBusPendingCall *pending);
42 void dbus_pending_call_unref (DBusPendingCall *pending);
43 dbus_bool_t dbus_pending_call_set_notify (DBusPendingCall *pending,
47 void dbus_pending_call_cancel (DBusPendingCall *pending);
48 dbus_bool_t dbus_pending_call_get_completed (DBusPendingCall *pending);
49 DBusMessage* dbus_pending_call_steal_reply (DBusPendingCall *pending);
50 void dbus_pending_call_block (DBusPendingCall *pending);
54 dbus_bool_t dbus_pending_call_set_data (DBusPendingCall *pending,
58 void* dbus_pending_call_get_data (DBusPendingCall *pending,
[all...]
H A Ddbus-connection-internal.h78 DBusPendingCall *pending,
87 void _dbus_pending_call_notify (DBusPendingCall *pending);
89 DBusPendingCall *pending);
90 void _dbus_connection_block_pending_call (DBusPendingCall *pending);
91 void _dbus_pending_call_complete_and_unlock (DBusPendingCall *pending,
H A Ddbus-connection.c32 #include "dbus-pending-call-internal.h"
40 #include "dbus-pending-call.h"
448 DBusPendingCall *pending; local
462 pending = _dbus_hash_table_lookup_int (connection->pending_replies,
464 if (pending != NULL)
466 if (_dbus_pending_call_is_timeout_added_unlocked (pending))
468 _dbus_pending_call_get_timeout_unlocked (pending));
470 _dbus_pending_call_set_timeout_added_unlocked (pending, FALSE);
871 DBusPendingCall *pending)
878 reply_serial = _dbus_pending_call_get_reply_serial_unlocked (pending);
870 _dbus_connection_attach_pending_call_unlocked(DBusConnection *connection, DBusPendingCall *pending) argument
910 DBusPendingCall *pending; local
942 _dbus_connection_detach_pending_call_unlocked(DBusConnection *connection, DBusPendingCall *pending) argument
953 _dbus_connection_detach_pending_call_and_unlock(DBusConnection *connection, DBusPendingCall *pending) argument
978 _dbus_connection_remove_pending_call(DBusConnection *connection, DBusPendingCall *pending) argument
1132 _dbus_connection_do_iteration_unlocked(DBusConnection *connection, DBusPendingCall *pending, unsigned int flags, int timeout_milliseconds) argument
2185 DBusPendingCall *pending; local
2208 complete_pending_call_and_unlock(DBusConnection *connection, DBusPendingCall *pending, DBusMessage *message) argument
2222 check_for_reply_and_update_dispatch_unlocked(DBusConnection *connection, DBusPendingCall *pending) argument
2265 _dbus_connection_block_pending_call(DBusPendingCall *pending) argument
3035 DBusPendingCall *pending = data; local
3097 DBusPendingCall *pending; local
3219 DBusPendingCall *pending; local
4237 DBusPendingCall *pending; local
[all...]
H A Ddbus.h37 #include <dbus/dbus-pending-call.h>
H A DAndroid.mk30 dbus-pending-call.c \
/external/bluetooth/bluez/audio/
H A Dsource.c154 struct pending_request *pending)
156 if (pending->conn)
157 dbus_connection_unref(pending->conn);
158 if (pending->msg)
159 dbus_message_unref(pending->msg);
160 if (pending->id)
161 a2dp_cancel(dev, pending->id);
163 g_free(pending);
247 struct pending_request *pending = source->connect; local
253 if (pending
153 pending_request_free(struct audio_device *dev, struct pending_request *pending) argument
275 struct pending_request *pending; local
453 struct pending_request *pending; local
539 struct pending_request *pending; local
578 struct pending_request *pending; local
[all...]
H A Dsink.c161 struct pending_request *pending)
163 if (pending->conn)
164 dbus_connection_unref(pending->conn);
165 if (pending->msg)
166 dbus_message_unref(pending->msg);
167 if (pending->id)
168 a2dp_cancel(dev, pending->id);
170 g_free(pending);
280 struct pending_request *pending = sink->connect; local
286 if (pending
160 pending_request_free(struct audio_device *dev, struct pending_request *pending) argument
308 struct pending_request *pending; local
486 struct pending_request *pending; local
571 struct pending_request *pending; local
610 struct pending_request *pending; local
649 struct pending_request *pending; local
683 struct pending_request *pending; local
[all...]
/external/kernel-headers/original/linux/
H A Dudp.h45 int pending; /* Any pending frames ? */ member in struct:udp_sock
52 __u16 len; /* total length of pending frames */
H A Dworkqueue.h15 unsigned long pending; member in struct:work_struct
52 (_work)->pending = 0; \
87 * Kill off a pending schedule_delayed_work(). Note that the work callback
97 clear_bit(0, &work->pending);
/external/bluetooth/glib/gio/
H A Dgfileenumerator.c64 guint pending : 1; member in struct:_GFileEnumeratorPrivate
210 if (enumerator->priv->pending)
229 enumerator->priv->pending = TRUE;
231 enumerator->priv->pending = FALSE;
269 if (enumerator->priv->pending)
279 enumerator->priv->pending = TRUE;
281 enumerator->priv->pending = FALSE;
297 enumerator->priv->pending = FALSE;
366 if (enumerator->priv->pending)
378 enumerator->priv->pending
576 g_file_enumerator_set_pending(GFileEnumerator *enumerator, gboolean pending) argument
[all...]
/external/dbus/bus/
H A Dconnection.c59 BusExpireList *pending_replies; /**< List of pending replies */
1380 bus_pending_reply_free (BusPendingReply *pending) argument
1382 _dbus_verbose ("Freeing pending reply %p, replier %p receiver %p serial %u\n",
1383 pending,
1384 pending->will_send_reply,
1385 pending->will_get_reply,
1386 pending->reply_serial);
1388 dbus_free (pending);
1394 BusPendingReply *pending)
1410 pending
1392 bus_pending_reply_send_no_reply(BusConnections *connections, BusTransaction *transaction, BusPendingReply *pending) argument
1438 BusPendingReply *pending = link->data; local
1489 BusPendingReply *pending; local
1535 BusPendingReply *pending; member in struct:__anon679
1579 BusPendingReply *pending; local
1711 BusPendingReply *pending = d->link->data; local
1747 BusPendingReply *pending = link->data; local
[all...]
/external/dbus/test/name-test/
H A Drun-test.sh30 echo "running test-pending-call-dispatch"
31 libtool --mode=execute $DEBUG $DBUS_TOP_BUILDDIR/test/name-test/test-pending-call-dispatch || die "test-client failed"
/external/qemu/telephony/
H A Dsysdeps_posix.c36 void* pending[ SYS_MAX_QUEUE ]; member in struct:__anon4107
52 queue->pending[ queue->end++ ] = item;
64 if ( queue->pending[nn] == item ) {
65 queue->pending[nn] = queue->pending[nn+count-1];
78 return queue->pending[ queue->start++ ];
89 char pending; member in struct:SysChannelRec_
114 channel->pending = 0;
176 /* queue of pending channels */
289 if (channel->pending) {
[all...]
/external/qemu/hw/
H A Darmv7m_nvic.c97 /* Make pending IRQ active. */
172 if (s->gic.irq_state[irq].pending) {
178 if (s->gic.irq_state[ARMV7M_EXCP_SYSTICK].pending)
181 if (s->gic.irq_state[ARMV7M_EXCP_PENDSV].pending)
184 if (s->gic.irq_state[ARMV7M_EXCP_NMI].pending)
214 if (s->gic.irq_state[ARMV7M_EXCP_USAGE].pending) val |= (1 << 12);
215 if (s->gic.irq_state[ARMV7M_EXCP_MEM].pending) val |= (1 << 13);
216 if (s->gic.irq_state[ARMV7M_EXCP_BUS].pending) val |= (1 << 14);
217 if (s->gic.irq_state[ARMV7M_EXCP_SVC].pending) val |= (1 << 15);
310 s->gic.irq_state[ARMV7M_EXCP_PENDSV].pending
[all...]
/external/sonivox/arm-fm-22k/lib_src/
H A Deas_midi.c93 pMIDIStream->pending = EAS_FALSE;
137 pMIDIStream->pending = EAS_TRUE;
149 pMIDIStream->pending = EAS_FALSE;
166 pMIDIStream->pending = EAS_TRUE;
175 pMIDIStream->pending = EAS_FALSE;
185 pMIDIStream->pending = EAS_TRUE;
211 pMIDIStream->pending = EAS_FALSE;
H A Deas_miditypes.h48 EAS_BOOL8 pending; /* flag indicates more data expected */ member in struct:s_midi_stream_tag
/external/sonivox/arm-hybrid-22k/lib_src/
H A Deas_midi.c93 pMIDIStream->pending = EAS_FALSE;
137 pMIDIStream->pending = EAS_TRUE;
149 pMIDIStream->pending = EAS_FALSE;
166 pMIDIStream->pending = EAS_TRUE;
175 pMIDIStream->pending = EAS_FALSE;
185 pMIDIStream->pending = EAS_TRUE;
211 pMIDIStream->pending = EAS_FALSE;
H A Deas_miditypes.h48 EAS_BOOL8 pending; /* flag indicates more data expected */ member in struct:s_midi_stream_tag
/external/sonivox/arm-wt-22k/lib_src/
H A Deas_midi.c93 pMIDIStream->pending = EAS_FALSE;
137 pMIDIStream->pending = EAS_TRUE;
149 pMIDIStream->pending = EAS_FALSE;
166 pMIDIStream->pending = EAS_TRUE;
175 pMIDIStream->pending = EAS_FALSE;
185 pMIDIStream->pending = EAS_TRUE;
211 pMIDIStream->pending = EAS_FALSE;
H A Deas_miditypes.h48 EAS_BOOL8 pending; /* flag indicates more data expected */ member in struct:s_midi_stream_tag
/external/qemu/distrib/zlib-1.2.3/
H A Ddeflate.c372 s->pending = 0;
514 * Put a short in the pending buffer. The 16-bit value is put in MSB order.
527 * Flush as much pending output as possible. All deflate() output goes
535 unsigned len = strm->state->pending;
545 strm->state->pending -= len;
546 if (strm->state->pending == 0) {
617 s->pending);
654 uInt beg = s->pending; /* start of bytes to update crc */
657 if (s->pending == s->pending_buf_size) {
658 if (s->gzhead->hcrc && s->pending > be
[all...]
/external/zlib/
H A Ddeflate.c372 s->pending = 0;
514 * Put a short in the pending buffer. The 16-bit value is put in MSB order.
527 * Flush as much pending output as possible. All deflate() output goes
535 unsigned len = strm->state->pending;
545 strm->state->pending -= len;
546 if (strm->state->pending == 0) {
617 s->pending);
654 uInt beg = s->pending; /* start of bytes to update crc */
657 if (s->pending == s->pending_buf_size) {
658 if (s->gzhead->hcrc && s->pending > be
[all...]
/external/bluetooth/glib/gio/inotify/
H A Dinotify-kernel.c119 unsigned int pending; local
121 if (ioctl (inotify_instance_fd, FIONREAD, &pending) == -1)
124 pending /= AVERAGE_EVENT_SIZE;
126 /* Don't wait if the number of pending events is too close
129 if (pending > PENDING_THRESHOLD (MAX_QUEUED_EVENTS))
135 if (pending-prev_pending < PENDING_MARGINAL_COST (pending_count))
138 prev_pending = pending;

Completed in 181 milliseconds

123