Searched defs:as (Results 1 - 25 of 54) sorted by relevance

123

/external/clang/test/CodeGenCXX/
H A Dglobal-init-darwin.cpp9 A as[2]; variable
H A Dpartial-destruction.cpp11 A as[10] = { 5, 7 }; local
/external/qemu/audio/
H A Daudio_win_int.c15 struct audsettings *as)
20 wfx->nChannels = as->nchannels;
21 wfx->nSamplesPerSec = as->freq;
22 wfx->nAvgBytesPerSec = as->freq << (as->nchannels == 2);
23 wfx->nBlockAlign = 1 << (as->nchannels == 2);
26 switch (as->fmt) {
47 dolog ("Internal logic error: Bad audio format %d\n", as->freq);
55 struct audsettings *as)
67 as
14 waveformat_from_audio_settings(WAVEFORMATEX *wfx, struct audsettings *as) argument
54 waveformat_to_audio_settings(WAVEFORMATEX *wfx, struct audsettings *as) argument
[all...]
H A Ddsound_template.h177 static int dsound_init_in (HWVoiceIn *hw, struct audsettings *as) argument
179 static int dsound_init_out (HWVoiceOut *hw, struct audsettings *as)
204 err = waveformat_from_audio_settings (&wfx, as);
H A Dnoaudio.c66 static int no_init_out (HWVoiceOut *hw, struct audsettings *as) argument
68 audio_pcm_init_info (&hw->info, as);
85 static int no_init_in (HWVoiceIn *hw, struct audsettings *as) argument
87 audio_pcm_init_info (&hw->info, as);
H A Dwavcapture.c15 /* VICE code: Store number as little endian. */
95 struct audsettings as; local
114 as.freq = freq;
115 as.nchannels = 1 << stereo;
116 as.fmt = bits16 ? AUD_FMT_S16 : AUD_FMT_U8;
117 as.endianness = 0;
128 le_store (hdr + 22, as.nchannels, 2);
148 cap = AUD_add_capture (&as, &ops, wav);
H A Desdaudio.c225 static int qesd_init_out (HWVoiceOut *hw, struct audsettings *as) argument
228 struct audsettings obt_as = *as;
231 esdfmt |= (as->nchannels == 2) ? ESD_STEREO : ESD_MONO;
232 switch (as->fmt) {
251 dolog ("Internal logic error: Bad audio format %d\n", as->fmt);
267 esd->fd = FF(esd_play_stream) (esdfmt, as->freq, conf.dac_host, NULL);
436 static int qesd_init_in (HWVoiceIn *hw, struct audsettings *as) argument
439 struct audsettings obt_as = *as;
442 esdfmt |= (as->nchannels == 2) ? ESD_STEREO : ESD_MONO;
443 switch (as
[all...]
H A Dfmodaudio.c344 static int fmod_init_out (HWVoiceOut *hw, struct audsettings *as) argument
348 struct audsettings obt_as = *as;
350 mode = aud_to_fmodfmt (as->fmt, as->nchannels == 2 ? 1 : 0);
355 as->freq, /* freq */
406 static int fmod_init_in (HWVoiceIn *hw, struct audsettings *as) argument
410 struct audsettings obt_as = *as;
416 mode = aud_to_fmodfmt (as->fmt, as->nchannels == 2 ? 1 : 0);
421 as
[all...]
H A Dpaaudio.c325 static int qpa_init_out (HWVoiceOut *hw, struct audsettings *as) argument
329 struct audsettings obt_as = *as;
332 ss.format = audfmt_to_pa (as->fmt, as->endianness);
333 ss.channels = as->nchannels;
334 ss.rate = as->freq;
379 static int qpa_init_in (HWVoiceIn *hw, struct audsettings *as) argument
383 struct audsettings obt_as = *as;
386 ss.format = audfmt_to_pa (as->fmt, as
[all...]
H A Dwavaudio.c104 /* VICE code: Store number as little endian. */
114 static int wav_out_init (HWVoiceOut *hw, struct audsettings *as) argument
126 (void) as;
247 wav_in_init (HWVoiceIn *hw, struct audsettings *as) argument
252 struct audsettings wav_as = *as;
H A Dwinaudio.c159 winaudio_out_init (HWVoiceOut *hw, struct audsettings *as) argument
175 format.nChannels = as->nchannels;
176 format.nSamplesPerSec = as->freq;
177 format.nAvgBytesPerSec = as->freq*as->nchannels;
181 switch (as->fmt) {
188 as->fmt);
242 audio_pcm_init_info (&hw->info, as);
405 winaudio_in_init (HWVoiceIn *hw, struct audsettings *as) argument
421 format.nChannels = as
[all...]
H A Dcoreaudio.c283 struct audsettings* as,
305 if (as->fmt == AUD_FMT_S16 || as->fmt == AUD_FMT_U16) {
309 // TODO: audio_pcm_init_info (&hw->info, as);
408 core->streamBasicDescription.mSampleRate = (Float64) as->freq;
420 as->freq);
562 static int coreaudio_init_out (HWVoiceOut *hw, struct audsettings *as) argument
567 audio_pcm_init_info (&hw->info, as);
569 err = coreaudio_voice_init (core, as, conf.out_buffer_frames, audioOutDeviceIOProc, hw, 0);
708 coreaudio_init_in (HWVoiceIn *hw, struct audsettings *as) argument
282 coreaudio_voice_init(coreaudioVoice* core, struct audsettings* as, int frameSize, AudioDeviceIOProc ioproc, void* hw, int input) argument
[all...]
/external/qemu/android/
H A Daudio-test.c4 ** License version 2, as published by the Free Software Foundation, and
53 struct audsettings as; local
57 as.freq = 16000;
58 as.nchannels = 1;
59 as.fmt = AUD_FMT_S16;
60 as.endianness = AUDIO_HOST_ENDIANNESS;
68 &as);
/external/dhcpcd/compat/
H A Darc4random.c14 * which is a trade secret). The same algorithm is used as a stream
45 arc4_init(struct arc4_stream *as) argument
50 as->s[n] = n;
51 as->i = 0;
52 as->j = 0;
56 arc4_addrandom(struct arc4_stream *as, unsigned char *dat, int datlen) argument
61 as->i--;
63 as->i = (as->i + 1);
64 si = as
73 arc4_getbyte(struct arc4_stream *as) argument
87 arc4_getword(struct arc4_stream *as) argument
99 arc4_stir(struct arc4_stream *as) argument
[all...]
/external/openssh/
H A Dauth-passwd.c9 * As far as I am concerned, the code I have written for this software
11 * software must be clearly marked as such, and if the derived work is
133 warn_expiry(Authctxt *authctxt, auth_session_t *as) argument
140 pwtimeleft = auth_check_change(as);
141 actimeleft = auth_check_expire(as);
170 auth_session_t *as; local
173 as = auth_usercheck(pw->pw_name, authctxt->style, "auth-ssh",
175 if (as == NULL)
177 if (auth_getstate(as) & AUTH_PWEXPIRED) {
178 auth_close(as);
[all...]
H A Dauth.h65 auth_session_t *as; member in struct:Authctxt
H A Dauth.c413 * Check a given file for security. This is defined as all components
420 * error buffer plus max size as arguments.
551 auth_session_t *as; local
572 * login if the username is given in the same case as stored in the
601 if ((as = auth_open()) == NULL || auth_setpwd(as, pw) != 0 ||
602 auth_approval(as, lc, pw->pw_name, "ssh") <= 0) {
606 if (as != NULL)
607 auth_close(as);
/external/jmonkeyengine/engine/src/desktop/jme3tools/converters/
H A DImageToAwt.java53 final int bpp, am, rm, gm, bm, as, rs, gs, bs, im, is; field in class:ImageToAwt.DecodeParams
55 public DecodeParams(int bpp, int am, int rm, int gm, int bm, int as, int rs, int gs, int bs, int im, int is) { argument
61 this.as = as;
73 this.as = rs;
80 this.as = 0;
257 a = (a << p.as) & p.am;
340 int a = (inputPixel & inParams.am) >> inParams.as;
450 int a = (inputPixel & p.am) >> p.as;
/external/pixman/test/
H A Dutils.h206 uint32_t as, rs, gs, bs; member in struct:__anon24799
/external/blktrace/btt/
H A Diostat.c7 * it under the terms of the GNU General Public License as published by
114 * For AWAIT: nios should be the same as number of inserts
195 struct stats_t as; local
197 memset(&as, 0, sizeof(struct stats_t));
206 __dump_stats(stamp, all, dip, &as);
215 __dump_stats(stamp, all, dip, &as);
222 __dump_stats_t(stamp, &as, all);
/external/clang/test/SemaCXX/
H A Dmember-init.cpp21 int as[] = { 1, 2, 3 }; // expected-error {{array bound cannot be deduced from an in-class initializer}} member in struct:UnknownBound
30 int as[] = { decltype(x)::B<C, D>(0) }; // expected-error {{array bound cannot be deduced from an in-class initializer}} member in struct:S
31 T<sizeof(as) / sizeof(int)> x;
/external/chromium_org/third_party/opus/src/tests/
H A Dtest_opus_api.c972 int as=(tsz[sz]+i-j-2)/j; local
975 if(as<252){packet[2+pos]=as;pos++;}
976 else{packet[2+pos]=252+(as&3);packet[3+pos]=(as-252)>>2;pos+=2;}
981 if(frame_samp*j<=5760 && as<1276 && (tsz[sz]+i-2-pos-as*(j-1))<1276){
983 for(jj=0;jj<j-1;jj++)if(size[jj]!=as)test_failed();
984 if(size[j-1]!=(tsz[sz]+i-2-pos-as*(j-1)))test_failed();
1668 /* GLIBC 2.14 declares __malloc_hook as deprecate
[all...]
/external/jmonkeyengine/engine/src/lwjgl/com/jme3/audio/lwjgl/
H A DLwjglAudioRenderer.java310 // on its own right as the volume was set). In this case,
989 private void updateAudioStream(AudioStream as){ argument
990 if (as.getIds() != null){
991 deleteAudioData(as);
1004 as.setIds(ids);
1005 as.clearUpdateNeeded();
1044 AudioStream as = (AudioStream) ad;
1045 int[] ids = as.getIds();
1050 as.resetObject();
/external/llvm/include/llvm/Analysis/
H A DAliasSetTracker.h93 void setAliasSet(AliasSet *as) { argument
95 AS = as;
122 /// ModRef as necessary.
164 /// isForwardingAliasSet - Return true if this alias set should be ignored as
221 // to serve as a sentinel.
236 /// destination set. This also implements the union-find collapsing as well.
/external/qemu/distrib/sdl-1.2.15/src/audio/symbian/
H A DSDL_epocaudio.cpp7 License as published by the Free Software Foundation; either
240 CActiveScheduler* as = CActiveScheduler::Current(); local
241 ASSERT(as->StackDepth() == 0);
242 delete as;
289 CActiveScheduler* as = new (ELeave) CActiveScheduler(); local
290 CActiveScheduler::Install(as);

Completed in 527 milliseconds

123