Home
last modified time | relevance | path

Searched full:bat (Results 1 – 25 of 830) sorted by relevance

12345678910>>...34

/third_party/alsa-utils/bat/
Dbat.c47 static void get_snr_thd_db(struct bat *bat, char *thd) in get_snr_thd_db() argument
56 fprintf(bat->err, _("Invalid threshold '%s':%d\n"), thd, err); in get_snr_thd_db()
59 bat->snr_thd_db = thd_db; in get_snr_thd_db()
63 static void get_snr_thd_pc(struct bat *bat, char *thd) in get_snr_thd_pc() argument
72 fprintf(bat->err, _("Invalid threshold '%s':%d\n"), thd, err); in get_snr_thd_pc()
75 bat->snr_thd_db = 20.0 * log10f(100.0 / thd_pc); in get_snr_thd_pc()
78 static int get_duration(struct bat *bat) in get_duration() argument
85 duration_f = strtof(bat->narg, &ptrf); in get_duration()
91 duration_i = strtol(bat->narg, &ptri, 10); in get_duration()
96 bat->frames = duration_f * bat->rate; in get_duration()
[all …]
Dlatencytest.c23 #include "bat-signal.h"
34 static float sumaudio(struct bat *bat, short int *buffer, int frames) in sumaudio() argument
42 for (n = 0; n < bat->channels; n++) { in sumaudio()
48 sum = sum / bat->channels; in sumaudio()
53 static void play_and_listen(struct bat *bat, void *buffer, int frames) in play_and_listen() argument
61 int num = bat->latency.number; in play_and_listen()
63 averageinput = (int) (sumaudio(bat, buffer, frames) / frames); in play_and_listen()
67 if (averageinput > bat->latency.threshold) { in play_and_listen()
72 if (*input++ > bat->latency.threshold) in play_and_listen()
74 *input += bat->channels; in play_and_listen()
[all …]
Dtinyalsa.c43 static int format_convert(struct bat *bat, struct pcm_config *config) in format_convert() argument
48 if (t->format_bat == bat->format) { in format_convert()
53 fprintf(bat->err, _("Invalid format!\n")); in format_convert()
57 static int init_config(struct bat *bat, struct pcm_config *config) in init_config() argument
59 config->channels = bat->channels; in init_config()
60 config->rate = bat->rate; in init_config()
61 if (bat->period_size > 0) in init_config()
62 config->period_size = bat->period_size; in init_config()
70 return format_convert(bat, config); in init_config()
87 static int check_param(struct bat *bat, struct pcm_params *params, in check_param() argument
[all …]
Dalsa.c58 static int format_convert(struct bat *bat, snd_pcm_format_t *fmt) in format_convert() argument
63 if (t->format_bat == bat->format) { in format_convert()
68 fprintf(bat->err, _("Invalid format!\n")); in format_convert()
72 static int set_snd_pcm_params(struct bat *bat, struct pcm_container *sndpcm) in set_snd_pcm_params() argument
85 err = format_convert(bat, &format); in set_snd_pcm_params()
95 fprintf(bat->err, _("Set parameter to device error: ")); in set_snd_pcm_params()
96 fprintf(bat->err, _("default params: %s: %s(%d)\n"), in set_snd_pcm_params()
105 fprintf(bat->err, _("Set parameter to device error: ")); in set_snd_pcm_params()
106 fprintf(bat->err, _("access type: %s: %s(%d)\n"), in set_snd_pcm_params()
114 fprintf(bat->err, _("Set parameter to device error: ")); in set_snd_pcm_params()
[all …]
Danalyze.c29 #include "bat-signal.h"
31 static void check_amplitude(struct bat *bat, float *buf) in check_amplitude() argument
37 for (i = 0, sum = 0.0, average = 0.0; i < bat->frames; i++) in check_amplitude()
39 average = sum / bat->frames; in check_amplitude()
42 for (i = 0, sum = 0.0; i < bat->frames; i++) in check_amplitude()
44 amplitude = sum / bat->frames * M_PI / 2.0; in check_amplitude()
47 percent = amplitude * 100 / ((1 << ((bat->sample_size << 3) - 1)) - 1); in check_amplitude()
49 fprintf(bat->log, _("Amplitude: %.1f; Percentage: [%d]\n"), in check_amplitude()
52 fprintf(bat->err, _("ERROR: Amplitude can't be negative!\n")); in check_amplitude()
54 fprintf(bat->err, _("WARNING: Signal too weak!\n")); in check_amplitude()
[all …]
Dcommon.c27 #include "bat-signal.h"
32 /* update chunk_fmt data to bat */
33 static int update_fmt_to_bat(struct bat *bat, struct chunk_fmt *fmt) in update_fmt_to_bat() argument
35 bat->channels = fmt->channels; in update_fmt_to_bat()
36 bat->rate = fmt->sample_rate; in update_fmt_to_bat()
37 bat->sample_size = fmt->sample_length / 8; in update_fmt_to_bat()
38 if (bat->sample_size > 4) { in update_fmt_to_bat()
39 fprintf(bat->err, _("Invalid format: sample size=%d\n"), in update_fmt_to_bat()
40 bat->sample_size); in update_fmt_to_bat()
43 bat->frame_size = fmt->blocks_align; in update_fmt_to_bat()
[all …]
Dsignal.c89 static int reorder(struct bat *bat, float *val, int frames) in reorder() argument
94 bytes = frames * bat->channels * sizeof(float); in reorder()
98 fprintf(bat->err, _("Not enough memory.\n")); in reorder()
104 for (c = 0; c < bat->channels; c++) in reorder()
105 val[i * bat->channels + c] = in reorder()
112 static int adjust_waveform(struct bat *bat, float *val, int frames, in adjust_waveform() argument
118 switch (bat->format) { in adjust_waveform()
133 fprintf(bat->err, _("Invalid PCM format: %d\n"), bat->format); in adjust_waveform()
146 int generate_sine_wave(struct bat *bat, int frames, void *buf) in generate_sine_wave() argument
153 nsamples = bat->channels * frames; in generate_sine_wave()
[all …]
Dcommon.h16 #define TEMP_RECORD_FILE_NAME "/tmp/bat.wav.XXXXXX"
71 * If DELTA_RATE is too high, BAT may not be able to recognize negative result;
72 * if too low, BAT may be too sensitive and results in uncecessary failure. */
139 struct bat;
171 void *(*fct)(struct bat *);
208 struct bat { struct
257 void prepare_wav_info(struct wav_container *, struct bat *); argument
258 int read_wav_header(struct bat *, char *, FILE *, bool);
259 int write_wav_header(FILE *, struct wav_container *, struct bat *);
260 int update_wav_header(struct bat *, FILE *, int);
[all …]
/third_party/openh264/build/
DAutoBuildForWindows.bat4 rem AutoBuildForWindows.bat Configuration [-winsdk_version=winsdk_version] [-vc_version=vc_ver…
6 rem Win32-C-Only: AutoBuildForWindows.bat Win32-Debug-C
7 rem Win32-ASM: AutoBuildForWindows.bat Win32-Debug-ASM
8 rem Win64-C-Only: AutoBuildForWindows.bat Win64-Debug-C
9 rem Win64-ASM: AutoBuildForWindows.bat Win64-Debug-ASM
10 rem ARM64-C-Only: AutoBuildForWindows.bat ARM64-Debug-C
11 rem ARM64-ASM: AutoBuildForWindows.bat ARM64-Debug-ASM
13 rem Win32-C-Only: AutoBuildForWindows.bat Win32-Release-C
14 rem Win32-ASM: AutoBuildForWindows.bat Win32-Release-ASM
15 rem Win64-C-Only: AutoBuildForWindows.bat Win64-Release-C
[all …]
/third_party/python/Lib/test/test_email/data/
Dmsg_43.txt3 …il "Banned file: auto__mail.python.bat in mail from you" "^From:" nil nil nil nil "Banned file: au…
14 Subject: Banned file: auto__mail.python.bat in mail from you
48 …ostic-Code: smtp; 550 5.7.1 Message content rejected, id=01956-02-2 - BANNED: auto__mail.python.bat
54 …ostic-Code: smtp; 550 5.7.1 Message content rejected, id=01956-02-2 - BANNED: auto__mail.python.bat
60 …ostic-Code: smtp; 550 5.7.1 Message content rejected, id=01956-02-2 - BANNED: auto__mail.python.bat
66 …ostic-Code: smtp; 550 5.7.1 Message content rejected, id=01956-02-2 - BANNED: auto__mail.python.bat
72 …ostic-Code: smtp; 550 5.7.1 Message content rejected, id=01956-02-2 - BANNED: auto__mail.python.bat
78 …ostic-Code: smtp; 550 5.7.1 Message content rejected, id=01956-02-2 - BANNED: auto__mail.python.bat
84 …ostic-Code: smtp; 550 5.7.1 Message content rejected, id=01956-02-2 - BANNED: auto__mail.python.bat
90 …ostic-Code: smtp; 550 5.7.1 Message content rejected, id=01956-02-2 - BANNED: auto__mail.python.bat
[all …]
/third_party/protobuf/kokoro/release/python/windows/
Dbuild_artifacts.bat5 copy kokoro\release\python\windows\build_single_artifact.bat build_single_artifact.bat
38 CALL build_single_artifact.bat || goto :error
43 CALL build_single_artifact.bat || goto :error
48 CALL build_single_artifact.bat || goto :error
53 CALL build_single_artifact.bat || goto :error
58 CALL build_single_artifact.bat || goto :error
63 CALL build_single_artifact.bat || goto :error
68 CALL build_single_artifact.bat || goto :error
73 CALL build_single_artifact.bat || goto :error
/third_party/typescript/tests/baselines/reference/
DconditionalTypes2.errors.txt30 …ract<Extract<T, Foo>, Bar>' is not assignable to parameter of type '{ foo: string; bat: string; }'.
31 …Property 'bat' is missing in type 'Bar & Foo' but required in type '{ foo: string; bat: string; }'.
32 Type 'Extract<T, Bar>' is not assignable to type '{ foo: string; bat: string; }'.
33 …Property 'bat' is missing in type 'Bar & Foo' but required in type '{ foo: string; bat: string; }'.
34 …ype 'Extract<T, Foo & Bar>' is not assignable to parameter of type '{ foo: string; bat: string; }'.
35 …Property 'bat' is missing in type 'Foo & Bar' but required in type '{ foo: string; bat: string; }'.
36 …ype 'Extract2<T, Foo, Bar>' is not assignable to parameter of type '{ foo: string; bat: string; }'.
37 Type 'T extends Bar ? T : never' is not assignable to type '{ foo: string; bat: string; }'.
38 …Property 'bat' is missing in type 'Bar & Foo' but required in type '{ foo: string; bat: string; }'.
136 declare function fooBat(x: { foo: string, bat: string }): void;
[all …]
DdestructuredDeclarationEmit.types2 const foo = { bar: 'hello', bat: 'world', bam: { bork: { bar: 'a', baz: 'b' } } };
3 >foo : { bar: string; bat: string; bam: { bork: { bar: string; baz: string; }; }; }
4 >{ bar: 'hello', bat: 'world', bam: { bork: { bar: 'a', baz: 'b' } } } : { bar: string; bat: string…
7 >bat : string
39 >foo : { bar: string; bat: string; bam: { bork: { bar: string; baz: string; }; }; }
44 >foo : { bar: string; bat: string; bam: { bork: { bar: string; baz: string; }; }; }
48 >foo : { bar: string; bat: string; bam: { bork: { bar: string; baz: string; }; }; }
51 const { bar: baz, bat, bam: { bork: { bar: ibar, baz: ibaz } } } = foo;
54 >bat : string
61 >foo : { bar: string; bat: string; bam: { bork: { bar: string; baz: string; }; }; }
DclassWithMultipleBaseClasses.symbols26 bat();
27 >bat : Symbol(J.bat, Decl(classWithMultipleBaseClasses.ts, 12, 13))
39 bat() { }
40 >bat : Symbol(D.bat, Decl(classWithMultipleBaseClasses.ts, 18, 13))
DdeclFileForClassWithMultipleBaseClasses.symbols26 bat();
27 >bat : Symbol(J.bat, Decl(declFileForClassWithMultipleBaseClasses.ts, 12, 13))
39 bat() { }
40 >bat : Symbol(D.bat, Decl(declFileForClassWithMultipleBaseClasses.ts, 18, 13))
DdeclFileForClassWithMultipleBaseClasses.js15 bat();
21 bat() { } method in D
46 D.prototype.bat = function () { }; method in D
64 bat(): any;
68 bat(): void;
DclassWithMultipleBaseClasses.types22 bat();
23 >bat : () => any
33 bat() { }
34 >bat : () => void
DdeclFileForClassWithMultipleBaseClasses.types22 bat();
23 >bat : () => any
33 bat() { }
34 >bat : () => void
/third_party/python/Modules/_decimal/tests/
Drunall.bat14 call .\Tools\buildbot\clean.bat
15 call .\Tools\buildbot\build.bat -c Debug -p x64
25 call python.bat -m test -uall -R 3:3 test_decimal
31 call python.bat -m test -uall test_decimal
37 call python.bat .\Modules\_decimal\tests\deccheck.py
48 call .\Tools\buildbot\clean.bat
49 call .\Tools\buildbot\build.bat -c Release -p x64
59 call python.bat -m test -uall test_decimal
65 call python.bat .\Modules\_decimal\tests\deccheck.py
76 call .\Tools\buildbot\clean.bat
[all …]
/third_party/python/PCbuild/
Dreadme.txt7 get_externals.bat (via build.bat) will download and use Python via
9 2. Run "build.bat" to build Python in 32-bit Release configuration.
10 3. (Optional, but recommended) Run the test suite with "rt.bat -q".
24 external dependencies. To build, simply run the "build.bat" script without
57 Building Python using the build.bat script
60 In this directory you can find build.bat, a script designed to make
61 building Python on Windows simpler. This script will use the env.bat
66 By default, build.bat will build Python in Release configuration for
68 this behavior, try `build.bat -h` to learn more.
180 running PCbuild\prepare_ssl.bat. This will retrieve the version of
[all …]
/third_party/python/Tools/nuget/
Dbuild.bat28 call "%D%..\msi\get_externals.bat"
29 call "%PCBUILD%find_msbuild.bat" %MSBUILD%
35 if defined REBUILD ( call "%PCBUILD%build.bat" -e -r
36 ) else if not exist "%Py_OutDir%win32\python.exe" call "%PCBUILD%build.bat" -e
44 if defined REBUILD ( call "%PCBUILD%build.bat" -p x64 -e -r
45 ) else if not exist "%Py_OutDir%amd64\python.exe" call "%PCBUILD%build.bat" -p x64 -e
53 if defined REBUILD ( call "%PCBUILD%build.bat" -p ARM -e -r --no-tkinter
54 … ) else if not exist "%Py_OutDir%arm32\python.exe" call "%PCBUILD%build.bat" -p ARM -e --no-tkinter
64 echo build.bat [-x86] [-x64] [--out DIR] [-r] [-h]
/third_party/python/Tools/msi/
Dbuild.bat25 call "%D%get_externals.bat"
26 call "%PCBUILD%find_msbuild.bat" %MSBUILD%
30 call "%PCBUILD%build.bat" -d -e %REBUILD% %BUILDTEST%
32 call "%PCBUILD%build.bat" -e %REBUILD% %BUILDTEST%
36 call "%PCBUILD%build.bat" -p x64 -d -e %REBUILD% %BUILDTEST%
38 call "%PCBUILD%build.bat" -p x64 -e %REBUILD% %BUILDTEST%
43 call "%PCBUILD%..\Doc\make.bat" htmlhelp
73 echo build.bat [-x86] [-x64] [--doc] [-h] [--test-marker] [--pack] [-r]
/third_party/gstreamer/gstplugins_good/po/
Deu.po208 msgstr "'%s' gailua ez da irteerako gailu bat."
220 msgstr "'%s' gailua ez da kaptura-gailu bat."
224 msgstr "'%s' gailua ez da kaptura-gailu bat."
232 msgstr "'%s' gailua ez da irteerako gailu bat."
236 msgstr "'%s' gailua ez da irteerako gailu bat."
288 msgstr "'%s' gailua ez da irteerako gailu bat."
351 "kontrolatzaile bat. Begiratu v4l1 kontrolatzaile bat den."
376 msgstr "Hau ez da '%s' gailu bat."
384 msgstr "'%s' gailua ez da kaptura-gailu bat."
388 msgstr "'%s' gailua ez da irteerako gailu bat."
[all …]
/third_party/jerryscript/tests/jerry/es2015/
Dreflect-set.js25 Reflect.set (array, 2, 'bat');
27 assert (array[2] === 'bat');
39 Reflect.set (42, 'bat');
46 Reflect.set (null, 'bat');
53 var a = { [Symbol.toPrimitive]: function () { return 'bat' } };
56 assert (42 === target.bat);
59 Reflect.set (null, 'bat');
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/mpegts/
Dgst-dvb-section.c67 * ## Bouquet Association Table (BAT)
105 * * BAT
312 _gst_mpegts_bat_stream_copy (GstMpegtsBATStream * bat) in _gst_mpegts_bat_stream_copy() argument
316 copy = g_slice_dup (GstMpegtsBATStream, bat); in _gst_mpegts_bat_stream_copy()
317 copy->descriptors = g_ptr_array_ref (bat->descriptors); in _gst_mpegts_bat_stream_copy()
323 _gst_mpegts_bat_stream_free (GstMpegtsBATStream * bat) in _gst_mpegts_bat_stream_free() argument
325 if (bat->descriptors) in _gst_mpegts_bat_stream_free()
326 g_ptr_array_unref (bat->descriptors); in _gst_mpegts_bat_stream_free()
327 g_slice_free (GstMpegtsBATStream, bat); in _gst_mpegts_bat_stream_free()
335 _gst_mpegts_bat_copy (GstMpegtsBAT * bat) in _gst_mpegts_bat_copy() argument
[all …]

12345678910>>...34