| /third_party/alsa-utils/bat/ |
| D | bat.c | 47 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 …]
|
| D | latencytest.c | 25 #include "bat-signal.h" 36 static float sumaudio(struct bat *bat, short int *buffer, int frames) in sumaudio() argument 44 for (n = 0; n < bat->channels; n++) { in sumaudio() 50 sum = sum / bat->channels; in sumaudio() 55 static void play_and_listen(struct bat *bat, void *buffer, int frames) in play_and_listen() argument 63 int num = bat->latency.number; in play_and_listen() 65 averageinput = (int) (sumaudio(bat, buffer, frames) / frames); in play_and_listen() 69 if (averageinput > bat->latency.threshold) { in play_and_listen() 74 if (*input++ > bat->latency.threshold) in play_and_listen() 76 *input += bat->channels; in play_and_listen() [all …]
|
| D | tinyalsa.c | 44 static int format_convert(struct bat *bat, struct pcm_config *config) in format_convert() argument 49 if (t->format_bat == bat->format) { in format_convert() 54 fprintf(bat->err, _("Invalid format!\n")); in format_convert() 58 static int init_config(struct bat *bat, struct pcm_config *config) in init_config() argument 60 config->channels = bat->channels; in init_config() 61 config->rate = bat->rate; in init_config() 62 if (bat->period_size > 0) in init_config() 63 config->period_size = bat->period_size; in init_config() 71 return format_convert(bat, config); in init_config() 88 static int check_param(struct bat *bat, struct pcm_params *params, in check_param() argument [all …]
|
| D | alsa.c | 60 static int format_convert(struct bat *bat, snd_pcm_format_t *fmt) in format_convert() argument 65 if (t->format_bat == bat->format) { in format_convert() 70 fprintf(bat->err, _("Invalid format!\n")); in format_convert() 74 static int set_snd_pcm_params(struct bat *bat, struct pcm_container *sndpcm) in set_snd_pcm_params() argument 87 err = format_convert(bat, &format); in set_snd_pcm_params() 97 fprintf(bat->err, _("Set parameter to device error: ")); in set_snd_pcm_params() 98 fprintf(bat->err, _("default params: %s: %s(%d)\n"), in set_snd_pcm_params() 107 fprintf(bat->err, _("Set parameter to device error: ")); in set_snd_pcm_params() 108 fprintf(bat->err, _("access type: %s: %s(%d)\n"), in set_snd_pcm_params() 116 fprintf(bat->err, _("Set parameter to device error: ")); in set_snd_pcm_params() [all …]
|
| D | analyze.c | 30 #include "bat-signal.h" 32 static void check_amplitude(struct bat *bat, float *buf) in check_amplitude() argument 38 for (i = 0, sum = 0.0, average = 0.0; i < bat->frames; i++) in check_amplitude() 40 average = sum / bat->frames; in check_amplitude() 43 for (i = 0, sum = 0.0; i < bat->frames; i++) in check_amplitude() 45 amplitude = sum / bat->frames * M_PI / 2.0; in check_amplitude() 48 percent = amplitude * 100 / ((1 << ((bat->sample_size << 3) - 1)) - 1); in check_amplitude() 50 fprintf(bat->log, _("Amplitude: %.1f; Percentage: [%d]\n"), in check_amplitude() 53 fprintf(bat->err, _("ERROR: Amplitude can't be negative!\n")); in check_amplitude() 55 fprintf(bat->err, _("WARNING: Signal too weak!\n")); in check_amplitude() [all …]
|
| D | common.c | 28 #include "bat-signal.h" 33 /* update chunk_fmt data to bat */ 34 static int update_fmt_to_bat(struct bat *bat, struct chunk_fmt *fmt) in update_fmt_to_bat() argument 36 bat->channels = fmt->channels; in update_fmt_to_bat() 37 bat->rate = fmt->sample_rate; in update_fmt_to_bat() 38 bat->sample_size = fmt->sample_length / 8; in update_fmt_to_bat() 39 if (bat->sample_size > 4) { in update_fmt_to_bat() 40 fprintf(bat->err, _("Invalid format: sample size=%d\n"), in update_fmt_to_bat() 41 bat->sample_size); in update_fmt_to_bat() 44 bat->frame_size = fmt->blocks_align; in update_fmt_to_bat() [all …]
|
| D | signal.c | 91 static int reorder(struct bat *bat, float *val, int frames) in reorder() argument 96 bytes = frames * bat->channels * sizeof(float); in reorder() 100 fprintf(bat->err, _("Not enough memory.\n")); in reorder() 106 for (c = 0; c < bat->channels; c++) in reorder() 107 val[i * bat->channels + c] = in reorder() 114 static int adjust_waveform(struct bat *bat, float *val, int frames, in adjust_waveform() argument 120 switch (bat->format) { in adjust_waveform() 135 fprintf(bat->err, _("Invalid PCM format: %d\n"), bat->format); in adjust_waveform() 148 int generate_sine_wave(struct bat *bat, int frames, void *buf) in generate_sine_wave() argument 155 nsamples = bat->channels * frames; in generate_sine_wave() [all …]
|
| D | common.h | 21 #define TEMP_RECORD_FILE_NAME "/tmp/bat.wav.XXXXXX" 77 * If DELTA_RATE is too high, BAT may not be able to recognize negative result; 78 * if too low, BAT may be too sensitive and results in uncecessary failure. */ 145 struct bat; 178 void *(*fct)(struct bat *); 215 struct bat { struct 265 void prepare_wav_info(struct wav_container *, struct bat *); argument 266 int read_wav_header(struct bat *, char *, FILE *, bool); 267 int write_wav_header(FILE *, struct wav_container *, struct bat *); 268 int update_wav_header(struct bat *, FILE *, int); [all …]
|
| /third_party/python/Lib/test/test_email/data/ |
| D | msg_43.txt | 3 …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/typescript/tests/baselines/reference/ |
| D | conditionalTypes2.errors.txt | 27 …ract<Extract<T, Foo>, Bar>' is not assignable to parameter of type '{ foo: string; bat: string; }'. 28 …Property 'bat' is missing in type 'Bar & Foo' but required in type '{ foo: string; bat: string; }'. 29 Type 'Extract<T, Bar>' is not assignable to type '{ foo: string; bat: string; }'. 30 …Property 'bat' is missing in type 'Bar & Foo' but required in type '{ foo: string; bat: string; }'. 31 …ype 'Extract<T, Foo & Bar>' is not assignable to parameter of type '{ foo: string; bat: string; }'. 32 …Property 'bat' is missing in type 'Foo & Bar' but required in type '{ foo: string; bat: string; }'. 33 …ype 'Extract2<T, Foo, Bar>' is not assignable to parameter of type '{ foo: string; bat: string; }'. 34 Type 'T extends Bar ? T : never' is not assignable to type '{ foo: string; bat: string; }'. 35 …Property 'bat' is missing in type 'Bar & Foo' but required in type '{ foo: string; bat: string; }'. 134 declare function fooBat(x: { foo: string, bat: string }): void; [all …]
|
| D | destructuredDeclarationEmit.types | 2 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; }; }; }
|
| D | classWithMultipleBaseClasses.symbols | 26 bat(); 27 >bat : Symbol(J.bat, Decl(classWithMultipleBaseClasses.ts, 12, 13)) 39 bat() { } 40 >bat : Symbol(D.bat, Decl(classWithMultipleBaseClasses.ts, 18, 13))
|
| D | declFileForClassWithMultipleBaseClasses.symbols | 26 bat(); 27 >bat : Symbol(J.bat, Decl(declFileForClassWithMultipleBaseClasses.ts, 12, 13)) 39 bat() { } 40 >bat : Symbol(D.bat, Decl(declFileForClassWithMultipleBaseClasses.ts, 18, 13))
|
| D | declFileForClassWithMultipleBaseClasses.js | 15 bat(); 21 bat() { } method in D 46 D.prototype.bat = function () { }; method in D 64 bat(): any; 68 bat(): void;
|
| D | destructuredDeclarationEmit.js | 4 const foo = { bar: 'hello', bat: 'world', bam: { bork: { bar: 'a', baz: 'b' } } }; property 11 const { bar: baz, bat, bam: { bork: { bar: ibar, baz: ibaz } } } = foo; 29 var foo = { bar: 'hello', bat: 'world', bam: { bork: { bar: 'a', baz: 'b' } } }; property 40 var baz = foo_1.foo.bar, bat = foo_1.foo.bat, _a = foo_1.foo.bam.bork, ibar = _a.bar, ibaz = _a.baz; variable 57 bat: string;
|
| D | classWithMultipleBaseClasses.types | 22 bat(); 23 >bat : () => any 33 bat() { } 34 >bat : () => void
|
| /third_party/protobuf/kokoro/release/python/windows/ |
| D | build_artifacts.bat | 5 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/python/Modules/_decimal/tests/ |
| D | runall.bat | 14 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/astc-encoder/jenkins/ |
| D | nightly.Jenkinsfile | 122 bat 'git clean -ffdx' 127 bat ''' 128 call c:\\progra~2\\micros~1\\2022\\buildtools\\vc\\auxiliary\\build\\vcvars64.bat 138 bat ''' 139 call c:\\progra~2\\micros~1\\2022\\buildtools\\vc\\auxiliary\\build\\vcvars64.bat 156 bat ''' 172 bat 'git clean -ffdx' 177 bat ''' 178 call c:\\progra~2\\micros~1\\2022\\buildtools\\vc\\auxiliary\\build\\vcvars64.bat 190 bat ''' [all …]
|
| /third_party/python/PCbuild/ |
| D | readme.txt | 7 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". 22 external dependencies. To build, simply run the "build.bat" script without 55 Building Python using the build.bat script 58 In this directory you can find build.bat, a script designed to make 59 building Python on Windows simpler. This script will use the env.bat 64 By default, build.bat will build Python in Release configuration for 66 this behavior, try `build.bat -h` to learn more. 179 running PCbuild\prepare_ssl.bat. This will retrieve the version of [all …]
|
| /third_party/python/Tools/msi/ |
| D | build.bat | 28 call "%D%get_externals.bat" 29 call "%PCBUILD%find_msbuild.bat" %MSBUILD% 33 call "%PCBUILD%build.bat" -p Win32 -d -e %REBUILD% %BUILDTEST% 35 call "%PCBUILD%build.bat" -p Win32 -e %REBUILD% %BUILDTEST% 39 call "%PCBUILD%build.bat" -p x64 -d -e %REBUILD% %BUILDTEST% 41 call "%PCBUILD%build.bat" -p x64 -e %REBUILD% %BUILDTEST% 45 call "%PCBUILD%build.bat" -p ARM64 -d -e %REBUILD% %BUILDTEST% 47 call "%PCBUILD%build.bat" -p ARM64 -e %REBUILD% %BUILDTEST% 52 call "%PCBUILD%..\Doc\make.bat" html 87 echo build.bat [-x86] [-x64] [-arm64] [--doc] [-h] [--test-marker] [--pack] [-r]
|
| D | buildrelease.bat | 79 call "%D%get_externals.bat" 80 call "%PCBUILD%find_msbuild.bat" %MSBUILD% 87 call "%D%..\..\doc\make.bat" html 107 call "%D%testrelease.bat" -t "%TESTTARGETDIR%" 169 @echo call "%PCBUILD%build.bat" -e -p %BUILD_PLAT% -t %TARGET% %PGOOPTS% %CERTOPTS% 170 @call "%PCBUILD%build.bat" -e -p %BUILD_PLAT% -t %TARGET% %PGOOPTS% %CERTOPTS% 172 @rem build.bat turns echo back on, so we disable it again 175 @echo call "%PCBUILD%build.bat" -d -e -p %BUILD_PLAT% -t %TARGET% 176 @call "%PCBUILD%build.bat" -d -e -p %BUILD_PLAT% -t %TARGET% 178 @rem build.bat turns echo back on, so we disable it again [all …]
|
| /third_party/python/Tools/nuget/ |
| D | build.bat | 28 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/jerryscript/tests/jerry/es2015/ |
| D | reflect-set.js | 25 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/curl/ |
| D | appveyor.sh | 74 ./generate.bat "${VC_VERSION}" 79 ./buildconf.bat 82 cat << EOF > _make.bat 84 call "C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/vcvarsall.bat" x86_amd64 87 ./_make.bat 88 rm _make.bat 92 ./buildconf.bat 95 cat << EOF > _make.bat 96 …all "C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Auxiliary/Build/vcvars64.bat" 99 ./_make.bat [all …]
|