/third_party/ffmpeg/libavutil/ |
H A D | audio_fifo.c | 48 void av_audio_fifo_free(AVAudioFifo *af) in av_audio_fifo_free() argument 50 if (af) { in av_audio_fifo_free() 51 if (af->buf) { in av_audio_fifo_free() 53 for (i = 0; i < af->nb_buffers; i++) { in av_audio_fifo_free() 54 av_fifo_freep2(&af->buf[i]); in av_audio_fifo_free() 56 av_freep(&af->buf); in av_audio_fifo_free() 58 av_free(af); in av_audio_fifo_free() 65 AVAudioFifo *af; in av_audio_fifo_alloc() local 72 af = av_mallocz(sizeof(*af)); in av_audio_fifo_alloc() 99 av_audio_fifo_realloc(AVAudioFifo *af, int nb_samples) av_audio_fifo_realloc() argument 119 av_audio_fifo_write(AVAudioFifo *af, void **data, int nb_samples) av_audio_fifo_write() argument 145 av_audio_fifo_peek(AVAudioFifo *af, void **data, int nb_samples) av_audio_fifo_peek() argument 150 av_audio_fifo_peek_at(AVAudioFifo *af, void **data, int nb_samples, int offset) av_audio_fifo_peek_at() argument 174 av_audio_fifo_read(AVAudioFifo *af, void **data, int nb_samples) av_audio_fifo_read() argument 194 av_audio_fifo_drain(AVAudioFifo *af, int nb_samples) av_audio_fifo_drain() argument 211 av_audio_fifo_reset(AVAudioFifo *af) av_audio_fifo_reset() argument 221 av_audio_fifo_size(AVAudioFifo *af) av_audio_fifo_size() argument 226 av_audio_fifo_space(AVAudioFifo *af) av_audio_fifo_space() argument [all...] |
H A D | audio_fifo.h | 53 * @param af AVAudioFifo to free 55 void av_audio_fifo_free(AVAudioFifo *af); 71 * @param af AVAudioFifo to reallocate 76 int av_audio_fifo_realloc(AVAudioFifo *af, int nb_samples); 87 * @param af AVAudioFifo to write to 94 int av_audio_fifo_write(AVAudioFifo *af, void **data, int nb_samples); 102 * @param af AVAudioFifo to read from 110 int av_audio_fifo_peek(AVAudioFifo *af, void **data, int nb_samples); 118 * @param af AVAudioFifo to read from 127 int av_audio_fifo_peek_at(AVAudioFifo *af, voi [all...] |
/third_party/ffmpeg/tests/fate/ |
H A D | wavpack.mak | 4 fate-wavpack-lossless-8bit: CMD = md5pipe -i $(TARGET_SAMPLES)/wavpack/lossless/8bit-partial.wv -f s8 -af aresample 7 fate-wavpack-lossless-12bit: CMD = md5pipe -i $(TARGET_SAMPLES)/wavpack/lossless/12bit-partial.wv -f s16le -af aresample 10 fate-wavpack-lossless-16bit: CMD = md5pipe -i $(TARGET_SAMPLES)/wavpack/lossless/16bit-partial.wv -f s16le -af aresample 13 fate-wavpack-lossless-24bit: CMD = md5pipe -i $(TARGET_SAMPLES)/wavpack/lossless/24bit-partial.wv -f s24le -af aresample 16 fate-wavpack-lossless-32bit: CMD = md5pipe -i $(TARGET_SAMPLES)/wavpack/lossless/32bit_int-partial.wv -f s32le -af aresample 19 fate-wavpack-lossless-float: CMD = md5pipe -i $(TARGET_SAMPLES)/wavpack/lossless/32bit_float-partial.wv -f f32le -af aresample 24 fate-wavpack-lossy-8bit: CMD = md5pipe -i $(TARGET_SAMPLES)/wavpack/lossy/4.0_8-bit.wv -f s8 -af aresample 27 fate-wavpack-lossy-16bit: CMD = md5pipe -i $(TARGET_SAMPLES)/wavpack/lossy/4.0_16-bit.wv -f s16le -af aresample 30 fate-wavpack-lossy-24bit: CMD = md5pipe -i $(TARGET_SAMPLES)/wavpack/lossy/4.0_24-bit.wv -f s24le -af aresample 33 fate-wavpack-lossy-32bit: CMD = md5pipe -i $(TARGET_SAMPLES)/wavpack/lossy/4.0_32-bit_int.wv -f s32le -af aresampl [all...] |
H A D | lossless-audio.mak | 2 fate-lossless-alac: CMD = md5 -i $(TARGET_SAMPLES)/lossless-audio/inside.m4a -f s16le -af aresample 8 fate-ralf: CMD = md5 -i $(TARGET_SAMPLES)/lossless-audio/luckynight-partial.rmvb -vn -f s16le -af aresample 11 fate-lossless-shorten: CMD = md5 -i $(TARGET_SAMPLES)/lossless-audio/luckynight-partial.shn -f s16le -af aresample 14 fate-lossless-tak: CMD = crc -i $(TARGET_SAMPLES)/lossless-audio/luckynight-partial.tak -af aresample 23 fate-lossless-wma: CMD = md5 -i $(TARGET_SAMPLES)/lossless-audio/luckynight-partial.wma -f s16le -frames 209 -af aresample 24 fate-lossless-wma24-1: CMD = md5 -i $(TARGET_SAMPLES)/lossless-audio/master_audio_2.0_24bit.wma -f s24le -af aresample 25 fate-lossless-wma24-2: CMD = md5 -i $(TARGET_SAMPLES)/lossless-audio/Mega_Weird_Audio_Test_24bit.wma -f s24le -af aresample 26 fate-lossless-wma24-rawtile: CMD = md5 -i $(TARGET_SAMPLES)/lossless-audio/g2_24bit.wma -f s24le -af aresample
|
H A D | adpcm.mak | 2 fate-adpcm-4xm: CMD = framecrc -i $(TARGET_SAMPLES)/4xm/dracula.4xm -vn -map 0:6 -af aresample 5 fate-adpcm-afc: CMD = framecrc -i $(TARGET_SAMPLES)/ast/demo11_02_partial.ast -af aresample 20 fate-adpcm-dtk: CMD = framecrc -i $(TARGET_SAMPLES)/adp/shakespr_partial.adp -f s16le -af aresample 32 fate-adpcm-ea-r1: CMD = framecrc -i $(TARGET_SAMPLES)/ea-mad/NFS6LogoE.mad -vn -af aresample 35 fate-adpcm-ea-r2: CMD = crc -i $(TARGET_SAMPLES)/ea-mpc/THX_logo.mpc -vn -af aresample 38 fate-adpcm-ea-r3: CMD = crc -i $(TARGET_SAMPLES)/ea-vp6/THX_logo.vp6 -vn -af aresample 71 fate-adpcm-ima_wav-stereo: CMD = md5 -i $(TARGET_SAMPLES)/qt-surge-suite/surge-2-16-L-ms11.mov -f s16le -af aresample 77 fate-adpcm-ima-ws-vqa3: CMD = framecrc -i $(TARGET_SAMPLES)/vqa/small-cut-v3.vqa -vn -af aresample 86 fate-adpcm-thp: CMD = framecrc -i $(TARGET_SAMPLES)/thp/pikmin2-opening1-partial.thp -vn -af aresample 92 fate-adpcm-xa: CMD = framecrc -i $(TARGET_SAMPLES)/psx-str/abc000_cut.str -vn -af aresampl [all...] |
H A D | dca.mak | 26 fate-dca-$(1): CMD = framemd5 -i $(TARGET_SAMPLES)/dts/dcadec-suite/$(1).dtshd -c:a pcm_$(2) -af aresample 27 fate-dca-$(1)-dmix_2: CMD = framemd5 -request_channel_layout 0x3 -i $(TARGET_SAMPLES)/dts/dcadec-suite/$(1).dtshd -c:a pcm_$(2) -af aresample 28 fate-dca-$(1)-dmix_6: CMD = framemd5 -request_channel_layout 0x60f -i $(TARGET_SAMPLES)/dts/dcadec-suite/$(1).dtshd -c:a pcm_$(2) -af aresample 33 fate-dca-$(1): CMD = ffmpeg -i $(TARGET_SAMPLES)/dts/dcadec-suite/$(1).dtshd -f f32le -af aresample - 43 fate-dca-core_51_24_48_768_1-dmix_2: CMD = ffmpeg -request_channel_layout 0x3 -i $(TARGET_SAMPLES)/dts/dcadec-suite/core_51_24_48_768_1.dtshd -f f32le -af aresample - 47 fate-dca-x96_xxch_71_24_96_3840-dmix_2: CMD = ffmpeg -request_channel_layout 0x3 -i $(TARGET_SAMPLES)/dts/dcadec-suite/x96_xxch_71_24_96_3840.dtshd -f f32le -af aresample - 53 fate-dca-x96_xxch_71_24_96_3840-dmix_6: CMD = ffmpeg -request_channel_layout "FL|FR|FC|LFE|SL|SR" -i $(TARGET_SAMPLES)/dts/dcadec-suite/x96_xxch_71_24_96_3840.dtshd -f f32le -af aresample - 57 fate-dca-xch_61_24_48_768-dmix_6: CMD = ffmpeg -request_channel_layout "5.1(side)" -i $(TARGET_SAMPLES)/dts/dcadec-suite/xch_61_24_48_768.dtshd -f f32le -af aresample - 74 fate-dca-xll: CMD = md5 -i $(TARGET_SAMPLES)/dts/master_audio_7.1_24bit.dts -f s24le -af aresample
|
H A D | voice.mak | 13 fate-g723_1-dec-1: CMD = framecrc -postfilter 0 -i $(TARGET_SAMPLES)/g723_1/ineqd53.tco -af aresample 16 fate-g723_1-dec-2: CMD = framecrc -postfilter 0 -i $(TARGET_SAMPLES)/g723_1/overd53.tco -af aresample 19 fate-g723_1-dec-3: CMD = framecrc -postfilter 1 -i $(TARGET_SAMPLES)/g723_1/overd63p.tco -af aresample 22 fate-g723_1-dec-4: CMD = framecrc -postfilter 0 -i $(TARGET_SAMPLES)/g723_1/pathd53.tco -af aresample 25 fate-g723_1-dec-5: CMD = framecrc -postfilter 1 -i $(TARGET_SAMPLES)/g723_1/pathd63p.tco -af aresample 28 fate-g723_1-dec-6: CMD = framecrc -postfilter 1 -i $(TARGET_SAMPLES)/g723_1/tamed63p.tco -af aresample 31 fate-g723_1-dec-7: CMD = framecrc -postfilter 1 -i $(TARGET_SAMPLES)/g723_1/dtx63b.tco -af aresample 34 fate-g723_1-dec-8: CMD = framecrc -postfilter 1 -i $(TARGET_SAMPLES)/g723_1/dtx63e.tco -af aresample
|
H A D | filter-audio.mak | 4 fate-filter-adelay: CMD = framecrc -i $(SRC) -af aresample,adelay=42,aresample 9 fate-filter-aecho: CMD = framecrc -i $(SRC) -af aresample,aecho=0.5:0.5:32:0.5,aresample 14 fate-filter-aemphasis-50fm: CMD = framecrc -i $(SRC) -af aresample,aemphasis=1:5:reproduction:50fm,aresample 19 fate-filter-aemphasis-75kf: CMD = framecrc -i $(SRC) -af aresample,aemphasis=2:8:reproduction:75kf,aresample 26 fate-filter-afade-qsin: CMD = framecrc -i $(SRC) -af afade=t=in:ss=0:d=2:curve=qsin 31 fate-filter-afade-iqsin: CMD = framecrc -i $(SRC) -af afade=t=in:ss=0:d=2:curve=iqsin 36 fate-filter-afade-esin: CMD = framecrc -i $(SRC) -af afade=t=in:ss=0:d=2:curve=esin 41 fate-filter-afade-hsin: CMD = framecrc -i $(SRC) -af afade=t=in:ss=0:d=2:curve=hsin 46 fate-filter-afade-exp: CMD = framecrc -i $(SRC) -af afade=t=in:ss=0:d=2:curve=exp 51 fate-filter-afade-log: CMD = framecrc -i $(SRC) -af afad [all...] |
H A D | mp3.mak | 6 fate-mp3-float-conf-he_32khz: CMD = ffmpeg -auto_conversion_filters -c:a mp3float -i $(TARGET_SAMPLES)/mp3-conformance/he_32khz.bit -af atrim=end_sample=171648 -f f32le - 10 fate-mp3-float-conf-he_44khz: CMD = ffmpeg -auto_conversion_filters -c:a mp3float -i $(TARGET_SAMPLES)/mp3-conformance/he_44khz.bit -af atrim=end_sample=471168 -f f32le - 14 fate-mp3-float-conf-he_48khz: CMD = ffmpeg -auto_conversion_filters -c:a mp3float -i $(TARGET_SAMPLES)/mp3-conformance/he_48khz.bit -af atrim=end_sample=171648 -f f32le - 18 fate-mp3-float-conf-hecommon: CMD = ffmpeg -auto_conversion_filters -c:a mp3float -i $(TARGET_SAMPLES)/mp3-conformance/hecommon.bit -af atrim=end_sample=33408 -f f32le - 22 fate-mp3-float-conf-si: CMD = ffmpeg -auto_conversion_filters -c:a mp3float -i $(TARGET_SAMPLES)/mp3-conformance/si.bit -af atrim=end_sample=134784 -f f32le - 26 fate-mp3-float-conf-si_block: CMD = ffmpeg -auto_conversion_filters -c:a mp3float -i $(TARGET_SAMPLES)/mp3-conformance/si_block.bit -af atrim=end_sample=72576 -f f32le -
|
/third_party/pulseaudio/src/modules/rtp/ |
H A D | module-rtp-send.c | 216 sa_family_t af; in pa__init() local 320 src_sa4.sin_family = af = AF_INET; in pa__init() 326 src_sa6.sin6_family = af = AF_INET6; in pa__init() 342 dst_sa4.sin_family = af = AF_INET; in pa__init() 349 dst_sa6.sin6_family = af = AF_INET6; in pa__init() 361 if ((fd = pa_socket_cloexec(af, SOCK_DGRAM, 0)) < 0) { in pa__init() 366 if (af == AF_INET && bind(fd, (struct sockaddr*) &src_sa4, sizeof(src_sa4)) < 0) { in pa__init() 370 } else if (af == AF_INET6 && bind(fd, (struct sockaddr*) &src_sa6, sizeof(src_sa6)) < 0) { in pa__init() 376 if (af == AF_INET && connect(fd, (struct sockaddr*) &dst_sa4, sizeof(dst_sa4)) < 0) { in pa__init() 380 } else if (af in pa__init() [all...] |
H A D | sdp.c | 42 char *pa_sdp_build(int af, const void *src, const void *dst, const char *name, uint16_t port, uint8_t payload, const pa_sample_spec *ss, bool enable_opus) { in pa_sdp_build() argument 52 pa_assert(af == AF_INET || af == AF_INET6); in pa_sdp_build() 54 pa_assert(af == AF_INET); in pa_sdp_build() 72 pa_assert_se(inet_ntop(af, src, buf_src, sizeof(buf_src))); in pa_sdp_build() 73 pa_assert_se(inet_ntop(af, dst, buf_dst, sizeof(buf_dst))); in pa_sdp_build() 85 u, (unsigned long) ntp, af == AF_INET ? "IP4" : "IP6", buf_src, in pa_sdp_build() 87 af == AF_INET ? "IP4" : "IP6", buf_dst, in pa_sdp_build()
|
/third_party/musl/porting/liteos_a/user/src/network/ |
H A D | gethostbyaddr_r.c | 10 int gethostbyaddr_r(const void *a, socklen_t l, int af, in gethostbyaddr_r() argument 17 } sa = { .sin.sin_family = af }; in gethostbyaddr_r() 18 socklen_t sl = af==AF_INET6 ? sizeof sa.sin6 : sizeof sa.sin; in gethostbyaddr_r() 23 if (af==AF_INET6 && l==16) memcpy(&sa.sin6.sin6_addr, a, 16); in gethostbyaddr_r() 24 else if (af==AF_INET && l==4) memcpy(&sa.sin.sin_addr, a, 4); in gethostbyaddr_r() 65 h->h_addrtype = af; in gethostbyaddr_r()
|
/third_party/musl/src/network/ |
H A D | gethostbyaddr_r.c | 10 int gethostbyaddr_r(const void *a, socklen_t l, int af, in gethostbyaddr_r() argument 17 } sa = { .sin.sin_family = af }; in gethostbyaddr_r() 18 socklen_t sl = af==AF_INET6 ? sizeof sa.sin6 : sizeof sa.sin; in gethostbyaddr_r() 24 if (af==AF_INET6 && l==16) memcpy(&sa.sin6.sin6_addr, a, 16); in gethostbyaddr_r() 25 else if (af==AF_INET && l==4) memcpy(&sa.sin.sin_addr, a, 4); in gethostbyaddr_r() 66 h->h_addrtype = af; in gethostbyaddr_r()
|
H A D | gethostbyname2_r.c | 11 int gethostbyname2_r(const char *name, int af, in gethostbyname2_r() argument 21 cnt = __lookup_name(addrs, canon, name, af, AI_CANONNAME); in gethostbyname2_r() 39 h->h_addrtype = af; in gethostbyname2_r() 40 h->h_length = af==AF_INET6 ? 16 : 4; in gethostbyname2_r()
|
/third_party/curl/lib/ |
H A D | if2ip.c | 99 if2ip_result_t Curl_if2ip(int af, in Curl_if2ip() argument 118 if(iface->ifa_addr->sa_family == af) { in Curl_if2ip() 125 if(af == AF_INET6) { in Curl_if2ip() 164 ip = Curl_inet_ntop(af, addr, ipstr, sizeof(ipstr)); in Curl_if2ip() 184 if2ip_result_t Curl_if2ip(int af, in Curl_if2ip() argument 204 if(!interf || (af != AF_INET)) in Curl_if2ip() 239 if2ip_result_t Curl_if2ip(int af, in Curl_if2ip() argument 247 (void) af; in Curl_if2ip()
|
H A D | inet_ntop.h | 29 char *Curl_inet_ntop(int af, const void *addr, char *buf, size_t size); 35 #define Curl_inet_ntop(af,addr,buf,size) \ 36 inet_ntop(af, addr, buf, (curl_socklen_t)size)
|
/third_party/libwebsockets/lib/system/dhcpclient/ |
H A D | dhcpclient.c | 78 lws_dhcpc_find(struct lws_context *context, const char *iface, int af) in lws_dhcpc_find() argument 82 /* see if we are already looking after this af / iface combination */ in lws_dhcpc_find() 87 if (!strcmp((const char *)&r[1], iface) && af == r->af) in lws_dhcpc_find() 97 * type "af" 101 lws_dhcpc_request(struct lws_context *context, const char *iface, int af, in lws_dhcpc_request() argument 104 lws_dhcpc_req_t *r = lws_dhcpc_find(context, iface, af); in lws_dhcpc_request() 107 /* see if we are already looking after this af / iface combination */ in lws_dhcpc_request() 120 r->af = (uint8_t)af; in lws_dhcpc_request() [all...] |
/third_party/ltp/testcases/network/lib6/ |
H A D | in6_01.c | 167 uint8_t af; in test_sockaddr_storage() local 169 af = psin->sin_family = AF_INET; in test_sockaddr_storage() 172 af = psin6->sin6_family = AF_INET6; in test_sockaddr_storage() 179 if (ss.ss_family == af) in test_sockaddr_storage() 181 sstab[i].addr, af == AF_INET ? "" : "6"); in test_sockaddr_storage() 184 sstab[i].addr, af, af == AF_INET ? "" : "6"); in test_sockaddr_storage()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/ |
H A D | ip_addr.c | 20 if (addr->af == AF_INET) { in hostapd_ip_txt() 26 if (addr->af == AF_INET6) { in hostapd_ip_txt() 40 addr->af = AF_INET; in hostapd_parse_ip_addr() 46 addr->af = AF_INET6; in hostapd_parse_ip_addr()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/ |
H A D | ip_addr.c | 20 if (addr->af == AF_INET) { in hostapd_ip_txt() 26 if (addr->af == AF_INET6) { in hostapd_ip_txt() 40 addr->af = AF_INET; in hostapd_parse_ip_addr() 46 addr->af = AF_INET6; in hostapd_parse_ip_addr()
|
/third_party/typescript/tests/baselines/reference/ |
H A D | nullIsSubtypeOfEverythingButUndefined.js | 61 var af: typeof f; variable 62 var r15 = true ? af : null; 63 var r15 = true ? null : af; 148 var af;
variable 149 var r15 = true ? af : null;
150 var r15 = true ? null : af;
|
/third_party/pulseaudio/src/pulsecore/ |
H A D | arpa-inet.c | 34 const char *inet_ntop(int af, const void *src, char *dst, socklen_t cnt) { in inet_ntop() argument 43 switch (af) { in inet_ntop() 79 int inet_pton(int af, const char *src, void *dst) { in inet_pton() argument 88 switch (af) { in inet_pton()
|
/third_party/toybox/toys/pending/ |
H A D | telnetd.c | 57 int status, af = AF_UNSPEC; in get_sockaddr() local 66 af = AF_INET6; in get_sockaddr() 71 af = AF_INET; in get_sockaddr() 73 af = AF_INET6; in get_sockaddr() 86 hints.ai_family = af; in get_sockaddr() 95 if (af == AF_INET) ((struct sockaddr_in*)buf)->sin_port = port_num; in get_sockaddr() 101 int s, af = AF_INET, yes = 1; in listen_socket() local 107 af = ((struct sockaddr *)buf)->sa_family; in listen_socket() 110 ((struct sockaddr_in*)buf)->sin_family = af; in listen_socket() 112 s = xsocket(af, SOCK_STREA in listen_socket() [all...] |
H A D | tftp.c | 33 int af; 69 int port = 69, sd = xsocket(TT.af, SOCK_DGRAM, IPPROTO_UDP); in init_tftp() 76 if (TT.af == AF_INET6) { in init_tftp() 285 if (TT.af == AF_INET6) ((struct sockaddr_in6 *)&server)->sin6_port = 0; in file_get() 293 if ( ((TT.af == AF_INET) && in file_get() 297 ((TT.af == AF_INET6) && in file_get() 305 if ( ((TT.af == AF_INET) && ((struct sockaddr_in *)&server)->sin_port in file_get() 308 ((TT.af == AF_INET6) && ((struct sockaddr_in6 *)&server)->sin6_port in file_get() 347 if ((TT.af == AF_INET6) && !((struct sockaddr_in6 *)&server)->sin6_port) in file_get() 350 else if ((TT.af in file_get() [all...] |
/third_party/node/deps/cares/src/lib/ |
H A D | inet_net_pton.c | 398 * inet_net_pton(af, src, dst, size) 414 int ares_inet_net_pton(int af, const char *src, void *dst, size_t size) in ares_inet_net_pton() argument 416 switch (af) { in ares_inet_net_pton() 427 int ares_inet_pton(int af, const char *src, void *dst) in ares_inet_pton() argument 432 if (af == AF_INET) { in ares_inet_pton() 434 } else if (af == AF_INET6) { in ares_inet_pton() 440 result = ares_inet_net_pton(af, src, dst, size); in ares_inet_pton()
|