Home
last modified time | relevance | path

Searched refs:manager (Results 1 – 25 of 1297) sorted by relevance

12345678910>>...52

/external/freetype/src/cache/
Dftcmanag.c34 ftc_scaler_lookup_size( FTC_Manager manager, in ftc_scaler_lookup_size() argument
43 error = FTC_Manager_LookupFace( manager, scaler->face_id, &face ); in ftc_scaler_lookup_size()
123 FTC_Manager manager = (FTC_Manager)ftcmanager; in ftc_size_node_init() local
128 return ftc_scaler_lookup_size( manager, scaler, &node->size ); in ftc_size_node_init()
139 FTC_Manager manager = (FTC_Manager)ftcmanager; in ftc_size_node_reset() local
146 return ftc_scaler_lookup_size( manager, scaler, &node->size ); in ftc_size_node_reset()
178 FTC_Manager_LookupSize( FTC_Manager manager, in FTC_Manager_LookupSize() argument
191 if ( !manager ) in FTC_Manager_LookupSize()
196 FTC_MRULIST_LOOKUP_CMP( &manager->sizes, scaler, ftc_size_node_compare, in FTC_Manager_LookupSize()
200 error = FTC_MruList_Lookup( &manager->sizes, scaler, &mrunode ); in FTC_Manager_LookupSize()
[all …]
/external/tensorflow/tensorflow/core/grappler/costs/
Dvirtual_scheduler_test.cc71 FIFOManager manager = FIFOManager(); in TEST_F() local
72 manager.AddNode(&node1_); in TEST_F()
73 EXPECT_EQ(manager.GetCurrNode()->name(), "Node1"); in TEST_F()
78 FIFOManager manager = FIFOManager(); in TEST_F() local
79 manager.AddNode(&node1_); in TEST_F()
82 manager.RemoveCurrNode(); in TEST_F()
83 EXPECT_TRUE(manager.Empty()); in TEST_F()
89 FIFOManager manager = FIFOManager(); in TEST_F() local
90 manager.AddNode(&node1_); in TEST_F()
91 manager.AddNode(&node2_); in TEST_F()
[all …]
/external/webp/src/enc/
Dbackward_references_cost_enc.c202 static void CostIntervalAddToFreeList(CostManager* const manager, in CostIntervalAddToFreeList() argument
204 interval->next_ = manager->free_intervals_; in CostIntervalAddToFreeList()
205 manager->free_intervals_ = interval; in CostIntervalAddToFreeList()
208 static int CostIntervalIsInFreeList(const CostManager* const manager, in CostIntervalIsInFreeList() argument
210 return (interval >= &manager->intervals_[0] && in CostIntervalIsInFreeList()
211 interval <= &manager->intervals_[COST_MANAGER_MAX_FREE_LIST - 1]); in CostIntervalIsInFreeList()
214 static void CostManagerInitFreeList(CostManager* const manager) { in CostManagerInitFreeList() argument
216 manager->free_intervals_ = NULL; in CostManagerInitFreeList()
218 CostIntervalAddToFreeList(manager, &manager->intervals_[i]); in CostManagerInitFreeList()
222 static void DeleteIntervalList(CostManager* const manager, in DeleteIntervalList() argument
[all …]
/external/autotest/server/
Dserver_job_unittest.py55 class manager: class
58 lambda *a,**k: manager())
80 manager = server_job.warning_manager()
81 self.assertEqual(manager.is_valid(10, "MSGTYPE"), True)
85 manager = server_job.warning_manager()
86 manager.enable_warnings("MSGTYPE", lambda: 10)
87 self.assertEqual(manager.is_valid(20, "MSGTYPE"), True)
91 manager = server_job.warning_manager()
92 manager.disable_warnings("MSGTYPE", lambda: 10)
93 self.assertEqual(manager.is_valid(5, "MSGTYPE"), True)
[all …]
/external/autotest/frontend/migrations/
D037_db_constraints.py1 def execute_safely(manager, statement): argument
3 manager.execute(statement)
8 def delete_duplicates(manager, table, first_id, second_id): argument
9 rows = manager.execute(
14 manager.execute('DELETE FROM %s '
22 def delete_invalid_foriegn_keys(manager, pivot_table, foreign_key_field, argument
24 manager.execute(
31 deleted_count = manager._database.rowcount
47 def create_unique_index(manager, pivot_table, first_field, second_field): argument
49 manager.execute('CREATE UNIQUE INDEX %s ON %s (%s, %s)' %
[all …]
D013_new_test_fields.py1 def migrate_up(manager): argument
2 manager.execute('ALTER TABLE jobs ADD run_verify tinyint(1) default 1')
3 manager.execute('ALTER TABLE autotests ADD author VARCHAR(256)')
4 manager.execute('ALTER TABLE autotests ADD dependencies VARCHAR(256)')
5 manager.execute('ALTER TABLE autotests ADD experimental SMALLINT DEFAULT 0')
6 manager.execute('ALTER TABLE autotests ADD run_verify SMALLINT DEFAULT 1')
7 manager.execute('ALTER TABLE autotests ADD test_time SMALLINT DEFAULT 1')
8 manager.execute('ALTER TABLE autotests ADD test_category VARCHAR(256)')
9 manager.execute('ALTER TABLE autotests ADD sync_count INT(11) DEFAULT 1')
12 def migrate_down(manager): argument
[all …]
D022_implement_sync_count.py12 def migrate_up(manager): argument
14 manager.execute("""ALTER TABLE host_queue_entries ADD COLUMN
18 rows = manager.execute("""
24 hqes = manager.execute("""
34 manager.execute(
39 manager.execute('UPDATE jobs SET synch_count = 1 WHERE synch_type = 1')
40 manager.execute('UPDATE jobs SET synch_count = 2 '
43 manager.execute('ALTER TABLE jobs DROP COLUMN synch_type')
44 manager.execute('ALTER TABLE autotests DROP COLUMN synch_type')
46 manager.execute('ALTER TABLE jobs DROP COLUMN synchronizing')
[all …]
/external/tensorflow/tensorflow/core/framework/
Dcancellation_test.cc31 CancellationManager* manager = new CancellationManager(); in TEST() local
32 auto token = manager->get_cancellation_token(); in TEST()
33 bool registered = manager->RegisterCallback( in TEST()
36 bool deregistered = manager->DeregisterCallback(token); in TEST()
38 delete manager; in TEST()
44 CancellationManager* manager = new CancellationManager(); in TEST() local
45 auto token = manager->get_cancellation_token(); in TEST()
46 bool registered = manager->RegisterCallback( in TEST()
49 manager->StartCancel(); in TEST()
51 delete manager; in TEST()
[all …]
/external/deqp-deps/SPIRV-Tools/test/opt/
Dpass_manager_test.cpp45 PassManager manager; in TEST() local
46 EXPECT_EQ(0u, manager.NumPasses()); in TEST()
48 manager.AddPass<StripDebugInfoPass>(); in TEST()
49 EXPECT_EQ(1u, manager.NumPasses()); in TEST()
50 EXPECT_STREQ("strip-debug", manager.GetPass(0)->name()); in TEST()
52 manager.AddPass(MakeUnique<NullPass>()); in TEST()
53 EXPECT_EQ(2u, manager.NumPasses()); in TEST()
54 EXPECT_STREQ("strip-debug", manager.GetPass(0)->name()); in TEST()
55 EXPECT_STREQ("null", manager.GetPass(1)->name()); in TEST()
57 manager.AddPass<StripDebugInfoPass>(); in TEST()
[all …]
/external/angle/third_party/vulkan-deps/spirv-tools/src/test/opt/
Dpass_manager_test.cpp45 PassManager manager; in TEST() local
46 EXPECT_EQ(0u, manager.NumPasses()); in TEST()
48 manager.AddPass<StripDebugInfoPass>(); in TEST()
49 EXPECT_EQ(1u, manager.NumPasses()); in TEST()
50 EXPECT_STREQ("strip-debug", manager.GetPass(0)->name()); in TEST()
52 manager.AddPass(MakeUnique<NullPass>()); in TEST()
53 EXPECT_EQ(2u, manager.NumPasses()); in TEST()
54 EXPECT_STREQ("strip-debug", manager.GetPass(0)->name()); in TEST()
55 EXPECT_STREQ("null", manager.GetPass(1)->name()); in TEST()
57 manager.AddPass<StripDebugInfoPass>(); in TEST()
[all …]
/external/swiftshader/third_party/SPIRV-Tools/test/opt/
Dpass_manager_test.cpp45 PassManager manager; in TEST() local
46 EXPECT_EQ(0u, manager.NumPasses()); in TEST()
48 manager.AddPass<StripDebugInfoPass>(); in TEST()
49 EXPECT_EQ(1u, manager.NumPasses()); in TEST()
50 EXPECT_STREQ("strip-debug", manager.GetPass(0)->name()); in TEST()
52 manager.AddPass(MakeUnique<NullPass>()); in TEST()
53 EXPECT_EQ(2u, manager.NumPasses()); in TEST()
54 EXPECT_STREQ("strip-debug", manager.GetPass(0)->name()); in TEST()
55 EXPECT_STREQ("null", manager.GetPass(1)->name()); in TEST()
57 manager.AddPass<StripDebugInfoPass>(); in TEST()
[all …]
/external/guava/android/guava-tests/test/com/google/common/util/concurrent/
DServiceManagerTest.java173 ServiceManager manager = new ServiceManager(asList(a, b)); in testServiceStartStop() local
175 manager.addListener(listener, directExecutor()); in testServiceStartStop()
176 assertState(manager, Service.State.NEW, a, b); in testServiceStartStop()
177 assertFalse(manager.isHealthy()); in testServiceStartStop()
178 manager.startAsync().awaitHealthy(); in testServiceStartStop()
179 assertState(manager, Service.State.RUNNING, a, b); in testServiceStartStop()
180 assertTrue(manager.isHealthy()); in testServiceStartStop()
184 manager.stopAsync().awaitStopped(); in testServiceStartStop()
185 assertState(manager, Service.State.TERMINATED, a, b); in testServiceStartStop()
186 assertFalse(manager.isHealthy()); in testServiceStartStop()
[all …]
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DServiceManagerTest.java173 ServiceManager manager = new ServiceManager(asList(a, b)); in testServiceStartStop() local
175 manager.addListener(listener, directExecutor()); in testServiceStartStop()
176 assertState(manager, Service.State.NEW, a, b); in testServiceStartStop()
177 assertFalse(manager.isHealthy()); in testServiceStartStop()
178 manager.startAsync().awaitHealthy(); in testServiceStartStop()
179 assertState(manager, Service.State.RUNNING, a, b); in testServiceStartStop()
180 assertTrue(manager.isHealthy()); in testServiceStartStop()
184 manager.stopAsync().awaitStopped(); in testServiceStartStop()
185 assertState(manager, Service.State.TERMINATED, a, b); in testServiceStartStop()
186 assertFalse(manager.isHealthy()); in testServiceStartStop()
[all …]
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowKeyguardManagerTest.java27 private KeyguardManager manager; field in ShadowKeyguardManagerTest
31 manager = in setUp()
38 assertThat(manager.inKeyguardRestrictedInputMode()).isFalse(); in testIsInRestrictedInputMode()
39 ShadowKeyguardManager shadowMgr = shadowOf(manager); in testIsInRestrictedInputMode()
41 assertThat(manager.inKeyguardRestrictedInputMode()).isTrue(); in testIsInRestrictedInputMode()
46 assertThat(manager.isKeyguardLocked()).isFalse(); in testIsKeyguardLocked()
47 ShadowKeyguardManager shadowMgr = shadowOf(manager); in testIsKeyguardLocked()
49 assertThat(manager.isKeyguardLocked()).isTrue(); in testIsKeyguardLocked()
54 KeyguardManager.KeyguardLock lock = manager.newKeyguardLock(KEYGUARD_SERVICE); in testShouldBeAbleToDisableTheKeyguardLock()
66 assertThat(manager.isKeyguardSecure()).isFalse(); in isKeyguardSecure()
[all …]
DShadowFingerprintManagerTest.java27 private FingerprintManager manager; field in ShadowFingerprintManagerTest
31 manager = in setUp()
44 manager.authenticate(cryptoObject, null, 0, mockCallback, null); in authenticate_success()
46 shadowOf(manager).authenticationSucceeds(); in authenticate_success()
61 manager.authenticate(cryptoObject, null, 0, mockCallback, null); in authenticate_failure()
63 shadowOf(manager).authenticationFails(); in authenticate_failure()
70 assertThat(manager.hasEnrolledFingerprints()).isFalse(); in hasEnrolledFingerprints()
72 shadowOf(manager).setHasEnrolledFingerprints(true); in hasEnrolledFingerprints()
74 assertThat(manager.hasEnrolledFingerprints()).isTrue(); in hasEnrolledFingerprints()
79 assertThat(shadowOf(manager).getEnrolledFingerprints()).isEmpty(); in setDefaultFingerprints()
[all …]
/external/clang/unittests/Basic/
DFileManagerTest.cpp70 FileManagerTest() : manager(options) { in FileManagerTest()
74 FileManager manager; member in __anon7d43dccb0111::FileManagerTest
80 const FileEntry *file = manager.getVirtualFile("foo.cpp", 42, 0); in TEST_F()
87 file = manager.getVirtualFile("x/y/z.cpp", 42, 0); in TEST_F()
101 manager.addStatCache(llvm::make_unique<FakeStatCache>()); in TEST_F()
103 EXPECT_EQ(nullptr, manager.getDirectory("virtual/dir/foo")); in TEST_F()
104 EXPECT_EQ(nullptr, manager.getDirectory("virtual/dir")); in TEST_F()
105 EXPECT_EQ(nullptr, manager.getDirectory("virtual")); in TEST_F()
111 manager.addStatCache(llvm::make_unique<FakeStatCache>()); in TEST_F()
113 manager.getVirtualFile("virtual/dir/bar.h", 100, 0); in TEST_F()
[all …]
/external/webrtc/rtc_base/
Dnetwork_unittest.cc293 BasicNetworkManager manager; in TEST_F() local
294 NetworkManager::NetworkList result = GetNetworks(manager, true); in TEST_F()
328 BasicNetworkManager manager; in TEST_F() local
329 manager.SignalNetworksChanged.connect(static_cast<NetworkTest*>(this), in TEST_F()
332 manager.enumeration_permission()); in TEST_F()
333 manager.StartUpdating(); in TEST_F()
339 manager.StartUpdating(); in TEST_F()
340 EXPECT_TRUE(manager.started()); in TEST_F()
343 manager.StopUpdating(); in TEST_F()
344 EXPECT_TRUE(manager.started()); in TEST_F()
[all …]
/external/autotest/database/
Ddb_utils.py9 def drop_views(manager, views): argument
19 check_exists(manager, views, VIEW_TYPE)
21 manager.execute('DROP VIEW `%s`' % view)
24 def rename(manager, mapping): argument
35 check_exists(manager, (table for table, _ in mapping.iteritems()),
38 manager.execute('RENAME TABLE `%s` TO `%s`' % (orig_name, new_name))
41 def move_tables(manager, src_manager, tables): argument
54 manager.execute('RENAME TABLE `%(db)s`.`%(table)s` TO `%(table)s`'
58 def drop_database(manager): argument
64 manager.execute('DROP DATABASE `%s`' % manager.get_db_name())
[all …]
Dmigrate_unittest.py43 def migrate_up(self, manager): argument
46 manager.create_migrate_table()
49 def migrate_down(self, manager): argument
72 self.manager = TestableMigrationManager(self._database)
81 self.manager.do_sync_db()
82 self.assertEquals(self.manager.get_db_version(), NUM_MIGRATIONS)
87 self.manager.do_sync_db(0)
88 self.assertEquals(self.manager.get_db_version(), 0)
95 self.manager.do_sync_db(version)
96 self.assertEquals(self.manager.get_db_version(),
[all …]
/external/autotest/server/cros/
Dhost_lock_manager_unittest.py56 self.manager = host_lock_manager.HostLockManager()
63 actual = self.manager._check_host('host1', None)
72 actual = self.manager._check_host(self.HOST1, self.manager.LOCK)
81 actual = self.manager._check_host(self.HOST1, self.manager.UNLOCK)
90 actual = self.manager._check_host(self.HOST1, self.manager.LOCK)
99 actual = self.manager._check_host(self.HOST1, self.manager.UNLOCK)
106 manager = self.MockHostLockManager()
107 manager.locked_hosts = set([self.HOST1])
108 manager.lock(hosts, lock_reason='Locking for test')
109 self.assertEquals(set([self.HOST1, self.HOST2]), manager.locked_hosts)
[all …]
/external/apache-harmony/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/
DLogManagerTest.java51 LogManager manager = LogManager.getLogManager(); field in LogManagerTest
189 assertTrue(manager.addLogger(foo)); in testAddGetLogger_Hierachy()
190 assertSame(manager.getLogger(""), manager.getLogger( in testAddGetLogger_Hierachy()
194 assertTrue(manager.addLogger(otherChild)); in testAddGetLogger_Hierachy()
195 assertTrue(manager.addLogger(grandson)); in testAddGetLogger_Hierachy()
210 Logger realRoot = manager.getLogger(""); in testAddLoggerReverseOrder()
212 manager.addLogger(fooGrandChild); in testAddLoggerReverseOrder()
215 manager.addLogger(root); in testAddLoggerReverseOrder()
219 manager.addLogger(foo); in testAddLoggerReverseOrder()
223 manager.addLogger(fooGrandChild2); in testAddLoggerReverseOrder()
[all …]
/external/llvm/test/Other/
Dpass-pipeline-parsing.ll1 ; RUN: opt -disable-output -debug-pass-manager \
4 ; CHECK-TWO-NOOP-MP: Starting llvm::Module pass manager run
7 ; CHECK-TWO-NOOP-MP: Finished llvm::Module pass manager run
9 ; RUN: opt -disable-output -debug-pass-manager \
12 ; CHECK-NESTED-TWO-NOOP-MP: Starting llvm::Module pass manager run
13 ; CHECK-NESTED-TWO-NOOP-MP: Starting llvm::Module pass manager run
16 ; CHECK-NESTED-TWO-NOOP-MP: Finished llvm::Module pass manager run
17 ; CHECK-NESTED-TWO-NOOP-MP: Finished llvm::Module pass manager run
19 ; RUN: opt -disable-output -debug-pass-manager \
22 ; CHECK-TWO-NOOP-FP: Starting llvm::Module pass manager run
[all …]
/external/llvm-project/clang/unittests/Basic/
DFileManagerTest.cpp94 FileManagerTest() : manager(options) { in FileManagerTest()
98 FileManager manager; member in __anonf2e4b5390111::FileManagerTest
104 const FileEntry *file = manager.getVirtualFile("foo.cpp", 42, 0); in TEST_F()
111 file = manager.getVirtualFile("x/y/z.cpp", 42, 0); in TEST_F()
125 manager.setStatCache(std::make_unique<FakeStatCache>()); in TEST_F()
127 ASSERT_FALSE(manager.getDirectory("virtual/dir/foo")); in TEST_F()
128 ASSERT_FALSE(manager.getDirectory("virtual/dir")); in TEST_F()
129 ASSERT_FALSE(manager.getDirectory("virtual")); in TEST_F()
135 manager.setStatCache(std::make_unique<FakeStatCache>()); in TEST_F()
137 manager.getVirtualFile("virtual/dir/bar.h", 100, 0); in TEST_F()
[all …]
/external/llvm-project/lld/test/ELF/lto/
Dnew-pass-manager.ll4 ; Test new-pass-manager and debug-pass-manager option
5 ; RUN: ld.lld --plugin-opt=new-pass-manager --plugin-opt=debug-pass-manager -o /dev/null %t.o 2>&1 …
6 ; RUN: ld.lld --plugin-opt=new-pass-manager --lto-debug-pass-manager -o /dev/null %t.o 2>&1 | FileC…
7 ; RUN: ld.lld --lto-new-pass-manager --plugin-opt=debug-pass-manager -o /dev/null %t.o 2>&1 | FileC…
8 ; RUN: ld.lld --lto-new-pass-manager --lto-debug-pass-manager -o /dev/null %t.o 2>&1 | FileCheck %s
9 ; RUN: ld.lld --lto-new-pass-manager --no-lto-new-pass-manager --lto-debug-pass-manager -o /dev/nul…
11 ; CHECK: Starting llvm::Module pass manager run
12 ; CHECK: Finished llvm::Module pass manager run
13 ; LEGACY-NOT: Starting llvm::Module pass manager run
/external/libchrome/base/threading/
Dthread_id_name_manager_unittest.cc20 base::ThreadIdNameManager* manager = base::ThreadIdNameManager::GetInstance(); in TEST_F() local
27 EXPECT_STREQ(kAThread, manager->GetName(thread_a.GetThreadId())); in TEST_F()
28 EXPECT_STREQ(kBThread, manager->GetName(thread_b.GetThreadId())); in TEST_F()
35 base::ThreadIdNameManager* manager = base::ThreadIdNameManager::GetInstance(); in TEST_F() local
44 EXPECT_STREQ(kAThread, manager->GetName(thread_a.GetThreadId())); in TEST_F()
47 EXPECT_STREQ("", manager->GetName(thread_a.GetThreadId())); in TEST_F()
51 base::ThreadIdNameManager* manager = base::ThreadIdNameManager::GetInstance(); in TEST_F() local
56 EXPECT_STREQ(kAThread, manager->GetName(a_id)); in TEST_F()
60 EXPECT_STREQ("", manager->GetName(a_id)); in TEST_F()
61 EXPECT_STREQ(kAThread, manager->GetName(thread_a.GetThreadId())); in TEST_F()
[all …]

12345678910>>...52