Home
last modified time | relevance | path

Searched +full:overloaded +full:- +full:virtual (Results 1 – 25 of 93) sorted by relevance

1234

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Target/
DTargetIntrinsicInfo.h1 //===-- 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 …]
/third_party/googletest/googlemock/test/
Dgmock-function-mocker_test.cc36 // Google Mock - a framework for writing C++ mock classes.
39 #include "gmock/gmock-function-mocker.h"
84 virtual ~FooInterface() {} in ~FooInterface()
86 virtual void VoidReturning(int x) = 0;
88 virtual int Nullary() = 0;
89 virtual bool Unary(int x) = 0;
90 virtual long Binary(short x, int y) = 0; // NOLINT
91 virtual int Decimal(bool b, char c, short d, int e, long f, // NOLINT
95 virtual bool TakesNonConstReference(int& n) = 0; // NOLINT
96 virtual std::string TakesConstReference(const int& n) = 0;
[all …]
Dgmock-spec-builders_test.cc30 // Google Mock - a framework for writing C++ mock classes.
34 #include "gmock/gmock-spec-builders.h"
43 #include "gmock/internal/gmock-port.h"
44 #include "gtest/gtest-spi.h"
46 #include "gtest/internal/gtest-port.h"
68 // This line verifies that a mock method can take a by-reference
78 // by-reference an argument whose type is incomplete, we can still in TEST()
146 virtual ~CC() {} in ~CC()
147 virtual int Method() = 0;
655 GMOCK_FLAG_SET(default_mock_behavior, -1); in TEST()
[all …]
/third_party/googletest/docs/
Dgmock_for_dummies.md12 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 …]
Dgmock_cook_book.md30 * **`const`** - Makes the mocked method a `const` method. Required if
32 * **`override`** - Marks the method with `override`. Recommended if overriding
33 a `virtual` method.
34 * **`noexcept`** - Marks the method with `noexcept`. Required if overriding a
36 * **`Calltype(...)`** - Sets the call type for the method (e.g. to
38 * **`ref(...)`** - Marks the method with the reference qualification
56 Solution 1 - wrap with parentheses:
70 Solution 2 - define an alias:
89 (Yes, C++ allows a subclass to change the access level of a virtual function in
96 virtual bool Transform(Gadget* g) = 0;
[all …]
Dgmock_faq.md5 In order for a method to be mocked, it must be *virtual*, unless you use the
6 [high-perf dependency injection technique](gmock_cook_book.md#MockingNonVirtualMethods).
20 provide overloaded versions of the function.
33 virtual void Bar(const int i) = 0;
45 warning C4301: 'MockFoo::Bar': overriding virtual function only differs from 'Foo::Bar' by const/vo…
52 warning C4373: 'MockFoo::Bar': virtual function overrides 'Foo::Bar', previous versions of the comp…
61 virtual void Bar(int i) = 0; // int or const int? Makes no difference.
72 Note that we are talking about the *top-level* `const` modifier here. If the
84 You might want to run your test with `--gmock_verbose=info`. This flag lets
139 Does the class (hopefully a pure interface) you are mocking have a virtual
[all …]
/third_party/node/deps/v8/src/asmjs/
Dasm-types.h2 // Use of this source code is governed by a BSD-style license that can be
10 #include "src/base/compiler-specific.h"
13 #include "src/zone/zone-containers.h"
107 virtual std::string Name() = 0; in NON_EXPORTED_BASE()
109 virtual bool CanBeInvokedWith(AsmType* return_type, in NON_EXPORTED_BASE()
113 virtual Asm##CamelName* As##CamelName() { return nullptr; } in NON_EXPORTED_BASE()
119 virtual ~AsmCallableType() = default; in NON_EXPORTED_BASE()
120 virtual bool IsA(AsmType* other); in NON_EXPORTED_BASE()
193 return reinterpret_cast<AsmCallableType*>(this)->As##CamelCase(); \ in FOR_EACH_ASM_VALUE_TYPE_LIST()
203 AsmFunctionType* f = zone->New<AsmFunctionType>(zone, ret); in Function()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/
DPass.h1 //===- 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 …]
/third_party/libabigail/include/
Dabg-traverse.h1 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
2 // -*- mode: C++ -*-
4 // Copyright (C) 2013-2022 Red Hat, Inc.
11 #include "abg-fwd.h"
53 virtual ~traversable_base();
55 /// This virtual method is overloaded and implemented by any single
76 // virtual bool traverse(node_visitor_base& v);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DMachineFunctionPass.h1 //===-- MachineFunctionPass.h - Pass for MachineFunctions --------*-C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
16 //===----------------------------------------------------------------------===//
26 /// MachineFunctionPass - This class adapts the FunctionPass interface to
33 // Cache the properties info at module-init time so we don't have to in doInitialization()
43 /// runOnMachineFunction - This method must be overloaded to perform the
46 virtual bool runOnMachineFunction(MachineFunction &MF) = 0;
48 /// getAnalysisUsage - Subclasses that override getAnalysisUsage
56 virtual MachineFunctionProperties getRequiredProperties() const { in getRequiredProperties()
[all …]
/third_party/json/
D.clang-tidy2 -altera-id-dependent-backward-branch,
3 -altera-struct-pack-align,
4 -altera-unroll-loops,
5 -android-cloexec-fopen,
6 -bugprone-easily-swappable-parameters,
7 -cert-err58-cpp,
8 -concurrency-mt-unsafe,
9 -cppcoreguidelines-avoid-goto,
10 -cppcoreguidelines-avoid-magic-numbers,
11 -cppcoreguidelines-avoid-non-const-global-variables,
[all …]
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/
DRenderbuffer.h7 // http://www.apache.org/licenses/LICENSE-2.0
44 virtual ~RenderbufferInterface() {} in ~RenderbufferInterface()
46 virtual void addProxyRef(const Renderbuffer *proxy);
47 virtual void releaseProxy(const Renderbuffer *proxy);
49 virtual egl::Image *getRenderTarget() = 0;
50 virtual egl::Image *createSharedImage() = 0;
51 virtual bool isShared() const = 0;
53 virtual GLsizei getWidth() const = 0;
54 virtual GLsizei getHeight() const = 0;
55 virtual GLsizei getDepth() const { return 1; } in getDepth()
[all …]
/third_party/vk-gl-cts/external/openglcts/modules/gl/
Dgl3cGPUShader5Tests.hpp3 /*-------------------------------------------------------------------------
5 * -----------------------------
7 * Copyright (c) 2015-2016 The Khronos Group Inc.
13 * http://www.apache.org/licenses/LICENSE-2.0
24 */ /*-------------------------------------------------------------------*/
29 */ /*-------------------------------------------------------------------*/
96 * - prepare a program consisting of vertex and fragment shader; Vertex shader
108 * v = DESTINATION_TYPE(u2) - u1;
119 * - it is expected that program will link without any errors;
120 * - set u1 and u2 with different values;
[all …]
/third_party/mesa3d/src/compiler/glsl/
Dir.h1 /* -*- c++ -*- */
56 * In addition, it is possible to use a switch-statement based on \c
97 * there's a virtual destructor present. Because we almost
101 virtual ~ir_instruction() in ~ir_instruction()
109 virtual void accept(ir_visitor *) = 0;
110 virtual ir_visitor_status accept(ir_hierarchical_visitor *) = 0;
111 virtual ir_instruction *clone(void *mem_ctx,
197 virtual bool equals(const ir_instruction *ir,
221 virtual ir_rvalue *clone(void *mem_ctx, struct hash_table *) const;
223 virtual void accept(ir_visitor *v) in accept()
[all …]
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/
DValidationTest.h7 // http://www.apache.org/licenses/LICENSE-2.0
30 // Overloaded to allow further validation of the error messages given an error is expected.
136 virtual WGPUDevice CreateTestDevice();
/third_party/mesa3d/src/gtest/include/gtest/
Dgtest.h40 // // INTERNAL IMPLEMENTATION - DO NOT USE IN A USER PROGRAM.
62 #include "gtest/internal/gtest-internal.h"
63 #include "gtest/internal/gtest-string.h"
64 #include "gtest/gtest-death-test.h"
65 #include "gtest/gtest-matchers.h"
66 #include "gtest/gtest-message.h"
67 #include "gtest/gtest-param-test.h"
68 #include "gtest/gtest-printers.h"
70 #include "gtest/gtest-test-part.h"
71 #include "gtest/gtest-typed-test.h"
[all …]
Dgtest-message.h39 // // INTERNAL IMPLEMENTATION - DO NOT USE IN A USER PROGRAM.
53 #include "gtest/internal/gtest-port.h"
56 /* class A needs to have dll-interface to be used by clients of class B */)
83 // destructor is not virtual.
105 // Constructs a Message from a C-string.
110 // Streams a non-pointer value to this object.
137 // [temp.func.order].) If you stream a non-pointer, then the
155 // Since the basic IO manipulators are overloaded for both narrow
172 // using the UTF-8 encoding.
177 // Converts the given wide string to a narrow string using the UTF-8
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Bitcode/
DLLVMBitCodes.h1 //===- LLVMBitCodes.h - Enum values for the LLVM bitcode format -*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
15 //===----------------------------------------------------------------------===//
24 // The only top-level block types are MODULE, IDENTIFICATION, STRTAB and SYMTAB.
29 // Module sub-block id's.
66 /// and an epoch that defines the auto-upgrade capability.
72 /// The epoch that defines the auto-upgrade compatibility for the bitcode.
77 /// also accepts N-1.
195 // The summary section uses different codes in the per-module
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DPass.cpp1 //===- Pass.cpp - LLVM Pass Infrastructure Implementation -----------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
13 //===----------------------------------------------------------------------===//
16 #include "llvm/Config/llvm-config.h"
37 //===----------------------------------------------------------------------===//
41 // Force out-of-line virtual method.
46 // Force out-of-line virtual method.
68 return Resolver->getAnalysisIfAvailable(&AID, true) != nullptr; in mustPreserveAnalysisID()
71 // dumpPassStructure - Implement the -debug-pass=Structure option
[all …]
/third_party/skia/third_party/externals/icu/source/i18n/unicode/
Dchoicfmt.h5 * Copyright (C) 1997-2013, International Business Machines
19 * 8/6/97 nos Removed overloaded constructor, member var 'buffer'.
60 * the real number line \htmlonly<code>-&#x221E;</code> to
81 * rather than using a stand-alone <code>ChoiceFormat</code>.</p>
89 * number = normal_number | ['-'] \htmlonly&#x221E;\endhtmlonly (U+221E, infinity)
97 * around each range's sub-message.</p>
99 * <p>Each numeric sub-range extends from the current range's number
134 * <p>Here is an example that maps the ranges [-Inf, 1), [1, 1], and (1,
138 * like the turned bracket in European notation: [-Inf, 1) == [-Inf, 1[ )</p>
162 * cout << x << " -> "
[all …]
/third_party/node/deps/icu-small/source/i18n/unicode/
Dchoicfmt.h5 * Copyright (C) 1997-2013, International Business Machines
19 * 8/6/97 nos Removed overloaded constructor, member var 'buffer'.
60 * the real number line \htmlonly<code>-&#x221E;</code> to
81 * rather than using a stand-alone <code>ChoiceFormat</code>.</p>
89 * number = normal_number | ['-'] \htmlonly&#x221E;\endhtmlonly (U+221E, infinity)
97 * around each range's sub-message.</p>
99 * <p>Each numeric sub-range extends from the current range's number
134 * <p>Here is an example that maps the ranges [-Inf, 1), [1, 1], and (1,
138 * like the turned bracket in European notation: [-Inf, 1) == [-Inf, 1[ )</p>
162 * cout << x << " -> "
[all …]
/third_party/icu/icu4c/source/i18n/unicode/
Dchoicfmt.h5 * Copyright (C) 1997-2013, International Business Machines
19 * 8/6/97 nos Removed overloaded constructor, member var 'buffer'.
60 * the real number line \htmlonly<code>-&#x221E;</code> to
81 * rather than using a stand-alone <code>ChoiceFormat</code>.</p>
89 * number = normal_number | ['-'] \htmlonly&#x221E;\endhtmlonly (U+221E, infinity)
97 * around each range's sub-message.</p>
99 * <p>Each numeric sub-range extends from the current range's number
134 * <p>Here is an example that maps the ranges [-Inf, 1), [1, 1], and (1,
138 * like the turned bracket in European notation: [-Inf, 1) == [-Inf, 1[ )</p>
162 * cout << x << " -> "
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DInstVisitor.h1 //===- InstVisitor.h - Instruction visitor templates ------------*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
30 return static_cast<SubClass*>(this)-> \
43 /// in terms of statically resolved overloading, not virtual functions.
76 /// virtual function call overhead. Defining and using an InstVisitor is just
81 //===--------------------------------------------------------------------===//
82 // Interface code - This is the public interface of the InstVisitor that you
87 // Generic visit method - Allow visitation to all instructions in a range
91 static_cast<SubClass*>(this)->visit(*Start++); in visit()
[all …]
/third_party/googletest/googletest/include/gtest/
Dgtest-message.h38 // // INTERNAL IMPLEMENTATION - DO NOT USE IN A USER PROGRAM.
57 #include "gtest/internal/gtest-port.h"
60 /* class A needs to have dll-interface to be used by clients of class B */)
87 // destructor is not virtual.
109 // Constructs a Message from a C-string.
114 // Streams a non-pointer value to this object.
141 // [temp.func.order].) If you stream a non-pointer, then the
159 // Since the basic IO manipulators are overloaded for both narrow
174 // using the UTF-8 encoding.
179 // Converts the given wide string to a narrow string using the UTF-8
[all …]
Dgtest.h39 // // INTERNAL IMPLEMENTATION - DO NOT USE IN A USER PROGRAM.
51 /* 2024.01.11 - Extend the interface parameters of gtest
69 #include "gtest/gtest-assertion-result.h"
70 #include "gtest/gtest-death-test.h"
71 #include "gtest/gtest-matchers.h"
72 #include "gtest/gtest-message.h"
73 #include "gtest/gtest-param-test.h"
74 #include "gtest/gtest-printers.h"
75 #include "gtest/gtest-test-part.h"
76 #include "gtest/gtest-typed-test.h"
[all …]

1234