| /external/pigweed/pw_cli/py/pw_cli/ |
| D | status_reporter.py | 7 # https://www.apache.org/licenses/LICENSE-2.0 22 def _no_color(msg: str) -> str: 26 def _split_lines(msg: str | list[str]) -> tuple[str, list[str]]: 35 """Print user-friendly status reports to the terminal for CLI tools. 41 because you want to support pretty-printing to the terminal. 49 - info: Plain ol' informational status. 50 - ok: Something was checked and it was okay. 51 - new: Something needed to be changed/updated and it was successfully. 52 - wrn: Warning, non-critical. 53 - err: Error, critical. [all …]
|
| /external/autotest/client/common_lib/hosts/ |
| D | repair_unittest.py | 3 # Use of this source code is governed by a BSD-style license that can be 8 # pylint: disable=missing-docstring 111 """Clear our history of log records to allow re-testing.""" 124 is non-zero. Calls to `try_repair()` (typically made by a 135 non-zero value means verification will fail. 167 self._fail_count -= 1 342 Iterator to test different settings of the `silent` parameter. 346 assertions about the `silent` parameter: 354 for silent in self._generate_silent(): 355 # run test case that uses the silent parameter [all …]
|
| D | repair.py | 2 # Use of this source code is governed by a BSD-style license that can be 38 _HOSTNAME_PATTERN = 'chromeos[0-9]-row[0-9]+[a-z]?-rack[0-9]+[a-z]?-host[0-9]+' 42 # True - verifier run and passed 43 # False - verifier run and failed 44 # None - verifier did not run or dependency failed 140 def is_critical(self, silent=False): argument 144 if not silent: 146 " it raised a non-critical error.", 180 @property _dependency_list Dependency pre-requisites. 198 def _record(self, host, silent, status_code, *record_args): argument [all …]
|
| /external/rust/android-crates-io/crates/icu_provider/src/ |
| D | error.rs | 3 // (online at: https://github.com/unicode-org/icu4x/blob/main/LICENSE ). 13 /// not being able to fulfill a well-formed request. 88 /// Whether this error was created in silent mode to not log. 89 pub silent: bool, field 93 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() 113 pub const fn into_error(self) -> DataError { in into_error() 118 silent: false, in into_error() 124 pub const fn with_marker(self, marker: DataMarkerInfo) -> DataError { in with_marker() 130 pub const fn with_str_context(self, context: &'static str) -> DataError { in with_str_context() 136 pub fn with_type_context<T>(self) -> DataError { in with_type_context() [all …]
|
| /external/curl/docs/cmdline-opts/ |
| D | silent.md | 1 --- 3 SPDX-License-Identifier: curl 4 Long: silent 6 Help: Silent mode 10 See-also: 11 - verbose 12 - stderr 13 - no-progress-meter 15 - -s $URL 16 --- [all …]
|
| /external/webrtc/modules/audio_processing/test/py_quality_assessment/quality_assessment/ |
| D | signal_processing_unittest.py | 3 # Use of this source code is governed by a BSD-style license 26 silence = pydub.AudioSegment.silent(duration=1000, frame_rate=48000) 38 # Test target SNR -Inf (noise expected). 40 signal, noise, -np.Inf) 66 silence = pydub.AudioSegment.silent(duration=1000, frame_rate=48000) 81 pydub.AudioSegment.silent(duration=1000, frame_rate=8000)) 83 pydub.AudioSegment.silent(duration=2000, frame_rate=8000)) 122 pydub.AudioSegment.silent(duration=1000, frame_rate=8000)) 124 pydub.AudioSegment.silent(duration=2000, frame_rate=8000), 440.0) 126 # Zero padding: expect pure tone only in 1-2s. [all …]
|
| /external/ethtool/netlink/ |
| D | plca.c | 2 * plca.c - netlink implementation of plca command 4 * Implementation of "ethtool --show-plca <dev>" and 5 * "ethtool --set-plca <dev> ..." 25 bool silent; in plca_get_cfg_reply_cb() local 31 silent = nlctx->is_dump || nlctx->is_monitor; in plca_get_cfg_reply_cb() 32 err_ret = silent ? MNL_CB_OK : MNL_CB_ERROR; in plca_get_cfg_reply_cb() 37 nlctx->devname = get_dev_name(tb[ETHTOOL_A_PLCA_HEADER]); in plca_get_cfg_reply_cb() 41 if (silent) in plca_get_cfg_reply_cb() 44 printf("PLCA settings for %s:\n", nlctx->devname); in plca_get_cfg_reply_cb() 79 // be pre-set to enable fast coordinator role switchover. in plca_get_cfg_reply_cb() [all …]
|
| D | phy.c | 2 * phy.c - List PHYs on an interface and their parameters 4 * Implementation of "ethtool --show-phys <dev>" 33 bool silent; in phy_reply_cb() local 37 silent = nlctx->is_dump || nlctx->is_monitor; in phy_reply_cb() 38 err_ret = silent ? MNL_CB_OK : MNL_CB_ERROR; in phy_reply_cb() 42 nlctx->devname = get_dev_name(tb[ETHTOOL_A_PHY_HEADER]); in phy_reply_cb() 46 if (silent) in phy_reply_cb() 51 print_string(PRINT_ANY, "ifname", "PHY for %s:\n", nlctx->devname); in phy_reply_cb() 82 if (!silent) in phy_reply_cb() 95 struct nl_context *nlctx = ctx->nlctx; in nl_get_phy() [all …]
|
| D | pause.c | 2 * pause.c - netlink implementation of pause commands 4 * Implementation of "ethtool -a <dev>" and "ethtool -A <dev> ..." 32 status->pause = val; in pause_autoneg_walker() 34 status->asym_pause = val; in pause_autoneg_walker() 46 bool silent; in pause_autoneg_cb() local 50 silent = nlctx->is_dump || nlctx->is_monitor; in pause_autoneg_cb() 51 err_ret = silent ? MNL_CB_OK : MNL_CB_ERROR; in pause_autoneg_cb() 90 saved_devname = nlctx->ctx->devname; in show_pause_autoneg_status() 91 nlctx->ctx->devname = nlctx->devname; in show_pause_autoneg_status() 96 ret = nlsock_prep_get_request(nlctx->ethnl2_socket, in show_pause_autoneg_status() [all …]
|
| /external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/core/src/main/java/com/google/android/exoplayer2/audio/ |
| D | SilenceSkippingAudioProcessor.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 32 * An {@link AudioProcessor} that skips silence in the input stream. Input and output are 16-bit 63 /** State when the input is not silent. */ 65 /** State when the input may be silent but we haven't read enough yet to know. */ 67 /** State when the input is silent. */ 84 * Stores the latest part of the input while silent. It will be output as padding if the next 107 * silenceThresholdLevel} to classify that part of audio as silent, in microseconds. 108 * @param paddingSilenceUs The duration of silence by which to extend non-silent sections, in 111 * classified as silent. 181 // We haven't received enough silence to transition to the silent state, so output the buffer. in onQueueEndOfStream() [all …]
|
| /external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/core/src/main/java/com/google/android/exoplayer2/audio/ |
| D | SilenceSkippingAudioProcessor.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 30 * An {@link AudioProcessor} that skips silence in the input stream. Input and output are 16-bit 60 /** State when the input is not silent. */ 62 /** State when the input may be silent but we haven't read enough yet to know. */ 64 /** State when the input is silent. */ 81 * Stores the latest part of the input while silent. It will be output as padding if the next 104 * silenceThresholdLevel} to classify that part of audio as silent, in microseconds. 105 * @param paddingSilenceUs The duration of silence by which to extend non-silent sections, in 108 * classified as silent. 178 // We haven't received enough silence to transition to the silent state, so output the buffer. in onQueueEndOfStream() [all …]
|
| /external/libxml2/xstc/ |
| D | xstc.py | 14 opa.add_option("-b", "--base", action="store", type="string", dest="baseDir", 19 opa.add_option("-o", "--out", action="store", type="string", dest="logFile", 23 opa.add_option("--log", action="store_true", dest="enableLog", 27 opa.add_option("--no-test-out", action="store_true", dest="disableTestStdOut", 31 opa.add_option("-s", "--silent", action="store_true", dest="silent", default=False, 34 opa.add_option("-v", "--verbose", action="store_true", dest="verbose", 36 help="Displays all tests (only if --silent is not set)") 38 opa.add_option("-x", "--max", type="int", dest="maxTestCount", 39 default="-1", 42 opa.add_option("-t", "--test", type="string", dest="singleTest", [all …]
|
| /external/jsoncpp/ |
| D | doxybuild.py | 17 http://stackoverflow.com/questions/431684/how-do-i-cd-in-python 62 status = -1 66 def run_cmd(cmd, silent=False): argument 72 if silent: 102 options.silent = True 109 html_output_dirname = 'jsoncpp-api-html-' + version 111 warning_log_path = os.path.join(output_dir, '../jsoncpp-doxygen-warning.log') 134 run_doxygen(options.doxygen_path, 'doc/doxyfile', 'doc', is_silent=options.silent) 135 if not options.silent: 166 parser.add_option('--with-dot', dest="with_dot", action='store_true', default=False, [all …]
|
| /external/emma/core/res/com/vladium/emma/data/ |
| D | merge_usage.res | 28 excludes {'silent', 'quiet', 'debug'}, 33 excludes {'silent', 'verbose', 'debug'}, 36 'silent': 39 "extra-quiet operation (ignore all but severe errors)"; 44 excludes {'verbose', 'quiet', 'silent'},
|
| /external/emma/core/res/com/vladium/emma/instr/ |
| D | instr_usage.res | 10 "instrumentation output directory (required for non-overwrite output modes)"; 48 excludes {'silent', 'quiet', 'debug'}, 53 excludes {'silent', 'verbose', 'debug'}, 56 'silent': 59 "extra-quiet operation (ignore all but severe errors)"; 64 excludes {'verbose', 'quiet', 'silent'},
|
| /external/emma/core/res/com/vladium/emma/report/ |
| D | report_usage.res | 33 excludes {'silent', 'quiet', 'debug'}, 38 excludes {'silent', 'verbose', 'debug'}, 41 'silent': 44 "extra-quiet operation (ignore all but severe errors)"; 49 excludes {'verbose', 'quiet', 'silent'},
|
| /external/rust/android-crates-io/crates/combine/src/parser/ |
| D | error.rs | 15 pub struct Unexpected<I, T, E>(E, PhantomData<fn(I) -> (I, T)>) 26 fn parse_lazy(&mut self, input: &mut Input) -> ParseResult<T, <Input as StreamOnce>::Error> { in parse_lazy() 55 pub fn unexpected<Input, S>(message: S) -> Unexpected<Input, (), S> in unexpected() 87 pub fn unexpected_any<Input, S, T>(message: S) -> Unexpected<Input, T, S> in unexpected_any() 113 ) -> ParseResult<Self::Output, <Input as StreamOnce>::Error> in parse_mode_impl() 143 pub fn message<Input, P, S>(p: P, msg: S) -> Message<P, S> in message() 170 ) -> ParseResult<Self::Output, <Input as StreamOnce>::Error> in parse_mode_impl() 189 pub fn expected<Input, P, S>(p: P, info: S) -> Expected<P, S> in expected() 199 pub struct Silent<P>(P); struct 200 impl<Input, P> Parser<Input> for Silent<P> implementation [all …]
|
| /external/flac/test/ |
| D | test_seeking.sh | 1 #!/bin/sh -e 3 # FLAC - Free Lossless Audio Codec 4 # Copyright (C) 2004-2009 Josh Coalson 5 # Copyright (C) 2011-2023 Xiph.Org Foundation 9 # are distributed under Xiph.Org's BSD-like license (see the file 29 if [ -z "$FLAC__TEST_LEVEL" ] ; then 33 flac${EXE} --help 1>/dev/null 2>/dev/null || die "ERROR can't find flac executable" 34 metaflac${EXE} --help 1>/dev/null 2>/dev/null || die "ERROR can't find metaflac executable" 39 …echo "valgrind --leak-check=yes --show-reachable=yes --num-callers=50 flac $*" >>test_seeking.valg… 40 …valgrind --leak-check=yes --show-reachable=yes --num-callers=50 --log-fd=4 flac${EXE} --no-error-o… [all …]
|
| D | common.sh.in | 1 # FLAC - Free Lossless Audio Codec 2 # Copyright (C) 2001-2009 Josh Coalson 3 # Copyright (C) 2011-2023 Xiph.Org Foundation 7 # are distributed under Xiph.Org's BSD-like license (see the file 22 if [ -z "$1" ] ; then 51 # Needed for building out-of-tree where source files are in the $top_srcdir tree 58 if test $(env | grep -ic '^comspec=') != 0 ; then 66 SILENT='--silent' 67 TOTALLY_SILENT='--totally-silent' 69 SILENT='' [all …]
|
| /external/mockito/src/main/java/org/mockito/junit/ |
| D | MockitoJUnitRunner.java | 37 …* To opt-out from this feature, use {@code}@RunWith(MockitoJUnitRunner.Silent.class){@c… 52 …* Runner is completely optional - there are other ways you can get @Mock working, for example… 74 * to users that cannot use Mockito's built-in JUnit support (runner or the rule). 82 * The runner remains 'silent' even if incorrect stubbing is present. 88 * If you have good reasons to use the silent runner, let us know at the mailing list 90 * The purpose of silent implementation is to satisfy edge/unanticipated use cases, 91 * and to offer users an opt-out. 98 * <b>@RunWith(MockitoJUnitRunner.Silent.class)</b> 106 public static class Silent extends MockitoJUnitRunner { class in MockitoJUnitRunner 107 public Silent(Class<?> klass) throws InvocationTargetException { in Silent() method in MockitoJUnitRunner.Silent
|
| /external/trusty/arm-trusted-firmware/make_helpers/ |
| D | common.mk | 4 # SPDX-License-Identifier: BSD-3-Clause 7 ifndef common-mk 8 common-mk := $(lastword $(MAKEFILE_LIST)) 10 include $(dir $(common-mk))utilities.mk 12 silent := $(call bool,$(findstring s,$(firstword ~$(MAKEFLAGS)))) 13 verbose := $(if $(silent),,$(call bool,$(V))) 15 s := @$(if $(or $(verbose),$(silent)),: )
|
| /external/emma/core/res/com/vladium/emma/ |
| D | run_usage.res | 64 excludes {'silent', 'quiet', 'debug'}, 69 excludes {'silent', 'verbose', 'debug'}, 72 'silent': 75 "extra-quiet operation (ignore all but severe errors)"; 80 excludes {'verbose', 'quiet', 'silent'},
|
| /external/coreboot/util/kconfig/ |
| D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0-only 4 # These targets are used from top-level makefile 17 silent := -s macro 22 kernel-release := $(shell uname -r) 24 /lib/modules/$(kernel-release)/.config \ 25 /etc/kernel-config \ 26 /boot/config-$(kernel-release) 41 config-prog := conf 42 menuconfig-prog := mconf 43 nconfig-prog := nconf [all …]
|
| /external/cronet/tot/third_party/apache-portable-runtime/src/ |
| D | configure | 2 # Guess values for system-dependent variables and create Makefiles. 6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 11 ## -------------------- ## 13 ## -------------------- ## 17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 22 alias -g '${1+"$@"}'='"$@"' 25 case `(set -o) 2>/dev/null` in #( 27 set -o posix ;; #( 43 if test -z "$BASH_VERSION$ZSH_VERSION" \ [all …]
|
| /external/cronet/stable/third_party/apache-portable-runtime/src/ |
| D | configure | 2 # Guess values for system-dependent variables and create Makefiles. 6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 11 ## -------------------- ## 13 ## -------------------- ## 17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 22 alias -g '${1+"$@"}'='"$@"' 25 case `(set -o) 2>/dev/null` in #( 27 set -o posix ;; #( 43 if test -z "$BASH_VERSION$ZSH_VERSION" \ [all …]
|