| /external/vboot_reference/tests/ |
| D | run_cgpt_tests.sh | 1 #!/bin/bash -eu 4 # Use of this source code is governed by a BSD-style license that can be 12 CGPT=$(readlink -f "$1") 13 [ -x ""${CGPT}"" ] || error "Can't execute $CGPT" 19 [ -d "$DIR" ] || mkdir -p "$DIR" 26 error "$*" " should have failed but did not" 28 set -e 32 assert_fail "${CGPT}" show "${MTD[@]}" blah_404_haha 37 rm -f ${DEV} 43 DATA_GUID='0fc63daf-8483-4772-8e79-3d69d8477de4' [all …]
|
| /external/swiftshader/third_party/subzero/unittest/ |
| D | IceParseInstsTest.cpp | 1 //===- unittest/IceParseInstsTest.cpp - test instruction errors -----------===// 8 //===----------------------------------------------------------------------===// 13 #pragma clang diagnostic ignored "-Wunused-parameter" 28 // when we expect a Parse error. 52 // Show bitcode objdump for BitcodeRecords. in TEST() 57 "Error(66:4): Invalid relative value id: 100 (Must be <= 4)\n", in TEST() 60 // Show that we get appropriate error when parsing in Subzero. in TEST() 63 EXPECT_EQ("Error(66:4): Invalid function record: <34 0 4 2 100>\n", in TEST() 66 // Show that we generate a fatal error when not allowing error recovery. in TEST() 68 EXPECT_DEATH(Munger.runTest(ParseError), ".*ERROR: Unable to continue.*"); in TEST() [all …]
|
| /external/flac/test/ |
| D | test_metaflac.sh | 1 #!/bin/sh -e 3 # FLAC - Free Lossless Audio Codec 4 # Copyright (C) 2002-2009 Josh Coalson 5 # Copyright (C) 2011-2023 Xiph.Org Foundation 9 # are distributed under Xiph.Org's BSD-like license (see the file 27 if echo a | (grep -E '(a|b)') >/dev/null 2>&1 28 then EGREP='grep -E' 32 testdir="metaflac-test-files" 35 flac${EXE} --help 1>/dev/null 2>/dev/null || die "ERROR can't find flac executable" 36 metaflac${EXE} --help 1>/dev/null 2>/dev/null || die "ERROR can't find metaflac executable" [all …]
|
| 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 …]
|
| /external/curl/docs/cmdline-opts/ |
| D | show-error.md | 1 --- 3 SPDX-License-Identifier: curl 4 Long: show-error 6 Help: Show error even when -s is used 11 See-also: 12 - no-progress-meter 14 - --show-error --silent $URL 15 --- 17 # `--show-error` 19 When used with --silent, it makes curl show an error message if it fails.
|
| /external/llvm/test/MC/AMDGPU/ |
| D | flat-scratch.s | 1 // RUN: not llvm-mc -arch=amdgcn -mcpu=tahiti -show-encoding %s 2>&1 | FileCheck -check-prefix=NOSI… 2 // RUN: not llvm-mc -arch=amdgcn -mcpu=hawaii -show-encoding %s 2>&1 | FileCheck -check-prefix=NOCI… 3 // RUN: not llvm-mc -arch=amdgcn -mcpu=tonga -show-encoding %s 2>&1 | FileCheck -check-prefix=NOVI … 4 // RUN: not llvm-mc -arch=amdgcn -mcpu=hawaii -show-encoding %s | FileCheck -check-prefix=CI %s 5 // RUN: not llvm-mc -arch=amdgcn -mcpu=tonga -show-encoding %s | FileCheck -check-prefix=VI %s 7 s_mov_b64 flat_scratch, -1 8 // NOSI: error: not a valid operand. 9 // CI: s_mov_b64 flat_scratch, -1 ; encoding: [0xc1,0x04,0xe8,0xbe] 10 // VI: s_mov_b64 flat_scratch, -1 ; encoding: [0xc1,0x01,0xe6,0xbe] 12 s_mov_b32 flat_scratch_lo, -1 [all …]
|
| /external/llvm/tools/llvm-cov/ |
| D | CodeCoverage.cpp | 1 //===- CodeCoverage.cpp - Coverage tool based on profiling instrumentation-===// 8 //===----------------------------------------------------------------------===// 14 //===----------------------------------------------------------------------===// 43 /// \brief The show command. 44 Show, enumerator 49 /// \brief Print the error message to the error output stream. 50 void error(const Twine &Message, StringRef Whence = ""); 52 /// \brief Record (but do not print) an error message in a thread-safe way. 55 /// \brief Record (but do not print) a warning message in a thread-safe way. 58 /// \brief Print (and then clear) all deferred error and warning messages. [all …]
|
| /external/llvm/test/MC/Mips/ |
| D | rotations32-bad.s | 1 # RUN: not llvm-mc %s -arch=mips -mcpu=mips32 -show-encoding 2> %t1 3 # RUN: not llvm-mc %s -arch=mips -mcpu=mips32r2 -show-encoding 2> %t1 5 # RUN: not llvm-mc %s -arch=mips -mcpu=mips32r3 -show-encoding 2> %t1 7 # RUN: not llvm-mc %s -arch=mips -mcpu=mips32r5 -show-encoding 2> %t1 9 # RUN: not llvm-mc %s -arch=mips -mcpu=mips32r6 -show-encoding 2> %t1 16 # CHECK: [[@LINE-1]]:{{[0-9]+}}: error: instruction requires a CPU feature not currently ena… 18 # CHECK: [[@LINE-1]]:{{[0-9]+}}: error: instruction requires a CPU feature not currently ena… 20 # CHECK: [[@LINE-1]]:{{[0-9]+}}: error: instruction requires a CPU feature not currently ena… 22 # CHECK: [[@LINE-1]]:{{[0-9]+}}: error: instruction requires a CPU feature not currently ena… 25 # CHECK: [[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled [all …]
|
| /external/clang/test/Misc/ |
| D | include-stack-for-note-flag.cpp | 1 // RUN: not %clang_cc1 -fsyntax-only -fdiagnostics-show-note-include-stack %s 2>&1 | FileCheck %s -… 2 // RUN: not %clang_cc1 -fsyntax-only -fno-diagnostics-show-note-include-stack %s 2>&1 | FileCheck %… 3 …not %clang_cc1 -fsyntax-only -fno-diagnostics-show-note-include-stack -fdiagnostics-show-note-incl… 4 …not %clang_cc1 -fsyntax-only -fdiagnostics-show-note-include-stack -fno-diagnostics-show-note-incl… 5 // RUN: not %clang_cc1 -fsyntax-only %s 2>&1 | FileCheck %s -check-prefix=STACKLESS 16 // STACK: error: no matching function for call to 'foo' 19 // STACK: error: comparison between pointer and integer 23 // STACKLESS: error: no matching function for call to 'foo' 24 // STACKLESS-NOT: In file included from 26 // STACKLESS: error: comparison between pointer and integer [all …]
|
| D | warning-flags-enabled.c | 1 // RUN: diagtool show-enabled %s | FileCheck %s 11 // RUN: diagtool show-enabled -Wno-everything %s | count 0 14 // RUN: diagtool show-enabled -Wno-everything -Wobjc-root-class %s | FileCheck -check-prefix CHECK-… 15 // RUN: diagtool show-enabled -Wno-everything -Werror=objc-root-class %s | FileCheck -check-prefix … 16 // RUN: diagtool show-enabled -Wno-everything -Wfatal-errors=objc-root-class %s | FileCheck -check-… 18 // CHECK-WARN: W warn_objc_root_class_missing [-Wobjc-root-class] 19 // CHECK-ERROR: E warn_objc_root_class_missing [-Wobjc-root-class] 20 // CHECK-FATAL: F warn_objc_root_class_missing [-Wobjc-root-class] 22 // RUN: diagtool show-enabled --no-levels -Wno-everything -Wobjc-root-class %s | FileCheck -check-p… 24 // CHECK-NO-LEVELS-NOT: W [all …]
|
| /external/llvm/test/tools/llvm-profdata/ |
| D | text-format-errors.test | 3 1- Detect invalid count 4 RUN: not llvm-profdata show %p/Inputs/invalid-count-later.proftext 2>&1 | FileCheck %s --check-pref… 5 …-profdata merge %p/Inputs/invalid-count-later.proftext %p/Inputs/invalid-count-later.proftext -o %… 6 INVALID-COUNT-LATER: error: {{.*}}invalid-count-later.proftext: Malformed instrumentation profile d… 8 2- Detect bad hash 9 RUN: not llvm-profdata show %p/Inputs/bad-hash.proftext 2>&1 | FileCheck %s --check-prefix=BAD-HASH 10 RUN: not llvm-profdata merge %p/Inputs/bad-hash.proftext %p/Inputs/bad-hash.proftext -o %t.out 2>&1… 11 BAD-HASH: error: {{.*}}bad-hash.proftext: Malformed instrumentation profile data 13 3- Detect no counts 14 RUN: not llvm-profdata show %p/Inputs/no-counts.proftext 2>&1 | FileCheck %s --check-prefix=NO-COUN… [all …]
|
| /external/llvm/test/MC/Mips/eva/ |
| D | invalid-noeva-wrong-error.s | 1 # invalid operand for instructions that are invalid without -mattr=+eva flag and 2 # are correctly rejected but use the wrong error message at the moment. 4 # RUN: not llvm-mc %s -triple=mips64-unknown-linux -show-encoding -mcpu=mips32r2 2>%t1 6 # RUN: not llvm-mc %s -triple=mips64-unknown-linux -show-encoding -mcpu=mips32r3 2>%t1 8 # RUN: not llvm-mc %s -triple=mips64-unknown-linux -show-encoding -mcpu=mips32r5 2>%t1 10 # RUN: not llvm-mc %s -triple=mips64-unknown-linux -show-encoding -mcpu=mips32r6 2>%t1 12 # RUN: not llvm-mc %s -triple=mips64-unknown-linux -show-encoding -mcpu=mips64r2 2>%t1 14 # RUN: not llvm-mc %s -triple=mips64-unknown-linux -show-encoding -mcpu=mips64r3 2>%t1 16 # RUN: not llvm-mc %s -triple=mips64-unknown-linux -show-encoding -mcpu=mips64r5 2>%t1 18 # RUN: not llvm-mc %s -triple=mips64-unknown-linux -show-encoding -mcpu=mips64r6 2>%t1 [all …]
|
| D | invalid-noeva.s | 1 # invalid operand for instructions that are invalid without -mattr=+eva flag 3 # RUN: not llvm-mc %s -triple=mips64-unknown-linux -show-encoding -mcpu=mips32r2 2>%t1 5 # RUN: not llvm-mc %s -triple=mips64-unknown-linux -show-encoding -mcpu=mips32r3 2>%t1 7 # RUN: not llvm-mc %s -triple=mips64-unknown-linux -show-encoding -mcpu=mips32r5 2>%t1 9 # RUN: not llvm-mc %s -triple=mips64-unknown-linux -show-encoding -mcpu=mips32r6 2>%t1 11 # RUN: not llvm-mc %s -triple=mips64-unknown-linux -show-encoding -mcpu=mips64r2 2>%t1 13 # RUN: not llvm-mc %s -triple=mips64-unknown-linux -show-encoding -mcpu=mips64r3 2>%t1 15 # RUN: not llvm-mc %s -triple=mips64-unknown-linux -show-encoding -mcpu=mips64r5 2>%t1 17 # RUN: not llvm-mc %s -triple=mips64-unknown-linux -show-encoding -mcpu=mips64r6 2>%t1 21 …tlbinv # CHECK: :[[@LINE]]:{{[0-9]+}}: error: instruction requires a CPU f… [all …]
|
| /external/autotest/client/site_tests/bluetooth_FastPairUI/ |
| D | bluetooth_FastPairUI.py | 3 # Use of this source code is governed by a BSD-style license that can be 9 from autotest_lib.client.common_lib import error 33 # Amount of seconds we wait for notifications to show/disappear 60 """Wait for the notification with expected_id to show""" 61 logging.info('Waiting for notificaiton with id:%s to show', 65 exception=error.TestError( 67 to show""".format(expected_id)), 76 exception=error.TestError( 82 """Wait for an instance of the discovery notification to show""" 83 logging.info('Waiting for discovery notification to show.') [all …]
|
| /external/llvm/test/MC/AMDGPU/regression/ |
| D | bug28538.s | 1 // RUN: not llvm-mc -arch=amdgcn -mcpu=tonga -show-encoding %s 2>&1 | FileCheck %s --check-prefix=N… 2 // RUN: not llvm-mc -arch=amdgcn -show-encoding %s 2>&1 | FileCheck %s --check-prefix=NOSI --check-… 3 // RUN: not llvm-mc -arch=amdgcn -mcpu=SI -show-encoding %s 2>&1 | FileCheck %s --check-prefix=NOSI… 4 // RUN: not llvm-mc -arch=amdgcn -mcpu=bonaire -show-encoding %s 2>&1 | FileCheck %s --check-prefix… 6 // NOSICI: error: 7 // NOVI: error: failed parsing operand 10 // NOSICI: error: 11 // NOVI: error: failed parsing operand
|
| /external/autotest/frontend/client/src/autotest/common/ui/ |
| D | NotifyManager.java | 15 * A singleton class to manage popup notifications, including error messages and 33 innerPanel.setStyleName("notify-inner"); in NotifyBox() 45 public void show() { in show() method in NotifyManager.NotifyBox 46 outerPanel.show(); in show() 58 show(); in showWidget() 64 new DisclosurePanel("Error log"); 75 public void logError(String error) { in logError() argument 78 errorText += "\n------------------------------\n"; in logError() 79 errorText += error; in logError() 92 errorNotify.addStyle("error"); in NotifyManager() [all …]
|
| /external/walt/ios/WALT/ |
| D | ScreenResponseController.m | 8 * http://www.apache.org/licenses/LICENSE-2.0 27 static const NSUInteger kMaxFlashes = 20; // TODO(pquinn): Make this user-configurable. 32 - (void)setFlashTimer; 33 - (void)flash:(NSTimer *)timer; 51 - (void)dealloc { 56 - (void)viewDidLoad { 63 - (void)viewWillAppear:(BOOL)animated { 70 - (IBAction)start:(id)sender { 74 NSError *error = nil; 75 if (![_client sendCommand:WALTSendLastScreenCommand error:&error]) { [all …]
|
| D | MenuController.m | 8 * http://www.apache.org/licenses/LICENSE-2.0 29 - (void)viewDidLoad { 39 - (void)viewDidAppear:(BOOL)animated { 48 - (void)dealloc { 52 - (void)observeValueForKeyPath:(NSString *)keyPath 72 UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"WALT Connection Error" 77 [alert show]; 84 - (void)shareLog:(id)sender { 90 formatter.dateFormat = @"yyyy-MM-dd'T'HH-mm-ss"; 98 NSError *error = nil; [all …]
|
| /external/emboss/compiler/front_end/ |
| D | emboss_front_end.py | 7 # https://www.apache.org/licenses/LICENSE-2.0 32 from compiler.util import error 37 """Parses the given command-line arguments.""" 44 parser.add_argument("--debug-show-tokenization", 46 help="Show the tokenization of the main input file.") 47 parser.add_argument("--debug-show-parse-tree", 49 help="Show the parse tree of the main input file.") 50 parser.add_argument("--debug-show-module-ir", 52 help="Show the module-level IR of the main input file " 54 parser.add_argument("--debug-show-full-ir", [all …]
|
| /external/openthread/src/cli/ |
| D | cli_network_data.cpp | 188 otError error = OT_ERROR_NONE; in Process() local 190 VerifyOrExit(aArgs[0].IsEmpty(), error = OT_ERROR_INVALID_ARGS); in Process() 194 return error; in Process() 199 otError error = OT_ERROR_NONE; in Process() local 230 error = OT_ERROR_INVALID_ARGS; in Process() 233 return error; in Process() 239 otError error = OT_ERROR_NONE; in Process() local 250 * @cparam netdata publish dnssrp anycast @ca{seq-num} [@ca{version}] in Process() 267 SuccessOrExit(error = aArgs[2].ParseAsUint8(sequenceNumber)); in Process() 271 SuccessOrExit(error = aArgs[3].ParseAsUint8(version)); in Process() [all …]
|
| /external/mbedtls/tests/scripts/ |
| D | test_psa_constant_names.py | 7 or 1 (with a Python backtrace) if there was an operational error. 11 # SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later 21 import scripts_path # pylint: disable=unused-import 28 inputs_class=InputsForTest) -> PSAMacroEnumerator: 42 keep_c: bool = False) -> List[str]: 61 def normalize(expr: str) -> str: 73 def is_simplifiable(expr: str) -> bool: 87 keep_c: bool = False) -> Tuple[List[str], List[str]]: 104 Error = namedtuple('Error', variable in Tests 107 def __init__(self, options) -> None: [all …]
|
| /external/openthread/third_party/mbedtls/repo/tests/scripts/ |
| D | test_psa_constant_names.py | 7 or 1 (with a Python backtrace) if there was an operational error. 11 # SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later 21 import scripts_path # pylint: disable=unused-import 28 inputs_class=InputsForTest) -> PSAMacroEnumerator: 42 keep_c: bool = False) -> List[str]: 61 def normalize(expr: str) -> str: 73 def is_simplifiable(expr: str) -> bool: 87 keep_c: bool = False) -> Tuple[List[str], List[str]]: 104 Error = namedtuple('Error', variable in Tests 107 def __init__(self, options) -> None: [all …]
|
| /external/linux-kselftest/tools/testing/selftests/drivers/net/netdevsim/ |
| D | devlink.sh | 2 # SPDX-License-Identifier: GPL-2.0 61 cmd_jq "devlink dev param show $DL_HANDLE name $name -j" \ 106 check_value max_macs post-set 16 32 107 check_value test1 post-set false Y 111 check_value max_macs post-reload 16 16 112 check_value test1 post-reload false N 122 size=$(devlink region show $DL_HANDLE/$name -j | jq -e -r '.[][].size') 124 [ $size -eq 32768 ] 135 count=$(devlink region show $DL_HANDLE/$name -j | jq -e -r '.[][].snapshot | length') 136 [ $count -eq $expected_count ] [all …]
|
| /external/llvm/test/MC/ARM/ |
| D | thumb-hints.s | 1 @ RUN: llvm-mc -triple=thumbv7-apple-darwin -show-encoding < %s | FileCheck %s 2 @ RUN: llvm-mc -triple=thumbv6-apple-darwin -mcpu=cortex-m0 -show-encoding < %s | FileCheck %s 3 @ RUN: not llvm-mc -triple=thumbv6-apple-darwin -show-encoding < %s > %t 2> %t2 4 @ RUN: FileCheck %s --check-prefix=CHECK-EVIL-PRE-UAL < %t 5 @ RUN: FileCheck %s --check-prefix CHECK-ERROR < %t2 20 @ CHECK-EVIL-PRE-UAL: mov r8, r8 @ encoding: [0xc0,0x46] 36 @ CHECK-ERROR: error: instruction requires: armv6m or armv6t2 37 @ CHECK-ERROR-NEXT: yield 39 @ CHECK-ERROR: error: instruction requires: armv6m or armv6t2 40 @ CHECK-ERROR-NEXT: wfe [all …]
|
| D | crc32.s | 1 @ RUN: llvm-mc -triple=armv8 -show-encoding < %s | FileCheck %s 2 @ RUN: not llvm-mc -triple=armv7 -show-encoding < %s 2>&1 | FileCheck %s --check-prefix=CHECK-V7 3 @ RUN: not llvm-mc -triple=thumbv8 -mattr=-crc -show-encoding < %s 2>&1 | FileCheck %s --check-pref… 11 @ CHECK-V7: error: instruction requires: crc armv8 12 @ CHECK-V7: error: instruction requires: crc armv8 13 @ CHECK-V7: error: instruction requires: crc armv8 14 @ CHECK-NOCRC: error: instruction requires: crc 15 @ CHECK-NOCRC: error: instruction requires: crc 16 @ CHECK-NOCRC: error: instruction requires: crc 25 @ CHECK-V7: error: instruction requires: crc armv8 [all …]
|