| /external/cronet/third_party/googletest/src/googlemock/test/ |
| D | gmock-function-mocker_test.cc | 30 // Google Mock - a framework for writing C++ mock classes. 33 #include "gmock/gmock-function-mocker.h" 78 virtual ~FooInterface() {} in ~FooInterface() 80 virtual void VoidReturning(int x) = 0; 82 virtual int Nullary() = 0; 83 virtual bool Unary(int x) = 0; 84 virtual long Binary(short x, int y) = 0; // NOLINT 85 virtual int Decimal(bool b, char c, short d, int e, long f, // NOLINT 89 virtual bool TakesNonConstReference(int& n) = 0; // NOLINT 90 virtual std::string TakesConstReference(const int& n) = 0; [all …]
|
| /external/llvm/include/llvm/Target/ |
| D | TargetIntrinsicInfo.h | 1 //===-- llvm/Target/TargetIntrinsicInfo.h - Instruction Info ----*- C++ -*-===// 8 //===----------------------------------------------------------------------===// 12 //===----------------------------------------------------------------------===// 26 //--------------------------------------------------------------------------- 28 /// TargetIntrinsicInfo - Interface to description of machine instruction set 35 virtual ~TargetIntrinsicInfo(); 38 /// The Tys and numTys parameters are for intrinsics with overloaded types 39 /// (e.g., those using iAny or fAny). For a declaration for an overloaded 41 /// and must provide exactly one type for each overloaded type in the 43 virtual std::string getName(unsigned IID, Type **Tys = nullptr, [all …]
|
| /external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Target/ |
| D | TargetIntrinsicInfo.h | 1 //===-- llvm/Target/TargetIntrinsicInfo.h - Instruction Info ----*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 //===----------------------------------------------------------------------===// 26 //--------------------------------------------------------------------------- 28 /// TargetIntrinsicInfo - Interface to description of machine instruction set 35 virtual ~TargetIntrinsicInfo(); 38 /// The Tys and numTys parameters are for intrinsics with overloaded types 39 /// (e.g., those using iAny or fAny). For a declaration for an overloaded 41 /// and must provide exactly one type for each overloaded type in the [all …]
|
| /external/swiftshader/third_party/llvm-16.0/llvm/include/llvm/Target/ |
| D | TargetIntrinsicInfo.h | 1 //===-- llvm/Target/TargetIntrinsicInfo.h - Instruction Info ----*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 //===----------------------------------------------------------------------===// 25 //--------------------------------------------------------------------------- 27 /// TargetIntrinsicInfo - Interface to description of machine instruction set 34 virtual ~TargetIntrinsicInfo(); 37 /// The Tys and numTys parameters are for intrinsics with overloaded types 38 /// (e.g., those using iAny or fAny). For a declaration for an overloaded 40 /// and must provide exactly one type for each overloaded type in the [all …]
|
| /external/cronet/third_party/boringssl/src/third_party/googletest/googlemock/test/ |
| D | gmock-function-mocker_test.cc | 30 // Google Mock - a framework for writing C++ mock classes. 33 #include "gmock/gmock-function-mocker.h" 81 virtual ~FooInterface() = default; 83 virtual void VoidReturning(int x) = 0; 85 virtual int Nullary() = 0; 86 virtual bool Unary(int x) = 0; 87 virtual long Binary(short x, int y) = 0; // NOLINT 88 virtual int Decimal(bool b, char c, short d, int e, long f, // NOLINT 92 virtual bool TakesNonConstReference(int& n) = 0; // NOLINT 93 virtual std::string TakesConstReference(const int& n) = 0; [all …]
|
| /external/googletest/googlemock/test/ |
| D | gmock-function-mocker_test.cc | 30 // Google Mock - a framework for writing C++ mock classes. 33 #include "gmock/gmock-function-mocker.h" 81 virtual ~FooInterface() = default; 83 virtual void VoidReturning(int x) = 0; 85 virtual int Nullary() = 0; 86 virtual bool Unary(int x) = 0; 87 virtual long Binary(short x, int y) = 0; // NOLINT 88 virtual int Decimal(bool b, char c, short d, int e, long f, // NOLINT 92 virtual bool TakesNonConstReference(int& n) = 0; // NOLINT 93 virtual std::string TakesConstReference(const int& n) = 0; [all …]
|
| /external/clang/test/SemaCXX/ |
| D | warn-overloaded-virtual.cpp | 1 // RUN: %clang_cc1 -fsyntax-only -Woverloaded-virtual -verify %s 4 virtual void foo(int); // expected-note {{declared here}} 5 virtual void foo(); // expected-note {{declared here}} 9 void foo(float); // expected-warning {{hides overloaded virtual functions}} 13 void foo(); // expected-note {{declared here}} 17 virtual void foo(void*); // expected-note {{declared here}} 21 virtual void foo(int); // expected-warning {{hides overloaded virtual functions}} 25 virtual void foo(int); 26 virtual void foo(); 35 virtual void foo(); [all …]
|
| D | pass-object-size.cpp | 1 // RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++11 12 …((pass_object_size(1)))); // expected-error{{conflicting pass_object_size attributes on parameters… 23 …int (*A)(void *) = &Foo; //expected-error{{cannot take address of function 'Foo' because parameter… in Decls() 24 …int (*B)(void *) = Foo; //expected-error{{cannot take address of function 'Foo' because parameter … in Decls() 26 …-error{{address of overloaded function 'OvlFoo' does not match required type 'int (void *)'}} expe… in Decls() 27 …-error{{address of overloaded function 'OvlFoo' does not match required type 'int (void *)'}} expe… in Decls() 29 …int (*E)(void *) = &Statics::Foo; //expected-error{{cannot take address of function 'Foo' because … in Decls() 30 …-error{{address of overloaded function 'OvlFoo' does not match required type 'int (void *)'}} expe… in Decls() 32 …int (*G)(void *) = &Members::Foo; //expected-error{{cannot take address of function 'Foo' because … in Decls() 33 …-error{{address of overloaded function 'OvlFoo' does not match required type 'int (void *)'}} expe… in Decls() [all …]
|
| D | copy-assignment.cpp | 1 // RUN: %clang_cc1 -fsyntax-only -verify %s 14 B& operator=(B&); // expected-note 4 {{candidate function}} 34 int operator=(int); // expected-note{{candidate function}} 35 long operator=(long); // expected-note{{candidate function}} 36 int operator+=(int); // expected-note{{candidate function}} 37 int operator+=(long); // expected-note{{candidate function}} 73 na += a; // expected-error{{no viable overloaded '+='}} in test() 76 nb = constB; // expected-error{{no viable overloaded '='}} in test() 77 nb = convertibleToB; // expected-error{{no viable overloaded '='}} in test() 79 nb = convertibleToConstB; // expected-error{{no viable overloaded '='}} in test() [all …]
|
| D | attr-deprecated.cpp | 1 // RUN: %clang_cc1 %s -verify -fexceptions 3 …void f() __attribute__((deprecated)); // expected-note 2 {{'f' has been explicitly marked deprecat… 7 …int b __attribute__((deprecated)); // expected-note 2 {{'b' has been explicitly marked deprecated … 12 f(); // expected-warning{{'f' is deprecated}} in g() 13 a->f(); // expected-warning{{'f' is deprecated}} in g() 15 (void)b; // expected-warning{{'b' is deprecated}} in g() 16 (void)a->b; // expected-warning{{'b' is deprecated}} in g() 22 a->f(); in h() 25 (void)a->b; in h() 29 …virtual void f() __attribute__((deprecated)); // expected-note 6 {{'f' has been explicitly marked … [all …]
|
| D | MicrosoftExtensions.cpp | 1 …_cc1 %s -triple i686-pc-win32 -fsyntax-only -Wmicrosoft -Wc++11-extensions -Wno-long-long -verify … 2 …: %clang_cc1 %s -triple i686-pc-win32 -fsyntax-only -Wmicrosoft -Wc++11-extensions -Wno-long-long … 9 void foo(); // expected-note {{previous declaration}} 10 void foo() throw(); // expected-warning {{exception specification in declaration does not match pre… 12 void r6() throw(...); // expected-note {{previous declaration}} 13 void r6() throw(int); // expected-warning {{exception specification in declaration does not match p… 16 virtual void f2(); 17 virtual void f3() throw(...); 21 virtual void f2() throw(...); 22 virtual void f3(); [all …]
|
| /external/clang/test/CXX/class.derived/class.virtual/ |
| D | p3-0x.cpp | 1 // RUN: %clang_cc1 -fsyntax-only -std=c++11 -verify %s 6 virtual void f(int); 10 …virtual void f(long) override; // expected-error {{'f' marked 'override' but does not override any… 18 virtual void f(int, char, int); 24 virtual void f(T) override; 29 virtual void f(int) override; // expected-error {{does not override}} 37 virtual void f(int, char, int); 42 …virtual void f(Args...) override; // expected-error {{'f' marked 'override' but does not override … 46 template struct B<int>; // expected-note {{in instantiation of template class 'Test3::B<int>' reque… 52 virtual void f() const final; // expected-note {{overridden virtual function is here}} [all …]
|
| /external/tensorflow/tensorflow/compiler/xla/service/ |
| D | hlo_pass_interface.h | 7 http://www.apache.org/licenses/LICENSE-2.0 47 : changed_last_iteration(module->computations().begin(), in RunState() 48 module->computations().end()) {} in RunState() 64 virtual ~HloPassInterface() = default; 65 virtual absl::string_view name() const = 0; 70 // hides overloaded function, Run(HloModule* module) is not a member function 72 // implementing the virtual version, for instance, 77 // absl::string_view name() const override { return "my-new-pass"; } 89 virtual StatusOr<bool> Run( 100 virtual Status RunOnChangedComputations( in RunOnChangedComputations() [all …]
|
| /external/clang/test/CXX/special/class.copy/ |
| D | p20.cpp | 1 // RUN: %clang_cc1 -fsyntax-only -verify %s 13 struct VirtualInheritsNonConstCopy : virtual NonConstCopy { 18 struct ImplicitNonConstCopy1 : NonConstCopy { // expected-note{{the implicit copy assignment opera… 22 struct ImplicitNonConstCopy2 { // expected-note{{the implicit copy assignment operator}} 27 struct ImplicitNonConstCopy3 { // expected-note{{the implicit copy assignment operator}} 41 (void)sizeof(ImplicitNonConstCopy1() = cincc1); // expected-error{{no viable overloaded '='}} in test_non_const_copy() 42 (void)sizeof(ImplicitNonConstCopy2() = cincc2); // expected-error{{no viable overloaded '='}} in test_non_const_copy() 43 (void)sizeof(ImplicitNonConstCopy3() = cincc3); // expected-error{{no viable overloaded '='}} in test_non_const_copy()
|
| /external/ComputeLibrary/arm_compute/graph/ |
| D | INodeVisitor.h | 2 * Copyright (c) 2018-2021 Arm Limited. 4 * SPDX-License-Identifier: MIT 38 virtual ~INodeVisitor() = default; 43 virtual void visit(INode &n) = 0; 48 virtual void visit(ActivationLayerNode &n) = 0; 53 virtual void visit(BatchNormalizationLayerNode &n) = 0; 58 virtual void visit(ConcatenateLayerNode &n) = 0; 63 virtual void visit(ConstNode &n) = 0; 68 virtual void visit(ConvolutionLayerNode &n) = 0; 73 virtual void visit(DepthwiseConvolutionLayerNode &n) = 0; [all …]
|
| /external/cronet/third_party/googletest/src/docs/ |
| D | gmock_for_dummies.md | 12 actually mean very different things in the Test-Driven Development (TDD) 17 not suitable for production. An in-memory file system would be an example of 19 * **Mocks** are objects pre-programmed with *expectations*, which form a 22 If all this seems too abstract for you, don't worry - the most important thing 46 error-prone. No wonder people go great distance to avoid it. 62 * You are stuck with a sub-optimal design and wish you had done more 77 hand-written mocks. 93 relies on a [LOGO](http://en.wikipedia.org/wiki/Logo_programming_language)-like 97 shiny new graphics card that has better anti-aliasing? Suddenly you have to 107 virtual ~Turtle() {} [all …]
|
| /external/googletest/docs/ |
| D | gmock_for_dummies.md | 12 actually mean very different things in the Test-Driven Development (TDD) 17 not suitable for production. An in-memory file system would be an example of 19 * **Mocks** are objects pre-programmed with *expectations*, which form a 22 If all this seems too abstract for you, don't worry - the most important thing 46 error-prone. No wonder people go great distance to avoid it. 62 * You are stuck with a sub-optimal design and wish you had done more 77 hand-written mocks. 93 relies on a [LOGO](https://en.wikipedia.org/wiki/Logo_programming_language)-like 97 shiny new graphics card that has better anti-aliasing? Suddenly you have to 107 virtual ~Turtle() {} [all …]
|
| /external/cronet/third_party/boringssl/src/third_party/googletest/docs/ |
| D | gmock_for_dummies.md | 12 actually mean very different things in the Test-Driven Development (TDD) 17 not suitable for production. An in-memory file system would be an example of 19 * **Mocks** are objects pre-programmed with *expectations*, which form a 22 If all this seems too abstract for you, don't worry - the most important thing 46 error-prone. No wonder people go great distance to avoid it. 62 * You are stuck with a sub-optimal design and wish you had done more 77 hand-written mocks. 93 relies on a [LOGO](https://en.wikipedia.org/wiki/Logo_programming_language)-like 97 shiny new graphics card that has better anti-aliasing? Suddenly you have to 107 virtual ~Turtle() {} [all …]
|
| /external/armnn/include/armnn/backends/ |
| D | ITensorHandleFactory.hpp | 3 // SPDX-License-Identifier: MIT 51 … const FactoryId DeferredFactoryId; /// Some TensorHandleFactory decisions are deferred to run-time 53 virtual ~ITensorHandleFactory() {} in ~ITensorHandleFactory() 55 virtual std::unique_ptr<ITensorHandle> CreateSubTensorHandle(ITensorHandle& parent, 59 … virtual std::unique_ptr<ITensorHandle> CreateTensorHandle(const TensorInfo& tensorInfo) const = 0; 61 virtual std::unique_ptr<ITensorHandle> CreateTensorHandle(const TensorInfo& tensorInfo, 65 /// These should be overloaded if required to facilitate direct import of input tensors 67 virtual std::unique_ptr<ITensorHandle> CreateTensorHandle(const TensorInfo& tensorInfo, in CreateTensorHandle() 74 virtual std::unique_ptr<ITensorHandle> CreateTensorHandle(const TensorInfo& tensorInfo, in CreateTensorHandle() 82 virtual const FactoryId& GetId() const = 0; [all …]
|
| /external/pigweed/pw_async/public/pw_async/ |
| D | function_dispatcher.h | 7 // https://www.apache.org/licenses/LICENSE-2.0 31 // Prevent hiding of overloaded virtual methods. 37 virtual Status Post(TaskFunction&& task_func) { in Post() 42 virtual Status PostAfter(TaskFunction&& task_func, in PostAfter() 48 virtual Status PostAt(TaskFunction&& task_func,
|
| /external/clang/test/CXX/drs/ |
| D | dr1xx.cpp | 1 // RUN: %clang_cc1 -std=c++98 -triple x86_64-unknown-unknown %s -verify -fexceptions -fcxx-exceptio… 2 // RUN: %clang_cc1 -std=c++11 -triple x86_64-unknown-unknown %s -verify -fexceptions -fcxx-exceptio… 3 // RUN: %clang_cc1 -std=c++14 -triple x86_64-unknown-unknown %s -verify -fexceptions -fcxx-exceptio… 4 // RUN: %clang_cc1 -std=c++1z -triple x86_64-unknown-unknown %s -verify -fexceptions -fcxx-exceptio… 7 template<const char *> struct A {}; // expected-note 0-1{{declared here}} 8 template<const char (&)[4]> struct B {}; // expected-note 0-1{{declared here}} 9 A<"foo"> a; // expected-error {{does not refer to any declaration}} 10 B<"bar"> b; // expected-error {{does not refer to any declaration}} 28 …T a, T b) { return a + b; } // expected-error {{neither visible in the template definition nor fou… in f() 33 …B::S operator+(B::S, B::S); // expected-note {{should be declared prior to the call site or in nam… [all …]
|
| /external/armnn/src/backends/neon/ |
| D | NeonTensorHandle.hpp | 3 // SPDX-License-Identifier: MIT 54 virtual void Allocate() override in Allocate() 63 virtual void Manage() override in Manage() 69 m_MemoryGroup->manage(&m_Tensor); in Manage() 73 virtual ITensorHandle* GetParent() const override { return nullptr; } in GetParent() 75 virtual arm_compute::DataType GetDataType() const override in GetDataType() 77 return m_Tensor.info()->data_type(); in GetDataType() 80 …virtual void SetMemoryGroup(const std::shared_ptr<arm_compute::IMemoryGroup>& memoryGroup) override in SetMemoryGroup() 85 virtual const void* Map(bool /* blocking = true */) const override in Map() 87 …return static_cast<const void*>(m_Tensor.buffer() + m_Tensor.info()->offset_first_element_in_bytes… in Map() [all …]
|
| /external/webrtc/api/rtc_event_log/ |
| D | rtc_event.h | 4 * Use of this source code is governed by a BSD-style license 21 // Additionally, it prevents dependency leaking - a module that only logs 28 // superclass, but the *actual* information - rtclog::StreamConfig, etc. - 62 virtual ~RtcEvent() = default; 64 virtual Type GetType() const = 0; 66 virtual bool IsConfigEvent() const = 0; 69 // Optionally, `GetGroupKey` can be overloaded to group the 73 virtual uint32_t GetGroupKey() const { return 0; } in GetGroupKey()
|
| /external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ |
| D | Pass.h | 1 //===- llvm/Pass.h - Base class for Passes ----------------------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 26 //===----------------------------------------------------------------------===// 47 // AnalysisID - Use the PassInfo to identify a pass... 73 //===----------------------------------------------------------------------===// 74 /// Pass interface - Implemented by all 'passes'. Subclass this if you are an 87 virtual ~Pass(); 91 /// getPassName - Return a nice clean name for a pass. This usually 93 /// Registration templates, but can be overloaded directly. [all …]
|
| /external/federated-compute/fcp/base/ |
| D | clock.h | 8 * http://www.apache.org/licenses/LICENSE-2.0 38 // is thread-safe. 41 virtual ~Clock() = default; 44 virtual absl::Time Now() = 0; 47 virtual void Sleep(absl::Duration d) = 0; 50 // WakeupWithDeadline and is responsible for handling a timer wake-up. 58 virtual ~Waiter() = default; 61 virtual void WakeUp() = 0; 73 virtual absl::Time NowLocked() 76 // Overloaded by derived class to implement the actual scheduling. [all …]
|