/third_party/glib/gio/ |
D | gdbusobjectmanagerclient.c | 182 static void maybe_unsubscribe_signals (GDBusObjectManagerClient *manager); 190 static void process_get_all_result (GDBusObjectManagerClient *manager, 197 GDBusObjectManagerClient *manager = G_DBUS_OBJECT_MANAGER_CLIENT (object); in g_dbus_object_manager_client_finalize() local 199 maybe_unsubscribe_signals (manager); in g_dbus_object_manager_client_finalize() 201 g_hash_table_unref (manager->priv->map_object_path_to_object_proxy); in g_dbus_object_manager_client_finalize() 203 if (manager->priv->control_proxy != NULL && manager->priv->signal_signal_id != 0) in g_dbus_object_manager_client_finalize() 204 g_signal_handler_disconnect (manager->priv->control_proxy, in g_dbus_object_manager_client_finalize() 205 manager->priv->signal_signal_id); in g_dbus_object_manager_client_finalize() 206 manager->priv->signal_signal_id = 0; in g_dbus_object_manager_client_finalize() 208 if (manager->priv->control_proxy != NULL && manager->priv->name_owner_signal_id != 0) in g_dbus_object_manager_client_finalize() [all …]
|
D | gdbusobjectmanagerserver.c | 69 GDBusObjectManagerServer *manager; member 76 static void export_all (GDBusObjectManagerServer *manager); 77 static void unexport_all (GDBusObjectManagerServer *manager, gboolean only_manager); 79 static void g_dbus_object_manager_server_emit_interfaces_added (GDBusObjectManagerServer *manager, 84 static void g_dbus_object_manager_server_emit_interfaces_removed (GDBusObjectManagerServer *manager, 88 static gboolean g_dbus_object_manager_server_unexport_unlocked (GDBusObjectManagerServer *manager, 119 GDBusObjectManagerServer *manager = G_DBUS_OBJECT_MANAGER_SERVER (object); in g_dbus_object_manager_server_finalize() local 121 if (manager->priv->connection != NULL) in g_dbus_object_manager_server_finalize() 123 unexport_all (manager, TRUE); in g_dbus_object_manager_server_finalize() 124 g_object_unref (manager->priv->connection); in g_dbus_object_manager_server_finalize() [all …]
|
D | gdbusobjectmanager.h | 56 const gchar *(*get_object_path) (GDBusObjectManager *manager); 57 GList *(*get_objects) (GDBusObjectManager *manager); 58 GDBusObject *(*get_object) (GDBusObjectManager *manager, 60 GDBusInterface *(*get_interface) (GDBusObjectManager *manager, 65 void (*object_added) (GDBusObjectManager *manager, 67 void (*object_removed) (GDBusObjectManager *manager, 70 void (*interface_added) (GDBusObjectManager *manager, 73 void (*interface_removed) (GDBusObjectManager *manager, 81 const gchar *g_dbus_object_manager_get_object_path (GDBusObjectManager *manager); 83 GList *g_dbus_object_manager_get_objects (GDBusObjectManager *manager); [all …]
|
/third_party/skia/third_party/externals/freetype/src/cache/ |
D | ftcmanag.c | 34 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 …]
|
D | ftccache.c | 49 FTC_Manager manager ) in ftc_node_mru_link() argument 51 void *nl = &manager->nodes_list; in ftc_node_mru_link() 56 manager->num_nodes++; in ftc_node_mru_link() 63 FTC_Manager manager ) in ftc_node_mru_unlink() argument 65 void *nl = &manager->nodes_list; in ftc_node_mru_unlink() 70 manager->num_nodes--; in ftc_node_mru_unlink() 79 FTC_Manager manager ) in ftc_node_mru_up() argument 81 FTC_MruNode_Up( (FTC_MruNode*)&manager->nodes_list, in ftc_node_mru_up() 272 FTC_Manager manager ) in ftc_node_destroy() argument 279 if ( node->cache_index >= manager->num_caches ) in ftc_node_destroy() [all …]
|
/third_party/flutter/skia/third_party/externals/freetype/src/cache/ |
D | ftcmanag.c | 35 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 …]
|
D | ftccache.c | 50 FTC_Manager manager ) in ftc_node_mru_link() argument 52 void *nl = &manager->nodes_list; in ftc_node_mru_link() 57 manager->num_nodes++; in ftc_node_mru_link() 64 FTC_Manager manager ) in ftc_node_mru_unlink() argument 66 void *nl = &manager->nodes_list; in ftc_node_mru_unlink() 71 manager->num_nodes--; in ftc_node_mru_unlink() 80 FTC_Manager manager ) in ftc_node_mru_up() argument 82 FTC_MruNode_Up( (FTC_MruNode*)&manager->nodes_list, in ftc_node_mru_up() 274 FTC_Manager manager ) in ftc_node_destroy() argument 281 if ( node->cache_index >= manager->num_caches ) in ftc_node_destroy() [all …]
|
/third_party/freetype/src/cache/ |
D | ftcmanag.c | 34 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 …]
|
D | ftccache.c | 49 FTC_Manager manager ) in ftc_node_mru_link() argument 51 void *nl = &manager->nodes_list; in ftc_node_mru_link() 56 manager->num_nodes++; in ftc_node_mru_link() 63 FTC_Manager manager ) in ftc_node_mru_unlink() argument 65 void *nl = &manager->nodes_list; in ftc_node_mru_unlink() 70 manager->num_nodes--; in ftc_node_mru_unlink() 79 FTC_Manager manager ) in ftc_node_mru_up() argument 81 FTC_MruNode_Up( (FTC_MruNode*)&manager->nodes_list, in ftc_node_mru_up() 273 FTC_Manager manager ) in ftc_node_destroy() argument 280 if ( node->cache_index >= manager->num_caches ) in ftc_node_destroy() [all …]
|
/third_party/flutter/skia/third_party/externals/spirv-tools/test/opt/ |
D | type_manager_test.cpp | 93 opt::analysis::TypeManager manager(nullptr, *module); in TEST() local 95 EXPECT_EQ(type_id_strs.size(), manager.NumTypes()); in TEST() 96 EXPECT_EQ(2u, manager.NumForwardPointers()); in TEST() 99 EXPECT_EQ(p.second, manager.GetType(p.first)->str()); in TEST() 100 EXPECT_EQ(p.first, manager.GetId(manager.GetType(p.first))); in TEST() 102 EXPECT_EQ("forward_pointer({uint32}*)", manager.GetForwardPointer(0)->str()); in TEST() 103 EXPECT_EQ("forward_pointer(10000)", manager.GetForwardPointer(1)->str()); in TEST() 123 opt::analysis::TypeManager manager(nullptr, *module); in TEST() local 125 ASSERT_EQ(7u, manager.NumTypes()); in TEST() 126 ASSERT_EQ(0u, manager.NumForwardPointers()); in TEST() [all …]
|
D | pass_manager_test.cpp | 41 opt::PassManager manager; in TEST() local 42 EXPECT_EQ(0u, manager.NumPasses()); in TEST() 44 manager.AddPass<opt::StripDebugInfoPass>(); in TEST() 45 EXPECT_EQ(1u, manager.NumPasses()); in TEST() 46 EXPECT_STREQ("strip-debug", manager.GetPass(0)->name()); in TEST() 48 manager.AddPass(MakeUnique<opt::NullPass>()); in TEST() 49 EXPECT_EQ(2u, manager.NumPasses()); in TEST() 50 EXPECT_STREQ("strip-debug", manager.GetPass(0)->name()); in TEST() 51 EXPECT_STREQ("null", manager.GetPass(1)->name()); in TEST() 53 manager.AddPass<opt::StripDebugInfoPass>(); in TEST() [all …]
|
/third_party/skia/third_party/externals/libwebp/src/enc/ |
D | backward_references_cost_enc.c | 202 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 …]
|
/third_party/flutter/skia/third_party/externals/libwebp/src/enc/ |
D | backward_references_cost_enc.c | 202 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 …]
|
/third_party/spirv-tools/test/opt/ |
D | pass_manager_test.cpp | 45 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 …]
|
D | type_manager_test.cpp | 263 TypeManager manager(nullptr, context.get()); in TEST() local 265 EXPECT_EQ(type_id_strs.size(), manager.NumTypes()); in TEST() 268 ASSERT_NE(nullptr, manager.GetType(p.first)); in TEST() 269 EXPECT_EQ(p.second, manager.GetType(p.first)->str()) in TEST() 271 EXPECT_EQ(p.first, manager.GetId(manager.GetType(p.first))); in TEST() 302 TypeManager manager(nullptr, context.get()); in TEST() local 304 Type* p100 = manager.GetType(100); in TEST() 305 Type* s150 = manager.GetType(150); in TEST() 346 TypeManager manager(nullptr, context.get()); in TEST() local 348 Type* p100 = manager.GetType(100); in TEST() [all …]
|
/third_party/skia/third_party/externals/spirv-tools/test/opt/ |
D | pass_manager_test.cpp | 45 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 …]
|
D | type_manager_test.cpp | 263 TypeManager manager(nullptr, context.get()); in TEST() local 265 EXPECT_EQ(type_id_strs.size(), manager.NumTypes()); in TEST() 268 ASSERT_NE(nullptr, manager.GetType(p.first)); in TEST() 269 EXPECT_EQ(p.second, manager.GetType(p.first)->str()) in TEST() 271 EXPECT_EQ(p.first, manager.GetId(manager.GetType(p.first))); in TEST() 302 TypeManager manager(nullptr, context.get()); in TEST() local 304 Type* p100 = manager.GetType(100); in TEST() 305 Type* s150 = manager.GetType(150); in TEST() 346 TypeManager manager(nullptr, context.get()); in TEST() local 348 Type* p100 = manager.GetType(100); in TEST() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/ |
D | pass_manager_test.cpp | 45 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 …]
|
D | type_manager_test.cpp | 263 TypeManager manager(nullptr, context.get()); in TEST() local 265 EXPECT_EQ(type_id_strs.size(), manager.NumTypes()); in TEST() 268 ASSERT_NE(nullptr, manager.GetType(p.first)); in TEST() 269 EXPECT_EQ(p.second, manager.GetType(p.first)->str()) in TEST() 271 EXPECT_EQ(p.first, manager.GetId(manager.GetType(p.first))); in TEST() 302 TypeManager manager(nullptr, context.get()); in TEST() local 304 Type* p100 = manager.GetType(100); in TEST() 305 Type* s150 = manager.GetType(150); in TEST() 346 TypeManager manager(nullptr, context.get()); in TEST() local 348 Type* p100 = manager.GetType(100); in TEST() [all …]
|
/third_party/glib/gio/tests/ |
D | gdbus-example-objectmanager-client.c | 7 print_objects (GDBusObjectManager *manager) in print_objects() argument 12 g_print ("Object manager at %s\n", g_dbus_object_manager_get_object_path (manager)); in print_objects() 13 objects = g_dbus_object_manager_get_objects (manager); in print_objects() 51 on_object_added (GDBusObjectManager *manager, in on_object_added() argument 56 owner = g_dbus_object_manager_client_get_name_owner (G_DBUS_OBJECT_MANAGER_CLIENT (manager)); in on_object_added() 62 on_object_removed (GDBusObjectManager *manager, in on_object_removed() argument 67 owner = g_dbus_object_manager_client_get_name_owner (G_DBUS_OBJECT_MANAGER_CLIENT (manager)); in on_object_removed() 77 GDBusObjectManagerClient *manager = G_DBUS_OBJECT_MANAGER_CLIENT (object); in on_notify_name_owner() local 80 name_owner = g_dbus_object_manager_client_get_name_owner (manager); in on_notify_name_owner() 86 on_interface_proxy_properties_changed (GDBusObjectManagerClient *manager, in on_interface_proxy_properties_changed() argument [all …]
|
/third_party/skia/third_party/externals/tint/src/transform/ |
D | glsl.cc | 45 Manager manager; in Run() local 50 manager.Add<Unshadow>(); in Run() 54 manager.Add<FoldTrivialSingleUseLets>(); in Run() 55 manager.Add<LoopToForLoop>(); in Run() 60 manager.Add<ZeroInitWorkgroupMemory>(); in Run() 62 manager.Add<CanonicalizeEntryPointIO>(); in Run() 63 manager.Add<SimplifyPointers>(); in Run() 70 manager.Add<SingleEntryPoint>(); in Run() 73 manager.Add<RemovePhonies>(); in Run() 74 manager.Add<CalculateArrayLength>(); in Run() [all …]
|
/third_party/e2fsprogs/lib/ext2fs/ |
D | io_manager.c | 33 if (!channel->manager->set_option) in io_channel_set_options() 51 retval = (channel->manager->set_option)(channel, ptr, arg); in io_channel_set_options() 65 if (channel->manager->write_byte) in io_channel_write_byte() 66 return channel->manager->write_byte(channel, offset, in io_channel_write_byte() 77 if (channel->manager->read_blk64) in io_channel_read_blk64() 78 return (channel->manager->read_blk64)(channel, block, in io_channel_read_blk64() 84 return (channel->manager->read_blk)(channel, (unsigned long) block, in io_channel_read_blk64() 93 if (channel->manager->write_blk64) in io_channel_write_blk64() 94 return (channel->manager->write_blk64)(channel, block, in io_channel_write_blk64() 100 return (channel->manager->write_blk)(channel, (unsigned long) block, in io_channel_write_blk64() [all …]
|
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/ascend/buffer_fusion/ |
D | fusion_base_pass.cc | 24 auto manager = kernel_graph.manager(); in CheckEltWiseNode() local 25 MS_EXCEPTION_IF_NULL(manager); in CheckEltWiseNode() 39 auto manager = kernel_graph.manager(); in CheckDoubleInEltWiseNode() local 40 MS_EXCEPTION_IF_NULL(manager); in CheckDoubleInEltWiseNode() 54 auto manager = kernel_graph.manager(); in CheckMultiOutputEltWiseNode() local 55 MS_EXCEPTION_IF_NULL(manager); in CheckMultiOutputEltWiseNode() 70 auto manager = kernel_graph.manager(); in GetNotUpdateStateUserNums() local 71 MS_EXCEPTION_IF_NULL(manager); in GetNotUpdateStateUserNums() 72 auto user_nodes = manager->node_users()[node]; in GetNotUpdateStateUserNums() 91 auto manager = kernel_graph.manager(); in MatchUBFusionPattern() local [all …]
|
/third_party/mindspore/mindspore/ccsrc/frontend/optimizer/irpass/ |
D | parameter_eliminate.h | 40 const auto &manager = func_graph->manager(); in operator() local 41 MS_EXCEPTION_IF_NULL(manager); in operator() 48 auto manager = fg->manager(); in operator() local 49 MS_EXCEPTION_IF_NULL(manager); in operator() 50 const auto &erase_indexes = EraseUnusedParameters(fg, manager); in operator() 53 EraseArgs(caller, erase_indexes, manager); in operator() 85 MS_EXCEPTION_IF_NULL(fg->manager()); in SearchFuncGraphCallers() 86 const auto &manager_node_users = fg->manager()->node_users(); in SearchFuncGraphCallers() 102 …red_set<size_t> EraseUnusedParameters(const FuncGraphPtr &fg, const FuncGraphManagerPtr &manager) { in EraseUnusedParameters() argument 103 MS_EXCEPTION_IF_NULL(fg->manager()); in EraseUnusedParameters() [all …]
|
/third_party/mindspore/mindspore/lite/tools/optimizer/graph/ |
D | redundant_op_remove_pass.cc | 66 auto manager = func_graph->manager(); in ProcessInputIsMonad() local 67 MS_ASSERT(manager != nullptr); in ProcessInputIsMonad() 69 manager->Replace(cnode, must_monad); in ProcessInputIsMonad() 71 manager->Replace(cnode, not_must_monad); in ProcessInputIsMonad() 94 auto manager = func_graph->manager(); in ProcessDependencyWithTwoNodes() local 95 MS_ASSERT(manager != nullptr); in ProcessDependencyWithTwoNodes() 96 auto node_users = manager->node_users()[pre_node]; in ProcessDependencyWithTwoNodes() 103 auto tr = manager->Transact(); in ProcessDependencyWithTwoNodes() 111 manager->Replace(cnode, depend_node); in ProcessDependencyWithTwoNodes() 124 auto manager = func_graph->manager(); in ProcessInputHaveDependency() local [all …]
|