Home
last modified time | relevance | path

Searched refs:Instance (Results 1 – 25 of 181) sorted by relevance

12345678

/external/clang/lib/StaticAnalyzer/Frontend/
DModelInjector.cpp79 CompilerInstance Instance(CI.getPCHContainerOperations()); in onBodySynthesis() local
80 Instance.setInvocation(&*Invocation); in onBodySynthesis()
81 Instance.createDiagnostics( in onBodySynthesis()
85 Instance.getDiagnostics().setSourceManager(&SM); in onBodySynthesis()
87 Instance.setVirtualFileSystem(&CI.getVirtualFileSystem()); in onBodySynthesis()
91 Instance.setFileManager(&CI.getFileManager()); in onBodySynthesis()
92 Instance.setSourceManager(&SM); in onBodySynthesis()
93 Instance.setPreprocessor(&CI.getPreprocessor()); in onBodySynthesis()
94 Instance.setASTContext(&CI.getASTContext()); in onBodySynthesis()
96 Instance.getPreprocessor().InitializeForModelFile(); in onBodySynthesis()
[all …]
/external/webrtc/webrtc/base/
Dprofiler_unittest.cc32 ASSERT_TRUE(Profiler::Instance()->Clear()); in TEST()
36 const ProfilerEvent* event = Profiler::Instance()->GetEvent(function_name); in TEST()
58 ASSERT_TRUE(Profiler::Instance()->Clear()); in TEST()
61 event1 = Profiler::Instance()->GetEvent(kEvent1Name); in TEST()
74 event2 = Profiler::Instance()->GetEvent(kEvent2Name); in TEST()
104 ASSERT_TRUE(Profiler::Instance()->Clear()); in TEST()
106 EXPECT_FALSE(Profiler::Instance()->Clear()); in TEST()
107 EXPECT_TRUE(Profiler::Instance()->GetEvent("event") != NULL); in TEST()
109 EXPECT_TRUE(Profiler::Instance()->Clear()); in TEST()
110 EXPECT_EQ(NULL, Profiler::Instance()->GetEvent("event")); in TEST()
Dprofiler.h59 rtc::Profiler::Instance()->ReportAllToLog(__FILE__, __LINE__, sev)
64 rtc::Profiler::Instance()->ReportToLog(__FILE__, __LINE__, sev, prefix)
67 #define PROFILE_START(msg) rtc::Profiler::Instance()->StartEvent(msg)
68 #define PROFILE_STOP(msg) rtc::Profiler::Instance()->StopEvent(msg)
129 static Profiler* Instance();
146 Profiler::Instance()->StartEvent(event_name_); in ProfilerScope()
149 Profiler::Instance()->StopEvent(event_name_); in ~ProfilerScope()
Dthread.cc38 ThreadManager* ThreadManager::Instance() { in Instance() function in rtc::ThreadManager
45 return ThreadManager::Instance()->CurrentThread(); in Current()
200 ThreadManager::Instance(); in Start()
228 return WrapCurrentWithThreadManager(ThreadManager::Instance(), true); in WrapCurrent()
233 ThreadManager::Instance()->SetCurrentThread(NULL); in UnwrapCurrent()
246 WrapCurrentWithThreadManager(ThreadManager::Instance(), false); in SafeWrapCurrent()
288 ThreadManager::Instance()->SetCurrentThread(init->thread); in PreRun()
515 if (!ThreadManager::Instance()->CurrentThread()) { in AutoThread()
516 ThreadManager::Instance()->SetCurrentThread(this); in AutoThread()
522 if (ThreadManager::Instance()->CurrentThread() == this) { in ~AutoThread()
[all …]
/external/libbrillo/brillo/dbus/
Ddbus_object.h141 template<typename Instance, typename Class, typename R, typename... Args>
143 Instance instance, in AddSimpleMethodHandler()
150 template<typename Instance, typename Class, typename R, typename... Args>
152 Instance instance, in AddSimpleMethodHandler()
179 template<typename Instance, typename Class, typename... Args>
182 Instance instance, in AddSimpleMethodHandlerWithError()
189 template<typename Instance, typename Class, typename... Args>
192 Instance instance, in AddSimpleMethodHandlerWithError()
223 template<typename Instance, typename Class, typename... Args>
226 Instance instance, in AddSimpleMethodHandlerWithErrorAndMessage()
[all …]
/external/eigen/bench/btl/generic_bench/
Dbtl.hh183 Instance.m_selectedActionNames = config[i+1].split(":"); in BtlConfig()
194 Instance.tries = atoi(config[i+1].c_str()); in BtlConfig()
200 Instance.overwriteResults = true; in BtlConfig()
204 Instance.checkResults = false; in BtlConfig()
208 Instance.realclock = true; in BtlConfig()
218 if (Instance.m_selectedActionNames.empty()) in skipAction()
222 for (unsigned int i=0; i<Instance.m_selectedActionNames.size(); ++i) in skipAction()
223 if (name.contains(Instance.m_selectedActionNames[i])) in skipAction()
229 static BtlConfig Instance; member in BtlConfig
240 BtlConfig BtlConfig::Instance
/external/tensorflow/tensorflow/core/lib/gtl/
Dinlined_vector_test.cc35 class Instance { class
38 explicit Instance(int x) : value_(x) { instances++; } in Instance() function in tensorflow::Instance
39 Instance(const Instance& x) : value_(x.value_) { instances++; } in Instance() function in tensorflow::Instance
40 ~Instance() { instances--; } in ~Instance()
42 friend inline void swap(Instance& a, Instance& b) { in swap()
47 friend std::ostream& operator<<(std::ostream& o, const Instance& v) { in operator <<()
52 typedef tensorflow::gtl::InlinedVector<Instance, 8> InstanceVec;
502 for (int i = 0; i < l1; i++) a.push_back(Instance(i)); in TEST()
503 for (int i = 0; i < l2; i++) b.push_back(Instance(100 + i)); in TEST()
587 v.push_back(Instance(i)); in TEST()
[all …]
/external/compiler-rt/lib/scudo/
Dscudo_allocator.cpp524 static Allocator Instance(LINKER_INITIALIZED);
527 return Instance.BackendAllocator; in getAllocator()
531 Instance.init(Options); in initAllocator()
535 Instance.drainQuarantine(); in drainQuarantine()
539 return Instance.allocate(Size, Allocator::MinAlignment, Type); in scudoMalloc()
543 Instance.deallocate(Ptr, 0, Type); in scudoFree()
547 Instance.deallocate(Ptr, Size, Type); in scudoSizedFree()
552 return Instance.allocate(Size, Allocator::MinAlignment, FromMalloc); in scudoRealloc()
554 Instance.deallocate(Ptr, 0, FromMalloc); in scudoRealloc()
557 return Instance.reallocate(Ptr, Size); in scudoRealloc()
[all …]
/external/clang/examples/PrintFunctionNames/
DPrintFunctionNames.cpp27 CompilerInstance &Instance; member in __anonf0dc1dde0111::PrintFunctionsConsumer
31 PrintFunctionsConsumer(CompilerInstance &Instance, in PrintFunctionsConsumer() argument
33 : Instance(Instance), ParsedTemplates(ParsedTemplates) {} in PrintFunctionsConsumer()
46 if (!Instance.getLangOpts().DelayedTemplateParsing) in HandleTranslationUnit()
70 clang::Sema &sema = Instance.getSema(); in HandleTranslationUnit()
/external/swiftshader/third_party/LLVM/include/llvm/MC/
DMCLabel.h26 unsigned Instance; variable
31 : Instance(instance) {} in MCLabel()
37 unsigned getInstance() const { return Instance; } in getInstance()
41 unsigned incInstance() { return ++Instance; } in incInstance()
/external/llvm/include/llvm/MC/
DMCLabel.h28 unsigned Instance; variable
32 MCLabel(unsigned instance) : Instance(instance) {} in MCLabel()
39 unsigned getInstance() const { return Instance; } in getInstance()
42 unsigned incInstance() { return ++Instance; } in incInstance()
/external/clang/test/Analysis/
Dobjc_invalidation.m176 // expected-warning@-2 {{Instance variable Ivar1 needs to be invalidated}}
177 // expected-warning@-3 {{Instance variable MultipleProtocols needs to be invalidated}}
178 // expected-warning@-4 {{Instance variable MultInheritance needs to be invalidated}}
180 // expected-warning@-6 {{Instance variable _Ivar3 needs to be invalidated}}
181 // expected-warning@-7 {{Instance variable _Ivar4 needs to be invalidated}}
182 // expected-warning@-8 {{Instance variable Ivar5 needs to be invalidated or set to nil}}
183 // expected-warning@-9 {{Instance variable Ivar13 needs to be invalidated or set to nil}}
263 // expected-warning@-2 {{Instance variable Ivar1 needs to be invalidated; no invalidation method is…
273 // expected-warning@-2 {{Instance variable Ivar1 needs to be invalidated; no invalidation method is…
284 // expected-warning@-2 {{Instance variable _foo1 needs to be invalidated; no invalidation method is…
[all …]
/external/tensorflow/tensorflow/compiler/tf2xla/
Dxla_op_registry.cc96 XlaOpRegistry& registry = Instance(); in RegisterCompilationDevice()
107 XlaOpRegistry& registry = Instance(); in RegisterBackend()
119 XlaOpRegistry& registry = Instance(); in GetCompilationDevice()
153 XlaOpRegistry& registry = Instance(); in RegisterCompilationKernels()
261 XlaOpRegistry& registry = Instance(); in DeviceKernels()
282 XlaOpRegistry& registry = Instance(); in CompileTimeConstantInputs()
293 XlaOpRegistry& registry = Instance(); in BackendNames()
302 XlaOpRegistry& registry = Instance(); in IsBackendRegistered()
307 XlaOpRegistry& XlaOpRegistry::Instance() { in Instance() function in tensorflow::XlaOpRegistry
379 XlaOpRegistry& registry = XlaOpRegistry::Instance(); in XlaOpRegistrar()
[all …]
/external/protobuf/csharp/src/Google.Protobuf.Test/Compatibility/
DPropertyInfoExtensionsTest.cs56 … .GetProperty(name, BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.Public); in GetGetMethod_Success()
69 … .GetProperty(name, BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.Public); in GetGetMethod_NoAccessibleGetter()
80 … .GetProperty(name, BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.Public); in GetSetMethod_Success()
93 … .GetProperty(name, BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.Public); in GetSetMethod_NoAccessibleGetter()
/external/deqp/external/vulkancts/modules/vulkan/draw/
DvktDrawTestCaseUtil.hpp68 template<typename Instance>
72 …xt& testCtx, const std::string& name, const std::string& desc, typename Instance::TestSpec testSpe… in InstanceFactory()
80 return new Instance(context, m_testSpec); in createInstance()
93 const typename Instance::TestSpec m_testSpec;
/external/skqp/src/gpu/ccpr/
DGrCCPathProcessor.cpp95 SkASSERT(offsetof(Instance, fDevBounds) == in GrCCPathProcessor()
97 SkASSERT(offsetof(Instance, fDevBounds45) == in GrCCPathProcessor()
99 SkASSERT(offsetof(Instance, fViewMatrix) == in GrCCPathProcessor()
101 SkASSERT(offsetof(Instance, fViewTranslate) == in GrCCPathProcessor()
103 SkASSERT(offsetof(Instance, fAtlasOffset) == in GrCCPathProcessor()
105 SkASSERT(offsetof(Instance, fColor) == in GrCCPathProcessor()
107 SkASSERT(sizeof(Instance) == this->getInstanceStride()); in GrCCPathProcessor()
/external/skia/src/gpu/ccpr/
DGrCCPathProcessor.cpp95 SkASSERT(offsetof(Instance, fDevBounds) == in GrCCPathProcessor()
97 SkASSERT(offsetof(Instance, fDevBounds45) == in GrCCPathProcessor()
99 SkASSERT(offsetof(Instance, fViewMatrix) == in GrCCPathProcessor()
101 SkASSERT(offsetof(Instance, fViewTranslate) == in GrCCPathProcessor()
103 SkASSERT(offsetof(Instance, fAtlasOffset) == in GrCCPathProcessor()
105 SkASSERT(offsetof(Instance, fColor) == in GrCCPathProcessor()
107 SkASSERT(sizeof(Instance) == this->getInstanceStride()); in GrCCPathProcessor()
/external/clang/test/Sema/
Doverloaded-func-transparent-union.c13 } Instance __attribute__((transparent_union)); typedef
15 __attribute__((overloadable)) void Class_Init(Instance this, char *str, void *str2) { in Class_Init()
20 __attribute__((overloadable)) void Class_Init(Instance this, char *str) { in Class_Init()
/external/clang/test/SemaCXX/
Dvtable-instantiation.cpp36 static Target<T> Instance; member
40 Target<T> Provider<T>::Instance; // expected-note{{in instantiation of}} member in PR9325::Provider<T>
44 Target<int*>* traits = &Provider<int*>::Instance; // expected-note{{requested here}} in f()
/external/libtextclassifier/
Dmodel-executor.h48 static std::unique_ptr<const ModelExecutor> Instance( in Instance() function
57 return Instance(model); in Instance()
60 static std::unique_ptr<const ModelExecutor> Instance( in Instance() function
106 static std::unique_ptr<TFLiteEmbeddingExecutor> Instance(
/external/tensorflow/tensorflow/stream_executor/host/
Dhost_gpu_executor.cc206 return PluginRegistry::Instance() in SupportsBlas()
213 PluginRegistry *registry = PluginRegistry::Instance(); in CreateBlas()
227 return PluginRegistry::Instance() in SupportsFft()
234 PluginRegistry *registry = PluginRegistry::Instance(); in CreateFft()
248 return PluginRegistry::Instance() in SupportsRng()
255 PluginRegistry *registry = PluginRegistry::Instance(); in CreateRng()
/external/clang/test/CodeCompletion/
Ddocumentation.m8 /// Instance!
20 // CHECK-CC1: instanceProp : [#id#]instanceProp : Instance!
21 // CHECK-CC1: setInstanceProp: : [#void#]setInstanceProp:<#(id)#> : Instance!
/external/clang/include/clang/Frontend/
DFrontendAction.h39 CompilerInstance *Instance; variable
115 assert(Instance && "Compiler instance not registered!"); in getCompilerInstance()
116 return *Instance; in getCompilerInstance()
119 void setCompilerInstance(CompilerInstance *Value) { Instance = Value; } in setCompilerInstance()
/external/clang/lib/Sema/
DSemaTemplateInstantiateDecl.cpp4384 ClassTemplateDecl *Instance) { in isInstantiationOf() argument
4388 Instance = Instance->getCanonicalDecl(); in isInstantiationOf()
4389 if (Pattern == Instance) return true; in isInstantiationOf()
4390 Instance = Instance->getInstantiatedFromMemberTemplate(); in isInstantiationOf()
4391 } while (Instance); in isInstantiationOf()
4397 FunctionTemplateDecl *Instance) { in isInstantiationOf() argument
4401 Instance = Instance->getCanonicalDecl(); in isInstantiationOf()
4402 if (Pattern == Instance) return true; in isInstantiationOf()
4403 Instance = Instance->getInstantiatedFromMemberTemplate(); in isInstantiationOf()
4404 } while (Instance); in isInstantiationOf()
[all …]
/external/llvm/include/llvm/ExecutionEngine/Orc/
DRPCUtils.h254 MemberFnWrapper(ClassT &Instance, MethodT Method) in MemberFnWrapper() argument
255 : Instance(Instance), Method(Method) {} in MemberFnWrapper()
256 RetT operator()(ArgTs &... Args) { return (Instance.*Method)(Args...); } in operator()
259 ClassT &Instance;
495 static Error handle(ChannelT &C, ClassT &Instance, in handle() argument
498 C, MemberFnWrapper<ClassT, RetT, ArgTs...>(Instance, HandlerMethod)); in handle()
518 static Error expect(ChannelT &C, ClassT &Instance, in expect() argument
521 C, MemberFnWrapper<ClassT, ArgTs...>(Instance, HandlerMethod)); in expect()

12345678