/third_party/node/deps/ngtcp2/ngtcp2/lib/ |
H A D | ngtcp2_window_filter.c | 39 void ngtcp2_window_filter_init(ngtcp2_window_filter *wf, in ngtcp2_window_filter_init() argument 41 wf->window_length = window_length; in ngtcp2_window_filter_init() 42 memset(wf->estimates, 0, sizeof(wf->estimates)); in ngtcp2_window_filter_init() 45 void ngtcp2_window_filter_update(ngtcp2_window_filter *wf, uint64_t new_sample, in ngtcp2_window_filter_update() argument 47 if (wf->estimates[0].sample == 0 || new_sample > wf->estimates[0].sample || in ngtcp2_window_filter_update() 48 new_time - wf->estimates[2].time > wf->window_length) { in ngtcp2_window_filter_update() 49 ngtcp2_window_filter_reset(wf, new_sampl in ngtcp2_window_filter_update() 90 ngtcp2_window_filter_reset(ngtcp2_window_filter *wf, uint64_t new_sample, uint64_t new_time) ngtcp2_window_filter_reset() argument 97 ngtcp2_window_filter_get_best(ngtcp2_window_filter *wf) ngtcp2_window_filter_get_best() argument [all...] |
H A D | ngtcp2_window_filter.h | 54 void ngtcp2_window_filter_init(ngtcp2_window_filter *wf, 57 void ngtcp2_window_filter_update(ngtcp2_window_filter *wf, uint64_t new_sample, 60 void ngtcp2_window_filter_reset(ngtcp2_window_filter *wf, uint64_t new_sample, 63 uint64_t ngtcp2_window_filter_get_best(ngtcp2_window_filter *wf);
|
H A D | ngtcp2_rst.c | 48 ngtcp2_window_filter_init(&rst->wf, 12); in ngtcp2_rst_init() 106 if (rate > ngtcp2_window_filter_get_best(&rst->wf) || !rst->app_limited) { in ngtcp2_rst_on_ack_recv() 107 ngtcp2_window_filter_update(&rst->wf, rate, rst->round_count); in ngtcp2_rst_on_ack_recv() 108 cstat->delivery_rate_sec = ngtcp2_window_filter_get_best(&rst->wf); in ngtcp2_rst_on_ack_recv()
|
H A D | ngtcp2_rst.h | 64 ngtcp2_window_filter wf; member
|
/third_party/ffmpeg/libavformat/ |
H A D | wtvdec.c | 73 WtvFile *wf = opaque; in wtvfile_read_packet() local 74 AVIOContext *pb = wf->pb_filesystem; in wtvfile_read_packet() 77 if (wf->error || pb->error) in wtvfile_read_packet() 79 if (wf->position >= wf->length || avio_feof(pb)) in wtvfile_read_packet() 82 buf_size = FFMIN(buf_size, wf->length - wf->position); in wtvfile_read_packet() 84 int remaining_in_sector = (1 << wf->sector_bits) - (wf->position & ((1 << wf in wtvfile_read_packet() 111 WtvFile *wf = opaque; wtvfile_seek() local 155 WtvFile *wf; wtvfile_open_sector() local 309 WtvFile *wf = pb->opaque; wtvfile_close() local [all...] |
/third_party/pulseaudio/src/modules/ |
H A D | module-waveout.c | 514 static int ss_to_waveformat(pa_sample_spec *ss, pa_channel_map *map, PWAVEFORMATEXTENSIBLE wf) { in ss_to_waveformat() argument 515 wf->Format.wFormatTag = WAVE_FORMAT_EXTENSIBLE; in ss_to_waveformat() 516 wf->SubFormat = KSDATAFORMAT_SUBTYPE_PCM; in ss_to_waveformat() 518 wf->Format.nChannels = ss->channels; in ss_to_waveformat() 519 wf->Format.nSamplesPerSec = ss->rate; in ss_to_waveformat() 521 wf->dwChannelMask = 0; in ss_to_waveformat() 524 if (thisSpeaker == 0 || (wf->dwChannelMask & thisSpeaker)) { in ss_to_waveformat() 528 wf->dwChannelMask |= thisSpeaker; in ss_to_waveformat() 532 wf->Format.wBitsPerSample = 8; in ss_to_waveformat() 533 wf in ss_to_waveformat() 570 WAVEFORMATEXTENSIBLE wf; pa__init() local [all...] |
/third_party/python/Python/ |
H A D | marshal.c | 604 w_init_refs(WFILE *wf, int version) in w_init_refs() argument 607 wf->hashtable = _Py_hashtable_new_full(_Py_hashtable_hash_ptr, in w_init_refs() 610 if (wf->hashtable == NULL) { in w_init_refs() 619 w_clear_refs(WFILE *wf) in w_clear_refs() argument 621 if (wf->hashtable != NULL) { in w_clear_refs() 622 _Py_hashtable_destroy(wf->hashtable); in w_clear_refs() 635 WFILE wf; in PyMarshal_WriteLongToFile() local 636 memset(&wf, 0, sizeof(wf)); in PyMarshal_WriteLongToFile() 637 wf in PyMarshal_WriteLongToFile() 650 WFILE wf; PyMarshal_WriteObjectToFile() local 1652 WFILE wf; PyMarshal_WriteObjectToString() local [all...] |
/third_party/skia/third_party/externals/expat/expat/tests/ |
H A D | xmltest.sh | 152 for xmldir in ibm/not-wf/P* \ 153 ibm/not-wf/p28a \ 154 ibm/not-wf/misc \ 155 xmltest/not-wf/ext-sa \ 156 xmltest/not-wf/not-sa \ 157 xmltest/not-wf/sa \ 158 sun/not-wf ; do
|
/third_party/libsnd/programs/ |
H A D | sndfile-play.c | 573 WAVEFORMATEX wf ; in win32_play() local 593 wf.nChannels = audio_data.sfinfo.channels ; in win32_play() 594 wf.wFormatTag = WAVE_FORMAT_PCM ; in win32_play() 595 wf.cbSize = 0 ; in win32_play() 596 wf.wBitsPerSample = 16 ; in win32_play() 598 wf.nSamplesPerSec = audio_data.sfinfo.samplerate ; in win32_play() 600 wf.nBlockAlign = audio_data.sfinfo.channels * sizeof (short) ; in win32_play() 602 wf.nAvgBytesPerSec = wf.nBlockAlign * wf in win32_play() [all...] |
/third_party/ffmpeg/libavfilter/ |
H A D | vf_v360.c | 4309 float hf, wf; in config_output() local 4465 wf = w; in config_output() 4471 wf = w / 3.f * 4.f; in config_output() 4477 wf = w * 4.f; in config_output() 4483 wf = w / 3.f * 2.f; in config_output() 4489 wf = w; in config_output() 4495 wf = w; in config_output() 4504 wf = w; in config_output() 4510 wf = w / 5.f * 4.f; in config_output() 4516 wf in config_output() [all...] |
/third_party/astc-encoder/Source/ |
H A D | astcenccli_image_load_store.cpp | 1415 FILE *wf = fopen(filename, "wb"); in store_ktx_compressed_image() local 1416 if (!wf) in store_ktx_compressed_image() 1421 actual += fwrite(&hdr, 1, sizeof(ktx_header), wf); in store_ktx_compressed_image() 1422 actual += fwrite(&img.data_len, 1, 4, wf); in store_ktx_compressed_image() 1423 actual += fwrite(img.data, 1, img.data_len, wf); in store_ktx_compressed_image() 1424 fclose(wf); in store_ktx_compressed_image() 1623 FILE *wf = fopen(filename, "wb"); in store_ktx_uncompressed_image() local 1624 if (wf) in store_ktx_uncompressed_image() 1631 size_t hdr_bytes_written = fwrite(&hdr, 1, sizeof(ktx_header), wf); in store_ktx_uncompressed_image() 1632 size_t bytecount_bytes_written = fwrite(&image_bytes, 1, 4, wf); in store_ktx_uncompressed_image() 2255 FILE *wf = fopen(filename, "wb"); store_dds_uncompressed_image() local [all...] |
/third_party/skia/third_party/externals/angle2/src/tests/perf_tests/ |
H A D | MultiviewPerf.cpp | 384 const float wf = static_cast<float>(w) / viewWidth; in renderScene() local 386 glUniform2f(glGetUniformLocation(mProgram, "uOffset"), 2.f * wf - 1.f, 2.f * wh - 1.f); in renderScene() 387 glUniform1f(glGetUniformLocation(mProgram, "uColor"), wf); in renderScene() local 464 float wf = static_cast<float>(w) / viewWidth; in initializeBenchmark() local 470 v0.position = Vector4(2.f * wf - 1.f, 2.f * hf - 1.f, .0f, 1.f); in initializeBenchmark()
|
/third_party/lame/dshow/ |
H A D | Mpegac.cpp | 1065 WAVEFORMATEX wf; in get_SourceSampleRate() local 1066 if(FAILED(m_Encoder.GetInputType(&wf))) in get_SourceSampleRate() 1069 *dwSampleRate = wf.nSamplesPerSec; in get_SourceSampleRate() 1076 WAVEFORMATEX wf; in get_SourceChannels() local 1077 if(FAILED(m_Encoder.GetInputType(&wf))) in get_SourceChannels() 1080 *dwChannels = wf.nChannels; in get_SourceChannels() 1529 WAVEFORMATEX wf; in InputTypeDefined() local 1530 if(FAILED(m_Encoder.GetInputType(&wf))) in InputTypeDefined() 1726 WAVEFORMATEX wf; // Retrieve the input configuration in GetMediaType() local 1727 m_pFilter->m_Encoder.GetInputType(&wf); in GetMediaType() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/ADT/ |
H A D | Hashing.h | 236 uint64_t wf = a + z; in hash_33to64_bytes() local 238 uint64_t r = shift_mix((vf + ws) * k2 + (wf + vs) * k0); in hash_33to64_bytes()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/ |
H A D | Hashing.h | 235 uint64_t wf = a + z; in hash_33to64_bytes() local 237 uint64_t r = shift_mix((vf + ws) * k2 + (wf + vs) * k0); in hash_33to64_bytes()
|
/third_party/python/Lib/test/ |
H A D | test_io.py | 4186 wf = self.open(w, mode='wb', closefd=True, buffering=bufsize) 4188 with rf, wf: 4195 wf.write(msg) 4204 wf.write(msg) 4209 wf.flush() 4221 self.assertTrue(wf.closed)
|