Searched defs:transfer (Results 1 - 25 of 26) sorted by relevance

12

/external/arduino/libraries/SPI/
H A DSPI.h38 inline static byte transfer(byte _data);
55 byte SPIClass::transfer(byte _data) { function in class:SPIClass
/external/libusb/libusb/
H A Dsync.c36 static void ctrl_transfer_cb(struct libusb_transfer *transfer) argument
38 int *completed = transfer->user_data;
40 usbi_dbg("actual_length=%d", transfer->actual_length);
41 /* caller interprets result and frees transfer */
45 * Perform a USB control transfer.
47 * The direction of the transfer is inferred from the bmRequestType field of
66 * \returns LIBUSB_ERROR_TIMEOUT if the transfer timed out
76 struct libusb_transfer *transfer = libusb_alloc_transfer(0); local
81 if (!transfer)
86 libusb_free_transfer(transfer);
145 bulk_transfer_cb(struct libusb_transfer *transfer) argument
157 struct libusb_transfer *transfer = libusb_alloc_transfer(0); local
[all...]
H A Dio.c50 * application by considering each transfer on a case-by-case basis.
84 * The synchronous I/O interface allows you to perform a USB transfer with
85 * a single function call. When the function call returns, the transfer has
119 * Additionally, there is no opportunity to cancel the transfer after the
133 * begin a transfer and then return immediately. Your application passes a
151 * order to accurately handle transfer timeouts.
153 * the function with that stack is guaranteed not to return until the transfer
156 * the transfer request is done in a separate function from where the transfer
158 * submit a second transfer base
1058 calculate_timeout(struct usbi_transfer *transfer) argument
1090 add_to_flying_list(struct usbi_transfer *transfer) argument
1194 libusb_free_transfer(struct libusb_transfer *transfer) argument
1218 libusb_submit_transfer(struct libusb_transfer *transfer) argument
1274 libusb_cancel_transfer(struct libusb_transfer *transfer) argument
1312 struct usbi_transfer *transfer; local
1359 struct libusb_transfer *transfer = local
1415 usbi_handle_transfer_cancellation(struct usbi_transfer *transfer) argument
1675 struct libusb_transfer *transfer = local
1701 struct usbi_transfer *transfer; local
2089 struct usbi_transfer *transfer; local
[all...]
H A Dlibusbi.h137 #define TRANSFER_CTX(transfer) (HANDLE_CTX((transfer)->dev_handle))
138 #define ITRANSFER_CTX(transfer) \
139 (TRANSFER_CTX(__USBI_TRANSFER_TO_LIBUSB_TRANSFER(transfer)))
159 /* this is a list of in-flight transfer handles, sorted by timeout
238 /* in-memory transfer layout:
247 * determine the size of the transfer and hence the start and length of the
262 * cancelling the transfer from another thread while you are processing
268 #define __USBI_TRANSFER_TO_LIBUSB_TRANSFER(transfer) \
269 ((struct libusb_transfer *)(((void *)(transfer)) \
275 usbi_transfer_get_os_priv(struct usbi_transfer *transfer) argument
[all...]
H A Dlibusb.h86 /** Picture transfer protocol class */
165 * Endpoint transfer type. Values for bits 0:1 of the
373 * the bConfigurationValue. Bits 0:1 determine the transfer type and
515 * \ref libusb_request_type. Bit 7 determines data transfer direction, see
534 /** Number of bytes to transfer */
674 /** Automatically free() transfer buffer during libusb_free_transfer() */
679 * from your transfer callback, as this will result in a double-free
700 * Asynchronous transfer callback function type. When submitting asynchronous
703 * structure. libusb will call this function later, when the transfer has
705 * \param transfer Th
833 libusb_control_transfer_get_data( struct libusb_transfer *transfer) argument
851 libusb_control_transfer_get_setup( struct libusb_transfer *transfer) argument
923 libusb_fill_control_transfer( struct libusb_transfer *transfer, libusb_device_handle *dev_handle, unsigned char *buffer, libusb_transfer_cb_fn callback, void *user_data, unsigned int timeout) argument
954 libusb_fill_bulk_transfer(struct libusb_transfer *transfer, libusb_device_handle *dev_handle, unsigned char endpoint, unsigned char *buffer, int length, libusb_transfer_cb_fn callback, void *user_data, unsigned int timeout) argument
982 libusb_fill_interrupt_transfer( struct libusb_transfer *transfer, libusb_device_handle *dev_handle, unsigned char endpoint, unsigned char *buffer, int length, libusb_transfer_cb_fn callback, void *user_data, unsigned int timeout) argument
1011 libusb_fill_iso_transfer(struct libusb_transfer *transfer, libusb_device_handle *dev_handle, unsigned char endpoint, unsigned char *buffer, int length, int num_iso_packets, libusb_transfer_cb_fn callback, void *user_data, unsigned int timeout) argument
1035 libusb_set_iso_packet_lengths( struct libusb_transfer *transfer, unsigned int length) argument
1059 libusb_get_iso_packet_buffer( struct libusb_transfer *transfer, unsigned int packet) argument
1101 libusb_get_iso_packet_buffer_simple( struct libusb_transfer *transfer, unsigned int packet) argument
[all...]
/external/valgrind/main/coregrind/m_gdbserver/
H A Dtarget.c109 void VG_(transfer) (void *valgrind, function
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/mdat/
H A DMediaDataBox.java85 private static void transfer(FileChannel from, long position, long count, WritableByteChannel to) throws IOException { method in class:MediaDataBox
99 transfer(fileChannel, startPosition - header.limit(), contentSize + header.limit(), writableByteChannel);
/external/libusb/examples/
H A Ddpfp.c152 static void cb_mode_changed(struct libusb_transfer *transfer) argument
154 if (transfer->status != LIBUSB_TRANSFER_COMPLETED) {
155 fprintf(stderr, "mode change transfer not completed!\n");
160 transfer->length, transfer->actual_length);
168 struct libusb_transfer *transfer; local
173 transfer = libusb_alloc_transfer(0);
174 if (!transfer) {
182 libusb_fill_control_transfer(transfer, devh, buf, cb_mode_changed, NULL,
185 transfer
279 cb_irq(struct libusb_transfer *transfer) argument
318 cb_img(struct libusb_transfer *transfer) argument
[all...]
H A Ddpfp_threaded.c181 static void cb_mode_changed(struct libusb_transfer *transfer) argument
183 if (transfer->status != LIBUSB_TRANSFER_COMPLETED) {
184 fprintf(stderr, "mode change transfer not completed!\n");
189 transfer->length, transfer->actual_length);
197 struct libusb_transfer *transfer; local
202 transfer = libusb_alloc_transfer(0);
203 if (!transfer) {
211 libusb_fill_control_transfer(transfer, devh, buf, cb_mode_changed, NULL,
214 transfer
308 cb_irq(struct libusb_transfer *transfer) argument
346 cb_img(struct libusb_transfer *transfer) argument
[all...]
/external/mockwebserver/src/main/java/com/google/mockwebserver/
H A DMockWebServer.java406 if (lowercaseHeader.startsWith("transfer-encoding:") &&
417 transfer(contentLength, in, requestBody);
427 transfer(chunkSize, in, requestBody);
504 private void transfer(int length, InputStream in, OutputStream out) throws IOException { method in class:MockWebServer
/external/dnsmasq/src/
H A Dtftp.c22 static void free_transfer(struct tftp_transfer *transfer);
25 static ssize_t get_block(char *packet, struct tftp_transfer *transfer);
52 struct tftp_transfer *transfer; local
144 if (!(transfer = whine_malloc(sizeof(struct tftp_transfer))))
147 if ((transfer->sockfd = socket(AF_INET, SOCK_DGRAM, 0)) == -1)
149 free(transfer);
153 transfer->peer = peer;
154 transfer->timeout = now + 2;
155 transfer->backoff = 1;
156 transfer
373 struct tftp_transfer *transfer, *tmp, **up; local
469 free_transfer(struct tftp_transfer *transfer) argument
517 get_block(char *packet, struct tftp_transfer *transfer) argument
[all...]
H A Ddnsmasq.c592 /* Whilst polling for the dbus, or doing a tftp transfer, wake every quarter second */
1032 struct tftp_transfer *transfer; local
1033 for (transfer = daemon->tftp_trans; transfer; transfer = transfer->next)
1036 FD_SET(transfer->sockfd, set);
1037 bump_maxfd(transfer->sockfd, maxfdp);
/external/kernel-headers/original/linux/
H A Dloop.h37 int (*transfer)(struct loop_device *, int cmd, member in struct:loop_device
132 /* Support for loadable transfer modules */
135 int (*transfer)(struct loop_device *lo, int cmd, member in struct:loop_func_table
H A Dquota.h253 int (*transfer) (struct inode *, struct iattr *); member in struct:dquot_operations
/external/libusb/libusb/os/
H A Ddarwin_usb.c1073 struct libusb_transfer *transfer = __USBI_TRANSFER_TO_LIBUSB_TRANSFER(itransfer); local
1074 struct darwin_device_handle_priv *priv = (struct darwin_device_handle_priv *)transfer->dev_handle->os_priv;
1086 is_read = transfer->endpoint & LIBUSB_ENDPOINT_IN;
1088 if (ep_to_pipeRef (transfer->dev_handle, transfer->endpoint, &pipeRef, &iface) != 0) {
1089 usbi_err (TRANSFER_CTX (transfer), "endpoint not found on any open interface");
1103 ret = (*(cInterface->interface))->ReadPipeAsync(cInterface->interface, pipeRef, transfer->buffer,
1104 transfer->length, darwin_async_io_callback, itransfer);
1106 ret = (*(cInterface->interface))->WritePipeAsync(cInterface->interface, pipeRef, transfer->buffer,
1107 transfer
1127 struct libusb_transfer *transfer = __USBI_TRANSFER_TO_LIBUSB_TRANSFER(itransfer); local
1195 struct libusb_transfer *transfer = __USBI_TRANSFER_TO_LIBUSB_TRANSFER(itransfer); local
1226 struct libusb_transfer *transfer = __USBI_TRANSFER_TO_LIBUSB_TRANSFER(itransfer); local
1243 struct libusb_transfer *transfer = __USBI_TRANSFER_TO_LIBUSB_TRANSFER(itransfer); local
1255 struct libusb_transfer *transfer = __USBI_TRANSFER_TO_LIBUSB_TRANSFER(itransfer); local
1288 struct libusb_transfer *transfer = __USBI_TRANSFER_TO_LIBUSB_TRANSFER(itransfer); local
1304 struct libusb_transfer *transfer = __USBI_TRANSFER_TO_LIBUSB_TRANSFER(itransfer); local
1315 struct libusb_transfer *transfer = __USBI_TRANSFER_TO_LIBUSB_TRANSFER(itransfer); local
1351 struct libusb_transfer *transfer = __USBI_TRANSFER_TO_LIBUSB_TRANSFER(itransfer); local
[all...]
H A Dlinux_usbfs.c76 * allows us to mark URBs as being part of a specific logical transfer when
78 * cancellation, all URBs within that transfer will be cancelled with the
82 * The BULK_CONTINUATION flag must be set on all URBs within a bulk transfer
86 * (where an OUT transfer does not complete, the rest of the URBs in the
87 * transfer get cancelled) is already in effect, and setting this flag is
122 /* completed multi-URB transfer in non-final URB */
136 /* next iso packet in user-supplied transfer to be populated */
1338 struct libusb_transfer *transfer = local
1342 __device_handle_priv(transfer->dev_handle);
1344 int is_out = (transfer
1453 struct libusb_transfer *transfer = local
1611 struct libusb_transfer *transfer = local
1653 struct libusb_transfer *transfer = local
1675 struct libusb_transfer *transfer = local
1703 struct libusb_transfer *transfer = local
1725 struct libusb_transfer *transfer = local
1746 struct libusb_transfer *transfer = local
1766 struct libusb_transfer *transfer = local
1821 struct libusb_transfer *transfer = local
1887 struct libusb_transfer *transfer = local
1927 struct libusb_transfer *transfer = local
2066 struct libusb_transfer *transfer; local
[all...]
/external/llvm/include/llvm/ADT/
H A Dilist.h469 // transfer - The heart of the splice function. Move linked list nodes from
472 void transfer(iterator position, iplist &L2, iterator first, iterator last) { function in class:llvm::iplist
551 // Splice members - defined in terms of transfer...
554 transfer(where, L2, L2.begin(), L2.end());
559 transfer(where, L2, first, last);
562 if (first != last) transfer(where, L2, first, last);
607 transfer(first1, right, first2, ++next);
612 if (first2 != last2) transfer(last1, right, first2, last2);
/external/llvm/lib/Analysis/
H A DProfileInfo.cpp478 void ProfileInfoT<Function,BasicBlock>::transfer(const Function *Old, function in class:llvm::ProfileInfoT
/external/compiler-rt/lib/asan/tests/
H A Dasan_test.cc816 // valid transfer of bytes between arrays
817 M::transfer(dest, src, size);
818 M::transfer(dest + 1, src, size - sizeof(T));
819 M::transfer(dest, src + length - 1, sizeof(T));
820 M::transfer(dest, src, 1);
822 // transfer zero bytes
823 M::transfer(dest - 1, src, 0);
824 M::transfer(dest + length, src, zero);
825 M::transfer(dest, src - 1, zero);
826 M::transfer(des
872 static void* transfer(void *to, const void *from, size_t size) { function in class:MemCpyWrapper
883 static void* transfer(void *to, const void *from, size_t size) { function in class:MemMoveWrapper
[all...]
/external/qemu-pc-bios/bochs/bios/
H A Drombios.c662 Bit8u mode; // transfer mode : PIO 16/32 bits - IRQ - ISADMA - PCIDMA
2575 //Temporary values to do the transfer
2680 //Temporary values to do the transfer
3164 Bit32u total, transfer; local
3184 transfer= 0L;
3404 transfer += count;
3405 write_dword(ebda_seg, &EbdaData->ata.trsfbytes,transfer);
3933 // 128K max of transfer on 386+ ???
7241 // set up DMA controller for transfer
7281 // transfer typ
[all...]
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.core.jobs_3.5.1.R36x_v20100824.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.eclipse.equinox.p2.artifact.repository_1.1.1.R36x_v20100901.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.eclipse.swt.gtk.linux.x86_3.6.1.v3657a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.eclipse.ui.ide_3.6.2.M20101117-0800.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.eclipse.swt.win32.win32.x86_3.6.1.v3657a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...

Completed in 1497 milliseconds

12