/external/qemu/audio/ |
H A D | noaudio.c | 32 HWVoiceOut hw; member in struct:NoVoiceOut 37 HWVoiceIn hw; member in struct:NoVoiceIn 41 static int no_run_out (HWVoiceOut *hw, int live) argument 43 NoVoiceOut *no = (NoVoiceOut *) hw; 51 bytes = muldiv64 (ticks, hw->info.bytes_per_second, get_ticks_per_sec ()); 53 samples = bytes >> hw->info.shift; 57 hw->rpos = (hw->rpos + decr) % hw->samples; 66 static int no_init_out (HWVoiceOut *hw, struc argument 73 no_fini_out(HWVoiceOut *hw) argument 78 no_ctl_out(HWVoiceOut *hw, int cmd, ...) argument 85 no_init_in(HWVoiceIn *hw, struct audsettings *as) argument 92 no_fini_in(HWVoiceIn *hw) argument 97 no_run_in(HWVoiceIn *hw) argument 127 no_ctl_in(HWVoiceIn *hw, int cmd, ...) argument [all...] |
H A D | audio_template.h | 27 #define HWBUF hw->mix_buf 36 #define HWBUF hw->conv_buf 72 static void glue (audio_pcm_hw_free_resources_, TYPE) (HW *hw) 81 static int glue (audio_pcm_hw_alloc_resources_, TYPE) (HW *hw) 83 HWBUF = audio_calloc (AUDIO_FUNC, hw->samples, sizeof (struct st_sample)); 86 hw->samples); 112 samples = sw->hw->samples; 114 samples = ((int64_t) sw->hw->samples << 32) / sw->ratio; 125 sw->rate = st_rate_start (sw->info.freq, sw->hw->info.freq); 127 sw->rate = st_rate_start (sw->hw 198 HW *hw = *hwp; local 246 HW *hw; local 320 HW *hw; local 348 HW *hw; local 474 HW *hw = sw->hw; local [all...] |
H A D | wavaudio.c | 25 #include "hw/hw.h" 38 HWVoiceOut hw; member in struct:WAVVoiceOut 58 static int wav_out_run (HWVoiceOut *hw, int live) argument 60 WAVVoiceOut *wav = (WAVVoiceOut *) hw; 67 muldiv64 (ticks, hw->info.bytes_per_second, get_ticks_per_sec ()); 70 samples = INT_MAX >> hw->info.shift; 73 samples = bytes >> hw->info.shift; 79 rpos = hw->rpos; 81 int left_till_end_samples = hw 114 wav_out_init(HWVoiceOut *hw, struct audsettings *as) argument 177 wav_out_fini(HWVoiceOut *hw) argument 205 wav_out_ctl(HWVoiceOut *hw, int cmd, ...) argument 225 HWVoiceIn hw; member in struct:WAVVoiceIn 247 wav_in_init(HWVoiceIn *hw, struct audsettings *as) argument 330 wav_in_fini(HWVoiceIn *hw) argument 345 wav_in_run(HWVoiceIn *hw) argument 397 wav_in_ctl(HWVoiceIn *hw, int cmd, ...) argument [all...] |
H A D | fmodaudio.c | 33 HWVoiceOut hw; member in struct:FMODVoiceOut 40 HWVoiceIn hw; member in struct:FMODVoiceIn 94 HWVoiceOut *hw = &fmd->hw; local 102 hw->samples << hw->info.shift, 114 if ((len1 & hw->info.align) || (len2 & hw->info.align)) { 116 len1, len2, hw->info.align + 1); 120 if ((len1 + len2) - (hw 135 fmod_write_sample(HWVoiceOut *hw, uint8_t *dst, int dst_len) argument 227 fmod_run_out(HWVoiceOut *hw, int live) argument 330 fmod_fini_out(HWVoiceOut *hw) argument 344 fmod_init_out(HWVoiceOut *hw, struct audsettings *as) argument 382 fmod_ctl_out(HWVoiceOut *hw, int cmd, ...) argument 406 fmod_init_in(HWVoiceIn *hw, struct audsettings *as) argument 440 fmod_fini_in(HWVoiceIn *hw) argument 451 fmod_run_in(HWVoiceIn *hw) argument 598 fmod_ctl_in(HWVoiceIn *hw, int cmd, ...) argument [all...] |
H A D | audio.c | 25 #include "hw/hw.h" 819 if (audio_pcm_info_eq (&cap->hw.info, as)) { 840 if (cap->hw.enabled != enabled) { 842 cap->hw.enabled = enabled; 850 HWVoiceOut *hw = &cap->hw; local 854 for (sw = hw->sw_head.lh_first; sw; sw = sw->entries.le_next) { 863 static void audio_detach_capture (HWVoiceOut *hw) argument 865 SWVoiceCap *sc = hw 891 audio_attach_capture(HWVoiceOut *hw) argument 940 audio_pcm_hw_find_min_in(HWVoiceIn *hw) argument 953 audio_pcm_hw_get_live_in(HWVoiceIn *hw) argument 963 audio_pcm_hw_clip_out(HWVoiceOut *hw, void *pcm_buf, int live, int pending) argument 990 HWVoiceIn *hw = sw->hw; local 1010 HWVoiceIn *hw = sw->hw; local 1064 audio_pcm_hw_find_min_out(HWVoiceOut *hw, int *nb_livep) argument 1081 audio_pcm_hw_get_live_out(HWVoiceOut *hw, int *nb_live) argument 1306 HWVoiceOut *hw; local 1353 HWVoiceIn *hw; local 1441 audio_capture_mix_and_clear(HWVoiceOut *hw, int rpos, int samples) argument 1480 HWVoiceOut *hw = NULL; local 1588 HWVoiceIn *hw = NULL; local 1621 HWVoiceOut *hw = &cap->hw; local 2100 HWVoiceOut *hw; local [all...] |
H A D | esdaudio.c | 71 HWVoiceOut hw; member in struct:__anon10921 82 HWVoiceIn hw; member in struct:__anon10922 117 HWVoiceOut *hw = &esd->hw; local 120 threshold = conf.divisor ? hw->samples / conf.divisor : 0; 144 rpos = hw->rpos; 152 int chunk = audio_MIN (to_mix, hw->samples - rpos); 153 struct st_sample *src = hw->mix_buf + rpos; 155 hw->clip (esd->pcm_buf, src, chunk); 158 written = write (esd->fd, esd->pcm_buf, chunk << hw 198 qesd_run_out(HWVoiceOut *hw, int live) argument 225 qesd_init_out(HWVoiceOut *hw, struct audsettings *as) argument 292 qesd_fini_out(HWVoiceOut *hw) argument 315 qesd_ctl_out(HWVoiceOut *hw, int cmd, ...) argument 326 HWVoiceIn *hw = &esd->hw; local 407 qesd_run_in(HWVoiceIn *hw) argument 436 qesd_init_in(HWVoiceIn *hw, struct audsettings *as) argument 500 qesd_fini_in(HWVoiceIn *hw) argument 523 qesd_ctl_in(HWVoiceIn *hw, int cmd, ...) argument [all...] |
H A D | dsoundaudio.c | 76 HWVoiceOut hw; member in struct:__anon10919 88 HWVoiceIn hw; member in struct:__anon10920 352 static void dsound_write_sample (HWVoiceOut *hw, uint8_t *dst, int dst_len) argument 356 int pos = hw->rpos + dst_len; 357 struct st_sample *src1 = hw->mix_buf + hw->rpos; 360 if (pos > hw->samples) { 361 src_len1 = hw->samples - hw->rpos; 362 src2 = hw 379 dsound_clear_sample(HWVoiceOut *hw, LPDIRECTSOUNDBUFFER dsb) argument 511 dsound_ctl_out(HWVoiceOut *hw, int cmd, ...) argument 568 dsound_run_out(HWVoiceOut *hw, int live) argument 699 dsound_ctl_in(HWVoiceIn *hw, int cmd, ...) argument 756 dsound_run_in(HWVoiceIn *hw) argument [all...] |
H A D | ossaudio.c | 46 HWVoiceOut hw; member in struct:OSSVoiceOut 57 HWVoiceIn hw; member in struct:OSSVoiceIn 145 static int oss_poll_out (HWVoiceOut *hw) argument 147 OSSVoiceOut *oss = (OSSVoiceOut *) hw; 152 static int oss_poll_in (HWVoiceIn *hw) argument 154 OSSVoiceIn *oss = (OSSVoiceIn *) hw; 386 HWVoiceOut *hw = &oss->hw; local 395 int samples_till_end = hw->samples - oss->wpos; 397 int bytes_to_write = samples_to_write << hw 424 oss_run_out(HWVoiceOut *hw, int live) argument 484 oss_fini_out(HWVoiceOut *hw) argument 507 oss_init_out(HWVoiceOut *hw, struct audsettings *as) argument 615 oss_ctl_out(HWVoiceOut *hw, int cmd, ...) argument 673 oss_init_in(HWVoiceIn *hw, struct audsettings *as) argument 727 oss_fini_in(HWVoiceIn *hw) argument 739 oss_run_in(HWVoiceIn *hw) argument 814 oss_ctl_in(HWVoiceIn *hw, int cmd, ...) argument [all...] |
H A D | paaudio.c | 44 HWVoiceOut hw; member in struct:__anon10928 55 HWVoiceIn hw; member in struct:__anon10929 90 HWVoiceOut *hw = &pa->hw; local 93 threshold = conf.divisor ? hw->samples / conf.divisor : 0; 117 rpos = hw->rpos; 125 int chunk = audio_MIN (to_mix, hw->samples - rpos); 126 struct st_sample *src = hw->mix_buf + rpos; 128 hw->clip (pa->pcm_buf, src, chunk); 131 chunk << hw 154 qpa_run_out(HWVoiceOut *hw, int live) argument 185 HWVoiceIn *hw = &pa->hw; local 248 qpa_run_in(HWVoiceIn *hw) argument 325 qpa_init_out(HWVoiceOut *hw, struct audsettings *as) argument 379 qpa_init_in(HWVoiceIn *hw, struct audsettings *as) argument 433 qpa_fini_out(HWVoiceOut *hw) argument 453 qpa_fini_in(HWVoiceIn *hw) argument 473 qpa_ctl_out(HWVoiceOut *hw, int cmd, ...) argument 480 qpa_ctl_in(HWVoiceIn *hw, int cmd, ...) argument [all...] |
H A D | winaudio.c | 91 HWVoiceOut hw;
member in struct:WinAudioOut 128 winaudio_out_fini (HWVoiceOut *hw)
argument 130 WinAudioOut* s = (WinAudioOut*) hw;
159 winaudio_out_init (HWVoiceOut *hw, struct audsettings *as)
argument 161 WinAudioOut* s = (WinAudioOut*) hw;
199 (DWORD_PTR)winaudio_out_buffer_done, (DWORD_PTR) hw,
242 audio_pcm_init_info (&hw->info, as);
243 hw->samples = conf.nb_samples*2;
254 winaudio_out_run (HWVoiceOut *hw, int live)
argument 256 WinAudioOut* s = (WinAudioOut*) hw;
321 winaudio_out_ctl(HWVoiceOut *hw, int cmd, ...) argument 343 HWVoiceIn hw; member in struct:WinAudioIn 374 winaudio_in_fini(HWVoiceIn *hw) argument 405 winaudio_in_init(HWVoiceIn *hw, struct audsettings *as) argument 506 winaudio_in_run(HWVoiceIn *hw) argument 587 winaudio_in_ctl(HWVoiceIn *hw, int cmd, ...) argument [all...] |
H A D | coreaudio.c | 286 void* hw, 309 // TODO: audio_pcm_init_info (&hw->info, as); 389 // TODO: hw->samples = *pNBuffers * core->bufferFrameSize; 427 status = AudioDeviceAddIOProc(core->deviceID, ioproc, hw); 458 HWVoiceOut hw; member in struct:coreaudioVoiceOut 462 #define CORE_OUT(hw) ((coreaudioVoiceOut*)(hw))->core 465 static int coreaudio_run_out (HWVoiceOut *hw, int live) argument 468 coreaudioVoice *core = CORE_OUT(hw); 485 hw 282 coreaudio_voice_init(coreaudioVoice* core, struct audsettings* as, int frameSize, AudioDeviceIOProc ioproc, void* hw, int input) argument 503 HWVoiceOut *hw = hwptr; local 562 coreaudio_init_out(HWVoiceOut *hw, struct audsettings *as) argument 577 coreaudio_fini_out(HWVoiceOut *hw) argument 585 coreaudio_ctl_out(HWVoiceOut *hw, int cmd, ...) argument 603 HWVoiceIn hw; member in struct:coreaudioVoiceIn 610 coreaudio_run_in(HWVoiceIn *hw, int live) argument 641 HWVoiceIn *hw = hwptr; local 708 coreaudio_init_in(HWVoiceIn *hw, struct audsettings *as) argument 725 coreaudio_fini_in(HWVoiceIn *hw) argument 734 coreaudio_ctl_in(HWVoiceIn *hw, int cmd, ...) argument [all...] |
H A D | alsaaudio.c | 116 HWVoiceOut hw; member in struct:ALSAVoiceOut 125 HWVoiceIn hw; member in struct:ALSAVoiceIn 374 static int alsa_poll_out (HWVoiceOut *hw) argument 376 ALSAVoiceOut *alsa = (ALSAVoiceOut *) hw; 381 static int alsa_poll_in (HWVoiceIn *hw) argument 383 ALSAVoiceIn *alsa = (ALSAVoiceIn *) hw; 784 HWVoiceOut *hw = &alsa->hw; local 787 int left_till_end_samples = hw->samples - alsa->wpos; 789 char *src = advance (alsa->pcm_buf, alsa->wpos << hw 845 alsa_run_out(HWVoiceOut *hw, int live) argument 864 alsa_fini_out(HWVoiceOut *hw) argument 877 alsa_init_out(HWVoiceOut *hw, struct audsettings *as) argument 952 alsa_ctl_out(HWVoiceOut *hw, int cmd, ...) argument 982 alsa_init_in(HWVoiceIn *hw, struct audsettings *as) argument 1035 alsa_fini_in(HWVoiceIn *hw) argument 1047 alsa_run_in(HWVoiceIn *hw) argument 1180 alsa_ctl_in(HWVoiceIn *hw, int cmd, ...) argument [all...] |
H A D | dsound_template.h | 150 static void dsound_fini_in (HWVoiceIn *hw) argument 152 static void dsound_fini_out (HWVoiceOut *hw) 157 DSoundVoiceIn *ds = (DSoundVoiceIn *) hw; 159 DSoundVoiceOut *ds = (DSoundVoiceOut *) hw; 177 static int dsound_init_in (HWVoiceIn *hw, struct audsettings *as) argument 179 static int dsound_init_out (HWVoiceOut *hw, struct audsettings *as) 189 DSoundVoiceIn *ds = (DSoundVoiceIn *) hw; 194 DSoundVoiceOut *ds = (DSoundVoiceOut *) hw; 263 audio_pcm_init_info (&hw->info, &obt_as); 265 if (bc.dwBufferBytes & hw [all...] |
H A D | audio_int.h | 120 HWVoiceOut *hw; member in struct:SWVoiceOut 136 HWVoiceIn *hw; member in struct:SWVoiceIn 158 int (*init_out)(HWVoiceOut *hw, struct audsettings *as); 159 void (*fini_out)(HWVoiceOut *hw); 160 int (*run_out) (HWVoiceOut *hw, int live); 162 int (*ctl_out) (HWVoiceOut *hw, int cmd, ...); 164 int (*init_in) (HWVoiceIn *hw, struct audsettings *as); 165 void (*fini_in) (HWVoiceIn *hw); 166 int (*run_in) (HWVoiceIn *hw); 168 int (*ctl_in) (HWVoiceIn *hw, in 178 HWVoiceOut hw; member in struct:CaptureVoiceOut [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/ |
H A D | CharArrayReaderTest.java | 25 char[] hw = { 'H', 'e', 'l', 'l', 'o', 'W', 'o', 'r', 'l', 'd' }; field in class:CharArrayReaderTest 33 cr = new CharArrayReader(hw); 41 cr = new CharArrayReader(hw, 5, 5); 53 cr = new CharArrayReader(hw); 70 cr = new CharArrayReader(hw); 82 cr = new CharArrayReader(hw); 90 cr = new CharArrayReader(hw); 101 cr = new CharArrayReader(hw); 104 .equals(new String(hw, 0, 10))); 111 cr = new CharArrayReader(hw); [all...] |
/external/webkit/Source/JavaScriptCore/gyp/ |
H A D | generate-derived-sources.sh | 9 make -f "JavaScriptCore/DerivedSources.make" -j `/usr/sbin/sysctl -n hw.ncpu`
|
/external/bluetooth/bluedroid/audio_a2dp_hw/ |
H A D | Android.mk | 17 LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/hw
|
/external/webkit/Source/WebCore/gyp/ |
H A D | generate-derived-sources.sh | 10 make -f "WebCore/DerivedSources.make" -j `/usr/sbin/sysctl -n hw.availcpu`
|
/external/qemu/android/ |
H A D | main.c | 48 #include "hw/goldfish_nand.h" 174 AndroidHwConfig* hw; local 323 /* update the avd hw config from this new skin */ 328 hw = android_hw; 329 if (avdInfo_initHwConfig(avd, hw) < 0) { 370 parse_skin_files(opts->skindir, opts->skin, opts, hw, 435 hw->kernel_path = kernelFile; 507 AFREE(hw->disk_ramdisk_path); 508 hw->disk_ramdisk_path = ASTRDUP(opts->ramdisk); 510 else if (!hw [all...] |
H A D | hw-sensors.c | 14 #include "android/hw-sensors.h" 18 #include "android/hw-qemud.h" 20 #include "hw/hw.h" 291 HwSensors* hw = cl->sensors; local 299 sensor = &hw->sensors[ANDROID_SENSOR_ACCELERATION]; 308 sensor = &hw->sensors[ANDROID_SENSOR_MAGNETIC_FIELD]; 318 sensor = &hw->sensors[ANDROID_SENSOR_ORIENTATION]; 327 sensor = &hw->sensors[ANDROID_SENSOR_TEMPERATURE]; 334 sensor = &hw 362 HwSensors* hw = cl->sensors; local 707 HwSensors* hw = _sensorsState; local 737 HwSensors* hw = _sensorsState; local 760 HwSensors* hw = _sensorsState; local 787 HwSensors* hw = _sensorsState; local 807 HwSensors* hw = _sensorsState; local [all...] |
/external/qemu/ |
H A D | android-rebuild.sh | 14 HOST_NUM_CPUS=`sysctl -n hw.ncpu`
|
/external/qemu/distrib/sdl-1.2.15/src/joystick/bsd/ |
H A D | SDL_sysjoystick.c | 257 struct joystick_hwdata *hw; local 270 hw = (struct joystick_hwdata *)SDL_malloc(sizeof(struct joystick_hwdata)); 271 if (hw == NULL) { 276 joy->hwdata = hw; 277 hw->fd = fd; 278 hw->path = strdup(path); 279 hw->x = 0; 280 hw->y = 0; 281 hw->xmin = 0xffff; 282 hw [all...] |
/external/dhcpcd/ |
H A D | duid.c | 46 uint16_t hw = 0; local 79 hw = htons(iface->family); 80 memcpy(p, &hw, 2);
|
/external/valgrind/main/exp-bbv/tests/amd64-linux/ |
H A D | rep_prefix.S | 5 # The answer is validated to hw perf counters.
|
/external/wpa_supplicant_8/hostapd/src/ap/ |
H A D | hw_features.c | 519 u16 hw = iface->current_mode->ht_capab; local 523 !(hw & HT_CAP_INFO_LDPC_CODING_CAP)) { 530 !(hw & HT_CAP_INFO_SUPP_CHANNEL_WIDTH_SET)) { 536 if ((conf & HT_CAP_INFO_SMPS_MASK) != (hw & HT_CAP_INFO_SMPS_MASK) && 544 !(hw & HT_CAP_INFO_GREEN_FIELD)) { 551 !(hw & HT_CAP_INFO_SHORT_GI20MHZ)) { 558 !(hw & HT_CAP_INFO_SHORT_GI40MHZ)) { 564 if ((conf & HT_CAP_INFO_TX_STBC) && !(hw & HT_CAP_INFO_TX_STBC)) { 571 (hw & HT_CAP_INFO_RX_STBC_MASK)) { 578 !(hw [all...] |