Searched refs:attr_iter (Results 1 – 4 of 4) sorted by relevance
66 GMenuAttributeIter *attr_iter; in g_menu_markup_print_string() local71 attr_iter = g_menu_model_iterate_item_attributes (model, i); in g_menu_markup_print_string()76 while (g_menu_attribute_iter_next (attr_iter)) in g_menu_markup_print_string()78 const char *name = g_menu_attribute_iter_get_name (attr_iter); in g_menu_markup_print_string()79 GVariant *value = g_menu_attribute_iter_get_value (attr_iter); in g_menu_markup_print_string()106 g_object_unref (attr_iter); in g_menu_markup_print_string()483 GMenuAttributeIter *attr_iter; in mirror_menu_changed() local494 attr_iter = g_menu_model_iterate_item_attributes (model, i); in mirror_menu_changed()495 while (g_menu_attribute_iter_get_next (attr_iter, &name, &value)) in mirror_menu_changed()499 g_object_unref (attr_iter); in mirror_menu_changed()[all …]
1768 auto attr_iter = attrs_.find(attr_name); in GetIntAttr() local1769 if (attr_iter == attrs_.end()) { in GetIntAttr()1773 MS_EXCEPTION_IF_NULL(attr_iter->second); in GetIntAttr()1774 if (!attr_iter->second->isa<Int64Imm>()) { in GetIntAttr()1778 return attr_iter->second->cast<Int64ImmPtr>()->value(); in GetIntAttr()1782 auto attr_iter = attrs_.find(attr_name); in GetBoolAttr() local1783 if (attr_iter == attrs_.end()) { in GetBoolAttr()1787 MS_EXCEPTION_IF_NULL(attr_iter->second); in GetBoolAttr()1788 if (!attr_iter->second->isa<BoolImm>()) { in GetBoolAttr()1792 return attr_iter->second->cast<BoolImmPtr>()->value(); in GetBoolAttr()[all …]
203 GMenuAttributeIter *attr_iter; in g_menu_exporter_menu_describe_item() local212 attr_iter = g_menu_model_iterate_item_attributes (menu->model, position); in g_menu_exporter_menu_describe_item()213 while (g_menu_attribute_iter_get_next (attr_iter, &name, &value)) in g_menu_exporter_menu_describe_item()218 g_object_unref (attr_iter); in g_menu_exporter_menu_describe_item()
246 g_menu_attribute_hash_iter_get_next (GMenuAttributeIter *attr_iter, in G_DEFINE_TYPE()250 GMenuAttributeHashIter *iter = (GMenuAttributeHashIter *) attr_iter; in G_DEFINE_TYPE()