/external/protobuf/ruby/compatibility_tests/v3.0.0/tests/ |
D | basic.rb | 6 # ------------- generated code -------------- 14 end 18 end 22 end 48 end 51 end 55 end 58 end 65 end 71 end [all …]
|
/external/llvm-project/mlir/test/Rewrite/ |
D | pdl-bytecode.mlir | 1 // RUN: mlir-opt %s -test-pdl-bytecode-pass -split-input-file | FileCheck %s 8 //===----------------------------------------------------------------------===// 10 //===----------------------------------------------------------------------===// 14 …y_constraint "multi_entity_constraint"(%root, %root : !pdl.operation, !pdl.operation) -> ^pat, ^end 17 pdl_interp.apply_constraint "single_entity_constraint"(%root : !pdl.operation) -> ^pat2, ^end 20 …pdl_interp.record_match @rewriters::@success(%root : !pdl.operation) : benefit(1), loc([%root]) ->… 22 ^end: 27 func @success(%root : !pdl.operation) { 28 %op = pdl_interp.create_operation "test.replaced_by_pattern"() -> () 35 // CHECK-LABEL: test.apply_constraint_1 [all …]
|
/external/skqp/tests/ |
D | EncodeTest.cpp | 4 * Use of this source code is governed by a BSD-style license that can be 51 bool success = GetResourceAsBitmap("images/mandrill_128.png", &bitmap); in test_encode() local 52 if (!success) { in test_encode() 57 success = bitmap.peekPixels(&src); in test_encode() 58 REPORTER_ASSERT(r, success); in test_encode() 59 if (!success) { in test_encode() 64 success = encode(format, &dst0, src); in test_encode() 65 REPORTER_ASSERT(r, success); in test_encode() 69 success = encoder1->encodeRows(1); in test_encode() 70 REPORTER_ASSERT(r, success); in test_encode() [all …]
|
/external/skia/tests/ |
D | EncodeTest.cpp | 4 * Use of this source code is governed by a BSD-style license that can be 59 bool success = GetResourceAsBitmap("images/mandrill_128.png", &bitmap); in test_encode() local 60 if (!success) { in test_encode() 65 success = bitmap.peekPixels(&src); in test_encode() 66 REPORTER_ASSERT(r, success); in test_encode() 67 if (!success) { in test_encode() 72 success = encode(format, &dst0, src); in test_encode() 73 REPORTER_ASSERT(r, success); in test_encode() 77 success = encoder1->encodeRows(1); in test_encode() 78 REPORTER_ASSERT(r, success); in test_encode() [all …]
|
/external/llvm/test/Transforms/AtomicExpand/ARM/ |
D | cmpxchg-weak.ll | 1 ; RUN: opt -atomic-expand -codegen-opt-level=1 -S -mtriple=thumbv7s-apple-ios7.0 %s | FileCheck %s 4 ; CHECK-LABEL: @test_cmpxchg_seq_cst 19 ; CHECK: [[SUCCESS:%.*]] = icmp eq i32 [[STREX]], 0 20 ; CHECK: br i1 [[SUCCESS]], label %[[SUCCESS_BB:.*]], label %[[FAILURE_BB:.*]] 24 ; CHECK: br label %[[END:.*]] 32 ; CHECK: br label %[[END]] 34 ; CHECK: [[END]]: 35 ; CHECK: [[SUCCESS:%.*]] = phi i1 [ true, %[[SUCCESS_BB]] ], [ false, %[[FAILURE_BB]] ] 44 ; CHECK-LABEL: @test_cmpxchg_weak_fail 58 ; CHECK: [[SUCCESS:%.*]] = icmp eq i32 [[STREX]], 0 [all …]
|
/external/llvm-project/llvm/unittests/ADT/ |
D | FallibleIteratorTest.cpp | 1 //===- unittests/ADT/FallibleIteratorTest.cpp - fallible_iterator.h tests -===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 12 #include "gtest/gtest-spi.h" 51 assert(Idx != C.size() && "Walking off end of (mock) collection"); in inc() 54 return Error::success(); in inc() 62 --Idx; in dec() 64 return Error::success(); in dec() 85 Item *operator->() { return &this->operator*(); } in operator ->() 87 const Item *operator->() const { return &this->operator*(); } in operator ->() [all …]
|
/external/llvm-project/llvm/test/Transforms/AtomicExpand/ARM/ |
D | cmpxchg-weak.ll | 1 ; RUN: opt -atomic-expand -codegen-opt-level=1 -S -mtriple=thumbv7s-apple-ios7.0 %s | FileCheck %s 4 ; CHECK-LABEL: @test_cmpxchg_seq_cst 20 ; CHECK: [[SUCCESS:%.*]] = icmp eq i32 [[STREX]], 0 21 ; CHECK: br i1 [[SUCCESS]], label %[[SUCCESS_BB:.*]], label %[[FAILURE_BB:.*]] 25 ; CHECK: br label %[[END:.*]] 35 ; CHECK: br label %[[END]] 37 ; CHECK: [[END]]: 39 ; CHECK: [[SUCCESS:%.*]] = phi i1 [ true, %[[SUCCESS_BB]] ], [ false, %[[FAILURE_BB]] ] 48 ; CHECK-LABEL: @test_cmpxchg_weak_fail 62 ; CHECK: [[SUCCESS:%.*]] = icmp eq i32 [[STREX]], 0 [all …]
|
/external/angle/third_party/vulkan-deps/glslang/src/gtests/ |
D | GlslMapIO.FromFile.cpp | 2 // Copyright (C) 2016-2017 Google, Inc. 58 …return symbol.getType()->getBasicType() == glslang::EbtBlock ? std::string(symbol.getType()->getTy… in interfaceName() 62 bool success = true; in verifyIOMapping() local 76 success &= program.buildReflection(reflectionOptions); in verifyIOMapping() 83 …success &= stageReflections.back().addStage((EShLanguage)s, *program.getIntermediate((EShLanguage)… in verifyIOMapping() 90 for (; nextIt != stageReflections.end(); it++, nextIt++) { in verifyIOMapping() 91 int numOut = it->getNumPipeOutputs(); in verifyIOMapping() 95 const glslang::TObjectReflection& out = it->getPipeOutput(i); in verifyIOMapping() 100 int numIn = nextIt->getNumPipeInputs(); in verifyIOMapping() 102 auto in = nextIt->getPipeInput(i); in verifyIOMapping() [all …]
|
D | VkRelaxed.FromFile.cpp | 2 // Copyright (C) 2016-2017 Google, Inc. 58 …return symbol.getType()->getBasicType() == glslang::EbtBlock ? std::string(symbol.getType()->getTy… in interfaceName() 62 bool success = true; in verifyIOMapping() local 76 success &= program.buildReflection(reflectionOptions); in verifyIOMapping() 83 …success &= stageReflections.back().addStage((EShLanguage)s, *program.getIntermediate((EShLanguage)… in verifyIOMapping() 90 for (; nextIt != stageReflections.end(); it++, nextIt++) { in verifyIOMapping() 91 int numOut = it->getNumPipeOutputs(); in verifyIOMapping() 95 const glslang::TObjectReflection& out = it->getPipeOutput(i); in verifyIOMapping() 100 int numIn = nextIt->getNumPipeInputs(); in verifyIOMapping() 102 auto in = nextIt->getPipeInput(i); in verifyIOMapping() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/CodeView/ |
D | TypeVisitorCallbacks.h | 1 //===- TypeVisitorCallbacks.h -----------------------------------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 23 virtual Error visitUnknownType(CVType &Record) { return Error::success(); } in visitUnknownType() 24 /// Paired begin/end actions for all types. Receives all record data, 25 /// including the fixed-length record prefix. visitTypeBegin() should return 31 virtual Error visitTypeBegin(CVType &Record) { return Error::success(); } in visitTypeBegin() 33 return Error::success(); in visitTypeBegin() 35 virtual Error visitTypeEnd(CVType &Record) { return Error::success(); } in visitTypeEnd() 38 return Error::success(); in visitUnknownMember() [all …]
|
/external/llvm-project/llvm/include/llvm/DebugInfo/CodeView/ |
D | TypeVisitorCallbacks.h | 1 //===- TypeVisitorCallbacks.h -----------------------------------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 23 virtual Error visitUnknownType(CVType &Record) { return Error::success(); } in visitUnknownType() 24 /// Paired begin/end actions for all types. Receives all record data, 25 /// including the fixed-length record prefix. visitTypeBegin() should return 31 virtual Error visitTypeBegin(CVType &Record) { return Error::success(); } in visitTypeBegin() 33 return Error::success(); in visitTypeBegin() 35 virtual Error visitTypeEnd(CVType &Record) { return Error::success(); } in visitTypeEnd() 38 return Error::success(); in visitUnknownMember() [all …]
|
/external/llvm-project/clang/test/Rewriter/ |
D | rewrite-block-pointer.mm | 1 …/ RUN: %clang_cc1 -x objective-c++ -Wno-return-type -fblocks -fms-extensions -rewrite-objc -fobjc-… 2 // RUN: %clang_cc1 -fsyntax-only -std=gnu++98 -Wno-address-of-temporary -D"SEL=void*" -D"__declspec… 3 // RUN: %clang_cc1 -x objective-c++ -Wno-return-type -fblocks -fms-extensions -rewrite-objc %s -o %… 4 // RUN: %clang_cc1 -fsyntax-only -std=gnu++98 -Wno-address-of-temporary -D"SEL=void*" -D"__declspec… 14 @end 22 @end 48 - (void (^)(void))f; 49 @end 57 @end 60 - (void (^)(void))f { [all …]
|
/external/clang/test/Rewriter/ |
D | rewrite-block-pointer.mm | 1 …/ RUN: %clang_cc1 -x objective-c++ -Wno-return-type -fblocks -fms-extensions -rewrite-objc -fobjc-… 2 // RUN: %clang_cc1 -fsyntax-only -Wno-address-of-temporary -D"SEL=void*" -D"__declspec(X)=" %t-rw.c… 3 // RUN: %clang_cc1 -x objective-c++ -Wno-return-type -fblocks -fms-extensions -rewrite-objc %s -o %… 4 // RUN: %clang_cc1 -fsyntax-only -Wno-address-of-temporary -D"SEL=void*" -D"__declspec(X)=" %t-mode… 14 @end 22 @end 48 - (void (^)(void))f; 49 @end 57 @end 60 - (void (^)(void))f { [all …]
|
/external/mesa3d/src/compiler/glsl/glcpp/tests/ |
D | glcpp_test.py | 1 # encoding=utf-8 46 parser.add_argument('--unix', action='store_true', help='Run tests for Unix style newlines') 47 …parser.add_argument('--windows', action='store_true', help='Run tests for Windows/Dos style newlin… 48 …parser.add_argument('--oldmac', action='store_true', help='Run tests for Old Mac (pre-OSX) style n… 49 …parser.add_argument('--bizarro', action='store_true', help='Run tests for Bizarro world style newl… 50 parser.add_argument('--valgrind', action='store_true', help='Run with valgrind for errors') 61 if 'glcpp-args:' in l: 62 return l.split('glcpp-args:')[1].strip().split() 77 actual = actual.decode('utf-8') 86 # Bison 3.6 changed '$end' to 'end of file' in its error messages [all …]
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
D | ConvertUTF.h | 1 /*===--- ConvertUTF.h - Universal Character Names conversions ---------------=== 8 *==------------------------------------------------------------------------==*/ 10 * Copyright 2001-2004 Unicode, Inc. 31 /* --------------------------------------------------------------------- 33 Conversions between UTF32, UTF-16, and UTF-8. Header file. 36 conversions between the three formats. UTF-7 is not included 44 targetEnd. Note: the end pointers are *after* the last item: e.g. 45 *(sourceEnd - 1) is the last item. 52 updated to point to the end of last text successfully converted in 56 sourceStart - pointer to a pointer to the source buffer. [all …]
|
/external/llvm-project/clang/unittests/CrossTU/ |
D | CrossTranslationUnitTest.cpp | 1 //===- unittest/Tooling/CrossTranslationUnitTest.cpp - Tooling unit tests -===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 29 explicit CTUASTConsumer(clang::CompilerInstance &CI, bool *Success) in CTUASTConsumer() argument 30 : CTU(CI), Success(Success) {} in CTUASTConsumer() 35 for (const Decl *D : TU->decls()) { in HandleTranslationUnit() 37 if (FD && FD->getName() == "f") in HandleTranslationUnit() 45 assert(FD && FD->getName() == "f"); in HandleTranslationUnit() 46 bool OrigFDHasBody = FD->hasBody(); in HandleTranslationUnit() 81 ASTWithDefinition->Save(ASTFileName.str()); in HandleTranslationUnit() [all …]
|
/external/llvm-project/llvm/test/Transforms/AtomicExpand/AMDGPU/ |
D | expand-atomic-rmw-fadd.ll | 2 ; RUN: opt -S -mtriple=amdgcn-amd-amdhsa -mcpu=hawaii -atomic-expand %s | FileCheck -check-prefix=C… 3 ; RUN: opt -S -mtriple=amdgcn-amd-amdhsa -mcpu=gfx900 -atomic-expand %s | FileCheck -check-prefix=G… 4 ; RUN: opt -S -mtriple=amdgcn-amd-amdhsa -mcpu=gfx908 -atomic-expand %s | FileCheck -check-prefix=G… 7 ; CI-LABEL: @test_atomicrmw_fadd_f32_flat( 8 ; CI-NEXT: [[TMP1:%.*]] = load float, float* [[PTR:%.*]], align 4 9 ; CI-NEXT: br label [[ATOMICRMW_START:%.*]] 11 ; CI-NEXT: [[LOADED:%.*]] = phi float [ [[TMP1]], [[TMP0:%.*]] ], [ [[TMP6:%.*]], [[ATOMICRMW_ST… 12 ; CI-NEXT: [[NEW:%.*]] = fadd float [[LOADED]], [[VALUE:%.*]] 13 ; CI-NEXT: [[TMP2:%.*]] = bitcast float* [[PTR]] to i32* 14 ; CI-NEXT: [[TMP3:%.*]] = bitcast float [[NEW]] to i32 [all …]
|
/external/icing/icing/legacy/index/ |
D | icing-filesystem.cc | 7 // http://www.apache.org/licenses/LICENSE-2.0 15 #include "icing/legacy/index/icing-filesystem.h" 33 #include "icing/legacy/core/icing-string-util.h" 34 #include "icing/legacy/index/icing-mmapper.h" 35 #include "icing/legacy/portable/icing-zlib.h" 99 // Zero-terminate the buffer, because readlink() won't. in LogOpenFileDescriptors() 100 target[len < target_size ? len : target_size - 1] = '\0'; in LogOpenFileDescriptors() 101 ICING_LOG(ERROR) << IcingStringUtil::StringPrintf("fd %d -> \"%s\"", fd, in LogOpenFileDescriptors() 104 ICING_LOG(ERROR) << IcingStringUtil::StringPrintf("fd %d -> ? (errno=%d)", in LogOpenFileDescriptors() 141 std::string file_name(p->d_name); in ListDirectoryInternal() [all …]
|
/external/llvm-project/llvm/test/CodeGen/AArch64/ |
D | cmpxchg-idioms.ll | 1 ; RUN: llc -mtriple=aarch64-apple-ios7.0 -o - %s | FileCheck %s 2 ; RUN: llc -mtriple=aarch64-apple-ios7.0 -mattr=+outline-atomics -o - %s | FileCheck %s --check-pre… 5 ; OUTLINE-ATOMICS: bl ___aarch64_cas4_acq_rel 6 ; CHECK-LABEL: test_return: 8 ; CHECK: [[LOOP:LBB[0-9]+_[0-9]+]]: 9 ; CHECK: ldaxr [[LOADED:w[0-9]+]], [x0] 11 ; CHECK: b.ne [[FAILED:LBB[0-9]+_[0-9]+]] 13 ; CHECK: stlxr [[STATUS:w[0-9]+]], {{w[0-9]+}}, [x0] 16 ; CHECK-NOT: cmp {{w[0-9]+}}, {{w[0-9]+}} 21 ; CHECK-NOT: cmp {{w[0-9]+}}, {{w[0-9]+}} [all …]
|
/external/llvm/include/llvm/Support/ |
D | ConvertUTF.h | 1 /*===--- ConvertUTF.h - Universal Character Names conversions ---------------=== 8 *==------------------------------------------------------------------------==*/ 10 * Copyright 2001-2004 Unicode, Inc. 31 /* --------------------------------------------------------------------- 33 Conversions between UTF32, UTF-16, and UTF-8. Header file. 36 conversions between the three formats. UTF-7 is not included 44 targetEnd. Note: the end pointers are *after* the last item: e.g. 45 *(sourceEnd - 1) is the last item. 52 updated to point to the end of last text successfully converted in 56 sourceStart - pointer to a pointer to the source buffer. [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
D | ConvertUTF.h | 1 /*===--- ConvertUTF.h - Universal Character Names conversions ---------------=== 5 * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 *==------------------------------------------------------------------------==*/ 9 * Copyright 2001-2004 Unicode, Inc. 30 /* --------------------------------------------------------------------- 32 Conversions between UTF32, UTF-16, and UTF-8. Header file. 35 conversions between the three formats. UTF-7 is not included 43 targetEnd. Note: the end pointers are *after* the last item: e.g. 44 *(sourceEnd - 1) is the last item. 51 updated to point to the end of last text successfully converted in [all …]
|
/external/llvm-project/llvm/include/llvm/Support/ |
D | ConvertUTF.h | 1 /*===--- ConvertUTF.h - Universal Character Names conversions ---------------=== 5 * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 *==------------------------------------------------------------------------==*/ 9 * Copyright 2001-2004 Unicode, Inc. 30 /* --------------------------------------------------------------------- 32 Conversions between UTF32, UTF-16, and UTF-8. Header file. 35 conversions between the three formats. UTF-7 is not included 43 targetEnd. Note: the end pointers are *after* the last item: e.g. 44 *(sourceEnd - 1) is the last item. 51 updated to point to the end of last text successfully converted in [all …]
|
/external/adhd/cras/src/tests/ |
D | dbus_test.cc | 2 // Use of this source code is governed by a BSD-style license that can be 185 for (std::vector<Arg>::iterator it = args->begin(); it != args->end(); ++it) { in MatchMessageArgs() 221 for (std::vector<Arg>::iterator it = args->begin(); it != args->end(); ++it) { in AppendArgsToMessage() 267 vit != arg.string_values.end(); ++vit) { in AppendArgsToMessage() 268 const char* str_value = vit->c_str(); in AppendArgsToMessage() 296 dbus_bool_t success; in SendMessage() local 298 success = dbus_connection_send(conn, message, &serial); in SendMessage() 300 if (success && expect_serial_) in SendMessage() 351 it != expected_serials_.end(); ++it) { in HandleClientMessage() 411 it != matches_.end(); ++it) { in WaitForMatches() [all …]
|
/external/llvm/test/CodeGen/ARM/ |
D | cmpxchg-idioms.ll | 1 ; RUN: llc -mtriple=thumbv7s-apple-ios7.0 -o - %s | FileCheck %s 4 ; CHECK-LABEL: test_return: 6 ; CHECK: ldrex [[LOADED:r[0-9]+]], [r0] 8 ; CHECK: bne [[FAILED:LBB[0-9]+_[0-9]+]] 12 ; CHECK: [[LOOP:LBB[0-9]+_[0-9]+]]: 13 ; CHECK: strex [[STATUS:r[0-9]+]], {{r[0-9]+}}, [r0] 14 ; CHECK: cbz [[STATUS]], [[SUCCESS:LBB[0-9]+_[0-9]+]] 21 ; CHECK-NOT: cmp {{r[0-9]+}}, {{r[0-9]+}} 27 ; CHECK: [[SUCCESS]]: 28 ; CHECK-NOT: cmp {{r[0-9]+}}, {{r[0-9]+}} [all …]
|
/external/llvm-project/llvm/test/CodeGen/ARM/ |
D | cmpxchg-idioms.ll | 1 ; RUN: llc -mtriple=thumbv7s-apple-ios7.0 -o - %s | FileCheck %s 4 ; CHECK-LABEL: test_return: 6 ; CHECK: ldrex [[LOADED:r[0-9]+]], [r0] 8 ; CHECK: bne [[FAILED:LBB[0-9]+_[0-9]+]] 12 ; CHECK: [[LOOP:LBB[0-9]+_[0-9]+]]: 13 ; CHECK: strex [[STATUS:r[0-9]+]], {{r[0-9]+}}, [r0] 14 ; CHECK: cbz [[STATUS]], [[SUCCESS:LBB[0-9]+_[0-9]+]] 21 ; CHECK-NOT: cmp {{r[0-9]+}}, {{r[0-9]+}} 27 ; CHECK: [[SUCCESS]]: 28 ; CHECK-NOT: cmp {{r[0-9]+}}, {{r[0-9]+}} [all …]
|