/external/e2fsprogs/lib/ext2fs/ |
dosio.c | 51 static errcode_t dos_open(const char *dev, int flags, io_channel *channel); 52 static errcode_t dos_close(io_channel channel); 53 static errcode_t dos_set_blksize(io_channel channel, int blksize); 54 static errcode_t dos_read_blk(io_channel channel, unsigned long block, 56 static errcode_t dos_write_blk(io_channel channel, unsigned long block, 58 static errcode_t dos_flush(io_channel channel); 176 static errcode_t dos_open(const char *dev, int flags, io_channel *channel) 221 *channel = alloc_io_channel(active); 222 if (!*channel) 346 *channel = alloc_io_channel(active) [all...] |
/dalvik/libcore/nio/src/main/java/java/nio/channels/ |
FileChannel.java | 25 * An abstract channel type for interaction with a platform file. 56 * <li>transfer data directly to another channel in a manner that has the 75 * Therefore, modifications performed via a channel will be visible to the 131 * Requests that all updates to this channel are committed to the storage 135 * underlying this channel have been committed if the file resides on a 148 * such as last access time), even if the channel is opened read-only. 154 * if this channel is already closed. 169 * the file channel is closed. 171 * this channel was not opened for writing. 180 * the channel was closed while the calling thread was waitin [all...] |
SelectionKey.java | 22 * A {@code SelectionKey} represents the relationship between a channel and a 23 * selector for which the channel is registered. 26 * set represent categories of operations for a key's channel: Accepting socket 31 * {@link SelectableChannel channel} is interested in performing. 34 * {@code channel} is ready to execute. 109 * Gets the channel of this key. 111 * @return the channel of this key. 113 public abstract SelectableChannel channel(); method in class:SelectionKey 117 * only those bits set that are valid for this key's channel. 134 * key's channel [all...] |
GatheringByteChannel.java | 30 * Writes bytes from all the given buffers to a channel. 38 * if the channel is closed by another thread during this write 43 * thread is set and the channel is closed. 45 * if the channel is closed. 53 * if the channel has not been opened in a mode that permits 68 * to the channel. 76 * if the channel is closed by another thread during this write 81 * thread is set and the channel is closed. 83 * if the channel is closed. 91 * if the channel was not opened for writing [all...] |
ServerSocketChannel.java | 32 * A server-socket channel is open but not bound when created by the {@code 50 * Creates an open and unbound server-socket channel. 52 * This channel is created by calling {@code openServerSocketChannel} method 55 * @return the new channel which is open but unbound. 64 * Gets the valid operations of this channel. Server-socket channels support 69 * @return the operations supported by this channel. 77 * Return the server-socket assigned this channel, which does not declare 80 * @return the server-socket assigned to this channel. 85 * Accepts a connection to this server-socket channel. 87 * This method returns {@code null} when this channel is non-blocking and n [all...] |
ScatteringByteChannel.java | 30 * Reads bytes from this channel into the specified array of buffers. 38 * if the channel is closed by another thread during this read 43 * thread is set and the channel is closed. 45 * if the channel is closed. 49 * if the channel has not been opened in a mode that permits 70 * if the channel is closed by another thread during this read 75 * thread is set and the channel is closed. 77 * if the channel is closed. 85 * if the channel has not been opened in a mode that permits
|
/external/libxml2/ |
error.c | 174 xmlGenericErrorFunc channel, void *data ) { 206 channel(data ,"%s\n", content); 218 channel(data ,"%s\n", content); 244 xmlGenericErrorFunc channel, void *data) 259 if (channel == NULL) { 260 channel = xmlGenericError; 288 channel(data, "%s:%d: ", input->filename, input->line); 290 channel(data, "Entity: line %d: ", input->line); 294 channel(data, "%s:%d: ", file, line); 296 channel(data, "Entity: line %d: ", line) [all...] |
/external/bluetooth/glib/docs/reference/glib/tmpl/ |
iochannels.sgml | 18 Alternatively, a channel can be created for a file in a system independent 39 Using g_io_add_watch() or g_io_add_watch_full() increments a channel's 48 and g_io_channel_seek() on the same channel. 72 A data structure representing an IO Channel. The fields should be considered 117 @channel: a #GIOChannel, created with g_io_channel_unix_new(). 163 Polling a #GSource created to watch a channel for a socket 190 @channel: 208 @channel: 221 @channel: 232 @channel: [all...] |
/external/qemu/distrib/sdl-1.2.12/src/audio/macrom/ |
SDL_romaudio.c | 265 /* Create the sound manager channel */ 266 channel = (SndChannelPtr)SDL_malloc(sizeof(*channel)); 267 if ( channel == NULL ) { 276 channel->userInfo = (long)this; 277 channel->qLength = 128; 278 if ( SndNewChannel(&channel, sampledSynth, initOptions, callback) != noErr ) { 279 SDL_SetError("Unable to create audio channel"); 280 SDL_free(channel); 281 channel = NULL [all...] |
SDL_romaudio.h | 36 /* Sound manager audio channel */ 37 SndChannelPtr channel; member in struct:SDL_PrivateAudioData 47 #define channel (this->hidden->channel) macro
|
/external/srec/srec/cfront/ |
chelmel4.c | 60 front_channel *channel); 67 void cepstrum_params(front_channel *channel, front_wave *waveobj, 73 mel_spectrum_correction(freqobj->filterbank, cepobj->mel_loop, channel->num_freq); 76 mel_loglookup_with_offset(cepobj, channel); 79 write_scaled_frames(freqobj->nf, 1, channel->filterbank, D_FIXED, 1 / (float)LOG_SCALE); 83 icostrans(cepobj->cs, channel->filterbank, channel->cep, 84 channel->num_freq, cepobj->mel_dim); 88 write_scaled_frames((cepobj->mel_dim + 1), 1, channel->cep, D_FIXED, (float)1 / (0x01 << (LOG_SCALE_SHIFT + COSINE_TABLE_SHIFT))); 126 front_channel *channel) [all...] |
spec_anl.c | 56 void filterbank_emulation(front_channel * channel, front_wave *waveobj, 63 MEMMOVE(channel->cep + (channel->mel_dim + 1), channel->cep, 64 (Q2 - 1) *(channel->mel_dim + 1), sizeof(cepdata)); 65 channel->shift = 0; 71 preemph(channel->prebuff, freqobj->window_length, income, num_samples, 72 waveobj->pre_mel, &channel->lastx); 76 write_scaled_frames(freqobj->window_length, 1, channel->prebuff, D_FIXED, (float) 1 / (0x01 << WAVE_SHIFT)); 83 channel->shift += place_sample_data(&freqobj->fft, channel->prebuff [all...] |
/external/tcpdump/tests/ |
lmp.new | 2 LMPv1, msg-type: Begin Verify, Flags: [Control Channel Down], length: 56 18 LMPv1, msg-type: Hello, Flags: [Control Channel Down], length: 28 19 Control Channel ID Object (1), Class-Type: Local (1) Flags: [non-negotiable], length: 8 20 Control Channel ID: 1 (0x00000001) 25 LMPv1, msg-type: Config NACK, Flags: [Control Channel Down], length: 56 26 Control Channel ID Object (1), Class-Type: Local (1) Flags: [non-negotiable], length: 8 27 Control Channel ID: 1 (0x00000001) 30 Control Channel ID Object (1), Class-Type: Remote (2) Flags: [non-negotiable], length: 8 31 Control Channel ID: 2 (0x00000002) 40 LMPv1, msg-type: Config ACK, Flags: [Control Channel Down], length: 4 [all...] |
lmp.out | 2 LMPv1, msg-type: Begin Verify, Flags: [Control Channel Down], length: 56 18 LMPv1, msg-type: Hello, Flags: [Control Channel Down], length: 28 19 Control Channel ID Object (1), Class-Type: Local (1) Flags: [non-negotiable], length: 8 20 Control Channel ID: 1 (0x00000001) 25 LMPv1, msg-type: Config NACK, Flags: [Control Channel Down], length: 56 26 Control Channel ID Object (1), Class-Type: Local (1) Flags: [non-negotiable], length: 8 27 Control Channel ID: 1 (0x00000001) 30 Control Channel ID Object (1), Class-Type: Remote (2) Flags: [non-negotiable], length: 8 31 Control Channel ID: 2 (0x00000002) 40 LMPv1, msg-type: Config ACK, Flags: [Control Channel Down], length: 4 [all...] |
/external/bluetooth/bluez/compat/ |
hidd.h | 27 int epox_presenter(const bdaddr_t *src, const bdaddr_t *dst, uint8_t channel); 28 int headset_presenter(const bdaddr_t *src, const bdaddr_t *dst, uint8_t channel); 29 int jthree_keyboard(const bdaddr_t *src, const bdaddr_t *dst, uint8_t channel); 30 int celluon_keyboard(const bdaddr_t *src, const bdaddr_t *dst, uint8_t channel);
|
/hardware/broadcom/wlan/bcm4329/src/shared/ |
bcmwifi.c | 55 uint channel; local 60 channel = CHSPEC_CHANNEL(chspec); 62 if ((CHSPEC_IS2G(chspec) && channel > CH_MAX_2G_CHANNEL) || 63 (CHSPEC_IS5G(chspec) && channel <= CH_MAX_2G_CHANNEL)) 68 channel += CH_10MHZ_APART; 71 channel -= CH_10MHZ_APART; 78 snprintf(buf, 6, "%d%s%s%s", channel, band, bw, sb); 87 uint channel, band, bw, ctl_sb; local 90 channel = strtoul(a, &endp, 10); 96 if (channel > MAXCHANNEL [all...] |
/external/bluetooth/bluez/plugins/ |
netlink.c | 46 static GIOChannel *channel; variable 56 debug("Message available on netlink channel"); 65 channel = g_io_channel_unix_new(fd); 66 if (channel == NULL) 69 g_io_add_watch(channel, G_IO_IN | G_IO_ERR | G_IO_HUP | G_IO_NVAL, 107 error("Failed to create netlink IO channel"); 119 g_io_channel_unref(channel);
|
/external/webkit/WebCore/platform/mac/ |
LoggingMac.mm | 30 static inline void initializeWithUserDefault(WTFLogChannel& channel) 32 NSString *logLevelString = [[NSUserDefaults standardUserDefaults] objectForKey:[NSString stringWithUTF8String:channel.defaultName]]; 36 NSLog(@"unable to parse hex value for %s (%@), logging is off", channel.defaultName, logLevelString); 37 if ((logLevel & channel.mask) == channel.mask) 38 channel.state = WTFLogChannelOn; 40 channel.state = WTFLogChannelOff;
|
/external/qemu/distrib/sdl-1.2.12/src/video/photon/ |
SDL_phyuv.c | 47 int grab_ptrs2(PgVideoChannel_t* channel, FRAMEDATA* Frame0, FRAMEDATA* Frame1) 52 Frame0->Y = (unsigned char *)PdGetOffscreenContextPtr(channel->yplane1); 53 Frame1->Y = (unsigned char *)PdGetOffscreenContextPtr(channel->yplane2); 54 Frame0->U = (unsigned char *)PdGetOffscreenContextPtr(channel->vplane1); 55 Frame1->U = (unsigned char *)PdGetOffscreenContextPtr(channel->vplane2); 56 Frame0->V = (unsigned char *)PdGetOffscreenContextPtr(channel->uplane1); 57 Frame1->V = (unsigned char *)PdGetOffscreenContextPtr(channel->uplane2); 112 if (overlay->hwdata->channel == NULL) 114 if ((overlay->hwdata->channel = PgCreateVideoChannel(Pg_VIDEO_CHANNEL_SCALER, 0)) == NULL) 116 SDL_SetError("ph_CreateYUVOverlay(): Create channel failed: %s\n", strerror(errno)) [all...] |
/hardware/libhardware_legacy/ |
qemu.h | 29 * QEMU communication channel, either through a qemud socket or 44 /* try to open a qemu communication channel. 48 * 'channel' must be a QemuChannel structure that is empty 50 * time to re-open the channel using the same 'channel' 53 extern int qemu_channel_open( QemuChannel* channel, 70 /* directly sends a command through the 'hw-control' channel. 71 * this will open the channel, send the formatted command, then 72 * close the channel automatically. 77 /* sends a question to the hw-control channel, then receive an answer i [all...] |
/external/bluetooth/bluez/test/ |
attest.c | 101 static int open_socket(bdaddr_t *bdaddr, uint8_t channel) 127 addr.rc_channel = channel; 141 printf("Usage:\n\tattest <device> | <bdaddr> [channel]\n"); 149 uint8_t channel; local 154 channel = 1; 158 channel = atoi(argv[2]); 166 printf("Connecting to %s on channel %d\n", argv[1], channel); 167 fd = open_socket(&bdaddr, channel);
|
/packages/apps/IM/plugin/com/android/im/plugin/ |
ImpsConfigNames.java | 30 * The data channel banding. 32 public static final String DATA_CHANNEL = "imps.data-channel"; 35 * The data channel encoding. 40 * The CIR channel banding. 42 public static final String CIR_CHANNEL = "imps.cir-channel"; 45 * The backup CIR channel used when the application is in background. 47 public static final String BACKUP_CIR_CHANNEL = "imps.backup-cir-channel"; 65 * The address for the SMS CIR channel. 70 * The port number for SMS CIR channel.
|
/dalvik/libcore/nio/src/main/java/org/apache/harmony/nio/internal/ |
SocketChannelImpl.java | 139 * Constructor for creating a connected socket channel. 147 * Constructor for creating an optionally connected socket channel. 441 * Read from channel, and store the result in the target. 676 SocketChannelImpl channel; field in class:SocketChannelImpl.SocketAdapter 680 SocketAdapter(SocketImpl socketimpl, SocketChannelImpl channel) 684 this.channel = channel; 692 return channel; 700 return channel.isBound; 708 return channel.isConnected() 991 SocketChannel channel; field in class:SocketChannelImpl.SocketChannelOutputStream 1043 SocketChannel channel; field in class:SocketChannelImpl.SocketChannelInputStream [all...] |
/external/qemu/android/ |
hw-qemud.c | 56 * channel between clients running in the emulated system and 'services' 68 * unframe messages (i.e. extract payload length + channel id from header, 146 * It parses the header to extract the channel id and payload length, 183 typedef void (*QemudSerialReceive)( void* opaque, int channel, uint8_t* msg, int msglen); 281 /* extract payload length + channel id */ 293 D("%s: ignoring huge serial packet: length=%d channel=%1", 310 D("%s: channel=%2d len=%3d '%s'", __FUNCTION__, 333 * <length><channel><payload> 337 * <channel><length><payload> 339 * where <channel> is a 2-hexchar string, and <length> a 4-hexcha 493 int channel; member in struct:QemudClient 912 int channel, ret; local 975 int channel; local [all...] |
/external/bluetooth/bluez/rfcomm/ |
rfcomm.1 | 89 .BI connect " <dev> [bdaddr] [channel]" 91 specified channel. If no channel is specified, it will use the 92 channel number 1. If also the Bluetooth address is left out, it 96 .BI listen " <dev> [channel] [cmd]" 97 Listen on a specified RFCOMM channel for incoming connections. 98 If no channel is specified, it will use the channel number 1, but 99 a channel must be specified before cmd. If cmd is given, it will be 106 .BI watch " <dev> [channel] [cmd] [all...] |