/external/mesa3d/src/gallium/auxiliary/pipebuffer/ |
D | pb_bufmgr_slab.c | 89 struct pb_slab_manager *mgr; member 175 pb_slab_manager(struct pb_manager *mgr) in pb_slab_manager() argument 177 assert(mgr); in pb_slab_manager() 178 return (struct pb_slab_manager *)mgr; in pb_slab_manager() 183 pb_slab_range_manager(struct pb_manager *mgr) in pb_slab_range_manager() argument 185 assert(mgr); in pb_slab_range_manager() 186 return (struct pb_slab_range_manager *)mgr; in pb_slab_range_manager() 199 struct pb_slab_manager *mgr = slab->mgr; in pb_slab_buffer_destroy() local 202 pipe_mutex_lock(mgr->mutex); in pb_slab_buffer_destroy() 213 LIST_ADDTAIL(&slab->head, &mgr->slabs); in pb_slab_buffer_destroy() [all …]
|
D | pb_bufmgr_cache.c | 65 struct pb_cache_manager *mgr; member 97 pb_cache_manager(struct pb_manager *mgr) in pb_cache_manager() argument 99 assert(mgr); in pb_cache_manager() 100 return (struct pb_cache_manager *)mgr; in pb_cache_manager() 110 struct pb_cache_manager *mgr = buf->mgr; in _pb_cache_buffer_destroy() local 113 assert(mgr->numDelayed); in _pb_cache_buffer_destroy() 114 --mgr->numDelayed; in _pb_cache_buffer_destroy() 125 _pb_cache_buffer_list_check_free(struct pb_cache_manager *mgr) in _pb_cache_buffer_list_check_free() argument 133 curr = mgr->delayed.next; in _pb_cache_buffer_list_check_free() 135 while(curr != &mgr->delayed) { in _pb_cache_buffer_list_check_free() [all …]
|
D | pb_bufmgr_alt.c | 54 pb_alt_manager(struct pb_manager *mgr) in pb_alt_manager() argument 56 assert(mgr); in pb_alt_manager() 57 return (struct pb_alt_manager *)mgr; in pb_alt_manager() 66 struct pb_alt_manager *mgr = pb_alt_manager(_mgr); in pb_alt_manager_create_buffer() local 69 buf = mgr->provider1->create_buffer(mgr->provider1, size, desc); in pb_alt_manager_create_buffer() 73 buf = mgr->provider2->create_buffer(mgr->provider2, size, desc); in pb_alt_manager_create_buffer() 81 struct pb_alt_manager *mgr = pb_alt_manager(_mgr); in pb_alt_manager_flush() local 83 assert(mgr->provider1->flush); in pb_alt_manager_flush() 84 if(mgr->provider1->flush) in pb_alt_manager_flush() 85 mgr->provider1->flush(mgr->provider1); in pb_alt_manager_flush() [all …]
|
D | pb_bufmgr_debug.c | 73 struct pb_debug_manager *mgr; member 111 pb_debug_manager(struct pb_manager *mgr) in pb_debug_manager() argument 113 assert(mgr); in pb_debug_manager() 114 return (struct pb_debug_manager *)mgr; in pb_debug_manager() 232 struct pb_debug_manager *mgr = buf->mgr; in pb_debug_buffer_destroy() local 238 pipe_mutex_lock(mgr->mutex); in pb_debug_buffer_destroy() 240 pipe_mutex_unlock(mgr->mutex); in pb_debug_buffer_destroy() 343 pb_debug_manager_dump_locked(struct pb_debug_manager *mgr) in pb_debug_manager_dump_locked() argument 348 curr = mgr->list.next; in pb_debug_manager_dump_locked() 350 while(curr != &mgr->list) { in pb_debug_manager_dump_locked() [all …]
|
D | pb_bufmgr_ondemand.c | 50 struct pb_ondemand_manager *mgr; member 84 pb_ondemand_manager(struct pb_manager *mgr) in pb_ondemand_manager() argument 86 assert(mgr); in pb_ondemand_manager() 87 return (struct pb_ondemand_manager *)mgr; in pb_ondemand_manager() 144 struct pb_manager *provider = buf->mgr->provider; in pb_ondemand_buffer_instantiate() 240 struct pb_ondemand_manager *mgr = pb_ondemand_manager(_mgr); in pb_ondemand_manager_create_buffer() local 253 buf->mgr = mgr; in pb_ondemand_manager_create_buffer() 271 struct pb_ondemand_manager *mgr = pb_ondemand_manager(_mgr); in pb_ondemand_manager_flush() local 273 mgr->provider->flush(mgr->provider); in pb_ondemand_manager_flush() 280 struct pb_ondemand_manager *mgr = pb_ondemand_manager(_mgr); in pb_ondemand_manager_destroy() local [all …]
|
D | pb_bufmgr_mm.c | 69 mm_pb_manager(struct pb_manager *mgr) in mm_pb_manager() argument 71 assert(mgr); in mm_pb_manager() 72 return (struct mm_pb_manager *)mgr; in mm_pb_manager() 80 struct mm_pb_manager *mgr; member 98 struct mm_pb_manager *mm = mm_buf->mgr; in mm_buffer_destroy() 115 struct mm_pb_manager *mm = mm_buf->mgr; in mm_buffer_map() 136 struct mm_pb_manager *mm = mm_buf->mgr; in mm_buffer_validate() 146 struct mm_pb_manager *mm = mm_buf->mgr; in mm_buffer_fence() 157 struct mm_pb_manager *mm = mm_buf->mgr; in mm_buffer_get_base_buffer() 175 mm_bufmgr_create_buffer(struct pb_manager *mgr, in mm_bufmgr_create_buffer() argument [all …]
|
D | pb_bufmgr_pool.c | 77 pool_pb_manager(struct pb_manager *mgr) in pool_pb_manager() argument 79 assert(mgr); in pool_pb_manager() 80 return (struct pool_pb_manager *)mgr; in pool_pb_manager() 88 struct pool_pb_manager *mgr; member 109 struct pool_pb_manager *pool = pool_buf->mgr; in pool_buffer_destroy() 124 struct pool_pb_manager *pool = pool_buf->mgr; in pool_buffer_map() 149 struct pool_pb_manager *pool = pool_buf->mgr; in pool_buffer_validate() 159 struct pool_pb_manager *pool = pool_buf->mgr; in pool_buffer_fence() 170 struct pool_pb_manager *pool = pool_buf->mgr; in pool_buffer_get_base_buffer() 188 pool_bufmgr_create_buffer(struct pb_manager *mgr, in pool_bufmgr_create_buffer() argument [all …]
|
/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_vbuf.c | 128 u_vbuf_create_vertex_elements(struct u_vbuf *mgr, unsigned count, 130 static void u_vbuf_delete_vertex_elements(struct u_vbuf *mgr, void *cso); 179 struct u_vbuf *mgr = CALLOC_STRUCT(u_vbuf); in u_vbuf_create() local 181 mgr->caps = *caps; in u_vbuf_create() 182 mgr->pipe = pipe; in u_vbuf_create() 183 mgr->cso_cache = cso_cache_create(); in u_vbuf_create() 184 mgr->translate_cache = translate_cache_create(); in u_vbuf_create() 185 memset(mgr->fallback_vbs, ~0, sizeof(mgr->fallback_vbs)); in u_vbuf_create() 187 mgr->uploader = u_upload_create(pipe, 1024 * 1024, 4, in u_vbuf_create() 190 return mgr; in u_vbuf_create() [all …]
|
D | u_vbuf.h | 69 void u_vbuf_destroy(struct u_vbuf *mgr); 72 void u_vbuf_set_vertex_elements(struct u_vbuf *mgr, unsigned count, 74 void u_vbuf_set_vertex_buffers(struct u_vbuf *mgr, unsigned count, 76 void u_vbuf_set_index_buffer(struct u_vbuf *mgr, 78 void u_vbuf_draw_vbo(struct u_vbuf *mgr, const struct pipe_draw_info *info); 81 void u_vbuf_save_vertex_elements(struct u_vbuf *mgr); 82 void u_vbuf_restore_vertex_elements(struct u_vbuf *mgr); 83 void u_vbuf_save_vertex_buffers(struct u_vbuf *mgr); 84 void u_vbuf_restore_vertex_buffers(struct u_vbuf *mgr);
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | DebugCheckers.cpp | 37 void checkASTCodeBody(const Decl *D, AnalysisManager& mgr, in checkASTCodeBody() argument 39 if (AnalysisDeclContext *AC = mgr.getAnalysisDeclContext(D)) { in checkASTCodeBody() 48 void ento::registerDominatorsTreeDumper(CheckerManager &mgr) { in registerDominatorsTreeDumper() argument 49 mgr.registerChecker<DominatorsTreeDumper>(); in registerDominatorsTreeDumper() 59 void checkASTCodeBody(const Decl *D, AnalysisManager& mgr, in checkASTCodeBody() argument 61 if (LiveVariables* L = mgr.getAnalysis<LiveVariables>(D)) { in checkASTCodeBody() 62 L->dumpBlockLiveness(mgr.getSourceManager()); in checkASTCodeBody() 68 void ento::registerLiveVariablesDumper(CheckerManager &mgr) { in registerLiveVariablesDumper() argument 69 mgr.registerChecker<LiveVariablesDumper>(); in registerLiveVariablesDumper() 79 void checkASTCodeBody(const Decl *D, AnalysisManager& mgr, in checkASTCodeBody() argument [all …]
|
D | NSErrorChecker.cpp | 48 AnalysisManager &mgr, BugReporter &BR) const; 53 AnalysisManager &mgr, in checkASTDecl() argument 95 AnalysisManager &mgr, BugReporter &BR) const; 100 AnalysisManager &mgr, in checkASTDecl() argument 312 void ento::registerNSErrorChecker(CheckerManager &mgr) { in registerNSErrorChecker() argument 313 mgr.registerChecker<NSErrorMethodChecker>(); in registerNSErrorChecker() 315 mgr.registerChecker<NSOrCFErrorDerefChecker>(); in registerNSErrorChecker() 319 void ento::registerCFErrorChecker(CheckerManager &mgr) { in registerCFErrorChecker() argument 320 mgr.registerChecker<CFErrorFunctionChecker>(); in registerCFErrorChecker() 322 mgr.registerChecker<NSOrCFErrorDerefChecker>(); in registerCFErrorChecker()
|
/external/libdrm/amdgpu/ |
D | amdgpu_vamgr.c | 47 drm_private void amdgpu_vamgr_init(struct amdgpu_bo_va_mgr *mgr, uint64_t start, in amdgpu_vamgr_init() argument 50 mgr->va_offset = start; in amdgpu_vamgr_init() 51 mgr->va_max = max; in amdgpu_vamgr_init() 52 mgr->va_alignment = alignment; in amdgpu_vamgr_init() 54 list_inithead(&mgr->va_holes); in amdgpu_vamgr_init() 55 pthread_mutex_init(&mgr->bo_va_mutex, NULL); in amdgpu_vamgr_init() 58 drm_private void amdgpu_vamgr_deinit(struct amdgpu_bo_va_mgr *mgr) in amdgpu_vamgr_deinit() argument 61 LIST_FOR_EACH_ENTRY_SAFE(hole, tmp, &mgr->va_holes, list) { in amdgpu_vamgr_deinit() 65 pthread_mutex_destroy(&mgr->bo_va_mutex); in amdgpu_vamgr_deinit() 69 amdgpu_vamgr_find_va(struct amdgpu_bo_va_mgr *mgr, uint64_t size, in amdgpu_vamgr_find_va() argument [all …]
|
/external/mesa3d/src/gallium/winsys/radeon/drm/ |
D | radeon_drm_bo.c | 127 static INLINE struct radeon_bomgr *radeon_bomgr(struct pb_manager *mgr) in radeon_bomgr() argument 129 return (struct radeon_bomgr *)mgr; in radeon_bomgr() 199 static uint64_t radeon_bomgr_find_va(struct radeon_bomgr *mgr, uint64_t size, uint64_t alignment) in radeon_bomgr_find_va() argument 204 pipe_mutex_lock(mgr->bo_va_mutex); in radeon_bomgr_find_va() 206 LIST_FOR_EACH_ENTRY_SAFE(hole, n, &mgr->va_holes, list) { in radeon_bomgr_find_va() 221 pipe_mutex_unlock(mgr->bo_va_mutex); in radeon_bomgr_find_va() 233 pipe_mutex_unlock(mgr->bo_va_mutex); in radeon_bomgr_find_va() 238 pipe_mutex_unlock(mgr->bo_va_mutex); in radeon_bomgr_find_va() 243 offset = mgr->va_offset; in radeon_bomgr_find_va() 253 list_add(&n->list, &mgr->va_holes); in radeon_bomgr_find_va() [all …]
|
/external/clang/include/clang/StaticAnalyzer/Core/ |
D | Checker.h | 31 static void _checkDecl(void *checker, const Decl *D, AnalysisManager& mgr, in _checkDecl() argument 33 ((const CHECKER *)checker)->checkASTDecl(cast<DECL>(D), mgr, BR); in _checkDecl() 41 static void _register(CHECKER *checker, CheckerManager &mgr) { in _register() argument 42 mgr._registerForDecl(CheckerManager::CheckDeclFunc(checker, in _register() 50 static void _checkBody(void *checker, const Decl *D, AnalysisManager& mgr, in _checkBody() argument 52 ((const CHECKER *)checker)->checkASTCodeBody(D, mgr, BR); in _checkBody() 57 static void _register(CHECKER *checker, CheckerManager &mgr) { in _register() argument 58 mgr._registerForBody(CheckerManager::CheckDeclFunc(checker, in _register() 67 AnalysisManager& mgr, in _checkEndOfTranslationUnit() argument 69 ((const CHECKER *)checker)->checkEndOfTranslationUnit(TU, mgr, BR); in _checkEndOfTranslationUnit() [all …]
|
/external/mesa3d/src/gallium/winsys/svga/drm/ |
D | vmw_buffer.c | 62 struct vmw_gmr_bufmgr *mgr; member 90 vmw_gmr_bufmgr(struct pb_manager *mgr) in vmw_gmr_bufmgr() argument 92 assert(mgr); in vmw_gmr_bufmgr() 93 return (struct vmw_gmr_bufmgr *)mgr; in vmw_gmr_bufmgr() 172 struct vmw_gmr_bufmgr *mgr = vmw_gmr_bufmgr(_mgr); in vmw_gmr_bufmgr_create_buffer() local 173 struct vmw_winsys_screen *vws = mgr->vws; in vmw_gmr_bufmgr_create_buffer() 185 buf->mgr = mgr; in vmw_gmr_bufmgr_create_buffer() 207 vmw_gmr_bufmgr_flush(struct pb_manager *mgr) in vmw_gmr_bufmgr_flush() argument 216 struct vmw_gmr_bufmgr *mgr = vmw_gmr_bufmgr(_mgr); in vmw_gmr_bufmgr_destroy() local 217 FREE(mgr); in vmw_gmr_bufmgr_destroy() [all …]
|
/external/autotest/tko/migrations/ |
D | 022_widen_attribute_value_field.py | 1 def migrate_up(mgr): argument 2 mgr.execute("alter table test_attributes modify column value varchar(1024);") 3 mgr.execute("alter table iteration_attributes modify column value varchar(1024);") 5 def migrate_down(mgr): argument 6 mgr.execute("alter table test_attributes modify column value varchar(100);") 7 mgr.execute("alter table iteration_attributes modify column value varchar(100);")
|
D | 020_widen_hostname_field.py | 1 def migrate_up(mgr): argument 2 mgr.execute("alter table machines modify column hostname varchar(700);") 4 def migrate_down(mgr): argument 5 mgr.execute("alter table machines modify column hostname varchar(100);")
|
D | 007_widen_reason_field.py | 1 def migrate_up(mgr): argument 2 mgr.execute("alter table tests modify column reason varchar(1024);") 4 def migrate_down(mgr): argument 5 mgr.execute("alter table tests modify column reason varchar(100);")
|
D | 019_widen_test_name_field.py | 1 def migrate_up(mgr): argument 2 mgr.execute("alter table tests modify column test varchar(60);") 4 def migrate_down(mgr): argument 5 mgr.execute("alter table tests modify column test varchar(30);")
|
D | 025_add_test_label_foreign_keys.py | 20 def migrate_up(mgr): argument 21 mgr.execute_script(ADD_FOREIGN_KEYS) 23 def migrate_down(mgr): argument 24 mgr.execute_script(DROP_FOREIGN_KEYS)
|
D | 028_add_tests_jobs_foreign_key.py | 15 def migrate_up(mgr): argument 16 mgr.execute_script(ADD_FOREIGN_KEYS) 18 def migrate_down(mgr): argument 19 mgr.execute_script(DROP_FOREIGN_KEYS)
|
/external/webrtc/webrtc/test/channel_transport/ |
D | udp_socket_manager_unittest.cc | 29 UdpSocketManager* mgr = UdpSocketManager::Create(id, threads); in TEST() local 31 EXPECT_FALSE(mgr->Init(id, threads)) in TEST() 41 UdpSocketManager* mgr = UdpSocketManager::Create(id, threads); in TEST() local 44 mgr, in TEST() 51 EXPECT_EQ(true, mgr->RemoveSocket(socket)); in TEST() 66 UdpSocketManager* mgr = UdpSocketManager::Create(id, threads); in TEST() 69 mgr, in TEST()
|
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
D | KeyguardManagerTest.java | 22 KeyguardManager mgr = ( KeyguardManager ) activity.getSystemService( KEYGUARD_SERVICE ); in testIsInRestrcitedInputMode() local 23 assertThat( mgr.inKeyguardRestrictedInputMode(), equalTo( false ) ); in testIsInRestrcitedInputMode() 24 ShadowKeyguardManager shadowMgr = shadowOf(mgr); in testIsInRestrcitedInputMode() 26 assertThat( mgr.inKeyguardRestrictedInputMode(), equalTo( true ) ); in testIsInRestrcitedInputMode() 32 KeyguardManager mgr = ( KeyguardManager ) activity.getSystemService( KEYGUARD_SERVICE ); in testShouldBeAbleToDisableTheKeyguardLock() local 33 KeyguardManager.KeyguardLock lock = mgr.newKeyguardLock(KEYGUARD_SERVICE); in testShouldBeAbleToDisableTheKeyguardLock()
|
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
D | Store.h | 251 : store(store), mgr(smgr) { in StoreRef() 253 mgr.incrementReferenceCount(store); in StoreRef() 257 : store(sr.store), mgr(sr.mgr) in StoreRef() 260 mgr.incrementReferenceCount(store); in StoreRef() 265 mgr.decrementReferenceCount(store); in ~StoreRef() 269 assert(&newStore.mgr == &mgr); 271 mgr.incrementReferenceCount(newStore.store); 272 mgr.decrementReferenceCount(store);
|
D | StoreRef.h | 32 StoreManager &mgr; variable 39 assert(&mgr == &x.mgr); 47 const StoreManager &getStoreManager() const { return mgr; } in getStoreManager()
|