/third_party/flutter/skia/third_party/externals/sdl/src/audio/winmm/ |
D | SDL_winmm.c | 78 ReleaseSemaphore(this->hidden->audio_sem, 1, NULL); in CaptureSound() 94 ReleaseSemaphore(this->hidden->audio_sem, 1, NULL); in FillSound() 118 WaitForSingleObject(this->hidden->audio_sem, INFINITE); in WINMM_WaitDevice() 124 return (Uint8 *) (this->hidden-> in WINMM_GetDeviceBuf() 125 wavebuf[this->hidden->next_buffer].lpData); in WINMM_GetDeviceBuf() 132 waveOutWrite(this->hidden->hout, in WINMM_PlayDevice() 133 &this->hidden->wavebuf[this->hidden->next_buffer], in WINMM_PlayDevice() 134 sizeof(this->hidden->wavebuf[0])); in WINMM_PlayDevice() 135 this->hidden->next_buffer = (this->hidden->next_buffer + 1) % NUM_BUFFERS; in WINMM_PlayDevice() 141 const int nextbuf = this->hidden->next_buffer; in WINMM_CaptureFromDevice() [all …]
|
/third_party/flutter/skia/third_party/externals/sdl/src/audio/sun/ |
D | SDL_sunaudio.c | 71 ioctl(this->hidden->audio_fd, AUDIO_GETBUFINFO, &info); in CheckUnderflow() 72 left = (this->hidden->written - info.play.samples); in CheckUnderflow() 73 if (this->hidden->written && (left == 0)) { in CheckUnderflow() 88 ioctl(this->hidden->audio_fd, AUDIO_GETBUFINFO, &info); in SUNAUDIO_WaitDevice() 89 left = (this->hidden->written - info.play.samples); in SUNAUDIO_WaitDevice() 90 if (left > this->hidden->fragsize) { in SUNAUDIO_WaitDevice() 93 sleepy = ((left - this->hidden->fragsize) / this->hidden->frequency); in SUNAUDIO_WaitDevice() 103 FD_SET(this->hidden->audio_fd, &fdset); in SUNAUDIO_WaitDevice() 104 select(this->hidden->audio_fd + 1, NULL, &fdset, NULL, NULL); in SUNAUDIO_WaitDevice() 112 if (this->hidden->ulaw_only) { in SUNAUDIO_PlayDevice() [all …]
|
/third_party/musl/porting/liteos_m/kernel/src/internal/ |
D | stdio_impl.h | 24 extern hidden FILE *volatile __stdin_used; 25 extern hidden FILE *volatile __stdout_used; 26 extern hidden FILE *volatile __stderr_used; 28 hidden int __lockfile(FILE *); 29 hidden int __unlockfile(FILE *); 31 hidden size_t __stdio_read(FILE *, unsigned char *, size_t); 32 hidden size_t __stdio_write(FILE *, const unsigned char *, size_t); 33 hidden size_t __stdout_write(FILE *, const unsigned char *, size_t); 34 hidden off_t __stdio_seek(FILE *, off_t, int); 35 hidden int __stdio_close(FILE *); [all …]
|
D | pthread_impl.h | 80 hidden int __init_tp(void *); 81 hidden void *__copy_tls(unsigned char *); 82 hidden void __reset_tls(void); 84 hidden void __membarrier_init(void); 85 hidden void __dl_thread_cleanup(void); 86 hidden void __testcancel(void); 87 hidden void __do_cleanup_push(struct pthread_cleanup_buffer *); 88 hidden void __do_cleanup_pop(struct pthread_cleanup_buffer *); 89 hidden void __pthread_tsd_run_dtors(void); 91 hidden void __pthread_key_delete_synccall(void (*)(void *), void *); [all …]
|
D | libm.h | 234 hidden int __rem_pio2_large(double*,double*,int,int,int); 236 hidden int __rem_pio2(double,double*); 237 hidden double __sin(double,double,int); 238 hidden double __cos(double,double); 239 hidden double __tan(double,double,int); 240 hidden double __expo2(double); 242 hidden int __rem_pio2f(float,double*); 243 hidden float __sindf(double); 244 hidden float __cosdf(double); 245 hidden float __tandf(double,int); [all …]
|
/third_party/musl/porting/uniproton/kernel/src/internal/ |
D | stdio_impl.h | 24 extern hidden FILE *volatile __stdin_used; 25 extern hidden FILE *volatile __stdout_used; 26 extern hidden FILE *volatile __stderr_used; 28 hidden int __lockfile(FILE *); 29 hidden int __unlockfile(FILE *); 31 hidden size_t __stdio_read(FILE *, unsigned char *, size_t); 32 hidden size_t __stdio_write(FILE *, const unsigned char *, size_t); 33 hidden size_t __stdout_write(FILE *, const unsigned char *, size_t); 34 hidden off_t __stdio_seek(FILE *, off_t, int); 35 hidden int __stdio_close(FILE *); [all …]
|
D | pthread_impl.h | 80 hidden int __init_tp(void *); 81 hidden void *__copy_tls(unsigned char *); 82 hidden void __reset_tls(void); 84 hidden void __membarrier_init(void); 85 hidden void __dl_thread_cleanup(void); 86 hidden void __testcancel(void); 87 hidden void __do_cleanup_push(struct pthread_cleanup_buffer *); 88 hidden void __do_cleanup_pop(struct pthread_cleanup_buffer *); 89 hidden void __pthread_tsd_run_dtors(void); 91 hidden void __pthread_key_delete_synccall(void (*)(void *), void *); [all …]
|
D | libm.h | 234 hidden int __rem_pio2_large(double*,double*,int,int,int); 236 hidden int __rem_pio2(double,double*); 237 hidden double __sin(double,double,int); 238 hidden double __cos(double,double); 239 hidden double __tan(double,double,int); 240 hidden double __expo2(double); 242 hidden int __rem_pio2f(float,double*); 243 hidden float __sindf(double); 244 hidden float __cosdf(double); 245 hidden float __tandf(double,int); [all …]
|
/third_party/musl/porting/liteos_a/kernel/src/internal/ |
D | pthread_impl.h | 83 hidden int __init_tp(void *); 84 hidden void *__copy_tls(unsigned char *); 85 hidden void __reset_tls(void); 87 hidden void __membarrier_init(void); 88 hidden void __dl_thread_cleanup(void); 89 hidden void __testcancel(void); 90 hidden void __do_cleanup_push(struct pthread_cleanup_buffer *); 91 hidden void __do_cleanup_pop(struct pthread_cleanup_buffer *); 92 hidden void __pthread_tsd_run_dtors(void); 94 hidden void __pthread_key_delete_synccall(void (*)(void *), void *); [all …]
|
D | stdio_impl.h | 46 extern hidden FILE *volatile __stdin_used; 47 extern hidden FILE *volatile __stdout_used; 48 extern hidden FILE *volatile __stderr_used; 50 hidden int __lockfile(FILE *); 51 hidden int __unlockfile(FILE *); 53 hidden size_t __stdio_read(FILE *, unsigned char *, size_t); 54 hidden size_t __stdio_write(FILE *, const unsigned char *, size_t); 55 hidden size_t __stdout_write(FILE *, const unsigned char *, size_t); 56 hidden off_t __stdio_seek(FILE *, off_t, int); 57 hidden int __stdio_close(FILE *); [all …]
|
D | libm.h | 233 hidden int __rem_pio2_large(double*,double*,int,int,int); 235 hidden int __rem_pio2(double,double*); 236 hidden double __sin(double,double,int); 237 hidden double __cos(double,double); 238 hidden double __tan(double,double,int); 239 hidden double __expo2(double,double); 241 hidden int __rem_pio2f(float,double*); 242 hidden float __sindf(double); 243 hidden float __cosdf(double); 244 hidden float __tandf(double,int); [all …]
|
/third_party/musl/src/internal/ |
D | stdio_impl.h | 50 extern hidden FILE *volatile __stdin_used; 51 extern hidden FILE *volatile __stdout_used; 52 extern hidden FILE *volatile __stderr_used; 54 hidden int __lockfile(FILE *); 55 hidden void __unlockfile(FILE *); 57 hidden size_t __stdio_read(FILE *, unsigned char *, size_t); 58 hidden size_t __stdio_write(FILE *, const unsigned char *, size_t); 59 hidden size_t __stdout_write(FILE *, const unsigned char *, size_t); 60 hidden off_t __stdio_seek(FILE *, off_t, int); 61 hidden int __stdio_close(FILE *); [all …]
|
D | pthread_impl.h | 142 hidden int __init_tp(void *); 143 hidden void *__copy_tls(unsigned char *); 144 hidden void __reset_tls(); 146 hidden void __membarrier_init(void); 147 hidden void __dl_thread_cleanup(void); 148 hidden void __testcancel(); 149 hidden void __do_cleanup_push(struct __ptcb *); 150 hidden void __do_cleanup_pop(struct __ptcb *); 151 hidden void __pthread_tsd_run_dtors(); 153 hidden void __pthread_key_delete_synccall(void (*)(void *), void *); [all …]
|
D | libm.h | 233 hidden int __rem_pio2_large(double*,double*,int,int,int); 235 hidden int __rem_pio2(double,double*); 236 hidden double __sin(double,double,int); 237 hidden double __cos(double,double); 238 hidden double __tan(double,double,int); 239 hidden double __expo2(double,double); 241 hidden int __rem_pio2f(float,double*); 242 hidden float __sindf(double); 243 hidden float __cosdf(double); 244 hidden float __tandf(double,int); [all …]
|
/third_party/musl/porting/linux/user/src/internal/ |
D | stdio_impl.h | 110 extern hidden FILE *volatile __stdin_used; 111 extern hidden FILE *volatile __stdout_used; 112 extern hidden FILE *volatile __stderr_used; 114 hidden int __lockfile(FILE *); 115 hidden void __unlockfile(FILE *); 117 hidden size_t __stdio_read(FILE *, unsigned char *, size_t); 118 hidden size_t __stdio_readx(FILE *, unsigned char *, size_t); 119 hidden size_t __stdio_write(FILE *, const unsigned char *, size_t); 120 hidden size_t __stdout_write(FILE *, const unsigned char *, size_t); 121 hidden off_t __stdio_seek(FILE *, off_t, int); [all …]
|
D | pthread_impl.h | 175 hidden int __init_tp(void *); 176 hidden void *__copy_tls(unsigned char *); 177 hidden void __reset_tls(); 179 hidden void __membarrier_init(void); 180 hidden void __dl_thread_cleanup(void); 181 hidden void __testcancel(); 182 hidden void __do_cleanup_push(struct __ptcb *); 183 hidden void __do_cleanup_pop(struct __ptcb *); 184 hidden void __pthread_tsd_run_dtors(); 186 hidden void __pthread_key_delete_synccall(void (*)(void *), void *); [all …]
|
/third_party/flutter/skia/third_party/externals/sdl/src/file/ |
D | SDL_rwops.c | 72 context->hidden.windowsio.h = INVALID_HANDLE_VALUE; /* mark this as unusable */ in windows_file_open() 73 context->hidden.windowsio.buffer.data = NULL; in windows_file_open() 74 context->hidden.windowsio.buffer.size = 0; in windows_file_open() 75 context->hidden.windowsio.buffer.left = 0; in windows_file_open() 95 context->hidden.windowsio.buffer.data = in windows_file_open() 97 if (!context->hidden.windowsio.buffer.data) { in windows_file_open() 117 SDL_free(context->hidden.windowsio.buffer.data); in windows_file_open() 118 context->hidden.windowsio.buffer.data = NULL; in windows_file_open() 122 context->hidden.windowsio.h = h; in windows_file_open() 123 context->hidden.windowsio.append = a_mode ? SDL_TRUE : SDL_FALSE; in windows_file_open() [all …]
|
/third_party/musl/src/include/ |
D | pthread.h | 6 hidden int __pthread_once(pthread_once_t *, void (*)(void)); 7 hidden void __pthread_testcancel(void); 8 hidden int __pthread_setcancelstate(int, int *); 9 hidden int __pthread_create(pthread_t *restrict, const pthread_attr_t *restrict, void *(*)(void *),… 10 hidden _Noreturn void __pthread_exit(void *); 11 hidden int __pthread_join(pthread_t, void **); 12 hidden int __pthread_mutex_lock(pthread_mutex_t *); 13 hidden int __pthread_mutex_trylock(pthread_mutex_t *); 14 hidden int __pthread_mutex_trylock_owner(pthread_mutex_t *); 15 hidden int __pthread_mutex_timedlock(pthread_mutex_t *restrict, const struct timespec *restrict); [all …]
|
/third_party/flutter/skia/third_party/externals/sdl/src/audio/qsa/ |
D | SDL_qsa_audio.c | 108 (this->hidden->cardno, scardname, QSA_MAX_CARD_NAME_LENGTH - 1) < 0) { in QSA_CheckBuggyCards() 163 if (!this->hidden->iscapture) { in QSA_WaitDevice() 165 FD_SET(this->hidden->audio_fd, &wfds); in QSA_WaitDevice() 168 FD_SET(this->hidden->audio_fd, &rfds); in QSA_WaitDevice() 178 this->hidden->timeout_on_wait = 0; in QSA_WaitDevice() 180 if (!this->hidden->iscapture) { in QSA_WaitDevice() 182 select(this->hidden->audio_fd + 1, NULL, &wfds, NULL, in QSA_WaitDevice() 186 select(this->hidden->audio_fd + 1, &rfds, NULL, NULL, in QSA_WaitDevice() 200 this->hidden->timeout_on_wait = 1; in QSA_WaitDevice() 206 if (!this->hidden->iscapture) { in QSA_WaitDevice() [all …]
|
/third_party/musl/porting/liteos_m/user/src/internal/ |
D | pthread_impl.h | 129 hidden int __init_tp(void *); 130 hidden void *__copy_tls(unsigned char *); 131 hidden void __reset_tls(); 133 hidden void __membarrier_init(void); 134 hidden void __dl_thread_cleanup(void); 135 hidden void __testcancel(); 136 hidden void __do_cleanup_push(struct __ptcb *); 137 hidden void __do_cleanup_pop(struct __ptcb *); 138 hidden void __pthread_tsd_run_dtors(); 140 hidden void __pthread_key_delete_synccall(void (*)(void *), void *); [all …]
|
/third_party/musl/porting/liteos_a/user/src/internal/ |
D | pthread_impl.h | 143 hidden int __init_tp(void *); 144 hidden void *__copy_tls(unsigned char *); 145 hidden void __reset_tls(); 147 hidden void __membarrier_init(void); 148 hidden void __dl_thread_cleanup(void); 149 hidden void __testcancel(); 150 hidden void __do_cleanup_push(struct __ptcb *); 151 hidden void __do_cleanup_pop(struct __ptcb *); 152 hidden void __pthread_tsd_run_dtors(); 154 hidden void __pthread_key_delete_synccall(void (*)(void *), void *); [all …]
|
/third_party/flutter/skia/third_party/externals/sdl/src/audio/nas/ |
D | SDL_nasaudio.c | 151 while (this->hidden->buf_free < this->hidden->mixlen) { in NAS_WaitDevice() 153 NAS_AuNextEvent(this->hidden->aud, AuTrue, &ev); in NAS_WaitDevice() 154 NAS_AuDispatchEvent(this->hidden->aud, &ev); in NAS_WaitDevice() 161 while (this->hidden->mixlen > this->hidden->buf_free) { in NAS_PlayDevice() 168 NAS_AuNextEvent(this->hidden->aud, AuTrue, &ev); in NAS_PlayDevice() 169 NAS_AuDispatchEvent(this->hidden->aud, &ev); in NAS_PlayDevice() 171 this->hidden->buf_free -= this->hidden->mixlen; in NAS_PlayDevice() 174 NAS_AuWriteElement(this->hidden->aud, this->hidden->flow, 0, in NAS_PlayDevice() 175 this->hidden->mixlen, this->hidden->mixbuf, AuFalse, in NAS_PlayDevice() 178 this->hidden->written += this->hidden->mixlen; in NAS_PlayDevice() [all …]
|
/third_party/flutter/skia/third_party/externals/sdl/src/audio/psp/ |
D | SDL_pspaudio.c | 48 this->hidden = (struct SDL_PrivateAudioData *) in PSPAUDIO_OpenDevice() 49 SDL_malloc(sizeof(*this->hidden)); in PSPAUDIO_OpenDevice() 50 if (this->hidden == NULL) { in PSPAUDIO_OpenDevice() 53 SDL_zerop(this->hidden); in PSPAUDIO_OpenDevice() 74 this->hidden->rawbuf = (Uint8 *) memalign(64, mixlen); in PSPAUDIO_OpenDevice() 75 if (this->hidden->rawbuf == NULL) { in PSPAUDIO_OpenDevice() 85 this->hidden->channel = sceAudioChReserve(PSP_AUDIO_NEXT_CHANNEL, this->spec.samples, format); in PSPAUDIO_OpenDevice() 86 if (this->hidden->channel < 0) { in PSPAUDIO_OpenDevice() 87 free(this->hidden->rawbuf); in PSPAUDIO_OpenDevice() 88 this->hidden->rawbuf = NULL; in PSPAUDIO_OpenDevice() [all …]
|
/third_party/flutter/skia/third_party/externals/sdl/src/audio/fusionsound/ |
D | SDL_fsaudio.c | 133 this->hidden->stream->Wait(this->hidden->stream, in SDL_FS_WaitDevice() 134 this->hidden->mixsamples); in SDL_FS_WaitDevice() 142 ret = this->hidden->stream->Write(this->hidden->stream, in SDL_FS_PlayDevice() 143 this->hidden->mixbuf, in SDL_FS_PlayDevice() 144 this->hidden->mixsamples); in SDL_FS_PlayDevice() 150 fprintf(stderr, "Wrote %d bytes of audio data\n", this->hidden->mixlen); in SDL_FS_PlayDevice() 158 return (this->hidden->mixbuf); in SDL_FS_GetDeviceBuf() 165 if (this->hidden->stream) { in SDL_FS_CloseDevice() 166 this->hidden->stream->Release(this->hidden->stream); in SDL_FS_CloseDevice() 168 if (this->hidden->fs) { in SDL_FS_CloseDevice() [all …]
|
/third_party/flutter/skia/third_party/externals/sdl/src/audio/bsd/ |
D | SDL_bsdaudio.c | 67 if (ioctl(this->hidden->audio_fd, AUDIO_GETINFO, &info) < 0) { in BSDAUDIO_Status() 128 if (this->hidden->frame_ticks) { in BSDAUDIO_WaitDevice() 132 ticks = ((Sint32) (this->hidden->next_frame - SDL_GetTicks())) - FUDGE_TICKS; in BSDAUDIO_WaitDevice() 142 FD_SET(this->hidden->audio_fd, &fdset); in BSDAUDIO_WaitDevice() 148 if (select(this->hidden->audio_fd + 1, NULL, &fdset, NULL, &timeout) in BSDAUDIO_WaitDevice() 159 this->hidden->audio_fd = -1; in BSDAUDIO_WaitDevice() 178 written = write(this->hidden->audio_fd, in BSDAUDIO_PlayDevice() 179 &this->hidden->mixbuf[p], this->hidden->mixlen - p); in BSDAUDIO_PlayDevice() 193 if (p < this->hidden->mixlen in BSDAUDIO_PlayDevice() 197 } while (p < this->hidden->mixlen); in BSDAUDIO_PlayDevice() [all …]
|