/external/e2fsprogs/lib/ext2fs/ |
D | unix_io.c | 99 static errcode_t unix_open(const char *name, int flags, io_channel *channel); 100 static errcode_t unix_close(io_channel channel); 101 static errcode_t unix_set_blksize(io_channel channel, int blksize); 102 static errcode_t unix_read_blk(io_channel channel, unsigned long block, 104 static errcode_t unix_write_blk(io_channel channel, unsigned long block, 106 static errcode_t unix_flush(io_channel channel); 107 static errcode_t unix_write_byte(io_channel channel, unsigned long offset, 109 static errcode_t unix_set_option(io_channel channel, const char *option, 111 static errcode_t unix_get_stats(io_channel channel, io_stats *stats) 113 static void reuse_cache(io_channel channel, struct unix_private_data *data, [all …]
|
D | io_manager.c | 22 errcode_t io_channel_set_options(io_channel channel, const char *opts) in io_channel_set_options() argument 27 EXT2_CHECK_MAGIC(channel, EXT2_ET_MAGIC_IO_CHANNEL); in io_channel_set_options() 32 if (!channel->manager->set_option) in io_channel_set_options() 50 retval = (channel->manager->set_option)(channel, ptr, arg); in io_channel_set_options() 59 errcode_t io_channel_write_byte(io_channel channel, unsigned long offset, in io_channel_write_byte() argument 62 EXT2_CHECK_MAGIC(channel, EXT2_ET_MAGIC_IO_CHANNEL); in io_channel_write_byte() 64 if (channel->manager->write_byte) in io_channel_write_byte() 65 return channel->manager->write_byte(channel, offset, in io_channel_write_byte() 71 errcode_t io_channel_read_blk64(io_channel channel, unsigned long long block, in io_channel_read_blk64() argument 74 EXT2_CHECK_MAGIC(channel, EXT2_ET_MAGIC_IO_CHANNEL); in io_channel_read_blk64() [all …]
|
D | undo_io.c | 73 static errcode_t undo_open(const char *name, int flags, io_channel *channel); 74 static errcode_t undo_close(io_channel channel); 75 static errcode_t undo_set_blksize(io_channel channel, int blksize); 76 static errcode_t undo_read_blk64(io_channel channel, unsigned long long block, 78 static errcode_t undo_write_blk64(io_channel channel, unsigned long long block, 80 static errcode_t undo_read_blk(io_channel channel, unsigned long block, 82 static errcode_t undo_write_blk(io_channel channel, unsigned long block, 84 static errcode_t undo_flush(io_channel channel); 85 static errcode_t undo_write_byte(io_channel channel, unsigned long offset, 87 static errcode_t undo_set_option(io_channel channel, const char *option, [all …]
|
D | 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, 59 static errcode_t inode_read_blk64(io_channel channel, 61 static errcode_t inode_write_blk64(io_channel channel, 115 static errcode_t inode_open(const char *name, int flags, io_channel *channel) in inode_open() argument [all …]
|
D | test_io.c | 65 static errcode_t test_open(const char *name, int flags, io_channel *channel); 66 static errcode_t test_close(io_channel channel); 67 static errcode_t test_set_blksize(io_channel channel, int blksize); 68 static errcode_t test_read_blk(io_channel channel, unsigned long block, 70 static errcode_t test_write_blk(io_channel channel, unsigned long block, 72 static errcode_t test_read_blk64(io_channel channel, unsigned long long block, 74 static errcode_t test_write_blk64(io_channel channel, unsigned long long block, 76 static errcode_t test_flush(io_channel channel); 77 static errcode_t test_write_byte(io_channel channel, unsigned long offset, 79 static errcode_t test_set_option(io_channel channel, const char *option, [all …]
|
D | ext2_io.h | 42 errcode_t (*read_error)(io_channel channel, 49 errcode_t (*write_error)(io_channel channel, 74 errcode_t (*open)(const char *name, int flags, io_channel *channel); 75 errcode_t (*close)(io_channel channel); 76 errcode_t (*set_blksize)(io_channel channel, int blksize); 77 errcode_t (*read_blk)(io_channel channel, unsigned long block, 79 errcode_t (*write_blk)(io_channel channel, unsigned long block, 81 errcode_t (*flush)(io_channel channel); 82 errcode_t (*write_byte)(io_channel channel, unsigned long offset, 84 errcode_t (*set_option)(io_channel channel, const char *option, [all …]
|
D | dosio.c | 54 static errcode_t dos_open(const char *dev, int flags, io_channel *channel); 55 static errcode_t dos_close(io_channel channel); 56 static errcode_t dos_set_blksize(io_channel channel, int blksize); 57 static errcode_t dos_read_blk(io_channel channel, unsigned long block, 59 static errcode_t dos_write_blk(io_channel channel, unsigned long block, 61 static errcode_t dos_flush(io_channel channel); 179 static errcode_t dos_open(const char *dev, int flags, io_channel *channel) in dos_open() argument 224 *channel = alloc_io_channel(active); in dos_open() 225 if (!*channel) in dos_open() 349 *channel = alloc_io_channel(active); in dos_open() [all …]
|
/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_format_pack.py | 54 for channel in format.channels: 55 if channel.size % 8 or not is_pot(channel.size): 59 for channel in format.channels: 61 if channel.type == VOID: 62 if channel.size: 63 print ' unsigned %s:%u;' % (channel.name, channel.size) 64 elif channel.type == UNSIGNED: 65 print ' unsigned %s:%u;' % (channel.name, channel.size) 66 elif channel.type in (SIGNED, FIXED): 67 print ' int %s:%u;' % (channel.name, channel.size) [all …]
|
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/template/ |
D | group-file-lexer.rb | 119 channel = ANTLR3::DEFAULT_CHANNEL 128 @state.channel = channel 143 channel = ANTLR3::DEFAULT_CHANNEL 152 @state.channel = channel 167 channel = ANTLR3::DEFAULT_CHANNEL 176 @state.channel = channel 191 channel = ANTLR3::DEFAULT_CHANNEL 200 @state.channel = channel 215 channel = ANTLR3::DEFAULT_CHANNEL 224 @state.channel = channel [all …]
|
/external/webrtc/src/modules/audio_processing/ |
D | audio_buffer.cc | 97 int16_t* AudioBuffer::data(int channel) const { in data() 98 assert(channel >= 0 && channel < num_channels_); in data() 103 return channels_[channel].data; in data() 106 int16_t* AudioBuffer::low_pass_split_data(int channel) const { in low_pass_split_data() 107 assert(channel >= 0 && channel < num_channels_); in low_pass_split_data() 109 return data(channel); in low_pass_split_data() 112 return split_channels_[channel].low_pass_data; in low_pass_split_data() 115 int16_t* AudioBuffer::high_pass_split_data(int channel) const { in high_pass_split_data() 116 assert(channel >= 0 && channel < num_channels_); in high_pass_split_data() 121 return split_channels_[channel].high_pass_data; in high_pass_split_data() [all …]
|
/external/jetty/src/java/org/eclipse/jetty/client/ |
D | SelectConnector.java | 70 SocketChannel channel = null; in startConnection() local 73 channel = SocketChannel.open(); in startConnection() 75 channel.socket().setTcpNoDelay(true); in startConnection() 79 … channel.socket().connect(address.toSocketAddress(), _httpClient.getConnectTimeout()); in startConnection() 80 channel.configureBlocking(false); in startConnection() 81 _selectorManager.register( channel, destination ); in startConnection() 85 channel.configureBlocking(false); in startConnection() 86 channel.connect(address.toSocketAddress()); in startConnection() 87 _selectorManager.register(channel,destination); in startConnection() 88 ConnectTimeout connectTimeout = new ConnectTimeout(channel,destination); in startConnection() [all …]
|
/external/jmonkeyengine/engine/src/core/com/jme3/cinematic/events/ |
D | AnimationTrack.java | 56 protected AnimChannel channel; field in AnimationTrack 91 if (channel == null) { in initEvent() 94 this.channel = (AnimChannel) s; in initEvent() 98 channel = model.getControl(AnimControl.class).createChannel(); in initEvent() 99 cinematic.putEventData("modelChannels", modelName, channel); in initEvent() 113 t = t % channel.getAnimMaxTime(); in setTime() 116 float parity = (float)Math.ceil(time / channel.getAnimMaxTime()); in setTime() 118 t = channel.getAnimMaxTime() - t % channel.getAnimMaxTime(); in setTime() 120 t = t % channel.getAnimMaxTime(); in setTime() 124 channel.setTime(t); in setTime() [all …]
|
/external/libxml2/ |
D | error.c | 174 xmlGenericErrorFunc channel, void *data ) { in xmlParserPrintFileContextInternal() argument 206 channel(data ,"%s\n", content); in xmlParserPrintFileContextInternal() 218 channel(data ,"%s\n", content); in xmlParserPrintFileContextInternal() 244 xmlGenericErrorFunc channel, void *data) in xmlReportError() argument 259 if (channel == NULL) { in xmlReportError() 260 channel = xmlGenericError; in xmlReportError() 288 channel(data, "%s:%d: ", input->filename, input->line); in xmlReportError() 290 channel(data, "Entity: line %d: ", input->line); in xmlReportError() 294 channel(data, "%s:%d: ", file, line); in xmlReportError() 299 channel(data, "Entity: line %d: ", line); in xmlReportError() [all …]
|
/external/wpa_supplicant_8/src/drivers/ |
D | driver_macsec_qca.c | 520 static int macsec_qca_get_receive_lowest_pn(void *priv, u32 channel, u8 an, in macsec_qca_get_receive_lowest_pn() argument 529 ret += nss_macsec_secy_rx_sa_next_pn_get(drv->secy_id, channel, an, in macsec_qca_get_receive_lowest_pn() 531 ret += nss_macsec_secy_rx_sc_replay_protect_get(drv->secy_id, channel, in macsec_qca_get_receive_lowest_pn() 534 channel, &win); in macsec_qca_get_receive_lowest_pn() 547 static int macsec_qca_get_transmit_next_pn(void *priv, u32 channel, u8 an, in macsec_qca_get_transmit_next_pn() argument 553 ret += nss_macsec_secy_tx_sa_next_pn_get(drv->secy_id, channel, an, in macsec_qca_get_transmit_next_pn() 562 int macsec_qca_set_transmit_next_pn(void *priv, u32 channel, u8 an, u32 next_pn) in macsec_qca_set_transmit_next_pn() argument 567 ret += nss_macsec_secy_tx_sa_next_pn_set(drv->secy_id, channel, an, in macsec_qca_set_transmit_next_pn() 576 static int macsec_qca_get_available_receive_sc(void *priv, u32 *channel) in macsec_qca_get_available_receive_sc() argument 590 *channel = sc_ch; in macsec_qca_get_available_receive_sc() [all …]
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | wpas_kay.c | 66 static int wpas_get_receive_lowest_pn(void *wpa_s, u32 channel, in wpas_get_receive_lowest_pn() argument 69 return wpa_drv_get_receive_lowest_pn(wpa_s, channel, an, lowest_pn); in wpas_get_receive_lowest_pn() 73 static int wpas_get_transmit_next_pn(void *wpa_s, u32 channel, in wpas_get_transmit_next_pn() argument 76 return wpa_drv_get_transmit_next_pn(wpa_s, channel, an, next_pn); in wpas_get_transmit_next_pn() 80 static int wpas_set_transmit_next_pn(void *wpa_s, u32 channel, in wpas_set_transmit_next_pn() argument 83 return wpa_drv_set_transmit_next_pn(wpa_s, channel, an, next_pn); in wpas_set_transmit_next_pn() 87 static int wpas_get_available_receive_sc(void *wpa_s, u32 *channel) in wpas_get_available_receive_sc() argument 89 return wpa_drv_get_available_receive_sc(wpa_s, channel); in wpas_get_available_receive_sc() 107 static int wpas_create_receive_sc(void *wpa_s, u32 channel, in wpas_create_receive_sc() argument 112 return wpa_drv_create_receive_sc(wpa_s, channel, sci->addr, sci->port, in wpas_create_receive_sc() [all …]
|
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/ |
D | ChannelHelper.java | 30 …public static ByteBuffer readFully(final ReadableByteChannel channel, long size) throws IOExceptio… in readFully() argument 32 if (channel instanceof FileChannel && size > 1024 * 1024) { in readFully() 33 …ByteBuffer bb = ((FileChannel) channel).map(FileChannel.MapMode.READ_ONLY, ((FileChannel) channel)… in readFully() 34 ((FileChannel) channel).position(((FileChannel) channel).position() + size); in readFully() 38 readFully(channel, buf, buf.limit()); in readFully() 48 public static void readFully(final ReadableByteChannel channel, final ByteBuffer buf) in readFully() argument 50 readFully(channel, buf, buf.remaining()); in readFully() 53 …public static int readFully(final ReadableByteChannel channel, final ByteBuffer buf, final int len… in readFully() argument 56 while (-1 != (n = channel.read(buf))) { in readFully() 69 public static void writeFully(final WritableByteChannel channel, final ByteBuffer buf) in writeFully() argument [all …]
|
/external/sonivox/jet_tools/JetCreator/ |
D | midifile.py | 193 def __init__ (self, track, channel, name, empty): argument 195 self.channel = channel 199 return "['%s', '%s', '%s']" % (self.track, self.channel, self.name) 320 def __init__ (self, channel, exclude=True): argument 321 self.channel = channel 325 if event.channel in self.channel: 367 status = msg + self.channel 395 def __init__ (self, ticks, seq, channel, note, velocity): argument 400 self.channel = channel 406 channel = msg_type & 0x0f [all …]
|
/external/sonivox/arm-fm-22k/lib_src/ |
D | eas_voicemgt.c | 165 EAS_INLINE EAS_U8 VSynthToChannel (S_SYNTH *pSynth, EAS_U8 channel) in VSynthToChannel() argument 168 return channel | (pSynth->vSynthNum << 4); in VSynthToChannel() 179 pVoice->channel = UNASSIGNED_SYNTH_CHANNEL; in InitVoice() 211 pSynth = pVoiceMgr->pSynth[GET_VSYNTH(pVoice->channel)]; in IncVoicePoolCount() 212 pool = pSynth->channels[GET_CHANNEL(pVoice->channel)].pool; in IncVoicePoolCount() 244 pSynth = pVoiceMgr->pSynth[GET_VSYNTH(pVoice->channel)]; in DecVoicePoolCount() 245 pool = pSynth->channels[GET_CHANNEL(pVoice->channel)].pool; in DecVoicePoolCount() 595 if (GET_VSYNTH(pVoiceMgr->voices[i].channel) == vSynthNum) in VMInitializeAllVoices() 625 pSynth = pVoiceMgr->pSynth[GET_VSYNTH(pVoice->channel)]; in VMMuteVoice() 686 void VMSetMIPEntry (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, EAS_U8 channel, EAS_U8 priority, EAS_U… in VMSetMIPEntry() argument [all …]
|
/external/sonivox/arm-hybrid-22k/lib_src/ |
D | eas_voicemgt.c | 165 EAS_INLINE EAS_U8 VSynthToChannel (S_SYNTH *pSynth, EAS_U8 channel) in VSynthToChannel() argument 168 return channel | (pSynth->vSynthNum << 4); in VSynthToChannel() 179 pVoice->channel = UNASSIGNED_SYNTH_CHANNEL; in InitVoice() 211 pSynth = pVoiceMgr->pSynth[GET_VSYNTH(pVoice->channel)]; in IncVoicePoolCount() 212 pool = pSynth->channels[GET_CHANNEL(pVoice->channel)].pool; in IncVoicePoolCount() 244 pSynth = pVoiceMgr->pSynth[GET_VSYNTH(pVoice->channel)]; in DecVoicePoolCount() 245 pool = pSynth->channels[GET_CHANNEL(pVoice->channel)].pool; in DecVoicePoolCount() 595 if (GET_VSYNTH(pVoiceMgr->voices[i].channel) == vSynthNum) in VMInitializeAllVoices() 625 pSynth = pVoiceMgr->pSynth[GET_VSYNTH(pVoice->channel)]; in VMMuteVoice() 686 void VMSetMIPEntry (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, EAS_U8 channel, EAS_U8 priority, EAS_U… in VMSetMIPEntry() argument [all …]
|
/external/sonivox/arm-wt-22k/lib_src/ |
D | eas_voicemgt.c | 165 EAS_INLINE EAS_U8 VSynthToChannel (S_SYNTH *pSynth, EAS_U8 channel) in VSynthToChannel() argument 168 return channel | (pSynth->vSynthNum << 4); in VSynthToChannel() 179 pVoice->channel = UNASSIGNED_SYNTH_CHANNEL; in InitVoice() 211 pSynth = pVoiceMgr->pSynth[GET_VSYNTH(pVoice->channel)]; in IncVoicePoolCount() 212 pool = pSynth->channels[GET_CHANNEL(pVoice->channel)].pool; in IncVoicePoolCount() 244 pSynth = pVoiceMgr->pSynth[GET_VSYNTH(pVoice->channel)]; in DecVoicePoolCount() 245 pool = pSynth->channels[GET_CHANNEL(pVoice->channel)].pool; in DecVoicePoolCount() 595 if (GET_VSYNTH(pVoiceMgr->voices[i].channel) == vSynthNum) in VMInitializeAllVoices() 625 pSynth = pVoiceMgr->pSynth[GET_VSYNTH(pVoice->channel)]; in VMMuteVoice() 686 void VMSetMIPEntry (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, EAS_U8 channel, EAS_U8 priority, EAS_U… in VMSetMIPEntry() argument [all …]
|
/external/toybox/toys/other/ |
D | mix.c | 36 int mask, channel = -1, level, fd; local 42 for (channel = 0; channel < SOUND_MIXER_NRDEVICES; channel++) { 43 if ((1<<channel) & mask) { 45 if (!strcmp(channels[channel], TT.chan)) break; 47 else printf("%s\n", channels[channel]); 52 else if (channel == SOUND_MIXER_NRDEVICES) error_exit("bad -c '%s'", TT.chan); 55 xioctl(fd, MIXER_READ(channel), &level); 58 TT.dev, channels[channel], level>>8, level & 0xFF); 59 else xprintf("%s:%s = %d\n", TT.dev, channels[channel], level); 64 xioctl(fd, MIXER_WRITE(channel), &level);
|
/external/antlr/antlr-3.4/runtime/Python/antlr3/ |
D | tokens.py | 115 def setChannel(self, channel): argument 177 def __init__(self, type=None, channel=DEFAULT_CHANNEL, text=None, argument 185 self.channel = oldToken.channel 198 self.channel = channel 267 return self.channel 269 def setChannel(self, channel): argument 270 self.channel = channel 292 if self.channel > 0: 293 channelStr = ",channel=" + str(self.channel) 323 def __init__(self, type=None, text=None, channel=DEFAULT_CHANNEL, argument [all …]
|
/external/jetty/src/java/org/eclipse/jetty/websocket/ |
D | WebSocketClient.java | 342 SocketChannel channel = null; in open() local 345 channel = SocketChannel.open(); in open() 347 channel.socket().bind(_bindAddress); in open() 348 channel.socket().setTcpNoDelay(true); in open() 350 WebSocketFuture holder = new WebSocketFuture(websocket,uri,this,channel); in open() 352 channel.configureBlocking(false); in open() 353 channel.connect(address); in open() 354 _factory.getSelectorManager().register(channel,holder); in open() 361 IO.close(channel); in open() 369 IO.close(channel); in open() [all …]
|
/external/wpa_supplicant_8/src/ap/ |
D | dfs.c | 268 int channel_no = iface->conf->channel; in dfs_get_start_chan_idx() 335 mode->num_channels, channel_no, iface->conf->channel, in dfs_get_start_chan_idx() 354 struct hostapd_channel_data *channel; in dfs_check_chans_radar() local 361 channel = &mode->channels[start_chan_idx + i]; in dfs_check_chans_radar() 362 if (channel->flag & HOSTAPD_CHAN_RADAR) in dfs_check_chans_radar() 374 struct hostapd_channel_data *channel; in dfs_check_chans_available() local 381 channel = &mode->channels[start_chan_idx + i]; in dfs_check_chans_available() 383 if (channel->flag & HOSTAPD_CHAN_DISABLED) in dfs_check_chans_available() 386 if (!(channel->flag & HOSTAPD_CHAN_RADAR)) in dfs_check_chans_available() 389 if ((channel->flag & HOSTAPD_CHAN_DFS_MASK) != in dfs_check_chans_available() [all …]
|
/external/okhttp/benchmarks/src/main/java/com/squareup/okhttp/benchmarks/ |
D | NettyHttpClient.java | 23 import io.netty.channel.Channel; 24 import io.netty.channel.ChannelHandlerContext; 25 import io.netty.channel.ChannelInitializer; 26 import io.netty.channel.ChannelOption; 27 import io.netty.channel.ChannelPipeline; 28 import io.netty.channel.SimpleChannelInboundHandler; 29 import io.netty.channel.nio.NioEventLoopGroup; 30 import io.netty.channel.socket.SocketChannel; 31 import io.netty.channel.socket.nio.NioSocketChannel; 69 @Override public void initChannel(SocketChannel channel) throws Exception { in prepare() [all …]
|