Home
last modified time | relevance | path

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

12345678910>>...51

/external/freetype/src/cache/
Dftcmanag.c35 ftc_scaler_lookup_size( FTC_Manager manager, in ftc_scaler_lookup_size() argument
44 error = FTC_Manager_LookupFace( manager, scaler->face_id, &face ); in ftc_scaler_lookup_size()
124 FTC_Manager manager = (FTC_Manager)ftcmanager; in ftc_size_node_init() local
129 return ftc_scaler_lookup_size( manager, scaler, &node->size ); in ftc_size_node_init()
140 FTC_Manager manager = (FTC_Manager)ftcmanager; in ftc_size_node_reset() local
147 return ftc_scaler_lookup_size( manager, scaler, &node->size ); in ftc_size_node_reset()
179 FTC_Manager_LookupSize( FTC_Manager manager, in FTC_Manager_LookupSize() argument
192 if ( !manager ) in FTC_Manager_LookupSize()
197 FTC_MRULIST_LOOKUP_CMP( &manager->sizes, scaler, ftc_size_node_compare, in FTC_Manager_LookupSize()
201 error = FTC_MruList_Lookup( &manager->sizes, scaler, &mrunode ); in FTC_Manager_LookupSize()
[all …]
/external/tensorflow/tensorflow/core/framework/
Dcancellation_test.cc27 CancellationManager* manager = new CancellationManager(); in TEST() local
28 auto token = manager->get_cancellation_token(); in TEST()
29 bool registered = manager->RegisterCallback( in TEST()
32 bool deregistered = manager->DeregisterCallback(token); in TEST()
34 delete manager; in TEST()
40 CancellationManager* manager = new CancellationManager(); in TEST() local
41 auto token = manager->get_cancellation_token(); in TEST()
42 bool registered = manager->RegisterCallback( in TEST()
45 manager->StartCancel(); in TEST()
47 delete manager; in TEST()
[all …]
/external/tensorflow/tensorflow/core/grappler/costs/
Dvirtual_scheduler_test.cc1728 FIFOManager manager = FIFOManager(); in TEST_F() local
1731 manager.AddNode(&node1_); in TEST_F()
1732 EXPECT_EQ("Node1", manager.GetCurrNode()->name()); in TEST_F()
1738 FIFOManager manager = FIFOManager(); in TEST_F() local
1741 manager.AddNode(&node1_); in TEST_F()
1744 manager.RemoveCurrNode(); in TEST_F()
1745 EXPECT_TRUE(manager.Empty()); in TEST_F()
1752 FIFOManager manager = FIFOManager(); in TEST_F() local
1755 manager.AddNode(&node1_); in TEST_F()
1756 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/server/cros/
Dhost_lock_manager_unittest.py75 self.manager = host_lock_manager.HostLockManager(self.afe)
82 actual = self.manager._check_host(self.HOST1, None)
91 actual = self.manager._check_host(self.HOST1, self.manager.LOCK)
100 actual = self.manager._check_host(self.HOST1, self.manager.UNLOCK)
110 actual = self.manager._check_host(host_with_dot, self.manager.LOCK)
120 actual = self.manager._check_host(host_with_dot, self.manager.UNLOCK)
127 manager = self.MockHostLockManager(self.afe)
128 manager.locked_hosts = set([self.HOST1])
129 manager.lock(hosts, lock_reason='Locking for test')
130 self.assertEquals(set([self.HOST1, self.HOST2]), manager.locked_hosts)
[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 …]
/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/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/guava/guava-tests/test/com/google/common/util/concurrent/
DServiceManagerTest.java155 ServiceManager manager = new ServiceManager(asList(a, b)); in testServiceStartStop() local
157 manager.addListener(listener); in testServiceStartStop()
158 assertState(manager, Service.State.NEW, a, b); in testServiceStartStop()
159 assertFalse(manager.isHealthy()); in testServiceStartStop()
160 manager.startAsync().awaitHealthy(); in testServiceStartStop()
161 assertState(manager, Service.State.RUNNING, a, b); in testServiceStartStop()
162 assertTrue(manager.isHealthy()); in testServiceStartStop()
166 manager.stopAsync().awaitStopped(); in testServiceStartStop()
167 assertState(manager, Service.State.TERMINATED, a, b); in testServiceStartStop()
168 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 __anon3e6788240111::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/webrtc/base/
Dnetwork_unittest.cc190 BasicNetworkManager manager; in TEST_F() local
191 NetworkManager::NetworkList result = GetNetworks(manager, true); in TEST_F()
227 BasicNetworkManager manager; in TEST_F() local
228 manager.SignalNetworksChanged.connect( in TEST_F()
231 manager.enumeration_permission()); in TEST_F()
232 manager.StartUpdating(); in TEST_F()
238 manager.StartUpdating(); in TEST_F()
239 EXPECT_TRUE(manager.started()); in TEST_F()
242 manager.StopUpdating(); in TEST_F()
243 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/scheduler/
Ddrone_manager_unittest.py82 self.manager = drone_manager.DroneManager()
83 self.god.stub_with(self.manager, '_results_dir', self._RESULTS_DIR)
90 self.god.stub_with(self.manager, 'refresh_drone_configs', do_nothing)
94 self.manager._drones[self.mock_drone.name] = self.mock_drone
96 self.manager._results_drone = self.results_drone
109 self.manager._enqueue_drone(
114 return self.manager._choose_drone_for_execution(
144 self.manager._enqueue_drone(MockDrone(1, max_processes=10,
147 self.manager._enqueue_drone(MockDrone(2, max_processes=2,
151 self.manager.max_runnable_processes(self._USERNAME,
[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 …]
Dnew-pass-manager.ll2 ; new pass manager pipeline. It will be used to flesh out the feature
3 ; completeness of the opt tool when the new pass manager is engaged. The tests
8 ; RUN: opt -disable-output -disable-verify -debug-pass-manager \
11 ; CHECK-MODULE-PASS: Starting llvm::Module pass manager run
13 ; CHECK-MODULE-PASS-NEXT: Finished llvm::Module pass manager run
15 ; RUN: opt -disable-output -disable-verify -debug-pass-manager \
18 ; RUN: opt -disable-output -disable-verify -debug-pass-manager \
21 ; CHECK-CGSCC-PASS: Starting llvm::Module pass manager run
26 ; CHECK-CGSCC-PASS-NEXT: Starting llvm::LazyCallGraph::SCC pass manager run
28 ; CHECK-CGSCC-PASS-NEXT: Finished llvm::LazyCallGraph::SCC pass manager run
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/Other/
Dnew-pass-manager.ll2 ; new pass manager pipeline. It will be used to flesh out the feature
3 ; completeness of the opt tool when the new pass manager is engaged. The tests
8 ; RUN: opt -disable-output -disable-verify -debug-pass-manager \
11 ; CHECK-MODULE-PASS: Starting llvm::Module pass manager run
13 ; CHECK-MODULE-PASS-NEXT: Finished llvm::Module pass manager run
15 ; RUN: opt -disable-output -disable-verify -debug-pass-manager \
18 ; RUN: opt -disable-output -disable-verify -debug-pass-manager \
21 ; CHECK-CGSCC-PASS: Starting llvm::Module pass manager run
27 ; CHECK-CGSCC-PASS-NEXT: Starting CGSCC pass manager run
29 ; CHECK-CGSCC-PASS-NEXT: Finished CGSCC pass manager run
[all …]
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/syzkaller/syz-hub/
Dhub_test.go21 manager string
28 manager: "",
35 manager: "manager",
42 manager: "foo",
49 manager: "foo",
56 manager: "foo",
63 manager: "foo",
70 manager: "foo-suffix",
77 manager: "",
84 manager: "bar",
[all …]
/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>>...51