Home
last modified time | relevance | path

Searched refs:instances (Results 1 – 25 of 918) sorted by relevance

12345678910>>...37

/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dgpu_debug_info_manager.cc28 active_modules_[module_id].instances.emplace_back(hlo_module, in RegisterModule()
33 m.instances.emplace_back(hlo_module, buffer_assignment); in RegisterModule()
48 absl::c_find_if(active_module.instances, [&](GpuModuleInstance& e) { in UnregisterModule()
53 CHECK(instance_it != active_module.instances.end()); in UnregisterModule()
56 active_module.instances.erase(instance_it); in UnregisterModule()
57 if (active_module.instances.empty()) { in UnregisterModule()
102 if (!active_module.instances.empty()) { in StopTracing()
105 e.instances.push_back(active_module.instances[0]); in StopTracing()
123 for (auto instance = active_module.instances.begin(); in StopTracing()
124 instance != active_module.instances.end();) { in StopTracing()
[all …]
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/EventModifiers/
DInstanceOnlyModifierDebuggee.java68 final TestClass[] instances = new TestClass[10]; in run() local
69 for (int i = 0; i < instances.length; ++i) { in run()
70 instances[i] = new TestClass(); in run()
74 INSTANCE_ONLY = instances[instances.length - 1]; in run()
85 for (int i = 0; i < instances.length; ++i) { in run()
86 instances[i].eventTestMethod(); in run()
90 for (int i = 0; i < instances.length; ++i) { in run()
91 instances[i].throwAndCatchException(); in run()
95 for (int i = 0; i < instances.length; ++i) { in run()
96 instances[i].readAndWriteField(); in run()
/external/skqp/tests/
DLRUCacheTest.cpp27 int instances = 0; in DEF_TEST() local
33 test.insert(i, std::unique_ptr<Value>(new Value(i * i, &instances))); in DEF_TEST()
37 REPORTER_ASSERT(r, kSize == instances); in DEF_TEST()
40 REPORTER_ASSERT(r, i == instances); in DEF_TEST()
42 REPORTER_ASSERT(r, (int) test.count() == instances); in DEF_TEST()
45 REPORTER_ASSERT(r, 0 == instances); in DEF_TEST()
49 int instances = 0; in DEF_TEST() local
58 test.insert(k, std::unique_ptr<Value>(new Value(k, &instances))); in DEF_TEST()
61 REPORTER_ASSERT(r, kSize == instances); in DEF_TEST()
69 REPORTER_ASSERT(r, 0 == instances); in DEF_TEST()
/external/skia/tests/
DLRUCacheTest.cpp27 int instances = 0; in DEF_TEST() local
33 test.insert(i, std::unique_ptr<Value>(new Value(i * i, &instances))); in DEF_TEST()
37 REPORTER_ASSERT(r, kSize == instances); in DEF_TEST()
40 REPORTER_ASSERT(r, i == instances); in DEF_TEST()
42 REPORTER_ASSERT(r, (int) test.count() == instances); in DEF_TEST()
45 REPORTER_ASSERT(r, 0 == instances); in DEF_TEST()
49 int instances = 0; in DEF_TEST() local
58 test.insert(k, std::unique_ptr<Value>(new Value(k, &instances))); in DEF_TEST()
61 REPORTER_ASSERT(r, kSize == instances); in DEF_TEST()
69 REPORTER_ASSERT(r, 0 == instances); in DEF_TEST()
/external/perfetto/include/perfetto/tracing/internal/
Dtrack_event_data_source.h137 [&callback](uint32_t instances) { callback(instances); }); in CallIfCategoryEnabled()
161 static void TraceForCategory(uint32_t instances, in TraceForCategory() argument
166 TraceForCategoryImpl<CategoryIndex>(instances, dynamic_category, event_name, in TraceForCategory()
176 static void TraceForCategory(uint32_t instances, in TraceForCategory() argument
183 instances, dynamic_category, event_name, type, Track(), in TraceForCategory()
194 static void TraceForCategory(uint32_t instances, in TraceForCategory() argument
201 TraceForCategoryImpl<CategoryIndex>(instances, dynamic_category, event_name, in TraceForCategory()
213 static void TraceForCategory(uint32_t instances, in TraceForCategory() argument
218 TraceForCategoryImpl<CategoryIndex>(instances, dynamic_category, event_name, in TraceForCategory()
231 static void TraceForCategory(uint32_t instances, in TraceForCategory() argument
[all …]
Dtrack_event_macros.h111 tns::TrackEvent::CallIfEnabled([&](uint32_t instances) { \
113 instances, category, ##__VA_ARGS__); \
117 [&](uint32_t instances) { \
120 instances, nullptr, ##__VA_ARGS__); \
/external/swiftshader/src/OpenGL/common/
DObject.cpp27 std::set<Object*> Object::instances; member in gl::Object
36 instances.insert(this); in Object()
46 ASSERT(instances.find(this) != instances.end()); // Check for double deletion in ~Object()
47 instances.erase(this); in ~Object()
96 ASSERT(Object::instances.empty()); // Check for GL object leak at termination in ~ObjectLeakCheck()
/external/adhd/cras/src/server/
Dcras_dsp_pipeline.c110 instance_array instances; member
147 static struct instance *find_instance_by_plugin(instance_array *instances, in find_instance_by_plugin() argument
153 ARRAY_ELEMENT_FOREACH (instances, i, instance) { in find_instance_by_plugin()
164 static int find_origin_port(struct ini *ini, instance_array *instances, in find_origin_port() argument
187 if (find_instance_by_plugin(instances, plugin)) { in find_origin_port()
224 return find_origin_port(ini, instances, plugin, index, origin, in find_origin_port()
228 static struct audio_port *find_output_audio_port(instance_array *instances, in find_output_audio_port() argument
236 instance = find_instance_by_plugin(instances, plugin); in find_output_audio_port()
248 static struct control_port *find_output_control_port(instance_array *instances, in find_output_control_port() argument
256 instance = find_instance_by_plugin(instances, plugin); in find_output_control_port()
[all …]
/external/eigen/test/
Dexceptions.cpp33 instances--; in ~ScalarWithExceptions()
38 instances++; in init()
68 static int instances; member in ScalarWithExceptions
76 int ScalarWithExceptions::instances = 0; member in ScalarWithExceptions
82 int before = ScalarWithExceptions::instances; \
87 …VERIFY(ScalarWithExceptions::instances==before && "memory leak detected in " && EIGEN_MAKESTRING(O…
107 …VERIFY(ScalarWithExceptions::instances==0 && "global memory leak detected in " && EIGEN_MAKESTRING… in memoryleak()
/external/libchrome/base/debug/
Dleak_tracker.h74 instances()->Append(this);
91 for (LinkNode<LeakTracker<T> >* node = instances()->head();
92 node != instances()->end();
119 for (LinkNode<LeakTracker<T> >* node = instances()->head();
120 node != instances()->end();
129 static LinkedList<LeakTracker<T> >* instances() {
/external/testng/src/main/java/org/testng/internal/
DTestMethodWorker.java170 Set<Object> instances= invokedBeforeClassMethods.get(testClass); in invokeBeforeClassMethods() local
171 if(null == instances) { in invokeBeforeClassMethods()
172 instances= new HashSet<>(); in invokeBeforeClassMethods()
173 invokedBeforeClassMethods.put(testClass, instances); in invokeBeforeClassMethods()
176 if (! instances.contains(instance)) { in invokeBeforeClassMethods()
177 instances.add(instance); in invokeBeforeClassMethods()
219 Set<Object> instances = invokedAfterClassMethods.get(testClass); in invokeAfterClassMethods() local
220 if(null == instances) { in invokeAfterClassMethods()
221 instances= new HashSet<>(); in invokeAfterClassMethods()
222 invokedAfterClassMethods.put(testClass, instances); in invokeAfterClassMethods()
[all …]
DTestNGClassFinder.java150 Object[] instances= fm.invoke(); in TestNGClassFinder() local
156 if (instances.length > 0) { in TestNGClassFinder()
157 if (instances[0] != null) { in TestNGClassFinder()
158 Class elementClass = instances[0].getClass(); in TestNGClassFinder()
160 for(Object o : instances) { in TestNGClassFinder()
167 for (int i = 0; i < instances.length; i++) { in TestNGClassFinder()
168 Object o = instances[i]; in TestNGClassFinder()
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
DSharedResourceHolder.java55 private final IdentityHashMap<Resource<?>, Instance> instances = field in SharedResourceHolder
102 Instance instance = instances.get(resource); in getInternal()
105 instances.put(resource, instance); in getInternal()
119 final Instance cached = instances.get(resource); in releaseInternal()
132 instances.remove(resource); in releaseInternal()
146 instances.remove(resource); in releaseInternal()
147 if (instances.isEmpty()) { in releaseInternal()
/external/testng/src/main/java/org/testng/
DClassMethodMap.java77 for(Set<Object> instances: m_beforeClassMethods.values()) { in clear()
78 instances.clear(); in clear()
79 instances= null; in clear()
81 for(Set<Object> instances: m_afterClassMethods.values()) { in clear()
82 instances.clear(); in clear()
83 instances= null; in clear()
/external/testng/src/test/java/test/configurationfailurepolicy/
DFactoryClassWithFailedBeforeMethod.java8 Object[] instances = new Object[2]; in createTests() local
9 instances[0] = new FactoryClassWithFailedBeforeMethod(); in createTests()
10 instances[1] = new FactoryClassWithFailedBeforeMethod(); in createTests()
11 return instances; in createTests()
DFactoryClassWithFailedBeforeClassMethod.java8 Object[] instances = new Object[2]; in createTests() local
9 instances[0] = new FactoryClassWithFailedBeforeClassMethod(); in createTests()
10 instances[1] = new FactoryClassWithFailedBeforeClassMethod(); in createTests()
11 return instances; in createTests()
DFactoryClassWithFailedBeforeMethodAndMultipleInvocations.java8 Object[] instances = new Object[2]; in createTests() local
9 instances[0] = new FactoryClassWithFailedBeforeMethodAndMultipleInvocations(); in createTests()
10 instances[1] = new FactoryClassWithFailedBeforeMethodAndMultipleInvocations(); in createTests()
11 return instances; in createTests()
/external/angle/src/libANGLE/renderer/d3d/
DVertexBuffer.cpp98 GLsizei instances, in getSpaceRequired() argument
102 ANGLE_TRY(mFactory->getVertexSpaceRequired(context, attrib, binding, count, instances, in getSpaceRequired()
173 GLsizei instances, in storeDynamicAttribute() argument
178 ANGLE_TRY(getSpaceRequired(context, attrib, binding, count, instances, &spaceRequired)); in storeDynamicAttribute()
188 start, count, instances, mWritePosition, in storeDynamicAttribute()
205 GLsizei instances) in reserveVertexSpace() argument
208 ANGLE_TRY(mFactory->getVertexSpaceRequired(context, attrib, binding, count, instances, in reserveVertexSpace()
276 GLsizei instances, in storeStaticAttribute() argument
280 ANGLE_TRY(getSpaceRequired(context, attrib, binding, count, instances, &spaceRequired)); in storeStaticAttribute()
286 instances, 0, sourceData)); in storeStaticAttribute()
DVertexBuffer.h55 GLsizei instances,
104 GLsizei instances,
126 GLsizei instances,
134 GLsizei instances);
156 GLsizei instances,
/external/perfetto/include/perfetto/tracing/
Ddata_source.h249 CallIfEnabled<DefaultTracePointTraits>([&tracing_fn](uint32_t instances) { in Trace()
250 TraceWithInstances<DefaultTracePointTraits>(instances, in Trace()
270 uint32_t instances = in CallIfEnabled() local
275 if (PERFETTO_LIKELY(!instances)) in CallIfEnabled()
277 callback(instances); in CallIfEnabled()
290 static void TraceWithInstances(uint32_t instances, Lambda tracing_fn) { in TraceWithInstances() argument
291 PERFETTO_DCHECK(instances); in TraceWithInstances()
324 static_state_.TryGetCached(instances, i); in TraceWithInstances()
357 instances = in TraceWithInstances()
359 instance_state = static_state_.TryGetCached(instances, i); in TraceWithInstances()
/external/angle/src/libANGLE/renderer/d3d/d3d9/
DVertexDeclarationCache.cpp53 GLsizei instances, in applyDeclaration() argument
64 if (instances == 0) in applyDeclaration()
72 instances = 1; in applyDeclaration()
78 if (instances > 0) in applyDeclaration()
122 if (instances > 0) in applyDeclaration()
128 *repeatDraw = instances; in applyDeclaration()
145 frequency = D3DSTREAMSOURCE_INDEXEDDATA | instances; in applyDeclaration()
188 if (instances == 0 || instancedAttribute == invalidAttribIndex) in applyDeclaration()
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/test/validation/
DStatementExecutor.java52 private static Class<?>[] getTypes(Object[] instances) { in getTypes() argument
53 final Class<?>[] classes = new Class[instances.length]; in getTypes()
54 for (int i = 0; i < instances.length; i++) { in getTypes()
55 Class<? extends Object> c = instances[i].getClass(); in getTypes()
/external/apache-commons-bcel/src/main/java/org/apache/bcel/util/
DSyntheticRepository.java36 …private static final Map<ClassPath, SyntheticRepository> instances = new HashMap<>(); // CLASSPATH… field in SyntheticRepository
47 SyntheticRepository rep = instances.get(classPath); in getInstance()
50 instances.put(classPath, rep); in getInstance()
/external/google-fruit/include/fruit/impl/component_storage/
Dpartial_component_storage.defn.h228 std::vector<C>& instances; variable
231 …tStorage(PartialComponentStorage<PreviousBindings...>& previous_storage, std::vector<C>& instances) in PartialComponentStorage() argument
232 : previous_storage(previous_storage), instances(instances) {} in PartialComponentStorage()
235 for (auto i = instances.rbegin(), i_end = instances.rend(); i != i_end; ++i) { in addBindings()
245 return previous_storage.numBindings() + instances.size() * 2; in numBindings()
253 std::vector<C>& instances; variable
256 …tStorage(PartialComponentStorage<PreviousBindings...>& previous_storage, std::vector<C>& instances) in PartialComponentStorage() argument
257 : previous_storage(previous_storage), instances(instances) {} in PartialComponentStorage()
260 for (auto i = instances.rbegin(), i_end = instances.rend(); i != i_end; ++i) { in addBindings()
272 return previous_storage.numBindings() + instances.size() * 2; in numBindings()
/external/fonttools/Lib/fontTools/ttLib/tables/
D_f_v_a_r.py47 self.instances = []
52 for instance in self.instances)
61 "instanceCount": len(self.instances),
67 for instance in self.instances:
89 self.instances.append(instance)
95 for instance in self.instances:
106 self.instances.append(instance)

12345678910>>...37