/external/dropbear/ |
common-channel.c | 34 #include "channel.h" 40 static void send_msg_channel_open_confirmation(struct Channel* channel, 43 static void writechannel(struct Channel* channel, int fd, circbuffer *cbuf); 44 static void send_msg_channel_window_adjust(struct Channel *channel, 46 static void send_msg_channel_data(struct Channel *channel, int isextended); 47 static void send_msg_channel_eof(struct Channel *channel) 193 struct Channel *channel; local 437 struct Channel * channel; local 482 struct Channel * channel; local 498 struct Channel * channel; local 557 struct Channel *channel; local 654 struct Channel *channel; local 723 struct Channel * channel; local 758 struct Channel *channel; local 984 struct Channel * channel; local 1019 struct Channel * channel; local [all...] |
cli-chansession.c | 31 #include "channel.h" 37 static void cli_closechansess(struct Channel *channel); 38 static int cli_initchansess(struct Channel *channel); 39 static void cli_chansessreq(struct Channel *channel); 41 static void start_channel_request(struct Channel *channel, unsigned char *type); 43 static void send_chansess_pty_req(struct Channel *channel) 267 struct Channel *channel = NULL; local [all...] |
channel.h | 32 /* channel->type values */ 60 struct Channel { 62 unsigned int index; /* the local channel index */ 80 int initconn; /* used for TCP forwarding, whether the channel has been 84 for this channel (and are awaiting a confirmation 95 int sepfds; /* Whether this channel has seperate pipes for in/out or not */ 97 int (*inithandler)(struct Channel*); 98 int (*check_close)(struct Channel*); 99 void (*reqhandler)(struct Channel*); 100 void (*closehandler)(struct Channel*); [all...] |
cli-channel.c | 26 #include "channel.h" 33 /* We receive channel data - only used by the client chansession code*/ 36 struct Channel *channel; local 41 channel = getchannel(); 43 if (channel->type != &clichansess) { 56 common_recv_msg_channel_data(channel, channel->errfd, channel->extrabuf);
|
/external/bluetooth/glib/glib/ |
giochannel.c | 4 * giochannel.c: IO Channel abstraction 62 #define USE_BUF(channel) ((channel)->encoding ? (channel)->encoded_read_buf \ 63 : (channel)->read_buf) 68 static void g_io_channel_purge (GIOChannel *channel); 69 static GIOStatus g_io_channel_fill_buffer (GIOChannel *channel, 71 static GIOStatus g_io_channel_read_line_backend (GIOChannel *channel, 78 * @channel: a #GIOChannel 87 g_io_channel_init (GIOChannel *channel) [all...] |
giounix.c | 58 GIOChannel channel; member in struct:_GIOUnixChannel 66 GIOChannel *channel; member in struct:_GIOUnixWatch 71 static GIOStatus g_io_unix_read (GIOChannel *channel, 76 static GIOStatus g_io_unix_write (GIOChannel *channel, 81 static GIOStatus g_io_unix_seek (GIOChannel *channel, 85 static GIOStatus g_io_unix_close (GIOChannel *channel, 87 static void g_io_unix_free (GIOChannel *channel); 88 static GSource* g_io_unix_create_watch (GIOChannel *channel, 90 static GIOStatus g_io_unix_set_flags (GIOChannel *channel, 93 static GIOFlags g_io_unix_get_flags (GIOChannel *channel); 447 GIOChannel *channel; local 577 GIOChannel *channel = (GIOChannel *)unix_channel; local [all...] |
giochannel.h | 121 GString *read_buf; /* Raw data from the channel */ 122 GString *encoded_read_buf; /* Channel data converted to UTF-8 */ 130 guint close_on_unref : 1; /* Close the channel on final unref */ 144 GIOStatus (*io_read) (GIOChannel *channel, 149 GIOStatus (*io_write) (GIOChannel *channel, 154 GIOStatus (*io_seek) (GIOChannel *channel, 158 GIOStatus (*io_close) (GIOChannel *channel, 160 GSource* (*io_create_watch) (GIOChannel *channel, 162 void (*io_free) (GIOChannel *channel); 163 GIOStatus (*io_set_flags) (GIOChannel *channel, [all...] |
/external/qemu/telephony/ |
sysdeps_qemu.c | 180 SysChannel channel = _s_free_channels; local 181 if (channel != NULL) { 182 _s_free_channels = channel->next; 183 channel->next = NULL; 184 channel->fd = -1; 185 channel->callback = NULL; 186 channel->opaque = NULL; 188 return channel; 192 sys_channel_free( SysChannel channel ) 194 if (channel->fd >= 0) 206 SysChannel channel = _channel; local 215 SysChannel channel = _channel; local 318 SysChannel channel = sys_channel_alloc(); local 338 SysChannel channel = sys_channel_alloc(); local 363 SysChannel channel = sys_channel_alloc(); local [all...] |
sysdeps_posix.c | 98 /*** channel allocation ***/ 108 SysChannel channel = _s_free_channels; local 109 assert( channel != NULL && "out of free channels" ); 110 _s_free_channels = channel->next; 111 channel->next = NULL; 112 channel->active = 0; 113 channel->closed = 0; 114 channel->pending = 0; 115 channel->wanted = 0; 116 return channel; 467 SysChannel channel; local 512 SysChannel channel; local 546 SysChannel channel; local 592 SysChannel channel = sys_channel_alloc(); local 613 SysChannel channel = sys_channel_alloc(); local [all...] |
/external/kernel-headers/original/asm-arm/ |
dma.h | 47 #define clear_dma_ff(channel) 54 extern void set_dma_page(dmach_t channel, char pagenr); 56 /* Request a DMA channel 60 extern int request_dma(dmach_t channel, const char * device_id); 62 /* Free a DMA channel 66 extern void free_dma(dmach_t channel); 68 /* Enable DMA for this channel 73 extern void enable_dma(dmach_t channel); 75 /* Disable DMA for this channel 80 extern void disable_dma(dmach_t channel); [all...] |
/external/e2fsprogs/lib/ext2fs/ |
io_manager.c | 22 errcode_t io_channel_set_options(io_channel channel, const char *opts) 27 EXT2_CHECK_MAGIC(channel, EXT2_ET_MAGIC_IO_CHANNEL); 32 if (!channel->manager->set_option) 50 retval = (channel->manager->set_option)(channel, ptr, arg); 59 errcode_t io_channel_write_byte(io_channel channel, unsigned long offset, 62 EXT2_CHECK_MAGIC(channel, EXT2_ET_MAGIC_IO_CHANNEL); 64 if (channel->manager->write_byte) 65 return channel->manager->write_byte(channel, offset, [all...] |
inode_io.c | 49 static errcode_t inode_open(const char *name, int flags, io_channel *channel); 50 static errcode_t inode_close(io_channel channel); 51 static errcode_t inode_set_blksize(io_channel channel, int blksize); 52 static errcode_t inode_read_blk(io_channel channel, unsigned long block, 54 static errcode_t inode_write_blk(io_channel channel, unsigned long block, 56 static errcode_t inode_flush(io_channel channel); 57 static errcode_t inode_write_byte(io_channel channel, unsigned long offset, 107 static errcode_t inode_open(const char *name, int flags, io_channel *channel) 154 *channel = io; 166 static errcode_t inode_close(io_channel channel) [all...] |
unix_io.c | 75 static errcode_t unix_open(const char *name, int flags, io_channel *channel); 76 static errcode_t unix_close(io_channel channel); 77 static errcode_t unix_set_blksize(io_channel channel, int blksize); 78 static errcode_t unix_read_blk(io_channel channel, unsigned long block, 80 static errcode_t unix_write_blk(io_channel channel, unsigned long block, 82 static errcode_t unix_flush(io_channel channel); 83 static errcode_t unix_write_byte(io_channel channel, unsigned long offset, 85 static errcode_t unix_set_option(io_channel channel, const char *option, 88 static void reuse_cache(io_channel channel, struct unix_private_data *data, 122 static errcode_t raw_read_blk(io_channel channel, [all...] |
ext2_io.h | 37 errcode_t (*read_error)(io_channel channel, 44 errcode_t (*write_error)(io_channel channel, 61 errcode_t (*open)(const char *name, int flags, io_channel *channel); 62 errcode_t (*close)(io_channel channel); 63 errcode_t (*set_blksize)(io_channel channel, int blksize); 64 errcode_t (*read_blk)(io_channel channel, unsigned long block, 66 errcode_t (*write_blk)(io_channel channel, unsigned long block, 68 errcode_t (*flush)(io_channel channel); 69 errcode_t (*write_byte)(io_channel channel, unsigned long offset, 71 errcode_t (*set_option)(io_channel channel, const char *option, [all...] |
test_io.c | 57 static errcode_t test_open(const char *name, int flags, io_channel *channel); 58 static errcode_t test_close(io_channel channel); 59 static errcode_t test_set_blksize(io_channel channel, int blksize); 60 static errcode_t test_read_blk(io_channel channel, unsigned long block, 62 static errcode_t test_write_blk(io_channel channel, unsigned long block, 64 static errcode_t test_flush(io_channel channel); 65 static errcode_t test_write_byte(io_channel channel, unsigned long offset, 67 static errcode_t test_set_option(io_channel channel, const char *option, 109 static void test_dump_block(io_channel channel, 118 for (i=0, cp = buf; i < channel->block_size; i++, cp++) [all...] |
/dalvik/libcore/nio/src/main/java/java/nio/channels/ |
SelectableChannel.java | 24 * A channel that can be used with a {@link Selector}. The channel must be 26 * which return a {@link SelectionKey} object. In order to deregister a channel 29 * done implicitly when the channel or the selector is closed. 31 * A channel may be registered with several selectors at the same time but only 35 implements Channel { 53 * Sets the blocking mode of this channel. A call to this method blocks if 61 * {@code true} for setting this channel's mode to blocking, 63 * @return this channel. 65 * if this channel is closed [all...] |
Pipe.java | 24 * A pipe contains two channels. One is the writable sink channel and the other 25 * is the readable source channel. When bytes are written into the writable 26 * channel they can be read from the readable channel. The order of these bytes 32 * Writable sink channel used to write to a pipe. 41 * the provider of the channel. 48 * Indicates that this channel only supports writing. 59 * Readable source channel used to read from a pipe. 69 * the provider of the channel. 76 * Indicates that this channel only supports reading [all...] |
Channel.java | 23 * A channel is a conduit to I/O services covering such items as files, sockets, 26 * Channels are open upon creation, and can be closed explicitly. Once a channel 28 * on the closed channel result in a <code>ClosedChannelException</code>. 30 * Particular implementations or sub-interfaces of {@code Channel} dictate 33 public interface Channel extends Closeable { 36 * Returns whether this channel is open or not. 38 * @return true if the channel is open, otherwise returns false. 43 * Closes an open channel. If the channel is already closed then this method 44 * has no effect. If there is a problem with closing the channel then th [all...] |
Channels.java | 46 * Returns an input stream on the given channel. The resulting stream has 49 * <li>If the stream is closed, then the underlying channel is closed as 52 * <li>It throws an {@link IllegalBlockingModeException} if the channel is 58 * @param channel 59 * the channel to be wrapped by an InputStream. 60 * @return an InputStream that takes bytes from the given byte channel. 62 public static InputStream newInputStream(ReadableByteChannel channel) { 63 return new ReadableByteChannelInputStream(channel); 67 * Returns an output stream on the given channel. The resulting stream has 70 * <li>If the stream is closed, then the underlying channel is closed a 207 protected ReadableByteChannel channel; field in class:Channels.ChannelInputStream 291 private WritableByteChannel channel; field in class:Channels.WritableByteChannelOutputStream [all...] |
/external/bluetooth/bluez/rfcomm/ |
rfcomm.conf | 12 # # RFCOMM channel for the connection 13 # channel 1;
|
/external/bluetooth/bluez/test/ |
hsmicro | 13 echo -e "Usage:\n\thsmicro <bdaddr> [channel]" 18 CHANNEL=$2 20 $HSTEST record - $BDADDR $CHANNEL | $SOX -t raw -r 8000 -c 1 -s -w - -t ossdsp -r 44100 -c 2 -s -w /dev/dsp polyphase vol 5.0 2> /dev/null
|
hsplay | 14 echo -e "Usage:\n\thsplay <file> <bdaddr> [channel]" 20 CHANNEL=$3 22 $MPG123 -q -s "$FILE" | $SOX -t raw -r 44100 -c 2 -s -w - -t raw -r 8000 -c 1 -s -w - | $HSTEST play - $BDADDR $CHANNEL
|
/external/e2fsprogs/e2fsck/ |
ehandler.c | 22 static errcode_t e2fsck_handle_read_error(io_channel channel, 32 ext2_filsys fs = (ext2_filsys) channel->app_data; 44 for (i=0; i < count; i++, p += channel->block_size, block++) { 45 error = io_channel_read_blk(channel, block, 61 io_channel_write_blk(channel, block, 1, data); 68 static errcode_t e2fsck_handle_write_error(io_channel channel, 78 ext2_filsys fs = (ext2_filsys) channel->app_data; 90 for (i=0; i < count; i++, p += channel->block_size, block++) { 91 error = io_channel_write_blk(channel, block, 120 void ehandler_init(io_channel channel) [all...] |
/external/srec/srec/cfront/ |
chelfep.c | 47 static featdata smoothed_c0(front_cep *cepobj, front_channel *channel); 50 int make_frame(front_channel *channel, front_wave *waveobj, 62 MEMMOVE(channel->cep + (channel->mel_dim + 1), channel->cep, 63 (Q2 - 1) *(channel->mel_dim + 1), sizeof(float)); 71 filterbank_emulation(channel, waveobj, freqobj, cepobj, 74 read channel->fbo and dump it. */ 78 cepstrum_params(channel, waveobj, freqobj, cepobj); 81 (void) make_std_frame(channel, cepobj, framdata) [all...] |
/hardware/libhardware_legacy/qemu/ |
qemu.c | 75 qemu_channel_open_qemud( QemuChannel* channel, 105 channel->is_qemud = 1; 106 channel->fd = fd; 112 qemu_channel_open_qemud_old( QemuChannel* channel, 117 snprintf(channel->device, sizeof channel->device, 120 fd = socket_local_client( channel->device, 125 channel->device, strerror(errno)); 130 channel->is_qemud_old = 1; 136 qemu_channel_open_tty( QemuChannel* channel, 268 static QemuChannel channel[1]; local [all...] |