/external/rust/crates/grpcio-sys/grpc/third_party/upb/third_party/lunit/ |
D | lunit.lua | 1 --[[-------------------------------------------------------------------------- 9 Copyright (c) 2004, 2006-2010 Michael Roth <mroth@nessie.de> 30 --]]-------------------------------------------------------------------------- 71 end 74 local __failure__ = {} -- Type tag for failed assertions 79 local traceback_hide -- Traceback function which hides lunit internals 80 local mypcall -- Protected call to a function with own traceback 86 end 90 local info = debug_getinfo(5, "Sl") -- FIXME: Hardcoded integers are bad... 100 end [all …]
|
/external/wpa_supplicant_8/src/eap_server/ |
D | eap_server_gpsk.c | 2 * hostapd / EAP-GPSK (RFC 5433) server 3 * Copyright (c) 2006-2007, Jouni Malinen <j@w1.fi> 18 enum { GPSK_1, GPSK_3, SUCCESS, FAILURE } state; enumerator 43 return "GPSK-1"; in eap_gpsk_state_txt() 45 return "GPSK-3"; in eap_gpsk_state_txt() 48 case FAILURE: in eap_gpsk_state_txt() 49 return "FAILURE"; in eap_gpsk_state_txt() 58 wpa_printf(MSG_DEBUG, "EAP-GPSK: %s -> %s", in eap_gpsk_state() 59 eap_gpsk_state_txt(data->state), in eap_gpsk_state() 61 data->state = state; in eap_gpsk_state() [all …]
|
D | eap_server_gtc.c | 2 * hostapd / EAP-GTC (RFC 3748) 3 * Copyright (c) 2004-2006, Jouni Malinen <j@w1.fi> 16 enum { CONTINUE, SUCCESS, FAILURE } state; enumerator 28 data->state = CONTINUE; in eap_gtc_init() 31 if (sm->m && sm->m->vendor == EAP_VENDOR_IETF && in eap_gtc_init() 32 sm->m->method == EAP_TYPE_FAST) { in eap_gtc_init() 33 wpa_printf(MSG_DEBUG, "EAP-GTC: EAP-FAST tunnel - use prefix " in eap_gtc_init() 35 data->prefix = 1; in eap_gtc_init() 57 msg = data->prefix ? "CHALLENGE=Password" : "Password"; in eap_gtc_buildReq() 63 wpa_printf(MSG_ERROR, "EAP-GTC: Failed to allocate memory for " in eap_gtc_buildReq() [all …]
|
D | eap_server_sake.c | 2 * hostapd / EAP-SAKE (RFC 4763) server 3 * Copyright (c) 2006-2007, Jouni Malinen <j@w1.fi> 18 enum { IDENTITY, CHALLENGE, CONFIRM, SUCCESS, FAILURE } state; enumerator 44 case FAILURE: in eap_sake_state_txt() 45 return "FAILURE"; in eap_sake_state_txt() 54 wpa_printf(MSG_DEBUG, "EAP-SAKE: %s -> %s", in eap_sake_state() 55 eap_sake_state_txt(data->state), in eap_sake_state() 57 data->state = state; in eap_sake_state() 68 data->state = CHALLENGE; in eap_sake_init() 70 if (os_get_random(&data->session_id, 1)) { in eap_sake_init() [all …]
|
D | eap_sim_db.c | 2 * hostapd / EAP-SIM database/authenticator gateway 3 * Copyright (c) 2005-2010, 2012, Jouni Malinen <j@w1.fi> 8 * This is an example implementation of the EAP-SIM/AKA database/authentication 12 * EAP-SIM/AKA pseudonyms and re-auth identities. It can be used with different 14 * completely replaced if the in-memory database of pseudonyms/re-auth 39 enum { PENDING, SUCCESS, FAILURE } state; enumerator 103 wpa_printf(MSG_DEBUG, "EAP-SIM DB: Adding database table for " in db_table_create_pseudonym() 106 wpa_printf(MSG_ERROR, "EAP-SIM DB: SQLite error: %s", err); in db_table_create_pseudonym() 108 return -1; in db_table_create_pseudonym() 129 wpa_printf(MSG_DEBUG, "EAP-SIM DB: Adding database table for " in db_table_create_reauth() [all …]
|
D | eap_server_eke.c | 2 * hostapd / EAP-EKE (RFC 6124) server 19 IDENTITY, COMMIT, CONFIRM, FAILURE_REPORT, SUCCESS, FAILURE enumerator 51 case FAILURE: in eap_eke_state_txt() 52 return "FAILURE"; in eap_eke_state_txt() 61 wpa_printf(MSG_DEBUG, "EAP-EKE: %s -> %s", in eap_eke_state() 62 eap_eke_state_txt(data->state), in eap_eke_state() 64 data->state = state; in eap_eke_state() 70 wpa_printf(MSG_DEBUG, "EAP-EKE: Failure - code 0x%x", code); in eap_eke_fail() 71 data->failure_code = code; in eap_eke_fail() 86 data->serverid_type = EAP_EKE_ID_OPAQUE; in eap_eke_init() [all …]
|
/external/bcc/tests/lua/ |
D | luaunit.lua | 1 --[[ 10 ]]-- 15 -- private exported functions (for testing) 20 --[[ Some people like assertEquals( actual, expected ) and some people prefer 22 ]]-- 28 -- set this to false to debug luaunit 36 -- set EXPORT_ASSERT_TO_GLOBALS to have all asserts visible as global values 37 -- EXPORT_ASSERT_TO_GLOBALS = true 39 -- we need to keep a copy of the script args before it is overriden 42 M.FAILURE_PREFIX = 'LuaUnit test FAILURE: ' -- prefix string for failed tests [all …]
|
/external/clang/include/clang/Sema/ |
D | TemplateDeduction.h | 1 //===- TemplateDeduction.h - C++ template argument deduction ----*- C++ -*-===/ 7 //===----------------------------------------------------------------------===/ 12 //===----------------------------------------------------------------------===/ 29 /// deduction, whose success or failure was described by a 43 /// \brief Warnings (and follow-on notes) that were suppressed due to 88 /// \brief Set the diagnostic which caused the SFINAE failure. 114 /// \brief Returns an iterator at the end of the sequence of suppressed 116 diag_iterator diag_end() const { return SuppressedDiagnostics.end(); } in diag_end() 119 /// deduction failure refers. 132 /// argument deduction failure refers. [all …]
|
/external/perfetto/src/trace_processor/importers/json/ |
D | json_trace_tokenizer.cc | 8 * http://www.apache.org/licenses/LICENSE-2.0 46 key->push_back(c); in AppendUnescapedCharacter() 49 key->push_back('\b'); in AppendUnescapedCharacter() 52 key->push_back('\f'); in AppendUnescapedCharacter() 55 key->push_back('\n'); in AppendUnescapedCharacter() 58 key->push_back('\r'); in AppendUnescapedCharacter() 61 key->push_back('\t'); in AppendUnescapedCharacter() 69 key->push_back(c); in AppendUnescapedCharacter() 80 const char* end, in ReadOneJsonString() argument 84 for (const char* s = start; s < end; s++) { in ReadOneJsonString() [all …]
|
/external/ltp/testcases/kernel/syscalls/pipe/ |
D | pipe03.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 * Make sure that writing to the read end of a pipe and reading from 8 * the write end of a pipe both fail. 22 if (TST_RET == -1) { in verify_pipe() 28 if (TST_RET == -1 && errno == EBADF) { in verify_pipe() 29 tst_res(TPASS | TTERRNO, "expected failure writing " in verify_pipe() 30 "to read end of pipe"); in verify_pipe() 32 tst_res(TFAIL | TTERRNO, "unexpected failure writing " in verify_pipe() 33 "to read end of pipe"); in verify_pipe() 37 if (TST_RET == -1 && errno == EBADF) { in verify_pipe() [all …]
|
/external/boringssl/src/third_party/wycheproof_testvectors/ |
D | eddsa_test.json | 10 …"SignatureMalleability" : "EdDSA signatures are non-malleable, if implemented accordingly. Failing… 17 "d" : "rdS7gQN4W6-axTQljoqvZfXxrbXvXz3xm7gKuYnE1ks", 20 "x" : "fU0Of2FTpptiQrUiq77mhf2kQg-INLEIw72uNp71Sfo" 30 …"keyPem" : "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAfU0Of2FTpptiQrUiq77mhf2kQg+INLEIw72uNp71Sf… 627 …"keyPem" : "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAoSwr63cmXyqslTtQCTSdlBVaA62kFqrUUTGUgOmDyk… 720 …"keyPem" : "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEA11qYAYKxCrfVS/7TyWQHOg7hcvPapiMlrwIaaPcHUR… 725 "comment" : "draft-josefsson-eddsa-ed25519-02: Test 1", 736 "d" : "TM0Imyj_ltqdtsNG7BFOD1uKMZ81q6Yk2oz27U-4pvs", 739 "x" : "PUAXw-hDiVqStwqnTRt-vJyYLM8uxJaMwM1V8Sr0Zgw" 749 …"keyPem" : "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAPUAXw+hDiVqStwqnTRt+vJyYLM8uxJaMwM1V8Sr0Zg… [all …]
|
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/transforms/ |
D | tensor_list_ops_decomposition.cc | 7 http://www.apache.org/licenses/LICENSE-2.0 22 #include "mlir/Dialect/StandardOps/IR/Ops.h" // from @llvm-project 23 #include "mlir/IR/Attributes.h" // from @llvm-project 24 #include "mlir/IR/Builders.h" // from @llvm-project 25 #include "mlir/IR/BuiltinOps.h" // from @llvm-project 26 #include "mlir/IR/BuiltinTypes.h" // from @llvm-project 27 #include "mlir/IR/TypeUtilities.h" // from @llvm-project 28 #include "mlir/Pass/Pass.h" // from @llvm-project 29 #include "mlir/Support/LogicalResult.h" // from @llvm-project 55 // turned in to a zero-initialized buffer, and the size is initialized to a 0 [all …]
|
D | legalize_hlo.cc | 7 http://www.apache.org/licenses/LICENSE-2.0 31 #include "mlir/Dialect/StandardOps/IR/Ops.h" // from @llvm-project 32 #include "mlir/IR/Attributes.h" // from @llvm-project 33 #include "mlir/IR/BuiltinAttributes.h" // from @llvm-project 34 #include "mlir/IR/BuiltinTypes.h" // from @llvm-project 35 #include "mlir/IR/Location.h" // from @llvm-project 36 #include "mlir/IR/MLIRContext.h" // from @llvm-project 37 #include "mlir/IR/Matchers.h" // from @llvm-project 38 #include "mlir/IR/Operation.h" // from @llvm-project 39 #include "mlir/IR/PatternMatch.h" // from @llvm-project [all …]
|
D | tensor_array_ops_decomposition.cc | 7 http://www.apache.org/licenses/LICENSE-2.0 26 #include "mlir/Dialect/StandardOps/IR/Ops.h" // from @llvm-project 27 #include "mlir/Dialect/Tensor/IR/Tensor.h" // from @llvm-project 28 #include "mlir/IR/Attributes.h" // from @llvm-project 29 #include "mlir/IR/Builders.h" // from @llvm-project 30 #include "mlir/IR/BuiltinOps.h" // from @llvm-project 31 #include "mlir/IR/BuiltinTypes.h" // from @llvm-project 32 #include "mlir/IR/Location.h" // from @llvm-project 33 #include "mlir/IR/MLIRContext.h" // from @llvm-project 34 #include "mlir/IR/SymbolTable.h" // from @llvm-project [all …]
|
/external/ms-tpm-20-ref/TPMCmd/tpm/src/X509/ |
D | TpmASN1.c | 48 // FALSE(0) failure 58 ctx->buffer = buffer; in ASN1UnmarshalContextInitialize() 59 ctx->size = size; in ASN1UnmarshalContextInitialize() 60 ctx->offset = 0; in ASN1UnmarshalContextInitialize() 61 ctx->tag = 0xFF; in ASN1UnmarshalContextInitialize() 80 VERIFY(ctx->offset < ctx->size); in ASN1DecodeLength() 111 ctx->size = -1; // Makes everything fail from now on. in ASN1DecodeLength() 112 return -1; in ASN1DecodeLength() 129 VERIFY(ctx->offset < ctx->size); in ASN1NextTag() 131 ctx->tag = NEXT_OCTET(ctx); in ASN1NextTag() [all …]
|
/external/tensorflow/tensorflow/compiler/mlir/lite/transforms/ |
D | dilated_conv.h | 7 http://www.apache.org/licenses/LICENSE-2.0 24 #include "mlir/IR/Attributes.h" // from @llvm-project 25 #include "mlir/IR/BuiltinTypes.h" // from @llvm-project 26 #include "mlir/IR/Matchers.h" // from @llvm-project 27 #include "mlir/IR/PatternMatch.h" // from @llvm-project 28 #include "mlir/IR/TypeUtilities.h" // from @llvm-project 29 #include "mlir/Pass/Pass.h" // from @llvm-project 39 // SpaceToBatchND -> Conv2D -> BatchToSpaceND 50 // SpaceToBatchND -> Expand -> Conv2D -> Squeeze -> BatchToSpaceND -> BiasAdd 52 // SpaceToBatchND -> Expand -> Conv2D -> Squeeze -> Pad -> BatchToSpaceND -> [all …]
|
/external/llvm-project/llvm/test/Transforms/IndVarSimplify/ |
D | widen-loop-comp.ll | 2 ; RUN: opt < %s -indvars -scalar-evolution-use-expensive-range-sharpening -S | FileCheck %s 3 target triple = "aarch64--linux-gnu" 18 ; CHECK-LABEL: @test1( 19 ; CHECK-NEXT: entry: 20 ; CHECK-NEXT: store i32 -1, i32* @idx, align 4 21 ; CHECK-NEXT: [[TMP0:%.*]] = load i32, i32* @e, align 4 22 ; CHECK-NEXT: [[CMP4:%.*]] = icmp slt i32 [[TMP0]], 0 23 ; CHECK-NEXT: br i1 [[CMP4]], label [[FOR_END_LOOPEXIT:%.*]], label [[FOR_BODY_LR_PH:%.*]] 25 ; CHECK-NEXT: [[TMP1:%.*]] = load i32*, i32** @ptr, align 8 26 ; CHECK-NEXT: [[TMP2:%.*]] = load i32, i32* @e, align 4 [all …]
|
/external/wpa_supplicant_8/src/eap_peer/ |
D | eap_gpsk.c | 2 * EAP peer method: EAP-GPSK (RFC 5433) 3 * Copyright (c) 2006-2014, Jouni Malinen <j@w1.fi> 17 enum { GPSK_1, GPSK_3, SUCCESS, FAILURE } state; enumerator 53 return "GPSK-1"; in eap_gpsk_state_txt() 55 return "GPSK-3"; in eap_gpsk_state_txt() 58 case FAILURE: in eap_gpsk_state_txt() 59 return "FAILURE"; in eap_gpsk_state_txt() 69 wpa_printf(MSG_DEBUG, "EAP-GPSK: %s -> %s", in eap_gpsk_state() 70 eap_gpsk_state_txt(data->state), in eap_gpsk_state() 72 data->state = state; in eap_gpsk_state() [all …]
|
/external/llvm-project/clang/include/clang/Sema/ |
D | TemplateDeduction.h | 1 //===- TemplateDeduction.h - C++ template argument deduction ----*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 12 //===----------------------------------------------------------------------===// 40 /// deduction, whose success or failure was described by a 56 /// The number of parameters with explicitly-specified template arguments, 57 /// up to and including the partially-specified pack (if any). 60 /// Warnings (and follow-on notes) that were suppressed due to 89 /// Get the number of explicitly-specified arguments. 122 /// explicitly-specified arguments. [all …]
|
/external/llvm-project/mlir/lib/Dialect/Linalg/Transforms/ |
D | Transforms.cpp | 1 //===- LinalgTransforms.cpp - Linalg transformations as patterns ----------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 12 //===----------------------------------------------------------------------===// 31 #define DEBUG_TYPE "linalg-transforms" 40 //===----------------------------------------------------------------------===// 42 //===----------------------------------------------------------------------===// 49 : matchDisjunction(matchDisjunction.begin(), matchDisjunction.end()), in LinalgMarker() 55 auto attr = op->template getAttrOfType<StringAttr>( in checkAndNotify() 85 op->setAttr(LinalgTransforms::kLinalgTransformMarker, in replaceLinalgMarker() [all …]
|
/external/curl/src/ |
D | tool_cb_hdr.c | 8 * Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al. 47 bold-off code (21) isn't supported everywhere - like in the mac 59 struct HdrCbData *hdrcbdata = &per->hdrcbdata; in tool_header_cb() 60 struct OutStruct *outs = &per->outs; in tool_header_cb() 61 struct OutStruct *heads = &per->heads; in tool_header_cb() 62 struct OutStruct *etag_save = &per->etag_save; in tool_header_cb() 65 const char *end = (char *)ptr + cb; in tool_header_cb() local 72 * point returning a value different from sz*nmemb indicates failure. in tool_header_cb() 74 size_t failure = (size && nmemb) ? 0 : 1; in tool_header_cb() local 76 if(!per->config) in tool_header_cb() [all …]
|
/external/llvm-project/libc/utils/UnitTest/ |
D | Test.cpp | 1 //===-- Implementation of the base class for libc unittests ---------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 19 // This need not be a class as all it has is a single read-write state variable. 50 for (auto I = S.rbegin(), End = S.rend(); I != End; ++I, Value >>= 4) { in describeValue() local 52 *I = Mod < 10 ? '0' + Mod : 'a' + Mod - 10; in describeValue() 62 size_t OffsetLength = OpString.size() > 2 ? OpString.size() - 2 : 0; in explainDifference() 65 std::cout << File << ":" << Line << ": FAILURE\n" in explainDifference() 85 Ctx->markFail(); in test() 92 Ctx->markFail(); in test() [all …]
|
/external/grpc-grpc/src/python/grpcio_tests/tests/ |
D | _result.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 38 name (str or None): A human-readable name of the test case. 45 self.kind is CaseResult.Kind.{ERROR, FAILURE, EXPECTED_FAILURE}, else 53 FAILURE = 'failure' variable in CaseResult.Kind 56 EXPECTED_FAILURE = 'expected failure' 78 elif kind is CaseResult.Kind.FAILURE: 122 Uses CaseResult objects to store test-case results, providing additional 166 kind=CaseResult.Kind.FAILURE, traceback=err) 258 END = '\033[0m' variable in _Colors 268 out (file-like): Output file to which terminal-colored live results will [all …]
|
/external/llvm/test/Transforms/AtomicExpand/SPARC/ |
D | partword.ll | 1 ; RUN: opt -S %s -atomic-expand | FileCheck %s 3 ;; Verify the cmpxchg and atomicrmw expansions where sub-word-size 6 ;;; NOTE: this test is mostly target-independent -- any target which 7 ;;; doesn't support cmpxchg of sub-word sizes would do. 8 target datalayout = "E-m:e-i64:64-n32:64-S128" 9 target triple = "sparcv9-unknown-unknown" 11 ; CHECK-LABEL: @test_cmpxchg_i8( 14 ; CHECK: %1 = and i64 %0, -4 21 ; CHECK: %Inv_Mask = xor i32 %Mask, -1 30 ; CHECK: %10 = phi i32 [ %9, %entry ], [ %16, %partword.cmpxchg.failure ] [all …]
|
/external/tensorflow/tensorflow/compiler/mlir/hlo/lib/Dialect/mhlo/transforms/ |
D | optimize_mhlo.cc | 7 http://www.apache.org/licenses/LICENSE-2.0 25 #include "mlir-hlo/Dialect/mhlo/IR/hlo_ops.h" 26 #include "mlir-hlo/Dialect/mhlo/transforms/passes.h" 27 #include "mlir-hlo/utils/hlo_utils.h" 43 // Returns 1D 64-bit dense elements attribute with the given values. 47 {static_cast<int64_t>(values.size())}, builder->getIntegerType(64)); in GetI64ElementsAttr() 51 //===----------------------------------------------------------------------===// 53 //===----------------------------------------------------------------------===// 66 return failure(); in matchAndRewrite() 70 return failure(); in matchAndRewrite() [all …]
|