| /third_party/ltp/testcases/kernel/device-drivers/v4l/user_space/ |
| H A D | test_VIDIOC_FREQUENCY.c | 4 * 18 Apr 2009 0.4 More cleanup in frequency scan test case 55 //CU_ASSERT_EQUAL(freq.frequency, ???); in test_VIDIOC_G_FREQUENCY() 69 ".frequency = %u " in test_VIDIOC_G_FREQUENCY() 73 freq.frequency, in test_VIDIOC_G_FREQUENCY() 195 /* fetch the current frequency setting */ in test_VIDIOC_S_FREQUENCY() 207 /* try to set the frequency again to the actual value */ in test_VIDIOC_S_FREQUENCY() 210 freq.frequency = orig_freq.frequency; in test_VIDIOC_S_FREQUENCY() 222 /* check wheteher the frequency has not been changed */ in test_VIDIOC_S_FREQUENCY() 237 ("\t%s:%u: current frequency in test_VIDIOC_S_FREQUENCY() [all...] |
| /third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/examples/p2p/ |
| H A D | p2p_group_add.py | 17 print(" [-f <frequency>] [-o <group_object_path>] \ ") 22 print(" -f = frequency") 51 global frequency 64 def __init__(self,interface_name,wpas_dbus_interface,persistent,frequency, 70 self.frequency = frequency 126 if (self.frequency != None): 127 if (int(self.frequency) > 0): 128 self.P2PDictionary.update({'frequency':int(self.frequency)}) 160 frequency = None global() variable [all...] |
| /third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/examples/p2p/ |
| H A D | p2p_group_add.py | 17 print(" [-f <frequency>] [-o <group_object_path>] \ ") 22 print(" -f = frequency") 51 global frequency 64 def __init__(self,interface_name,wpas_dbus_interface,persistent,frequency, 70 self.frequency = frequency 126 if (self.frequency != None): 127 if (int(self.frequency) > 0): 128 self.P2PDictionary.update({'frequency':int(self.frequency)}) 160 frequency = None global() variable [all...] |
| /third_party/skia/third_party/externals/swiftshader/src/Common/ |
| H A D | Timer.cpp | 51 return (double)counter() / (double)frequency(); in seconds() 87 int64_t Timer::frequency() in frequency() function in sw::Timer 90 int64_t frequency; in frequency() local 91 QueryPerformanceFrequency((LARGE_INTEGER*)&frequency); in frequency() 92 return frequency; in frequency()
|
| /third_party/pulseaudio/src/modules/ |
| H A D | module-sine.c | 41 "frequency=<frequency in Hz>"); 54 "frequency", 122 uint32_t frequency; in pa__init() local 144 frequency = 440; in pa__init() 145 if (pa_modargs_get_value_u32(ma, "frequency", &frequency) < 0 || frequency < 1 || frequency > ss.rate/2) { in pa__init() 146 pa_log("Invalid frequency specificatio in pa__init() [all...] |
| H A D | module-sine-source.c | 50 "frequency=<frequency in Hz>"); 75 "frequency", 204 uint32_t frequency; in pa__init() local 223 frequency = 440; in pa__init() 224 if (pa_modargs_get_value_u32(ma, "frequency", &frequency) < 0 || frequency < 1 || frequency > ss.rate/2) { in pa__init() 225 pa_log("Invalid frequency specificatio in pa__init() [all...] |
| /third_party/pulseaudio/src/modules/bluetooth/ |
| H A D | a2dp-codec-sbc.c | 46 uint8_t frequency; member 69 if (!(capabilities->frequency & (SBC_SAMPLING_FREQ_16000 | SBC_SAMPLING_FREQ_32000 | SBC_SAMPLING_FREQ_44100 | SBC_SAMPLING_FREQ_48000))) in can_accept_capabilities() 93 if (!(capabilities->frequency & (SBC_SAMPLING_FREQ_44100 | SBC_SAMPLING_FREQ_48000))) in can_accept_capabilities_xq() 146 capabilities->frequency = SBC_SAMPLING_FREQ_16000 | SBC_SAMPLING_FREQ_32000 | SBC_SAMPLING_FREQ_44100 | in fill_capabilities() 158 switch (config->frequency) { in set_info_and_sample_spec_from_sbc_config() 160 sbc_info->frequency = SBC_FREQ_16000; in set_info_and_sample_spec_from_sbc_config() 164 sbc_info->frequency = SBC_FREQ_32000; in set_info_and_sample_spec_from_sbc_config() 168 sbc_info->frequency = SBC_FREQ_44100; in set_info_and_sample_spec_from_sbc_config() 172 sbc_info->frequency = SBC_FREQ_48000; in set_info_and_sample_spec_from_sbc_config() 250 sbc_info->sbc.frequency in set_params() [all...] |
| H A D | a2dp-codec-aptx-gst.c | 64 if (!(capabilities->frequency & (APTX_SAMPLING_FREQ_16000 | APTX_SAMPLING_FREQ_32000 | in can_accept_capabilities_common() 123 capabilities->frequency = APTX_SAMPLING_FREQ_16000 | APTX_SAMPLING_FREQ_32000 | in fill_capabilities_common() 149 if (config->frequency != APTX_SAMPLING_FREQ_16000 && config->frequency != APTX_SAMPLING_FREQ_32000 && in is_configuration_valid_common() 150 config->frequency != APTX_SAMPLING_FREQ_44100 && config->frequency != APTX_SAMPLING_FREQ_48000) { in is_configuration_valid_common() 151 pa_log_error("Invalid sampling frequency in configuration"); in is_configuration_valid_common() 214 if (freq_table[i].rate >= default_sample_spec->rate && (capabilities->frequency & freq_table[i].cap)) { in fill_preferred_configuration_common() 215 config->frequency = freq_table[i].cap; in fill_preferred_configuration_common() 222 if (capabilities->frequency in fill_preferred_configuration_common() [all...] |
| H A D | a2dp-codec-ldac-gst.c | 56 if (!(capabilities->frequency & (LDAC_SAMPLING_FREQ_44100 | LDAC_SAMPLING_FREQ_48000 | in can_accept_capabilities_common() 92 capabilities->frequency = LDAC_SAMPLING_FREQ_44100 | LDAC_SAMPLING_FREQ_48000 | in fill_capabilities_common() 117 if (config->frequency != LDAC_SAMPLING_FREQ_44100 && config->frequency != LDAC_SAMPLING_FREQ_48000 && in is_configuration_valid() 118 config->frequency != LDAC_SAMPLING_FREQ_88200 && config->frequency != LDAC_SAMPLING_FREQ_96000) { in is_configuration_valid() 119 pa_log_error("Invalid sampling frequency in configuration"); in is_configuration_valid() 160 if (freq_table[i].rate >= default_sample_spec->rate && (capabilities->frequency & freq_table[i].cap)) { in fill_preferred_configuration_common() 161 config->frequency = freq_table[i].cap; in fill_preferred_configuration_common() 168 if (capabilities->frequency in fill_preferred_configuration_common() [all...] |
| H A D | a2dp-codecs.h | 305 uint8_t frequency; member 314 uint8_t frequency:4; member 326 uint8_t frequency:6; member 349 uint8_t frequency:4; member 371 uint8_t frequency:4; member 386 uint8_t frequency:6; member 406 uint8_t frequency:4; member
|
| /third_party/skia/third_party/externals/swiftshader/src/System/ |
| H A D | Timer.cpp | 51 return (double)counter() / (double)frequency(); in seconds() 90 int64_t Timer::frequency() in frequency() function in sw::Timer 93 int64_t frequency; in frequency() local 94 QueryPerformanceFrequency((LARGE_INTEGER *)&frequency); in frequency() 95 return frequency; in frequency()
|
| /third_party/alsa-utils/bat/ |
| H A D | signal.c | 41 * frequency: the frequency for the sine wave. must be < 0.5*sample_rate 46 float frequency, float sample_rate) in sin_generator_init() 48 /* angular frequency: cycles/sec / (samp/sec) * rad/cycle = rad/samp */ in sin_generator_init() 49 float w = frequency / sample_rate * 2 * M_PI; in sin_generator_init() 50 if (frequency >= sample_rate / 2) in sin_generator_init() 57 sg->frequency = frequency; in sin_generator_init() 164 if (sg[c].frequency != bat->target_freq[c]) in generate_sine_wave() 45 sin_generator_init(struct sin_generator *sg, float magnitude, float frequency, float sample_rate) sin_generator_init() argument
|
| /third_party/mesa3d/src/util/ |
| H A D | os_time.c | 70 LARGE_INTEGER frequency; in os_time_get_nano() 73 QueryPerformanceFrequency(&frequency); in os_time_get_nano() 78 secs = counter.QuadPart / frequency.QuadPart; in os_time_get_nano() 79 nanosecs = (counter.QuadPart % frequency.QuadPart) * INT64_C(1000000000) in os_time_get_nano() 80 / frequency.QuadPart; in os_time_get_nano()
|
| /third_party/python/PC/clinic/ |
| H A D | winsound.c.h | 48 "Beep($module, /, frequency, duration)\n" 53 " frequency\n" 63 winsound_Beep_impl(PyObject *module, int frequency, int duration); 69 static const char * const _keywords[] = {"frequency", "duration", NULL}; in winsound_Beep() 72 int frequency; in winsound_Beep() local 79 frequency = _PyLong_AsInt(args[0]); in winsound_Beep() 80 if (frequency == -1 && PyErr_Occurred()) { in winsound_Beep() 87 return_value = winsound_Beep_impl(module, frequency, duration); in winsound_Beep()
|
| /third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/ |
| H A D | dfs.c | 86 * VHT80, valid channels based on center frequency: in dfs_is_chan_allowed() 91 * VHT160 valid channels based on center frequency: in dfs_is_chan_allowed() 270 wpa_printf(MSG_DEBUG, "DFS adjusting VHT center frequency: %d, %d", in dfs_adjust_center_freq() 517 int frequency = freq; in set_dfs_state() local 534 if (frequency == 0) in set_dfs_state() 535 frequency = cf1; in set_dfs_state() 539 frequency = cf1 - 10; in set_dfs_state() 543 frequency = cf1 - 30; in set_dfs_state() 547 frequency = cf1 - 70; in set_dfs_state() 555 wpa_printf(MSG_DEBUG, "DFS freq: %dMHz, n_chans: %d", frequency, in set_dfs_state() 572 int n_chans, n_chans1, i, j, frequency = freq, radar_n_chans = 1; dfs_are_channels_overlapped() local [all...] |
| /third_party/glfw/src/ |
| H A D | posix_time.c | 43 _glfw.timer.posix.frequency = 1000000000; in _glfwPlatformInitTimer() 56 return (uint64_t) ts.tv_sec * _glfw.timer.posix.frequency + (uint64_t) ts.tv_nsec; in _glfwPlatformGetTimerValue() 61 return _glfw.timer.posix.frequency; in _glfwPlatformGetTimerFrequency()
|
| /third_party/skia/third_party/externals/oboe/apps/OboeTester/app/src/main/cpp/flowunits/ |
| H A D | OscillatorBase.h | 29 * This module has "frequency" and "amplitude" ports for control. 62 * Control the frequency of the oscillator in Hz. 64 oboe::flowgraph::FlowGraphPortFloatInput frequency; member in OscillatorBase 77 * Increment phase based on frequency in Hz. 83 float incrementPhase(float frequency) { in incrementPhase() argument 84 mPhase += frequency * mFrequencyToPhaseIncrement; in incrementPhase() 96 float mFrequencyToPhaseIncrement = 0.0f; // scaler for converting frequency to phase increment
|
| /third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/ |
| H A D | mesh.c | 253 int frequency; in wpa_supplicant_mesh_init() local 283 frequency = ssid->frequency; in wpa_supplicant_mesh_init() 284 if (frequency != freq->freq && in wpa_supplicant_mesh_init() 285 frequency == freq->freq + freq->sec_channel_offset * 20) { in wpa_supplicant_mesh_init() 287 frequency = freq->freq; in wpa_supplicant_mesh_init() 289 wpa_s->assoc_freq = frequency; in wpa_supplicant_mesh_init() 302 if (ieee80211_is_dfs(ssid->frequency, wpa_s->hw.modes, in wpa_supplicant_mesh_init() 325 conf->hw_mode = ieee80211_freq_to_chan(frequency, &conf->channel); in wpa_supplicant_mesh_init() 327 wpa_printf(MSG_ERROR, "Unsupported mesh mode frequency in wpa_supplicant_mesh_init() [all...] |
| /third_party/ffmpeg/libavfilter/ |
| H A D | af_biquads.c | 134 double frequency; member 629 double frequency, in convert_width2qfactor() 634 double w0 = 2. * M_PI * frequency / sample_rate; in convert_width2qfactor() 644 ret = frequency / width; in convert_width2qfactor() 647 ret = frequency / (width * 1000.); in convert_width2qfactor() 665 double Q = convert_width2qfactor(s->width, s->frequency, s->gain, sample_rate, s->width_type); in convert_dir2zdf() 681 g = tan(M_PI * s->frequency / sample_rate); in convert_dir2zdf() 693 g = tan(M_PI * s->frequency / sample_rate) / sqrt(A); in convert_dir2zdf() 704 g = tan(M_PI * s->frequency / sample_rate) / sqrt(A); in convert_dir2zdf() 716 g = tan(M_PI * s->frequency / sample_rat in convert_dir2zdf() 628 convert_width2qfactor(double width, double frequency, double gain, double sample_rate, int width_type) convert_width2qfactor() argument [all...] |
| /third_party/skia/third_party/externals/oboe/samples/hello-oboe/src/main/cpp/ |
| H A D | SoundGenerator.cpp | 23 double frequency = 440.0; in SoundGenerator() local 29 mOscillators[i].setFrequency(frequency); in SoundGenerator() 32 frequency += interval; in SoundGenerator()
|
| /third_party/skia/third_party/externals/dawn/src/utils/ |
| H A D | WindowsTimer.cpp | 33 // Cache the frequency 70 LARGE_INTEGER frequency = {}; in GetFrequency() local 71 QueryPerformanceFrequency(&frequency); in GetFrequency() 73 mFrequency = frequency.QuadPart; in GetFrequency()
|
| /third_party/ffmpeg/libavdevice/ |
| H A D | bktr.c | 99 int format, int *video_fd, int *tuner_fd, int idev, double frequency) in bktr_init() 128 if (frequency <= 0) in bktr_init() 132 frequency = atof (arg); in bktr_init() 133 if (frequency <= 0) in bktr_init() 134 frequency = 0.0; in bktr_init() 205 if (frequency != 0.0) { in bktr_init() 206 ioctl_frequency = (unsigned long)(frequency*16); in bktr_init() 98 bktr_init(const char *video_device, int width, int height, int format, int *video_fd, int *tuner_fd, int idev, double frequency) bktr_init() argument
|
| /third_party/python/PC/ |
| H A D | winsound.c | 54 "Beep(frequency, duration) - Make a beep through the PC speaker.\n" 129 frequency: int 139 winsound_Beep_impl(PyObject *module, int frequency, int duration) in winsound_Beep_impl() argument 144 if (frequency < 37 || frequency > 32767) { in winsound_Beep_impl() 146 "frequency must be in 37 thru 32767"); in winsound_Beep_impl() 151 ok = Beep(frequency, duration); in winsound_Beep_impl()
|
| /third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/ |
| H A D | ocv.c | 60 if (ieee80211_chaninfo_to_channel(ci->frequency, ci->chanwidth, in ocv_insert_oci() 130 /* Primary frequency used to send frames to STA must match the STA's */ in ocv_verify_tx_params() 131 if ((int) ci->frequency != oci.freq) { in ocv_verify_tx_params() 134 ci->frequency, oci.freq); in ocv_verify_tx_params() 149 * band. In the 5 GHz band it's verified through the primary frequency. in ocv_verify_tx_params() 153 if (tx_chanwidth == 40 && ci->frequency < 2500 && in ocv_verify_tx_params() 163 * the same segments as the receiver by comparing frequency segment 1. in ocv_verify_tx_params() 169 "frequency segment 1 mismatch in received OCI (we use %d but receiver is using %d)", in ocv_verify_tx_params()
|
| /third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/ |
| H A D | ocv.c | 58 if (ieee80211_chaninfo_to_channel(ci->frequency, ci->chanwidth, in ocv_insert_oci() 127 /* Primary frequency used to send frames to STA must match the STA's */ in ocv_verify_tx_params() 128 if ((int) ci->frequency != oci.freq) { in ocv_verify_tx_params() 131 ci->frequency, oci.freq); in ocv_verify_tx_params() 146 * band. In the 5 GHz band it's verified through the primary frequency. in ocv_verify_tx_params() 150 if (tx_chanwidth == 40 && ci->frequency < 2500 && in ocv_verify_tx_params() 160 * the same segments as the receiver by comparing frequency segment 1. in ocv_verify_tx_params() 166 "OCV failed: frequency segment 1 mismatch in received OCI (we use %d but receiver is using %d)", in ocv_verify_tx_params()
|